fix: 修复bug

pull/2/head
TianYu 2023-05-29 17:01:10 +08:00
parent 9a084e3a48
commit 3d34feb481
2 changed files with 12 additions and 12 deletions

View File

@ -88,7 +88,7 @@
<view class="item" v-for="item in productList" @click="goDetail(item)">
<image :src="item.image" mode=""></image>
<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 class="" style="margin-top: 110rpx;">
@ -266,7 +266,7 @@
vip: {}, //
tempArr: [], //
roll: [], //
site_name: '', //title
site_name: '首页', //title
iSshowH: false,
configApi: {}, //
spikeList: [], //
@ -334,7 +334,7 @@
// #endif
},
onShow() {
this.getIndexConfig();
// this.getIndexConfig();
getUserInfo().then(res => {
this.userInfo = res.data
getTenant(this.tenantId).then(res => {

View File

@ -28,7 +28,7 @@
{{item.storeName}}
</view>
<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 class="sum">x{{item.cartNum}}</view> -->
@ -47,7 +47,7 @@
</view>
</view>
</view>
<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>
@ -58,7 +58,7 @@
<text :class="[isAllSelect?'checkedIcon':'noCheckIcon']"></text>
<text>全选</text>
</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 class="closeAll" @tap="subOrder">({{allCountval}})</view>
</view>
@ -380,7 +380,7 @@
},
/**
* 获取产品详情
*
*
*/
getGoodsDetails: function(item) {
uni.showLoading({
@ -404,7 +404,7 @@
},
/**
* 属性变动赋值
*
*
*/
ChangeAttr: function(res) {
let productSelect = this.productValue[res];
@ -428,7 +428,7 @@
},
/**
* 默认选中属性
*
*
*/
DefaultSelect: function() {
let productAttr = this.attr.productAttr;
@ -495,7 +495,7 @@
},
/**
* 购物车数量加和数量减
*
*
*/
ChangeCartNum: function(changeValue) {
//changeValue: |
@ -524,7 +524,7 @@
},
/**
* 购物车手动填写
*
*
*/
iptCartNum: function(e) {
this.$set(this.attr.productSelect, 'cart_num', e);
@ -719,7 +719,7 @@
},
/**
* 购物车手动填写
*
*
*/
iptCartNum: function(index) {
let item = this.cartList.valid[index];