更新优化
This commit is contained in:
parent
44421c4ded
commit
6480227fd3
@ -18,7 +18,7 @@
|
|||||||
<image src='../../static/images/noAddress.png'></image>
|
<image src='../../static/images/noAddress.png'></image>
|
||||||
<view>暂无地址</view>
|
<view>暂无地址</view>
|
||||||
</view>
|
</view>
|
||||||
<view class='addressBnt' @tap='goAddressPages'>添加新地址</view>
|
<view class='addressBnt' @tap='goAddressPages'>添加/编辑地址</view>
|
||||||
</view>
|
</view>
|
||||||
<view class='mask' catchtouchmove="true" :hidden='address.address==false' @tap='close'></view>
|
<view class='mask' catchtouchmove="true" :hidden='address.address==false' @tap='close'></view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -12,6 +12,9 @@
|
|||||||
"nvueCompiler" : "uni-app",
|
"nvueCompiler" : "uni-app",
|
||||||
"nvueStyleCompiler" : "uni-app",
|
"nvueStyleCompiler" : "uni-app",
|
||||||
"compilerVersion" : 3,
|
"compilerVersion" : 3,
|
||||||
|
"compatible":{
|
||||||
|
"ignoreVersion": true //true表示忽略版本检查提示框,HBuilderX1.9.0及以上版本支持
|
||||||
|
},
|
||||||
"splashscreen" : {
|
"splashscreen" : {
|
||||||
"alwaysShowBeforeRender" : true,
|
"alwaysShowBeforeRender" : true,
|
||||||
"waiting" : true,
|
"waiting" : true,
|
||||||
|
@ -34,6 +34,7 @@
|
|||||||
"navigationBarTitleText": "首页",
|
"navigationBarTitleText": "首页",
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
|
"onReachBottomDistance": 300,
|
||||||
// #ifdef APP-PLUS
|
// #ifdef APP-PLUS
|
||||||
"enablePullDownRefresh": true,
|
"enablePullDownRefresh": true,
|
||||||
// #endif
|
// #endif
|
||||||
|
@ -302,9 +302,9 @@ export default {
|
|||||||
onReachBottom() {
|
onReachBottom() {
|
||||||
|
|
||||||
if (this.productList.length > 0) {
|
if (this.productList.length > 0) {
|
||||||
setTimeout(() => {
|
this.$u.sleep(50).then(()=>{
|
||||||
this.getGoods(false);
|
this.getGoods(false);
|
||||||
}, 1000)
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
|
@ -185,7 +185,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- 购物车 -->
|
<!-- 购物车 -->
|
||||||
<view class="card" :style="`bottom:${appInfo.bottom}px`"
|
<view class="card" :style="`bottom:${appInfo.bottom+10}px`"
|
||||||
@click="navgo('/pages/order_addcart/order_addcart?product_type=98')">
|
@click="navgo('/pages/order_addcart/order_addcart?product_type=98')">
|
||||||
<view class="left">
|
<view class="left">
|
||||||
<view class="cart" :class="{ act_cart: act_cart }" style="position: relative; z-index: 9999999">
|
<view class="cart" :class="{ act_cart: act_cart }" style="position: relative; z-index: 9999999">
|
||||||
@ -263,7 +263,7 @@
|
|||||||
|
|
||||||
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse">
|
<authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse">
|
||||||
</authorize>
|
</authorize>
|
||||||
<view class="" :style="`height:${appInfo.bottom}px;`"> </view>
|
<view class="" :style="`height:${appInfo.bottom+10}px;`"> </view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="">
|
<view class="">
|
||||||
@ -420,7 +420,7 @@
|
|||||||
// ...mapGetters(['isLogin', 'viewColor', 'uid']),
|
// ...mapGetters(['isLogin', 'viewColor', 'uid']),
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
// this.cartFn()
|
// this.cartFn()
|
||||||
this.location = e.location;
|
this.location = e.location;
|
||||||
this.appInfo = this.$appInfo.safeAreaInsets
|
this.appInfo = this.$appInfo.safeAreaInsets
|
||||||
this.winHeight = this.$appInfo.windowHeight
|
this.winHeight = this.$appInfo.windowHeight
|
||||||
this.street_code = e.street
|
this.street_code = e.street
|
||||||
|
@ -210,11 +210,19 @@ export default {
|
|||||||
type: 'routine'
|
type: 'routine'
|
||||||
};
|
};
|
||||||
//#endif
|
//#endif
|
||||||
|
// #ifndef MP
|
||||||
|
params = {
|
||||||
|
type: 'app'
|
||||||
|
};
|
||||||
|
//#endif
|
||||||
merchantQrcode(this.id, params)
|
merchantQrcode(this.id, params)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
|
console.log('二维码', res);
|
||||||
this.storeCode = res.data.url;
|
this.storeCode = res.data.url;
|
||||||
})
|
})
|
||||||
.catch(err => {});
|
.catch(err => {
|
||||||
|
console.log('二维码错误', err);
|
||||||
|
});
|
||||||
},
|
},
|
||||||
// #ifdef MP
|
// #ifdef MP
|
||||||
// 小程序保存图片
|
// 小程序保存图片
|
||||||
|
Loading…
x
Reference in New Issue
Block a user