jufubao-base 1.0.237-beta6 → 1.0.237-beta7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +2 -2
- package/src/components/JfbBaseHeaderColumn/Attr.js +7 -0
- package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +3 -1
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +4 -2
- package/src/components/JfbBasePay/Attr.js +13 -1
- package/src/components/JfbBasePay/JfbBasePay.vue +6 -4
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +3 -0
package/package.json
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</view>
|
|
29
29
|
<view class="fixed_bottom" :style="fixed_bottom">
|
|
30
30
|
<xd-button type="primary" width="600rpx" @click="searchCode">查询</xd-button>
|
|
31
|
-
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')"
|
|
31
|
+
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')">《共享PLUS会员用户协议》</text></view>
|
|
32
32
|
</view>
|
|
33
33
|
</view>
|
|
34
34
|
<view v-else class="vip_panel">
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
</view>
|
|
41
41
|
<view class="fixed_bottom" :style="fixed_bottom">
|
|
42
42
|
<xd-button type="primary" width="600rpx" @click="p_createVipOrder">立即兑换</xd-button>
|
|
43
|
-
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')"
|
|
43
|
+
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')">《共享PLUS会员用户协议》</text></view>
|
|
44
44
|
</view>
|
|
45
45
|
</view>
|
|
46
46
|
</view>
|
|
@@ -404,6 +404,13 @@ export default {
|
|
|
404
404
|
type: "number",
|
|
405
405
|
groupKey: "style",
|
|
406
406
|
},
|
|
407
|
+
data.showQrcode === 'Y' && {
|
|
408
|
+
label: "二维码图标颜色:",
|
|
409
|
+
ele: 'xd-color',
|
|
410
|
+
valueKey: "qrCodeColor",
|
|
411
|
+
groupKey:'style',
|
|
412
|
+
value: data.qrCodeColor || '',
|
|
413
|
+
},
|
|
407
414
|
data.showScan === 'Y' && {
|
|
408
415
|
ele: "title",
|
|
409
416
|
label: "扫一扫样式设置",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
>{{searchBtnText || '搜索'}}</view>
|
|
89
89
|
</view>
|
|
90
90
|
<view v-if="showQrcode==='Y'" class="qr_code" @click="handleQrCodeClick">
|
|
91
|
-
<xd-font-icon :size="qrcodeSize" icon="iconerweima"></xd-font-icon>
|
|
91
|
+
<xd-font-icon :size="qrcodeSize" icon="iconerweima" :color="qrCodeColor"></xd-font-icon>
|
|
92
92
|
</view>
|
|
93
93
|
<view v-if="showSearchBtn==='Y' && searchBtnPosition==='out'"
|
|
94
94
|
class="search_btn_out"
|
|
@@ -221,6 +221,7 @@
|
|
|
221
221
|
showQrcode: "",
|
|
222
222
|
qrcodeSize: 32,
|
|
223
223
|
qrcodePath: "",
|
|
224
|
+
qrCodeColor: "",
|
|
224
225
|
showScan: "",
|
|
225
226
|
scanIconColor: "",
|
|
226
227
|
scanPath: "",
|
|
@@ -257,6 +258,7 @@
|
|
|
257
258
|
this.choseCityPath = getContainerPropsValue(container, "content.choseCityPath", {value:""}).value;
|
|
258
259
|
this.showQrcode = getContainerPropsValue(container, "content.showQrcode", "");
|
|
259
260
|
this.qrcodeSize = getContainerPropsValue(container, "content.qrcodeSize", 32);
|
|
261
|
+
this.qrCodeColor = getContainerPropsValue(container, "content.qrCodeColor", "#333");
|
|
260
262
|
this.showScan = getContainerPropsValue(container, "content.showScan", "");
|
|
261
263
|
this.scanIconColor = getContainerPropsValue(container, "content.scanIconColor", "#333");
|
|
262
264
|
//基础
|
|
@@ -29,11 +29,13 @@
|
|
|
29
29
|
<view class="fixed_bottom" :style="fixed_bottom">
|
|
30
30
|
<view class="pay_btn" @click="p_createVipOrder">
|
|
31
31
|
立即支付
|
|
32
|
-
|
|
32
|
+
¥{{ $xdUniHelper.divisionFloatNumber(vipInfo.sale_price, 100) }}
|
|
33
|
+
{{ vipInfo.vip_card_life_cycle_unit ? '/'+vipInfo.vip_card_life_cycle_unit:'' }}
|
|
34
|
+
<!-- <xd-unit style="margin-left: 16rpx;"
|
|
33
35
|
:price="vipInfo.sale_price"
|
|
34
36
|
:isOld="false"
|
|
35
37
|
colorNew="#FFFFFF"
|
|
36
|
-
></xd-unit>
|
|
38
|
+
></xd-unit> -->
|
|
37
39
|
</view>
|
|
38
40
|
<view class="plus_privacy">开通视为同意 <text @click.stop="handlePrivacy('privacy_service')"></text>《共享PLUS会员用户协议》</view>
|
|
39
41
|
</view>
|
|
@@ -18,10 +18,22 @@ export default {
|
|
|
18
18
|
className: "input80",
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
+
label: "【(可使用多张票券点数)】是否展示",
|
|
22
|
+
ele: 'xd-radio',
|
|
23
|
+
valueKey: "showText2",
|
|
24
|
+
value: data.showText2 || 'Y',
|
|
25
|
+
groupKey: "content",
|
|
26
|
+
inline: true,
|
|
27
|
+
list: [
|
|
28
|
+
{ label: "展示", value: "Y" },
|
|
29
|
+
{ label: "不展示", value: "N" },
|
|
30
|
+
],
|
|
31
|
+
},
|
|
32
|
+
data.showText2 === 'Y' && {
|
|
21
33
|
label: "【(可使用多张票券点数)】文案:",
|
|
22
34
|
ele: "el-input",
|
|
23
35
|
valueKey: "text2",
|
|
24
|
-
value: data.text2 || '',
|
|
36
|
+
value: data.text2 || '(可使用多张票券点数)',
|
|
25
37
|
placeholder: '(可使用多张票券点数)',
|
|
26
38
|
groupKey: "content",
|
|
27
39
|
inline: false,
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
<view class="remain_pay" v-if="payInfo.channel_amount > 0">
|
|
101
101
|
<view style="border-bottom: 2rpx solid #eee;" class="column-group">
|
|
102
102
|
<view class="column-item" style="padding: 30rpx 60rpx">
|
|
103
|
-
<view class="column_label">{{text1}}<text class="label_sub">{{ text2 }}</text></view>
|
|
103
|
+
<view class="column_label">{{text1}}<text v-if="showText2==='Y'" class="label_sub">{{ text2 }}</text></view>
|
|
104
104
|
<view class="column_value text-primary">
|
|
105
105
|
<xd-unit
|
|
106
106
|
:price="payInfo.channel_amount"
|
|
@@ -216,6 +216,7 @@ export default {
|
|
|
216
216
|
text1: "",
|
|
217
217
|
text2: "",
|
|
218
218
|
text3: "",
|
|
219
|
+
showText2: "Y",
|
|
219
220
|
showContinuePay: "",
|
|
220
221
|
};
|
|
221
222
|
},
|
|
@@ -266,9 +267,10 @@ export default {
|
|
|
266
267
|
* @param container {object} 业务组件对象自己
|
|
267
268
|
*/
|
|
268
269
|
init(container) {
|
|
269
|
-
this.text1 = getContainerPropsValue(container, 'content.text1', "");
|
|
270
|
-
this.text2 = getContainerPropsValue(container, 'content.text2', "");
|
|
271
|
-
this.text3 = getContainerPropsValue(container, 'content.text3', "");
|
|
270
|
+
this.text1 = getContainerPropsValue(container, 'content.text1', "仍需扣点");
|
|
271
|
+
this.text2 = getContainerPropsValue(container, 'content.text2', "(可使用多张票券点数)");
|
|
272
|
+
this.text3 = getContainerPropsValue(container, 'content.text3', "选择以下补差方式");
|
|
273
|
+
this.showText2 = getContainerPropsValue(container, 'content.showText2', "Y");
|
|
272
274
|
this.showContinuePay = getContainerPropsValue(container, 'content.showContinuePay', 'Y');
|
|
273
275
|
this.paySuccessPath = getContainerPropsValue(
|
|
274
276
|
container,
|
|
@@ -207,6 +207,7 @@ export default {
|
|
|
207
207
|
callback_url: "",
|
|
208
208
|
isCollectUsername: false,
|
|
209
209
|
showDialog: false,
|
|
210
|
+
share_code: "",
|
|
210
211
|
|
|
211
212
|
inputStyle: "linear", //输入框样式 linear:线性 face: 面性
|
|
212
213
|
formBorderColor: "#F9F9F9", //
|
|
@@ -367,6 +368,7 @@ export default {
|
|
|
367
368
|
this.auth_code = options.auth_code;
|
|
368
369
|
this.provider_id = options.provider_id;
|
|
369
370
|
this.callback_url = options.callback_url;
|
|
371
|
+
this.share_code = options.share_code;
|
|
370
372
|
},
|
|
371
373
|
/**
|
|
372
374
|
* @description 监听事件变化
|
|
@@ -562,6 +564,7 @@ export default {
|
|
|
562
564
|
auth_code,
|
|
563
565
|
provider_id,
|
|
564
566
|
phone_number,
|
|
567
|
+
share_code,
|
|
565
568
|
}
|
|
566
569
|
}).then(res => {
|
|
567
570
|
this.$xdHideLoading();
|