jufubao-base 1.0.169-beta19 → 1.0.169-beta20
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/JfbBaseLogin/JfbBaseLogin.vue +3 -1
- package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +8 -1
- package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +1 -1
- package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +1 -0
- package/src/components/JfbBaseTfkCardLogin/XdCouponItem.vue +8 -4
- package/src/components/JfbBaseTfkSearch/Mock.js +3 -3
package/package.json
CHANGED
|
@@ -651,7 +651,7 @@ export default {
|
|
|
651
651
|
this.formBgColor = getContainerPropsValue(value, "content.formBgColor", '#FFFFFF');
|
|
652
652
|
this.labelAlign = getContainerPropsValue(value, "content.labelAlign", 'left');
|
|
653
653
|
this.labelWidth = getContainerPropsValue(value, "content.labelWidth", '180');
|
|
654
|
-
this.labelPosition = getContainerPropsValue(value, "content.labelPosition", '
|
|
654
|
+
this.labelPosition = getContainerPropsValue(value, "content.labelPosition", 'left');
|
|
655
655
|
this.formPadding = getContainerPropsValue(value, "content.formPadding", {top: 20, left: 20, right: 20, bottom: 20});
|
|
656
656
|
this.agreePadding = getContainerPropsValue(value, "content.agreePadding", {});
|
|
657
657
|
this.authAgreePadding = getContainerPropsValue(value, "content.authAgreePadding", {top: 20, left: 20, right: 20, bottom: 20});
|
|
@@ -799,6 +799,8 @@ export default {
|
|
|
799
799
|
|
|
800
800
|
let { redirect_url, callback_url } = this;
|
|
801
801
|
|
|
802
|
+
redirect_url = redirect_url || callback_url || this.$settings.index;
|
|
803
|
+
|
|
802
804
|
//不同项目直接域名替换
|
|
803
805
|
if (/^(@site_domain@).+$/.test(redirect_url)) {
|
|
804
806
|
redirect_url = redirect_url.replace(/@site_domain@/, location.origin)
|
|
@@ -536,7 +536,13 @@
|
|
|
536
536
|
toBindCardDigital(){
|
|
537
537
|
const { code } = this.form;
|
|
538
538
|
|
|
539
|
-
if(!code)
|
|
539
|
+
if(!code) {
|
|
540
|
+
uni.showToast({
|
|
541
|
+
title: '请输入电子码',
|
|
542
|
+
icon: "none"
|
|
543
|
+
});
|
|
544
|
+
return ""
|
|
545
|
+
};
|
|
540
546
|
jfbRootExec("pwdCardBind", {
|
|
541
547
|
vm: this,
|
|
542
548
|
data: {
|
|
@@ -577,6 +583,7 @@
|
|
|
577
583
|
this.valid_token = valid_token;
|
|
578
584
|
},
|
|
579
585
|
doScanCode(){
|
|
586
|
+
console.log("开始扫码");
|
|
580
587
|
// #ifdef H5
|
|
581
588
|
this.jwxSDK.scanQRCode({
|
|
582
589
|
needResult: 1,
|
|
@@ -127,6 +127,7 @@
|
|
|
127
127
|
:couponLeftBgColor="couponLeftBgColor"
|
|
128
128
|
:item="item"
|
|
129
129
|
@useCoupon="doCardLogin(item)"
|
|
130
|
+
@toDetail="toCardDetail(item)"
|
|
130
131
|
></xd-coupon-item>
|
|
131
132
|
<view v-if="!hasCouponList" class="no_more_card" @click="toDisableUrl">没有更多券了,查看失效的票券 ></view>
|
|
132
133
|
</view>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<view class="xd-coupon_item" :style="couponItemBoxStyle"
|
|
2
|
+
<view class="xd-coupon_item" :style="couponItemBoxStyle"
|
|
3
|
+
@click="toDetail">
|
|
3
4
|
<view class="coupon_left" :style="{
|
|
4
5
|
background: couponLeftBgColor
|
|
5
6
|
}">
|
|
@@ -42,11 +43,11 @@
|
|
|
42
43
|
borderRadius: couponBtnRadius + 'rpx'
|
|
43
44
|
}
|
|
44
45
|
]"
|
|
45
|
-
@click="goToUseCoupon"
|
|
46
|
+
@click.stop="goToUseCoupon"
|
|
46
47
|
>{{item.is_login === 'Y' ? '已登录' : '去使用'}}</view>
|
|
47
48
|
</view>
|
|
48
49
|
<view class="cont_bottom">
|
|
49
|
-
<view class="switch_rule" @click="switchRule">
|
|
50
|
+
<view class="switch_rule" @click.stop="switchRule">
|
|
50
51
|
<view>使用规则</view>
|
|
51
52
|
<view>
|
|
52
53
|
<xd-font-icon v-if="!expand" icon="iconxia_down" size="24"></xd-font-icon>
|
|
@@ -155,7 +156,7 @@
|
|
|
155
156
|
let image = {};
|
|
156
157
|
if(this.couponImageUrl) image = {
|
|
157
158
|
backgroundImage: `url(${this.getCouponBgImage})`,
|
|
158
|
-
backgroundSize: '
|
|
159
|
+
backgroundSize: 'cover',
|
|
159
160
|
backgroundRepeat: 'no-repeat',
|
|
160
161
|
}
|
|
161
162
|
return this.styleObjectToString(image)
|
|
@@ -176,6 +177,9 @@
|
|
|
176
177
|
switchRule(){
|
|
177
178
|
this.expand = !this.expand;
|
|
178
179
|
},
|
|
180
|
+
toDetail(){
|
|
181
|
+
this.$emit('toDetail', this.item);
|
|
182
|
+
},
|
|
179
183
|
goToUseCoupon(){
|
|
180
184
|
this.$emit('useCoupon', this.item);
|
|
181
185
|
},
|
|
@@ -20,7 +20,7 @@ module.exports = {
|
|
|
20
20
|
brand_name: "品牌jls0519",
|
|
21
21
|
list_title: "3",
|
|
22
22
|
market_price: 2000,
|
|
23
|
-
market_tags: [],
|
|
23
|
+
market_tags: ['flashsale','hot','new', 'rec'],
|
|
24
24
|
product_id: 60030143,
|
|
25
25
|
product_name: "仅快递实物商品(北京廊坊支持配送)",
|
|
26
26
|
product_type: "good",
|
|
@@ -28,14 +28,14 @@ module.exports = {
|
|
|
28
28
|
sale_num: 8,
|
|
29
29
|
sale_price: 3000,
|
|
30
30
|
status: "ok",
|
|
31
|
-
thumb: "/uploads/20231215/b2ce0235129aa592044f96343f25c338.jpeg"
|
|
31
|
+
thumb: "/uploads/20231215/b2ce0235129aa592044f96343f25c338.jpeg",
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
brand_id: 30000,
|
|
35
35
|
brand_name: "其他",
|
|
36
36
|
list_title: "清代戏剧文化史论/北京大学明清研究丛书",
|
|
37
37
|
market_price: 2600,
|
|
38
|
-
market_tags: [],
|
|
38
|
+
market_tags: ['flashsale','hot','new', 'rec'],
|
|
39
39
|
product_id: 60029756,
|
|
40
40
|
product_name: "清代戏剧文化史论/北京大学明清研究丛书",
|
|
41
41
|
product_type: "good",
|