反馈修改-0725

master
Lee-1203 2022-07-25 11:18:38 +08:00
parent 60235e338d
commit a05c814a5c
85 changed files with 137 additions and 394 deletions

View File

@ -1,5 +1,4 @@
<script> <script>
import {userInfoEv} from '@/jsFile/public-api.js';
export default { export default {
globalData:{ globalData:{
projectname:'', // projectname:'', //
@ -28,9 +27,6 @@
}) })
} }
}) })
},
onShow: function() {
}, },
onHide: function() { onHide: function() {

View File

@ -3,7 +3,14 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
image{
/* 照顾低版本浏览器 如果图片外面包含了链接会有边框的问题 */
border: 0;
/* 取消图片底侧有空白缝隙的问题 ① */
vertical-align: middle;
/* 取消图片底侧有空白缝隙的问题 ② */
object-fit: cover;
}
.bottoc{margin-top: 6rpx;color: #414141;} .bottoc{margin-top: 6rpx;color: #414141;}
.opc{opacity: 0.7;} .opc{opacity: 0.7;}
.width100{width: 100%;} .width100{width: 100%;}

View File

@ -42,11 +42,14 @@
cartNum: state=> state.moduleA.cartNum cartNum: state=> state.moduleA.cartNum
}), }),
}, },
mounted() {
getCartNum();
},
methods:{ methods:{
toCart(){ toCart(){
if(this.$toolAll.tools.judgeAuth()) { if(this.$toolAll.tools.judgeAuth()) {
// //
uni.redirectTo({ uni.navigateTo({
url:`/pagesA/cart/cart` url:`/pagesA/cart/cart`
}) })
} }

View File

@ -9,8 +9,6 @@
</view> </view>
</template> </template>
<script> <script>
import {getCartNum} from '@/jsFile/public-api.js';
import { mapState } from 'vuex'; //mapState
export default { export default {
name:'foot-tab', name:'foot-tab',
props:{ props:{
@ -37,17 +35,9 @@
query.select('.foot-box').boundingClientRect((rect) => { query.select('.foot-box').boundingClientRect((rect) => {
this.$store.commit('footHeightEv',rect.height); this.$store.commit('footHeightEv',rect.height);
}).exec() }).exec()
//
getCartNum();
// //
this.getTabbarList(); this.getTabbarList();
}, },
computed:{
...mapState({
onLineList: state => state.moduleA.onLineList,
cartNum: state=> state.moduleA.cartNum
}),
},
methods:{ methods:{
// //
getTabbarList(){ getTabbarList(){

View File

@ -1,43 +0,0 @@
第一步:引入组件
import columnFunction from '@/components/function-list/column/column-function.vue';
第二步:注册组件
export default {
components:{
columnFunction
}
}
第三步:使用组件
<template>
<view>
<column-function @chooseEv="chooseEv"></column-function>
</view>
</template>
参数说明
list列表数据默认以下数组
[
{iconsrc:'',iconWidth:60,iconHeight:60,title:'标题一',content:'',contentColor:'#999999',ifNext:true},
{iconsrc:'',iconWidth:60,iconHeight:60,title:'标题二',content:'',contentColor:'#999999',ifNext:true},
{iconsrc:'',iconWidth:60,iconHeight:60,title:'标题三',content:'',contentColor:'#999999',ifNext:true},
]
titlec标题颜色默认#000000
ifIcon是否显示左侧图标默认false
ifLine是否显示下划线默认true
linec下划线颜色默认#EEEEEE
ifLastLine是否显示最后一条下划线默认true
方法使用
export default {
methods:{
chooseEv(obj) {
console.log(obj);
},
}
}

View File

@ -1,47 +0,0 @@
第一步:引入组件
import gongGeFunction from '@/components/function-list/gong-ge/gong-ge-function.vue';
第二步:注册组件
export default {
components:{
gongGeFunction
}
}
第三步:使用组件
<template>
<view>
<gong-ge-function @chooseGe="chooseGe"></gong-ge-function>
</view>
</template>
参数说明
list列表数据默认以下数组
[
{url:'',iconsrc:'',iconWidth:60,iconHeight:60,title:'标题一'},
{url:'',iconsrc:'',iconWidth:60,iconHeight:60,title:'标题二'},
{url:'',iconsrc:'',iconWidth:60,iconHeight:60,title:'标题三'},
{url:'',iconsrc:'',iconWidth:60,iconHeight:60,title:'标题四'},
{url:'',iconsrc:'',iconWidth:60,iconHeight:60,title:'标题五'},
{url:'',iconsrc:'',iconWidth:60,iconHeight:60,title:'标题五'},
{url:'',iconsrc:'',iconWidth:60,iconHeight:60,title:'标题五'},
]
rowNum一排显示数量默认5
titlec标题颜色默认#000000
fonts字体大小默认28rpx
titleTop字体距离图标的距离默认20rpx
itemTopitem的顶部距离默认30rpx
方法使用
export default {
methods:{
chooseGe(obj) {
console.log(obj);
},
}
}

View File

@ -46,19 +46,7 @@
}, },
data() { data() {
return { return {
dataList:[ dataList:[],
// {id:1,skuId:1,imgsrc:'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',title:'-16',price:'2,000'},
// {id:1,skuId:1,imgsrc:'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',title:'-16',price:'2,000'},
// {id:1,skuId:1,imgsrc:'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',title:'-16',price:'2,000'},
// {id:1,skuId:1,imgsrc:'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',title:'-16',price:'2,000'},
// {id:1,skuId:1,imgsrc:'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',title:'-16',price:'2,000'},
// {id:1,skuId:1,imgsrc:'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',title:'-16',price:'2,000'},
// {id:1,skuId:1,imgsrc:'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',title:'-16',price:'2,000'},
// {id:1,skuId:1,imgsrc:'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',title:'-16',price:'2,000'},
// {id:1,skuId:1,imgsrc:'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',title:'-16',price:'2,000'},
// {id:1,skuId:1,imgsrc:'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',title:'-16',price:'2,000'},
// {id:1,skuId:1,imgsrc:'https://s6.jpg.cm/2022/02/14/L4oDhy.jpg',title:'-16',price:'2,000'},
],
ifLoading:false, ifLoading:false,
total:0, total:0,
page:1, page:1,

View File

@ -1,30 +0,0 @@
第一步:引入组件
import scrollTextSlide from '@/components/scroll-views/scroll-text-slide.vue';
第二步:注册组件
export default {
components:{
scrollTextSlide
}
}
第三步:使用组件
<template>
<view>
<scroll-text-slide></scroll-text-slide>
</view>
</template>
参数说明
list数据列表默认['全部', '测试', '测试宽度', '测试宽度三号', '测试宽度四号小星星', '测试宽度五号']
activeIndex选中索引默认0
config未选中、选中、下划线的样式默认为以下对象
{
color: '#999999',//默认时字体颜色
activeColor: '#000000',//选中时字体颜色
underLineColor: '#000000',//下滑线颜色
}

View File

@ -12,8 +12,6 @@
<script> <script>
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import {getCartNum} from '@/jsFile/public-api.js';
import { mapState } from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav statusNav

View File

@ -37,10 +37,9 @@
<script> <script>
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import enterCart from '@/components/enter-cart/enter-cart.vue'; import enterCart from '@/components/enter-cart/enter-cart.vue';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js';
// //
import footTab from '@/components/foot-tab/foot-tab.vue'; import footTab from '@/components/foot-tab/foot-tab.vue';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav, statusNav,
@ -66,11 +65,6 @@
cacheBusinessId:-1, //id cacheBusinessId:-1, //id
} }
}, },
computed:{
...mapState({
footHeight: state => state.moduleA.footHeight,
}),
},
onLoad(op) { onLoad(op) {
if(op.business_id){ if(op.business_id){
this.cacheBusinessId = op.business_id; this.cacheBusinessId = op.business_id;
@ -89,6 +83,7 @@
this.getUserInfo(); this.getUserInfo();
userInfoEv(); userInfoEv();
} }
getCartNum();
}, },
onReachBottom(e) { onReachBottom(e) {

View File

@ -57,7 +57,6 @@
import navTab from '@/components/nav-tab/nav-tab.vue'; import navTab from '@/components/nav-tab/nav-tab.vue';
import pullList from '@/components/pull-list/pull-list.vue'; import pullList from '@/components/pull-list/pull-list.vue';
import {getCartNum} from '@/jsFile/public-api.js'; import {getCartNum} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav, statusNav,
@ -89,11 +88,6 @@
showIndex:0, // showIndex:0, //
} }
}, },
computed:{
...mapState({
geList: state => state.moduleA.geList,
}),
},
onLoad(op) { onLoad(op) {
if(op.business_id){ if(op.business_id){
this.cacheBusinessId = op.business_id; this.cacheBusinessId = op.business_id;
@ -113,7 +107,7 @@
this.getArticleNav(); this.getArticleNav();
this.userInfoEv(); this.userInfoEv();
} }
getCartNum();
this.playTimer = setTimeout(()=>{ this.playTimer = setTimeout(()=>{
this.isplay = true; this.isplay = true;
},2000) },2000)

View File

@ -112,6 +112,8 @@
if(uni.getStorageSync('business_code')!=='' && uni.getStorageSync('showVip')=='true'){ if(uni.getStorageSync('business_code')!=='' && uni.getStorageSync('showVip')=='true'){
this.vipPrice = true; this.vipPrice = true;
} }
//
getCartNum();
}, },
// //
onShareAppMessage(res) { onShareAppMessage(res) {

View File

@ -18,8 +18,7 @@
import pullList from '@/components/pull-list/pull-list.vue'; import pullList from '@/components/pull-list/pull-list.vue';
// //
import footTab from '@/components/foot-tab/foot-tab.vue'; import footTab from '@/components/foot-tab/foot-tab.vue';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js'; import {userInfoEv,getCartNum} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav, statusNav,
@ -42,11 +41,6 @@
isLoading:false, isLoading:false,
} }
}, },
computed:{
...mapState({
footHeight: state => state.moduleA.footHeight,
}),
},
onLoad(op) { onLoad(op) {
if(op.business_id){ if(op.business_id){
this.cacheBusinessId = op.business_id; this.cacheBusinessId = op.business_id;
@ -66,6 +60,7 @@
this.getKitEv(); this.getKitEv();
userInfoEv(); userInfoEv();
} }
getCartNum();
}, },
onReachBottom(e) { onReachBottom(e) {
if(this.kitList.length<this.total){ if(this.kitList.length<this.total){

View File

@ -103,8 +103,7 @@
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import enterCart from '@/components/enter-cart/enter-cart.vue'; import enterCart from '@/components/enter-cart/enter-cart.vue';
import footTab from '@/components/foot-tab/foot-tab.vue'; import footTab from '@/components/foot-tab/foot-tab.vue';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js'; import {userInfoEv,getCartNum} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav, statusNav,
@ -174,7 +173,7 @@
this.getCustomer(); this.getCustomer();
userInfoEv(); userInfoEv();
} }
getCartNum();
if(uni.getStorageSync('showVip')){ if(uni.getStorageSync('showVip')){
this.showVip = uni.getStorageSync('showVip'); this.showVip = uni.getStorageSync('showVip');
}else{ }else{

View File

@ -19,8 +19,7 @@
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import navTab from '@/components/nav-tab/nav-tab.vue'; import navTab from '@/components/nav-tab/nav-tab.vue';
import pullList from '@/components/pull-list/pull-list.vue'; import pullList from '@/components/pull-list/pull-list.vue';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js'; import {userInfoEv} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav, statusNav,
@ -47,11 +46,6 @@
isLoading:false, isLoading:false,
} }
}, },
computed:{
...mapState({
footHeight: state => state.moduleA.footHeight,
}),
},
onLoad(op) { onLoad(op) {
if(op.business_id){ if(op.business_id){
this.cacheBusinessId = op.business_id; this.cacheBusinessId = op.business_id;

View File

@ -58,9 +58,6 @@
cacheBusinessId:-1, //id cacheBusinessId:-1, //id
isLoading:false, isLoading:false,
} }
},
computed:{
}, },
onLoad(op) { onLoad(op) {
this.id = op.id; this.id = op.id;

View File

@ -24,8 +24,7 @@
import enterCart from '@/components/enter-cart/enter-cart.vue'; import enterCart from '@/components/enter-cart/enter-cart.vue';
// //
import footTab from '@/components/foot-tab/foot-tab.vue'; import footTab from '@/components/foot-tab/foot-tab.vue';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js'; import {userInfoEv,getCartNum} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav, statusNav,
@ -52,11 +51,6 @@
tabWidth:'', tabWidth:'',
} }
}, },
computed:{
...mapState({
footHeight: state => state.moduleA.footHeight,
}),
},
onLoad(op) { onLoad(op) {
if(op.business_id){ if(op.business_id){
this.cacheBusinessId = op.business_id; this.cacheBusinessId = op.business_id;
@ -76,6 +70,7 @@
this.getArticleNav(); this.getArticleNav();
userInfoEv(); userInfoEv();
} }
getCartNum();
}, },
onReachBottom(e) { onReachBottom(e) {
if(this.articleList.length<this.total){ if(this.articleList.length<this.total){

View File

@ -45,8 +45,7 @@
<script> <script>
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js'; import {userInfoEv} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
function getDate(type) { function getDate(type) {
const date = new Date(); const date = new Date();
let year = date.getFullYear(); let year = date.getFullYear();

View File

@ -65,8 +65,7 @@
<script> <script>
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import customerService from '@/components/customer-service/customer-service.vue'; import customerService from '@/components/customer-service/customer-service.vue';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js'; import {userInfoEv} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav, statusNav,

View File

@ -41,8 +41,7 @@
<script> <script>
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js'; import {userInfoEv} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav statusNav

View File

@ -139,10 +139,11 @@
this.getDetail(this.id); this.getDetail(this.id);
userInfoEv(); userInfoEv();
} }
if(uni.getStorageSync('business_code')!=='' && uni.getStorageSync('showVip')=='true'){ if(uni.getStorageSync('business_code')!=='' && uni.getStorageSync('showVip')=='true'){
this.vipPrice = true; this.vipPrice = true;
} }
//
getCartNum();
}, },
// //
onShareAppMessage(res) { onShareAppMessage(res) {

View File

@ -35,8 +35,7 @@
<script> <script>
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js'; import {userInfoEv} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav, statusNav,
@ -66,11 +65,6 @@
cacheBusinessId:-1, //id cacheBusinessId:-1, //id
} }
}, },
computed:{
...mapState({
footHeight: state => state.moduleA.footHeight,
}),
},
onLoad(op) { onLoad(op) {
this.category_id = op.category_id; this.category_id = op.category_id;
this.company_id = op.company_id; this.company_id = op.company_id;

View File

@ -21,8 +21,7 @@
<script> <script>
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js'; import {userInfoEv} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav statusNav

View File

@ -13,8 +13,7 @@
<script> <script>
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js'; import {userInfoEv} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav statusNav

View File

@ -36,8 +36,6 @@
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import navTab from '@/components/nav-tab/nav-tab.vue'; import navTab from '@/components/nav-tab/nav-tab.vue';
import pullList from '@/components/pull-list/pull-list.vue'; import pullList from '@/components/pull-list/pull-list.vue';
import {getCartNum} from '@/jsFile/public-api.js';
import { mapState } from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav, statusNav,
@ -65,11 +63,6 @@
isKit:false, // isKit:false, //
} }
}, },
computed:{
...mapState({
footHeight: state => state.moduleA.footHeight,
}),
},
onLoad(op) { onLoad(op) {
this.keywords = op.keyword; this.keywords = op.keyword;
this.getSearchList(this.currentIndex); this.getSearchList(this.currentIndex);

View File

@ -63,8 +63,7 @@
<script> <script>
import statusNav from '@/components/status-navs/status-nav'; import statusNav from '@/components/status-navs/status-nav';
import {getCartNum,userInfoEv} from '@/jsFile/public-api.js'; import {userInfoEv} from '@/jsFile/public-api.js';
import {mapState} from 'vuex'//mapState
export default { export default {
components:{ components:{
statusNav statusNav
@ -88,9 +87,6 @@
headImg:'', // headImg:'', //
cacheBusinessId:-1, //id cacheBusinessId:-1, //id
} }
},
computed:{
}, },
onLoad(op) { onLoad(op) {
if(op.business_id){ if(op.business_id){

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -109,8 +109,7 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; /* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _default =
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var _default =
{ {
globalData: { globalData: {
projectname: '', // 项目名称 projectname: '', // 项目名称
@ -139,9 +138,6 @@ var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var _defau
} }); } });
},
onShow: function onShow() {
}, },
onHide: function onHide() { onHide: function onHide() {

View File

@ -33,10 +33,6 @@
@ -173,6 +169,14 @@
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
image{
/* 照顾低版本浏览器 如果图片外面包含了链接会有边框的问题 */
border: 0;
/* 取消图片底侧有空白缝隙的问题 ① */
vertical-align: middle;
/* 取消图片底侧有空白缝隙的问题 ② */
object-fit: cover;
}
.bottoc{margin-top: 6rpx;color: #414141;} .bottoc{margin-top: 6rpx;color: #414141;}
.opc{opacity: 0.7;} .opc{opacity: 0.7;}
.width100{width: 100%;} .width100{width: 100%;}

View File

@ -1400,7 +1400,7 @@ function initData(vueOptions, context) {
try { try {
data = data.call(context); // 支持 Vue.prototype 上挂的数据 data = data.call(context); // 支持 Vue.prototype 上挂的数据
} catch (e) { } catch (e) {
if (Object({"VUE_APP_NAME":"app适配微信小程序","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) { if (Object({"NODE_ENV":"development","VUE_APP_NAME":"app适配微信小程序","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data); console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
} }
} }
@ -8479,7 +8479,7 @@ function type(obj) {
function flushCallbacks$1(vm) { function flushCallbacks$1(vm) {
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) { if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
if (Object({"VUE_APP_NAME":"app适配微信小程序","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) { if (Object({"NODE_ENV":"development","VUE_APP_NAME":"app适配微信小程序","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
var mpInstance = vm.$scope; var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid + console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']'); ']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
@ -8500,14 +8500,14 @@ function nextTick$1(vm, cb) {
//1.nextTick 之前 已 setData 且 setData 还未回调完成 //1.nextTick 之前 已 setData 且 setData 还未回调完成
//2.nextTick 之前存在 render watcher //2.nextTick 之前存在 render watcher
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) { if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
if(Object({"VUE_APP_NAME":"app适配微信小程序","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){ if(Object({"NODE_ENV":"development","VUE_APP_NAME":"app适配微信小程序","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance = vm.$scope; var mpInstance = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid + console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
']:nextVueTick'); ']:nextVueTick');
} }
return nextTick(cb, vm) return nextTick(cb, vm)
}else{ }else{
if(Object({"VUE_APP_NAME":"app适配微信小程序","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){ if(Object({"NODE_ENV":"development","VUE_APP_NAME":"app适配微信小程序","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
var mpInstance$1 = vm.$scope; var mpInstance$1 = vm.$scope;
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid + console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
']:nextMPTick'); ']:nextMPTick');
@ -8593,7 +8593,7 @@ var patch = function(oldVnode, vnode) {
}); });
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData); var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
if (Object.keys(diffData).length) { if (Object.keys(diffData).length) {
if (Object({"VUE_APP_NAME":"app适配微信小程序","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) { if (Object({"NODE_ENV":"development","VUE_APP_NAME":"app适配微信小程序","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid + console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
']差量更新', ']差量更新',
JSON.stringify(diffData)); JSON.stringify(diffData));

View File

@ -158,11 +158,14 @@ var _default = {
cartNum: function cartNum(state) {return state.moduleA.cartNum;} })), cartNum: function cartNum(state) {return state.moduleA.cartNum;} })),
mounted: function mounted() {
(0, _publicApi.getCartNum)();
},
methods: { methods: {
toCart: function toCart() { toCart: function toCart() {
if (this.$toolAll.tools.judgeAuth()) { if (this.$toolAll.tools.judgeAuth()) {
// 已授权 // 已授权
uni.redirectTo({ uni.navigateTo({
url: "/pagesA/cart/cart" }); url: "/pagesA/cart/cart" });
} }

View File

@ -114,20 +114,18 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; /* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; //
//
//
//
//
//
//
//
//
//
var _default =
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); {
var _vuex = __webpack_require__(/*! vuex */ 12);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;} //引入mapState
var _default = {
name: 'foot-tab', name: 'foot-tab',
props: { props: {
// 当前选中项 // 当前选中项
@ -153,17 +151,9 @@ var _default = {
query.select('.foot-box').boundingClientRect(function (rect) { query.select('.foot-box').boundingClientRect(function (rect) {
_this.$store.commit('footHeightEv', rect.height); _this.$store.commit('footHeightEv', rect.height);
}).exec(); }).exec();
// 查询购物车数量
(0, _publicApi.getCartNum)();
// 获取底部信息 // 获取底部信息
this.getTabbarList(); this.getTabbarList();
}, },
computed: _objectSpread({},
(0, _vuex.mapState)({
onLineList: function onLineList(state) {return state.moduleA.onLineList;},
cartNum: function cartNum(state) {return state.moduleA.cartNum;} })),
methods: { methods: {
// 获取底部信息 // 获取底部信息
getTabbarList: function getTabbarList() {var _this2 = this; getTabbarList: function getTabbarList() {var _this2 = this;

View File

@ -71,16 +71,6 @@

View File

@ -130,7 +130,7 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; /* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
@ -144,9 +144,7 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); {
var _vuex = __webpack_require__(/*! vuex */ 12);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState
var _default = {
components: { components: {
statusNav: statusNav }, statusNav: statusNav },

View File

@ -195,11 +195,10 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var enterCart = function enterCart() {__webpack_require__.e(/*! require.ensure | components/enter-cart/enter-cart */ "components/enter-cart/enter-cart").then((function () {return resolve(__webpack_require__(/*! @/components/enter-cart/enter-cart.vue */ 194));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var footTab = function footTab() {__webpack_require__.e(/*! require.ensure | components/foot-tab/foot-tab */ "components/foot-tab/foot-tab").then((function () {return resolve(__webpack_require__(/*! @/components/foot-tab/foot-tab.vue */ 201));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); {
var _vuex = __webpack_require__(/*! vuex */ 12);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var enterCart = function enterCart() {__webpack_require__.e(/*! require.ensure | components/enter-cart/enter-cart */ "components/enter-cart/enter-cart").then((function () {return resolve(__webpack_require__(/*! @/components/enter-cart/enter-cart.vue */ 194));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var footTab = function footTab() {__webpack_require__.e(/*! require.ensure | components/foot-tab/foot-tab */ "components/foot-tab/foot-tab").then((function () {return resolve(__webpack_require__(/*! @/components/foot-tab/foot-tab.vue */ 201));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState
var _default = {
components: { components: {
statusNav: statusNav, statusNav: statusNav,
enterCart: enterCart, enterCart: enterCart,
@ -224,11 +223,6 @@ var _default = {
cacheBusinessId: -1 //商户id cacheBusinessId: -1 //商户id
}; };
}, },
computed: _objectSpread({},
(0, _vuex.mapState)({
footHeight: function footHeight(state) {return state.moduleA.footHeight;} })),
onLoad: function onLoad(op) { onLoad: function onLoad(op) {
if (op.business_id) { if (op.business_id) {
this.cacheBusinessId = op.business_id; this.cacheBusinessId = op.business_id;
@ -247,6 +241,7 @@ var _default = {
this.getUserInfo(); this.getUserInfo();
(0, _publicApi.userInfoEv)(); (0, _publicApi.userInfoEv)();
} }
(0, _publicApi.getCartNum)();
}, },
onReachBottom: function onReachBottom(e) { onReachBottom: function onReachBottom(e) {

View File

@ -223,9 +223,8 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var swiperPu = function swiperPu() {__webpack_require__.e(/*! require.ensure | components/swipers/swiper-pu */ "components/swipers/swiper-pu").then((function () {return resolve(__webpack_require__(/*! @/components/swipers/swiper-pu */ 215));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var enterCart = function enterCart() {__webpack_require__.e(/*! require.ensure | components/enter-cart/enter-cart */ "components/enter-cart/enter-cart").then((function () {return resolve(__webpack_require__(/*! @/components/enter-cart/enter-cart.vue */ 194));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var footTab = function footTab() {__webpack_require__.e(/*! require.ensure | components/foot-tab/foot-tab */ "components/foot-tab/foot-tab").then((function () {return resolve(__webpack_require__(/*! @/components/foot-tab/foot-tab.vue */ 201));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var productList = function productList() {__webpack_require__.e(/*! require.ensure | components/product-list/product-list */ "components/product-list/product-list").then((function () {return resolve(__webpack_require__(/*! @/components/product-list/product-list.vue */ 173));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var navTab = function navTab() {__webpack_require__.e(/*! require.ensure | components/nav-tab/nav-tab */ "components/nav-tab/nav-tab").then((function () {return resolve(__webpack_require__(/*! @/components/nav-tab/nav-tab.vue */ 180));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var pullList = function pullList() {__webpack_require__.e(/*! require.ensure | components/pull-list/pull-list */ "components/pull-list/pull-list").then((function () {return resolve(__webpack_require__(/*! @/components/pull-list/pull-list.vue */ 187));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _vuex = __webpack_require__(/*! vuex */ 12);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var swiperPu = function swiperPu() {__webpack_require__.e(/*! require.ensure | components/swipers/swiper-pu */ "components/swipers/swiper-pu").then((function () {return resolve(__webpack_require__(/*! @/components/swipers/swiper-pu */ 215));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var enterCart = function enterCart() {__webpack_require__.e(/*! require.ensure | components/enter-cart/enter-cart */ "components/enter-cart/enter-cart").then((function () {return resolve(__webpack_require__(/*! @/components/enter-cart/enter-cart.vue */ 194));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var footTab = function footTab() {__webpack_require__.e(/*! require.ensure | components/foot-tab/foot-tab */ "components/foot-tab/foot-tab").then((function () {return resolve(__webpack_require__(/*! @/components/foot-tab/foot-tab.vue */ 201));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var productList = function productList() {__webpack_require__.e(/*! require.ensure | components/product-list/product-list */ "components/product-list/product-list").then((function () {return resolve(__webpack_require__(/*! @/components/product-list/product-list.vue */ 173));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var navTab = function navTab() {__webpack_require__.e(/*! require.ensure | components/nav-tab/nav-tab */ "components/nav-tab/nav-tab").then((function () {return resolve(__webpack_require__(/*! @/components/nav-tab/nav-tab.vue */ 180));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var pullList = function pullList() {__webpack_require__.e(/*! require.ensure | components/pull-list/pull-list */ "components/pull-list/pull-list").then((function () {return resolve(__webpack_require__(/*! @/components/pull-list/pull-list.vue */ 187));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState {
var _default = {
components: { components: {
statusNav: statusNav, statusNav: statusNav,
swiperPu: swiperPu, swiperPu: swiperPu,
@ -256,11 +255,6 @@ var _default = {
showIndex: 0 //文章显示位置 showIndex: 0 //文章显示位置
}; };
}, },
computed: _objectSpread({},
(0, _vuex.mapState)({
geList: function geList(state) {return state.moduleA.geList;} })),
onLoad: function onLoad(op) { onLoad: function onLoad(op) {
if (op.business_id) { if (op.business_id) {
this.cacheBusinessId = op.business_id; this.cacheBusinessId = op.business_id;
@ -280,7 +274,7 @@ var _default = {
this.getArticleNav(); this.getArticleNav();
this.userInfoEv(); this.userInfoEv();
} }
(0, _publicApi.getCartNum)();
this.playTimer = setTimeout(function () { this.playTimer = setTimeout(function () {
_this.isplay = true; _this.isplay = true;
}, 2000); }, 2000);

View File

@ -270,6 +270,8 @@ var _default = {
if (uni.getStorageSync('business_code') !== '' && uni.getStorageSync('showVip') == 'true') { if (uni.getStorageSync('business_code') !== '' && uni.getStorageSync('showVip') == 'true') {
this.vipPrice = true; this.vipPrice = true;
} }
// 查询购物车数量
(0, _publicApi.getCartNum)();
}, },
// 分享到微信 // 分享到微信
onShareAppMessage: function onShareAppMessage(res) { onShareAppMessage: function onShareAppMessage(res) {

View File

@ -179,9 +179,8 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var enterCart = function enterCart() {__webpack_require__.e(/*! require.ensure | components/enter-cart/enter-cart */ "components/enter-cart/enter-cart").then((function () {return resolve(__webpack_require__(/*! @/components/enter-cart/enter-cart.vue */ 194));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var pullList = function pullList() {__webpack_require__.e(/*! require.ensure | components/pull-list/pull-list */ "components/pull-list/pull-list").then((function () {return resolve(__webpack_require__(/*! @/components/pull-list/pull-list.vue */ 187));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var footTab = function footTab() {__webpack_require__.e(/*! require.ensure | components/foot-tab/foot-tab */ "components/foot-tab/foot-tab").then((function () {return resolve(__webpack_require__(/*! @/components/foot-tab/foot-tab.vue */ 201));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _vuex = __webpack_require__(/*! vuex */ 12);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var enterCart = function enterCart() {__webpack_require__.e(/*! require.ensure | components/enter-cart/enter-cart */ "components/enter-cart/enter-cart").then((function () {return resolve(__webpack_require__(/*! @/components/enter-cart/enter-cart.vue */ 194));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var pullList = function pullList() {__webpack_require__.e(/*! require.ensure | components/pull-list/pull-list */ "components/pull-list/pull-list").then((function () {return resolve(__webpack_require__(/*! @/components/pull-list/pull-list.vue */ 187));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var footTab = function footTab() {__webpack_require__.e(/*! require.ensure | components/foot-tab/foot-tab */ "components/foot-tab/foot-tab").then((function () {return resolve(__webpack_require__(/*! @/components/foot-tab/foot-tab.vue */ 201));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState {
var _default = {
components: { components: {
statusNav: statusNav, statusNav: statusNav,
enterCart: enterCart, enterCart: enterCart,
@ -203,11 +202,6 @@ var _default = {
isLoading: false }; isLoading: false };
}, },
computed: _objectSpread({},
(0, _vuex.mapState)({
footHeight: function footHeight(state) {return state.moduleA.footHeight;} })),
onLoad: function onLoad(op) { onLoad: function onLoad(op) {
if (op.business_id) { if (op.business_id) {
this.cacheBusinessId = op.business_id; this.cacheBusinessId = op.business_id;
@ -227,6 +221,7 @@ var _default = {
this.getKitEv(); this.getKitEv();
(0, _publicApi.userInfoEv)(); (0, _publicApi.userInfoEv)();
} }
(0, _publicApi.getCartNum)();
}, },
onReachBottom: function onReachBottom(e) { onReachBottom: function onReachBottom(e) {
if (this.kitList.length < this.total) { if (this.kitList.length < this.total) {

View File

@ -279,9 +279,8 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var enterCart = function enterCart() {__webpack_require__.e(/*! require.ensure | components/enter-cart/enter-cart */ "components/enter-cart/enter-cart").then((function () {return resolve(__webpack_require__(/*! @/components/enter-cart/enter-cart.vue */ 194));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var footTab = function footTab() {__webpack_require__.e(/*! require.ensure | components/foot-tab/foot-tab */ "components/foot-tab/foot-tab").then((function () {return resolve(__webpack_require__(/*! @/components/foot-tab/foot-tab.vue */ 201));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _vuex = __webpack_require__(/*! vuex */ 12);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var enterCart = function enterCart() {__webpack_require__.e(/*! require.ensure | components/enter-cart/enter-cart */ "components/enter-cart/enter-cart").then((function () {return resolve(__webpack_require__(/*! @/components/enter-cart/enter-cart.vue */ 194));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var footTab = function footTab() {__webpack_require__.e(/*! require.ensure | components/foot-tab/foot-tab */ "components/foot-tab/foot-tab").then((function () {return resolve(__webpack_require__(/*! @/components/foot-tab/foot-tab.vue */ 201));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState {
var _default = {
components: { components: {
statusNav: statusNav, statusNav: statusNav,
enterCart: enterCart, enterCart: enterCart,
@ -350,7 +349,7 @@ var _default = {
this.getCustomer(); this.getCustomer();
(0, _publicApi.userInfoEv)(); (0, _publicApi.userInfoEv)();
} }
(0, _publicApi.getCartNum)();
if (uni.getStorageSync('showVip')) { if (uni.getStorageSync('showVip')) {
this.showVip = uni.getStorageSync('showVip'); this.showVip = uni.getStorageSync('showVip');
} else { } else {

View File

@ -177,9 +177,8 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var navTab = function navTab() {__webpack_require__.e(/*! require.ensure | components/nav-tab/nav-tab */ "components/nav-tab/nav-tab").then((function () {return resolve(__webpack_require__(/*! @/components/nav-tab/nav-tab.vue */ 180));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var pullList = function pullList() {__webpack_require__.e(/*! require.ensure | components/pull-list/pull-list */ "components/pull-list/pull-list").then((function () {return resolve(__webpack_require__(/*! @/components/pull-list/pull-list.vue */ 187));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _vuex = __webpack_require__(/*! vuex */ 12);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var navTab = function navTab() {__webpack_require__.e(/*! require.ensure | components/nav-tab/nav-tab */ "components/nav-tab/nav-tab").then((function () {return resolve(__webpack_require__(/*! @/components/nav-tab/nav-tab.vue */ 180));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var pullList = function pullList() {__webpack_require__.e(/*! require.ensure | components/pull-list/pull-list */ "components/pull-list/pull-list").then((function () {return resolve(__webpack_require__(/*! @/components/pull-list/pull-list.vue */ 187));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState {
var _default = {
components: { components: {
statusNav: statusNav, statusNav: statusNav,
navTab: navTab, navTab: navTab,
@ -205,11 +204,6 @@ var _default = {
isLoading: false }; isLoading: false };
}, },
computed: _objectSpread({},
(0, _vuex.mapState)({
footHeight: function footHeight(state) {return state.moduleA.footHeight;} })),
onLoad: function onLoad(op) { onLoad: function onLoad(op) {
if (op.business_id) { if (op.business_id) {
this.cacheBusinessId = op.business_id; this.cacheBusinessId = op.business_id;

View File

@ -191,9 +191,6 @@ var _default = {
isLoading: false }; isLoading: false };
}, },
computed: {},
onLoad: function onLoad(op) { onLoad: function onLoad(op) {
this.id = op.id; this.id = op.id;
if (op.business_id) { if (op.business_id) {

View File

@ -188,9 +188,8 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var navTab = function navTab() {__webpack_require__.e(/*! require.ensure | components/nav-tab/nav-tab */ "components/nav-tab/nav-tab").then((function () {return resolve(__webpack_require__(/*! @/components/nav-tab/nav-tab.vue */ 180));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var swiperTab = function swiperTab() {__webpack_require__.e(/*! require.ensure | components/swiper-tab/swiper-tab */ "components/swiper-tab/swiper-tab").then((function () {return resolve(__webpack_require__(/*! @/components/swiper-tab/swiper-tab.vue */ 229));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var pullList = function pullList() {__webpack_require__.e(/*! require.ensure | components/pull-list/pull-list */ "components/pull-list/pull-list").then((function () {return resolve(__webpack_require__(/*! @/components/pull-list/pull-list.vue */ 187));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var enterCart = function enterCart() {__webpack_require__.e(/*! require.ensure | components/enter-cart/enter-cart */ "components/enter-cart/enter-cart").then((function () {return resolve(__webpack_require__(/*! @/components/enter-cart/enter-cart.vue */ 194));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var footTab = function footTab() {__webpack_require__.e(/*! require.ensure | components/foot-tab/foot-tab */ "components/foot-tab/foot-tab").then((function () {return resolve(__webpack_require__(/*! @/components/foot-tab/foot-tab.vue */ 201));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _vuex = __webpack_require__(/*! vuex */ 12);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var navTab = function navTab() {__webpack_require__.e(/*! require.ensure | components/nav-tab/nav-tab */ "components/nav-tab/nav-tab").then((function () {return resolve(__webpack_require__(/*! @/components/nav-tab/nav-tab.vue */ 180));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var swiperTab = function swiperTab() {__webpack_require__.e(/*! require.ensure | components/swiper-tab/swiper-tab */ "components/swiper-tab/swiper-tab").then((function () {return resolve(__webpack_require__(/*! @/components/swiper-tab/swiper-tab.vue */ 229));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var pullList = function pullList() {__webpack_require__.e(/*! require.ensure | components/pull-list/pull-list */ "components/pull-list/pull-list").then((function () {return resolve(__webpack_require__(/*! @/components/pull-list/pull-list.vue */ 187));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var enterCart = function enterCart() {__webpack_require__.e(/*! require.ensure | components/enter-cart/enter-cart */ "components/enter-cart/enter-cart").then((function () {return resolve(__webpack_require__(/*! @/components/enter-cart/enter-cart.vue */ 194));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var footTab = function footTab() {__webpack_require__.e(/*! require.ensure | components/foot-tab/foot-tab */ "components/foot-tab/foot-tab").then((function () {return resolve(__webpack_require__(/*! @/components/foot-tab/foot-tab.vue */ 201));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState {
var _default = {
components: { components: {
statusNav: statusNav, statusNav: statusNav,
navTab: navTab, navTab: navTab,
@ -216,11 +215,6 @@ var _default = {
tabWidth: '' }; tabWidth: '' };
}, },
computed: _objectSpread({},
(0, _vuex.mapState)({
footHeight: function footHeight(state) {return state.moduleA.footHeight;} })),
onLoad: function onLoad(op) { onLoad: function onLoad(op) {
if (op.business_id) { if (op.business_id) {
this.cacheBusinessId = op.business_id; this.cacheBusinessId = op.business_id;
@ -240,6 +234,7 @@ var _default = {
this.getArticleNav(); this.getArticleNav();
(0, _publicApi.userInfoEv)(); (0, _publicApi.userInfoEv)();
} }
(0, _publicApi.getCartNum)();
}, },
onReachBottom: function onReachBottom(e) { onReachBottom: function onReachBottom(e) {
if (this.articleList.length < this.total) { if (this.articleList.length < this.total) {

View File

@ -177,8 +177,7 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};
var _vuex = __webpack_require__(/*! vuex */ 12);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState
function getDate(type) { function getDate(type) {
var date = new Date(); var date = new Date();
var year = date.getFullYear(); var year = date.getFullYear();

View File

@ -220,9 +220,8 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var customerService = function customerService() {__webpack_require__.e(/*! require.ensure | components/customer-service/customer-service */ "components/customer-service/customer-service").then((function () {return resolve(__webpack_require__(/*! @/components/customer-service/customer-service.vue */ 222));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _vuex = __webpack_require__(/*! vuex */ 12);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var customerService = function customerService() {__webpack_require__.e(/*! require.ensure | components/customer-service/customer-service */ "components/customer-service/customer-service").then((function () {return resolve(__webpack_require__(/*! @/components/customer-service/customer-service.vue */ 222));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState {
var _default = {
components: { components: {
statusNav: statusNav, statusNav: statusNav,
customerService: customerService }, customerService: customerService },

View File

@ -173,9 +173,8 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _vuex = __webpack_require__(/*! vuex */ 12);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState {
var _default = {
components: { components: {
statusNav: statusNav }, statusNav: statusNav },

View File

@ -297,10 +297,11 @@ var _default = {
this.getDetail(this.id); this.getDetail(this.id);
(0, _publicApi.userInfoEv)(); (0, _publicApi.userInfoEv)();
} }
if (uni.getStorageSync('business_code') !== '' && uni.getStorageSync('showVip') == 'true') { if (uni.getStorageSync('business_code') !== '' && uni.getStorageSync('showVip') == 'true') {
this.vipPrice = true; this.vipPrice = true;
} }
// 查询购物车数量
(0, _publicApi.getCartNum)();
}, },
// 分享到微信 // 分享到微信
onShareAppMessage: function onShareAppMessage(res) { onShareAppMessage: function onShareAppMessage(res) {

View File

@ -167,9 +167,8 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _vuex = __webpack_require__(/*! vuex */ 12);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState {
var _default = {
components: { components: {
statusNav: statusNav }, statusNav: statusNav },
@ -198,11 +197,6 @@ var _default = {
-1), _ref; -1), _ref;
}, },
computed: _objectSpread({},
(0, _vuex.mapState)({
footHeight: function footHeight(state) {return state.moduleA.footHeight;} })),
onLoad: function onLoad(op) { onLoad: function onLoad(op) {
this.category_id = op.category_id; this.category_id = op.category_id;
this.company_id = op.company_id; this.company_id = op.company_id;

View File

@ -153,9 +153,8 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _vuex = __webpack_require__(/*! vuex */ 12);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState {
var _default = {
components: { components: {
statusNav: statusNav }, statusNav: statusNav },

View File

@ -145,9 +145,8 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _vuex = __webpack_require__(/*! vuex */ 12);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState {
var _default = {
components: { components: {
statusNav: statusNav }, statusNav: statusNav },

View File

@ -156,7 +156,7 @@ __webpack_require__.r(__webpack_exports__);
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
"use strict"; "use strict";
/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; /* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var navTab = function navTab() {__webpack_require__.e(/*! require.ensure | components/nav-tab/nav-tab */ "components/nav-tab/nav-tab").then((function () {return resolve(__webpack_require__(/*! @/components/nav-tab/nav-tab.vue */ 180));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var pullList = function pullList() {__webpack_require__.e(/*! require.ensure | components/pull-list/pull-list */ "components/pull-list/pull-list").then((function () {return resolve(__webpack_require__(/*! @/components/pull-list/pull-list.vue */ 187));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
@ -194,9 +194,7 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); {
var _vuex = __webpack_require__(/*! vuex */ 12);function ownKeys(object, enumerableOnly) {var keys = Object.keys(object);if (Object.getOwnPropertySymbols) {var symbols = Object.getOwnPropertySymbols(object);if (enumerableOnly) symbols = symbols.filter(function (sym) {return Object.getOwnPropertyDescriptor(object, sym).enumerable;});keys.push.apply(keys, symbols);}return keys;}function _objectSpread(target) {for (var i = 1; i < arguments.length; i++) {var source = arguments[i] != null ? arguments[i] : {};if (i % 2) {ownKeys(Object(source), true).forEach(function (key) {_defineProperty(target, key, source[key]);});} else if (Object.getOwnPropertyDescriptors) {Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));} else {ownKeys(Object(source)).forEach(function (key) {Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));});}}return target;}function _defineProperty(obj, key, value) {if (key in obj) {Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true });} else {obj[key] = value;}return obj;}var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var navTab = function navTab() {__webpack_require__.e(/*! require.ensure | components/nav-tab/nav-tab */ "components/nav-tab/nav-tab").then((function () {return resolve(__webpack_require__(/*! @/components/nav-tab/nav-tab.vue */ 180));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var pullList = function pullList() {__webpack_require__.e(/*! require.ensure | components/pull-list/pull-list */ "components/pull-list/pull-list").then((function () {return resolve(__webpack_require__(/*! @/components/pull-list/pull-list.vue */ 187));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState
var _default = {
components: { components: {
statusNav: statusNav, statusNav: statusNav,
navTab: navTab, navTab: navTab,
@ -223,11 +221,6 @@ var _default = {
isKit: false //是否套件 isKit: false //是否套件
}; };
}, },
computed: _objectSpread({},
(0, _vuex.mapState)({
footHeight: function footHeight(state) {return state.moduleA.footHeight;} })),
onLoad: function onLoad(op) { onLoad: function onLoad(op) {
this.keywords = op.keyword; this.keywords = op.keyword;
this.getSearchList(this.currentIndex); this.getSearchList(this.currentIndex);

View File

@ -195,9 +195,8 @@ __webpack_require__.r(__webpack_exports__);
var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9); var _publicApi = __webpack_require__(/*! @/jsFile/public-api.js */ 9);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);};var _default =
var _vuex = __webpack_require__(/*! vuex */ 12);var statusNav = function statusNav() {__webpack_require__.e(/*! require.ensure | components/status-navs/status-nav */ "components/status-navs/status-nav").then((function () {return resolve(__webpack_require__(/*! @/components/status-navs/status-nav */ 208));}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);}; //引入mapState {
var _default = {
components: { components: {
statusNav: statusNav }, statusNav: statusNav },
@ -221,9 +220,6 @@ var _default = {
cacheBusinessId: -1 //商户id cacheBusinessId: -1 //商户id
}; };
}, },
computed: {},
onLoad: function onLoad(op) { onLoad: function onLoad(op) {
if (op.business_id) { if (op.business_id) {
this.cacheBusinessId = op.business_id; this.cacheBusinessId = op.business_id;

View File

@ -35,7 +35,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.24.7", "libVersion": "2.24.7",
"appid": "wx2128cb0ee735d71a", "appid": "wxa02e44170bc722cd",
"projectname": "app适配微信小程序", "projectname": "app适配微信小程序",
"condition": { "condition": {
"search": { "search": {