更新
This commit is contained in:
parent
ff1f7e3728
commit
c0b9dc0c68
@ -2,8 +2,8 @@
|
|||||||
"name" : "惠农生活",
|
"name" : "惠农生活",
|
||||||
"appid" : "__UNI__3A527D1",
|
"appid" : "__UNI__3A527D1",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.5.3",
|
"versionName" : "1.5.4",
|
||||||
"versionCode" : 153,
|
"versionCode" : 154,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
@ -184,7 +184,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<!-- 购物车 -->
|
<!-- 购物车 -->
|
||||||
<view class="card" :style="`bottom:${appInfo.bottom}px`"
|
<view class="card" :style="`bottom:${appInfo.bottom}px`"
|
||||||
@click="navgo('/pages/order_addcart/order_addcart')">
|
@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">
|
||||||
<u--image :showLoading="true" src="/static/images/LHYC/GWC.png" width="63.09rpx"
|
<u--image :showLoading="true" src="/static/images/LHYC/GWC.png" width="63.09rpx"
|
||||||
@ -683,7 +683,7 @@
|
|||||||
})
|
})
|
||||||
this.totalMoney = this.totalMoney.toFixed(2)
|
this.totalMoney = this.totalMoney.toFixed(2)
|
||||||
})
|
})
|
||||||
getCartCounts().then(res => {
|
getCartCounts({product_type: 98}).then(res => {
|
||||||
this.goodsNum = res.data[0].count
|
this.goodsNum = res.data[0].count
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -219,6 +219,7 @@
|
|||||||
loading: false, //是否加载中
|
loading: false, //是否加载中
|
||||||
loadend: false, //是否加载完毕
|
loadend: false, //是否加载完毕
|
||||||
loadTitle: '加载更多', //提示语
|
loadTitle: '加载更多', //提示语
|
||||||
|
product_type: 0,
|
||||||
isFooter: false,
|
isFooter: false,
|
||||||
cartCount: 0,
|
cartCount: 0,
|
||||||
goodsHidden: true,
|
goodsHidden: true,
|
||||||
@ -272,7 +273,7 @@
|
|||||||
onReady() {},
|
onReady() {},
|
||||||
mounted: function() {},
|
mounted: function() {},
|
||||||
onLoad: function(options) {
|
onLoad: function(options) {
|
||||||
|
this.product_type = options.product_type || 0;
|
||||||
},
|
},
|
||||||
onShow: function() {
|
onShow: function() {
|
||||||
this.appInfo = this.$appInfo.safeAreaInsets
|
this.appInfo = this.$appInfo.safeAreaInsets
|
||||||
@ -679,7 +680,7 @@
|
|||||||
// 购物车列表
|
// 购物车列表
|
||||||
getCartList: function(isChange) {
|
getCartList: function(isChange) {
|
||||||
let that = this;
|
let that = this;
|
||||||
getCartList().then(res => {
|
getCartList({product_type: this.product_type}).then(res => {
|
||||||
res.data.list.forEach((item, index) => {
|
res.data.list.forEach((item, index) => {
|
||||||
item.allCheck = true
|
item.allCheck = true
|
||||||
item.list.forEach((goods, j) => {
|
item.list.forEach((goods, j) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user