add
This commit is contained in:
parent
183f272098
commit
b7af7ef629
|
@ -159,23 +159,32 @@
|
||||||
{{ item.store_name }}
|
{{ item.store_name }}
|
||||||
</view>
|
</view>
|
||||||
<view class="shop-content-li" v-if="priceKey.off_activity==1">
|
<view class="shop-content-li" v-if="priceKey.off_activity==1">
|
||||||
<view class="shop-content-li-l" style="color: #FC452F;">活动价</view>
|
<view class="shop-content-li-l" style="color: #FC452F;">
|
||||||
|
<text style="font-size: 20rpx;">活</text><text>动</text><text
|
||||||
|
style="font-size: 20rpx;">价</text>
|
||||||
|
</view>
|
||||||
<view class="shop-content-li-r" style="color:#FC452F ;">¥<text
|
<view class="shop-content-li-r" style="color:#FC452F ;">¥<text
|
||||||
style="font-size: 30rpx;">{{item[priceKey.price]}}</text>/{{ item.unit_name }}
|
style="font-size: 30rpx;">{{item[priceKey.price]}}</text>/{{ item.unit_name }}
|
||||||
</view>
|
</view>
|
||||||
<view class="tag">
|
<view class="tag">
|
||||||
10%品牌礼品
|
<view class="icon" />
|
||||||
|
赠10%品牌礼品
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="shop-content-li" style="color: #999999;">
|
<view class="shop-content-li" style="color: #999999;">
|
||||||
<view class="shop-content-li-l">原 价</view>
|
<view class="shop-content-li-l">原 价</view>
|
||||||
<view class="shop-content-li-r">¥{{item[priceKey.op_price]}}</view>
|
<view class="shop-content-li-r line-through">¥{{item[priceKey.op_price]}}</view>
|
||||||
</view>
|
|
||||||
<view class="shop-content-li">
|
|
||||||
<view class="shop-content-li-l">规 格</view>
|
|
||||||
<view class="shop-content-li-r">{{ item.price }}/{{ item.unit_name }}</view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="shop-content-li" style="justify-content: space-between;">
|
<view class="shop-content-li" style="justify-content: space-between;">
|
||||||
|
<view style="display: flex;">
|
||||||
|
<view class="shop-content-li-l">规 格</view>
|
||||||
|
<view class="shop-content-li-r">{{ item.unit+item.unit_name }}/份</view>
|
||||||
|
</view>
|
||||||
|
<view class="btn" v-if="!item.batch">
|
||||||
|
<u--icon name="plus-circle-fill" size="20" color="#20b128"></u--icon>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="shop-content-li" style="justify-content: space-between;" v-if="item.batch">
|
||||||
<view style="display: flex;">
|
<view style="display: flex;">
|
||||||
<view class="shop-content-li-l">起批量</view>
|
<view class="shop-content-li-l">起批量</view>
|
||||||
<view class="shop-content-li-r">{{ item.batch }}{{ item.unit_name }}起卖</view>
|
<view class="shop-content-li-r">{{ item.batch }}{{ item.unit_name }}起卖</view>
|
||||||
|
@ -185,37 +194,6 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- <view class="shop-content">
|
|
||||||
<view class="title">
|
|
||||||
<view class="name u-line-2">{{ item.store_name }}</view>
|
|
||||||
</view>
|
|
||||||
<view class="title">
|
|
||||||
<view>
|
|
||||||
<text style="font-size: 22rpx;color: #FC452F;">
|
|
||||||
活动价: ¥ <text style="font-size: 28rpx;">{{ 66.65}}</text>
|
|
||||||
</text>
|
|
||||||
<text style="color:grey;font-size: 22rpx;">/{{ item.unit_name }}</text>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="title">
|
|
||||||
<view style="color: #999999;font-size: 22rpx;"><text> 原  价:</text>44.00
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view style="display: flex;" v-if='item.batch > 0'>
|
|
||||||
<view style="font-size: 22rpx;">规 
|
|
||||||
格  {{ item.price }}/{{ item.unit_name }}
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="price-btn">
|
|
||||||
<view style="font-size: 22rpx;">
|
|
||||||
起批量 {{ item.batch }}{{ item.unit_name }}起卖
|
|
||||||
</view>
|
|
||||||
<view class="btn">
|
|
||||||
<u--icon name="plus-circle-fill" size="20" color="#20b128"></u--icon>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view> -->
|
|
||||||
</view>
|
</view>
|
||||||
<view style="width: 100%;height: 470rpx;"></view>
|
<view style="width: 100%;height: 470rpx;"></view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
|
@ -1068,12 +1046,16 @@
|
||||||
color: #333333;
|
color: #333333;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
vertical-align: middle;
|
||||||
|
|
||||||
|
.line-through {
|
||||||
|
text-decoration: line-through;
|
||||||
|
}
|
||||||
|
|
||||||
.shop-content-li-l {
|
.shop-content-li-l {
|
||||||
font-size: 22rpx;
|
font-size: 22rpx;
|
||||||
width: 80rpx;
|
width: 70rpx;
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1082,9 +1064,21 @@
|
||||||
color: #A17C3A;
|
color: #A17C3A;
|
||||||
background-color: #F3E7C0;
|
background-color: #F3E7C0;
|
||||||
padding: 8rpx 4rpx;
|
padding: 8rpx 4rpx;
|
||||||
margin-left: 10rpx;
|
margin-left: 4rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// .icon {
|
||||||
|
// background-image: url('https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/3b653202406260957228679.png');
|
||||||
|
// width: 17rpx;
|
||||||
|
// height: 14rpx;
|
||||||
|
// background-size: 100% 100%;
|
||||||
|
// margin: 5rpx;
|
||||||
|
|
||||||
|
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -371,6 +371,11 @@
|
||||||
const passwordBoardProps = {
|
const passwordBoardProps = {
|
||||||
title: '输入支付密码',
|
title: '输入支付密码',
|
||||||
onComplete(value) {
|
onComplete(value) {
|
||||||
|
uni.vibrateShort({
|
||||||
|
success: function() {
|
||||||
|
console.log('success');
|
||||||
|
}
|
||||||
|
});
|
||||||
password.value = value
|
password.value = value
|
||||||
passwordBoardVisible.value = false
|
passwordBoardVisible.value = false
|
||||||
payFn()
|
payFn()
|
||||||
|
|
Loading…
Reference in New Issue