|
@@ -36,9 +36,11 @@
|
|
|
|
|
|
|
|
<text class="ms-time-text"
|
|
<text class="ms-time-text"
|
|
|
>团购价:¥{{
|
|
>团购价:¥{{
|
|
|
- Number(specExtraList[0].laborCost) *
|
|
|
|
|
- Number(specExtraList[0].weight) +
|
|
|
|
|
- Number(specExtraList[0].additionalFee)
|
|
|
|
|
|
|
+ (
|
|
|
|
|
+ Number(specExtraList[0].laborCost) *
|
|
|
|
|
+ Number(specExtraList[0].weight) +
|
|
|
|
|
+ Number(specExtraList[0].additionalFee)
|
|
|
|
|
+ ).toFixed(2)
|
|
|
}}</text
|
|
}}</text
|
|
|
>
|
|
>
|
|
|
<view class="ms-time-box">
|
|
<view class="ms-time-box">
|
|
@@ -53,6 +55,12 @@
|
|
|
@change="onChange"
|
|
@change="onChange"
|
|
|
>
|
|
>
|
|
|
<view class="time">
|
|
<view class="time">
|
|
|
|
|
+ <view class="time__custom">
|
|
|
|
|
+ <text class="time__custom__item">
|
|
|
|
|
+ {{ timeData.days.toString().padStart(2, "0") }}
|
|
|
|
|
+ </text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <text class="time__doc">:</text>
|
|
|
<view class="time__custom">
|
|
<view class="time__custom">
|
|
|
<text class="time__custom__item">
|
|
<text class="time__custom__item">
|
|
|
{{ timeData.hours.toString().padStart(2, "0") }}
|
|
{{ timeData.hours.toString().padStart(2, "0") }}
|
|
@@ -82,7 +90,8 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="label acea-row row-between-wrapper">
|
|
<view class="label acea-row row-between-wrapper">
|
|
|
<view class="label-item"
|
|
<view class="label-item"
|
|
|
- >工费: {{ specExtraList[0].laborCost || 0 }}元/克</view
|
|
|
|
|
|
|
+ >工费:
|
|
|
|
|
+ {{ specExtraList[0].laborCost.toFixed(2) || 0 }}元/克</view
|
|
|
>
|
|
>
|
|
|
<view class="label-item"
|
|
<view class="label-item"
|
|
|
>重量: {{ specExtraList[0].weight }}克</view
|
|
>重量: {{ specExtraList[0].weight }}克</view
|
|
@@ -99,9 +108,11 @@
|
|
|
¥
|
|
¥
|
|
|
|
|
|
|
|
<text class="num">{{
|
|
<text class="num">{{
|
|
|
- Number(specExtraList[0].laborCost) *
|
|
|
|
|
- Number(specExtraList[0].weight) +
|
|
|
|
|
- Number(specExtraList[0].additionalFee)
|
|
|
|
|
|
|
+ (
|
|
|
|
|
+ Number(specExtraList[0].laborCost) *
|
|
|
|
|
+ Number(specExtraList[0].weight) +
|
|
|
|
|
+ Number(specExtraList[0].additionalFee)
|
|
|
|
|
+ ).toFixed(2)
|
|
|
}}</text>
|
|
}}</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -156,7 +167,7 @@
|
|
|
<wx-open-launch-app
|
|
<wx-open-launch-app
|
|
|
id="launch-btn"
|
|
id="launch-btn"
|
|
|
appid="wx5f33a4ace799b661"
|
|
appid="wx5f33a4ace799b661"
|
|
|
- :extinfo="'pages/group_buying/proDetail?id=' + id"
|
|
|
|
|
|
|
+ :extinfo="'/pages/group_buying/proDetail?id=' + id"
|
|
|
@error="goShuiBei"
|
|
@error="goShuiBei"
|
|
|
>
|
|
>
|
|
|
<component :is="'script'" v-bind="{ type: 'text/wxtag-template' }">
|
|
<component :is="'script'" v-bind="{ type: 'text/wxtag-template' }">
|
|
@@ -542,7 +553,7 @@ function toMessagePage() {
|
|
|
}
|
|
}
|
|
|
.ms-time-box {
|
|
.ms-time-box {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- right: 10%;
|
|
|
|
|
|
|
+ right: 2%;
|
|
|
top: 50%;
|
|
top: 50%;
|
|
|
transform: translateY(-50%);
|
|
transform: translateY(-50%);
|
|
|
display: flex;
|
|
display: flex;
|
|
@@ -589,71 +600,6 @@ function toMessagePage() {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .footer {
|
|
|
|
|
- padding: 0 20rpx 0 30rpx;
|
|
|
|
|
- position: fixed;
|
|
|
|
|
- bottom: 0;
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- box-sizing: border-box;
|
|
|
|
|
- height: 100rpx;
|
|
|
|
|
- background-color: #fff;
|
|
|
|
|
- z-index: 277;
|
|
|
|
|
- border-top: 1rpx solid #f0f0f0;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
-
|
|
|
|
|
- .item {
|
|
|
|
|
- font-size: 18rpx;
|
|
|
|
|
- color: #666;
|
|
|
|
|
-
|
|
|
|
|
- .iconfont {
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- font-size: 40rpx;
|
|
|
|
|
-
|
|
|
|
|
- &.icon-shoucang1 {
|
|
|
|
|
- color: #f00;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .icon-item {
|
|
|
|
|
- font-size: 40rpx;
|
|
|
|
|
- position: relative;
|
|
|
|
|
-
|
|
|
|
|
- .num {
|
|
|
|
|
- color: #fff;
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- font-size: 18rpx;
|
|
|
|
|
- padding: 2rpx 8rpx 3rpx;
|
|
|
|
|
- border-radius: 200rpx;
|
|
|
|
|
- top: -10rpx;
|
|
|
|
|
- right: -10rpx;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .bnt {
|
|
|
|
|
- width: 444rpx;
|
|
|
|
|
- height: 76rpx;
|
|
|
|
|
-
|
|
|
|
|
- .bnts {
|
|
|
|
|
- width: 444rpx;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- line-height: 76rpx;
|
|
|
|
|
- color: #fff;
|
|
|
|
|
- font-size: 28rpx;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .joinCart {
|
|
|
|
|
- border-radius: 50rpx;
|
|
|
|
|
- background-image: linear-gradient(to right, #fea10f 0%, #fa8013 100%);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .buy {
|
|
|
|
|
- border-radius: 50rpx;
|
|
|
|
|
- background-image: linear-gradient(to right, #fa6514 0%, #e93323 100%);
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
.store-info {
|
|
.store-info {
|
|
|
margin-top: 20rpx;
|
|
margin-top: 20rpx;
|
|
|
background-color: #fff;
|
|
background-color: #fff;
|
|
@@ -1174,4 +1120,92 @@ action-sheet-item {
|
|
|
padding: 5rpx 10rpx;
|
|
padding: 5rpx 10rpx;
|
|
|
border-radius: 40rpx;
|
|
border-radius: 40rpx;
|
|
|
}
|
|
}
|
|
|
|
|
+.footer {
|
|
|
|
|
+ padding: 0 20rpx 0 30rpx;
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ bottom: 0;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ height: 100rpx;
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ z-index: 277;
|
|
|
|
|
+ border-top: 1rpx solid #f0f0f0;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+
|
|
|
|
|
+ .toAPP {
|
|
|
|
|
+ min-width: 30%;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ top: -85rpx;
|
|
|
|
|
+ left: 35%;
|
|
|
|
|
+
|
|
|
|
|
+ .storeAPP {
|
|
|
|
|
+ background-color: #e9c279;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ border-radius: 50rpx;
|
|
|
|
|
+ line-height: 50rpx;
|
|
|
|
|
+ padding: 20rpx 20rpx;
|
|
|
|
|
+ z-index: 999;
|
|
|
|
|
+
|
|
|
|
|
+ .logoimg {
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ width: 50rpx;
|
|
|
|
|
+ height: 50rpx;
|
|
|
|
|
+ border-radius: 5rpx;
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .item {
|
|
|
|
|
+ font-size: 18rpx;
|
|
|
|
|
+ color: #666;
|
|
|
|
|
+
|
|
|
|
|
+ .iconfont {
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ font-size: 40rpx;
|
|
|
|
|
+
|
|
|
|
|
+ &.icon-shoucang1 {
|
|
|
|
|
+ color: #f00;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .icon-item {
|
|
|
|
|
+ font-size: 40rpx;
|
|
|
|
|
+ position: relative;
|
|
|
|
|
+
|
|
|
|
|
+ .num {
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ position: absolute;
|
|
|
|
|
+ font-size: 18rpx;
|
|
|
|
|
+ padding: 2rpx 8rpx 3rpx;
|
|
|
|
|
+ border-radius: 200rpx;
|
|
|
|
|
+ top: -10rpx;
|
|
|
|
|
+ right: -10rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .bnt {
|
|
|
|
|
+ width: 444rpx;
|
|
|
|
|
+ height: 76rpx;
|
|
|
|
|
+
|
|
|
|
|
+ .bnts {
|
|
|
|
|
+ width: 222rpx;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ line-height: 76rpx;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ font-size: 28rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .joinCart {
|
|
|
|
|
+ border-radius: 50rpx 0 0 50rpx;
|
|
|
|
|
+ background-image: linear-gradient(to right, #fea10f 0%, #fa8013 100%);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .buy {
|
|
|
|
|
+ border-radius: 0 50rpx 50rpx 0;
|
|
|
|
|
+ background-image: linear-gradient(to right, #fa6514 0%, #e93323 100%);
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+}
|
|
|
</style>
|
|
</style>
|