|
@@ -54,7 +54,7 @@
|
|
|
>
|
|
|
{{ detail.standPrice === 0 ? "免费" : `¥${detail.standPrice}` }}
|
|
|
</view>
|
|
|
- <!-- 范围价格 -->
|
|
|
+ <!-- 范围价格 -->
|
|
|
<view v-else class="price_word">
|
|
|
<view>{{ detail.minPrice }}</view>
|
|
|
<template v-if="detail.minPrice != detail.maxPrice">
|
|
@@ -349,11 +349,14 @@
|
|
|
@change="checkboxChange"
|
|
|
v-model="spec.check"
|
|
|
:name="spec.specAttributeId"
|
|
|
- ></u-checkbox>
|
|
|
- <view class="price_box">
|
|
|
- <view class="check_box_item_titme">{{ spec.name }}</view>
|
|
|
- <view class="price">¥{{ spec.standPrice }}</view>
|
|
|
- </view>
|
|
|
+ >
|
|
|
+ <view class="price_box">
|
|
|
+ <view class="check_box_item_titme">{{
|
|
|
+ spec.name
|
|
|
+ }}</view>
|
|
|
+ <view class="price">¥{{ spec.standPrice }}</view>
|
|
|
+ </view>
|
|
|
+ </u-checkbox>
|
|
|
</view>
|
|
|
</u-checkbox-group>
|
|
|
</view>
|
|
@@ -443,7 +446,7 @@ export default {
|
|
|
}
|
|
|
return a;
|
|
|
}, 0);
|
|
|
- return this.toFixed(allPrice)
|
|
|
+ return this.toFixed(allPrice);
|
|
|
},
|
|
|
goodsIds() {
|
|
|
if (!this.specList.length) return [];
|
|
@@ -588,6 +591,10 @@ export default {
|
|
|
this.selectGoodIndex = index;
|
|
|
this.changeData();
|
|
|
},
|
|
|
+ select(val) {
|
|
|
+ val.check = !val.check;
|
|
|
+ console.log(val, 6666);
|
|
|
+ },
|
|
|
checkboxChange(val) {
|
|
|
if (!this.isSingleChoice) return;
|
|
|
this.specList.slice(-1)[0].specAttrList.forEach((ele) => {
|
|
@@ -1229,11 +1236,11 @@ page {
|
|
|
font-size: 44rpx;
|
|
|
font-weight: 800;
|
|
|
color: #fc3f3f;
|
|
|
- margin-bottom: 8rpx;
|
|
|
+ margin-bottom: 8rpx;
|
|
|
view::before {
|
|
|
content: "¥";
|
|
|
font-size: 26rpx;
|
|
|
- font-weight: bold;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -1357,7 +1364,6 @@ page {
|
|
|
font-size: 24rpx;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
.wk_icon {
|
|
|
width: 24rpx;
|
|
|
height: 24rpx;
|