fix: 修复bug
parent
9a084e3a48
commit
3d34feb481
|
@ -88,7 +88,7 @@
|
||||||
<view class="item" v-for="item in productList" @click="goDetail(item)">
|
<view class="item" v-for="item in productList" @click="goDetail(item)">
|
||||||
<image :src="item.image" mode=""></image>
|
<image :src="item.image" mode=""></image>
|
||||||
<view class="name">{{item.storeName}}</view>
|
<view class="name">{{item.storeName}}</view>
|
||||||
<u--text class="text" color="#E50202" mode="price" :text="item.price"></u--text>
|
<u--text class="text" color="#E50202" mode="price" size="28" :text="item.price"></u--text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="" style="margin-top: 110rpx;">
|
<view class="" style="margin-top: 110rpx;">
|
||||||
|
@ -266,7 +266,7 @@
|
||||||
vip: {}, //会员
|
vip: {}, //会员
|
||||||
tempArr: [], //精品推荐临时数组
|
tempArr: [], //精品推荐临时数组
|
||||||
roll: [], // 新闻简报
|
roll: [], // 新闻简报
|
||||||
site_name: '', //首页title
|
site_name: '首页', //首页title
|
||||||
iSshowH: false,
|
iSshowH: false,
|
||||||
configApi: {}, //分享类容配置
|
configApi: {}, //分享类容配置
|
||||||
spikeList: [], // 秒杀
|
spikeList: [], // 秒杀
|
||||||
|
@ -334,7 +334,7 @@
|
||||||
// #endif
|
// #endif
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.getIndexConfig();
|
// this.getIndexConfig();
|
||||||
getUserInfo().then(res => {
|
getUserInfo().then(res => {
|
||||||
this.userInfo = res.data
|
this.userInfo = res.data
|
||||||
getTenant(this.tenantId).then(res => {
|
getTenant(this.tenantId).then(res => {
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
{{item.storeName}}
|
{{item.storeName}}
|
||||||
</view>
|
</view>
|
||||||
<view class="price">
|
<view class="price">
|
||||||
<u--text class="text" color="#E50202" mode="price" :text="item.price"></u--text>
|
<u--text class="text" color="#E50202" mode="price" size="26" :text="item.price"></u--text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="sum">x{{item.cartNum}}</view> -->
|
<!-- <view class="sum">x{{item.cartNum}}</view> -->
|
||||||
|
@ -47,7 +47,7 @@
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
<view class="item" style="width: 669rpx;height: 800rpx;background: transparent;" v-if="cartList.valid.length==0">
|
<view class="item" style="width: 669rpx;height: 800rpx;background: transparent;" v-if="cartList.valid.length==0">
|
||||||
<u-empty width="669rpx" height="100%" marginTop="200rpx" mode="car"></u-empty>
|
<u-empty width="669rpx" height="100%" marginTop="200rpx" mode="car"></u-empty>
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
<text :class="[isAllSelect?'checkedIcon':'noCheckIcon']"></text>
|
<text :class="[isAllSelect?'checkedIcon':'noCheckIcon']"></text>
|
||||||
<text>全选</text>
|
<text>全选</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="allPrice">合计 <u--text class="text" color="#E50202" mode="price" :text="priceAll"></u--text>
|
<view class="allPrice">合计 <u--text class="text" size="30" color="#E50202" mode="price" :text="priceAll"></u--text>
|
||||||
</view>
|
</view>
|
||||||
<view class="closeAll" @tap="subOrder">结算({{allCountval}})</view>
|
<view class="closeAll" @tap="subOrder">结算({{allCountval}})</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -380,7 +380,7 @@
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 获取产品详情
|
* 获取产品详情
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
getGoodsDetails: function(item) {
|
getGoodsDetails: function(item) {
|
||||||
uni.showLoading({
|
uni.showLoading({
|
||||||
|
@ -404,7 +404,7 @@
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 属性变动赋值
|
* 属性变动赋值
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
ChangeAttr: function(res) {
|
ChangeAttr: function(res) {
|
||||||
let productSelect = this.productValue[res];
|
let productSelect = this.productValue[res];
|
||||||
|
@ -428,7 +428,7 @@
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 默认选中属性
|
* 默认选中属性
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
DefaultSelect: function() {
|
DefaultSelect: function() {
|
||||||
let productAttr = this.attr.productAttr;
|
let productAttr = this.attr.productAttr;
|
||||||
|
@ -495,7 +495,7 @@
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 购物车数量加和数量减
|
* 购物车数量加和数量减
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
ChangeCartNum: function(changeValue) {
|
ChangeCartNum: function(changeValue) {
|
||||||
//changeValue:是否 加|减
|
//changeValue:是否 加|减
|
||||||
|
@ -524,7 +524,7 @@
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 购物车手动填写
|
* 购物车手动填写
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
iptCartNum: function(e) {
|
iptCartNum: function(e) {
|
||||||
this.$set(this.attr.productSelect, 'cart_num', e);
|
this.$set(this.attr.productSelect, 'cart_num', e);
|
||||||
|
@ -719,7 +719,7 @@
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* 购物车手动填写
|
* 购物车手动填写
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
iptCartNum: function(index) {
|
iptCartNum: function(index) {
|
||||||
let item = this.cartList.valid[index];
|
let item = this.cartList.valid[index];
|
||||||
|
|
Loading…
Reference in New Issue