diff --git a/components/detail-button/detail-button.vue b/components/detail-button/detail-button.vue
new file mode 100644
index 0000000..9fb071f
--- /dev/null
+++ b/components/detail-button/detail-button.vue
@@ -0,0 +1,212 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ wxtext }}
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/order-confirm-popup/order-confirm-popup.vue b/components/order-confirm-popup/order-confirm-popup.vue
index d0decc9..3cc11bc 100644
--- a/components/order-confirm-popup/order-confirm-popup.vue
+++ b/components/order-confirm-popup/order-confirm-popup.vue
@@ -98,9 +98,6 @@
-
-
-
使用{{ currencyName2 }}{{ deduction_name }}¥{{ (orderData.use_score / 100).toFixed(2) }}
兑换
+ @click="open('changePop')">达达卷
发货
上锁
@@ -179,21 +179,16 @@
-
+
{{ item.chooseNum }}
{{ item.goodslist_title }}
-
+
-
+
@@ -201,6 +196,7 @@
共{{nowChooseNum}}
件物品,合计兑换
{{totalChangeMoney}}
+ {{ this.$config.getAppSetting('currency2_name') }}
@@ -275,12 +271,7 @@
-
+
diff --git a/pages/shouye/detail.vue b/pages/shouye/detail.vue
index c7d0b9f..2a0d489 100644
--- a/pages/shouye/detail.vue
+++ b/pages/shouye/detail.vue
@@ -116,24 +116,14 @@
-
-
-
-
-
-
-
-
-
-
+
-
import OrderConfirmPopup from '@/components/order-confirm-popup/order-confirm-popup.vue'
import DetailListItem from '@/components/detail-list-item/detail-list-item.vue'
+import DetailButton from '@/components/detail-button/detail-button.vue'
export default {
components: {
OrderConfirmPopup,
- DetailListItem
+ DetailListItem,
+ DetailButton
},
data() {
return {
@@ -429,11 +421,7 @@ export default {
return;
}
}
- if (!this.getBtnXianShi(0)) {
- this.useMoney = false;
- this.useIntegral = false;
- this.useMoney2 = false;
- }
+
this.buyNum = num;
let coupon_id = (this.couponData && this.couponData.id) || ''
if (coupon_id != '' && this.useIntegral) {
@@ -657,30 +645,7 @@ export default {
},
});
},
- getBtnXianShi(type) {
- if (this.pageData == null || this.pageData["xuangou"] == null) {
- // this.pageData
- return true;
- }
- let xuangou = this.pageData["xuangou"];
- if (xuangou.quanju_xiangou == 0) {
- return true;
- }
-
- if (type == 0) {
- return false;
- }
- if (type == 1) {
- return true;
- }
-
- let yuxia = xuangou.quanju_xiangou - xuangou.user_xiangou_count;
- console.log(yuxia);
- if (yuxia >= type) {
- return true;
- }
- return false;
- },
+
close(e) {
console.log('关闭弹窗:', e, this.$refs[e]);
if (e === 'buyPop') {
diff --git a/pages/shouye/detail_wuxian.vue b/pages/shouye/detail_wuxian.vue
index 33158ff..2056225 100644
--- a/pages/shouye/detail_wuxian.vue
+++ b/pages/shouye/detail_wuxian.vue
@@ -1,8 +1,3 @@
-
@@ -152,11 +147,8 @@
-
-
-
@@ -200,39 +192,8 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
@@ -254,13 +215,6 @@
{{ item.goodslist_title }}
-
@@ -448,10 +402,12 @@
@@ -1779,71 +1793,6 @@ export default {
}
}
- .ft-fixed {
- position: fixed;
- z-index: 10;
- left: 0;
- bottom: 0;
- width: 100%;
- display: flex;
- flex-flow: row wrap;
- justify-content: center;
- padding-bottom: 50rpx;
- background: #FFFFFF;
- padding-top: 20rpx;
-
- .lt-btn {
- width: 690rpx;
- height: 80rpx;
- background: linear-gradient(90deg, #2dcbff 0%, #ff95fb 100%);
- border-radius: 40rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- margin-bottom: 20rpx;
- font-size: 32rpx;
- font-family: Source Han Sans CN;
- font-weight: 400;
- color: #ffffff;
- }
-
- .btn {
- width: 120rpx;
- height: 68rpx;
- position: relative;
-
- >view {
- white-space: nowrap;
- font-family: YouSheBiaoTiHei;
- font-weight: 400;
- font-size: 52rpx;
- color: #FFFFFF;
- position: relative;
- text-shadow: #000 1px 0 0, #000 0 1px 0, #000 -1px 0 0, #000 0 -1px 0;
-
- // &::before {
- // content: '';
- // position: absolute;
- // bottom: 10rpx;
- // left: -8rpx;
- // width: 22rpx;
- // height: 22rpx;
- // background: url($imgurl+'common/jiantou1.png') no-repeat 0 0 / 100% 100%;
- // }
-
- // &::after {
- // content: '';
- // position: absolute;
- // top: 0rpx;
- // right: -10rpx;
- // width: 22rpx;
- // height: 22rpx;
- // background: url($imgurl+'common/jiantou2.png') no-repeat 0 0 / 100% 100%;
- // }
- }
- }
- }
-
.res-pop {
width: 100%;
height: 100vh;