jufubao-base 1.0.158 → 1.0.159-beta10
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/common/authorize.js +201 -70
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +7 -6
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +5 -3
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +3 -2
- package/src/components/JfbBaseBack/JfbBaseBack.vue +10 -8
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -2
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +3 -2
- package/src/components/JfbBaseCard/JfbBaseCard.vue +10 -6
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +57 -26
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetail.vue +14 -15
- package/src/components/JfbBaseCardDetailEntry/Attr.js +22 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +393 -424
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +4 -4
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +7 -9
- package/src/components/JfbBaseCardEntry/Attr.js +22 -1
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +90 -35
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +39 -22
- package/src/components/JfbBaseCardInfoEntry/Attr.js +22 -0
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +287 -263
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +4 -3
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +23 -18
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +4 -11
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +16 -19
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +3 -2
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +34 -18
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +14 -14
- package/src/components/JfbBaseCity/JfbBaseCity.vue +3 -2
- package/src/components/JfbBaseClear/JfbBaseClear.vue +3 -2
- package/src/components/JfbBaseConList/JfbBaseConList.vue +4 -5
- package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +3 -2
- package/src/components/JfbBaseEntry/Attr.js +22 -0
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +80 -16
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetail.vue +3 -4
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +31 -20
- package/src/components/JfbBaseFastLink/XdFastNav.vue +2 -2
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +0 -1
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +3 -2
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +28 -11
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +7 -9
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +9 -6
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +19 -5
- package/src/components/JfbBaseMapOverlay/XdMapOverlay.vue +52 -37
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +3 -2
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCard.vue +28 -27
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +5 -5
- package/src/components/JfbBaseMy/JfbBaseMy.vue +3 -3
- package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +6 -4
- package/src/components/JfbBaseNotice/Attr.js +0 -2
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +36 -14
- package/src/components/JfbBaseNotice/XdNoticeBar.vue +17 -1
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottom.vue +3 -2
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTop.vue +3 -2
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +20 -31
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +9 -4
- package/src/components/JfbBasePay/JfbBasePay.vue +3 -2
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +22 -7
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +23 -7
- package/src/components/JfbBasePoster/JfbBasePoster.vue +118 -18
- package/src/components/JfbBasePoster/MoreScreen.vue +155 -37
- package/src/components/JfbBasePosterBigSmall/Attr.js +1 -4
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +191 -67
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +90 -20
- package/src/components/JfbBasePosterType/FourScreen.vue +162 -18
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +0 -35
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +4 -4
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +3 -4
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +4 -7
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -9
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +3 -2
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +5 -4
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +3 -2
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +5 -3
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +4 -3
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +14 -11
- package/src/components/JfbBaseVideo/XdVideo.vue +0 -4
- package/src/components/JfbBaseWallet/JfbBaseWallet.vue +3 -2
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +5 -8
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +5 -8
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +7 -17
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +13 -21
- package/src/components/JfbBaseWebview/JfbBaseWebview.vue +4 -3
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +5 -4
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +3 -4
- package/src/mixins/colorCardMixins.js +1 -1
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-wallet-detail__edit-icon" @click="delEdit"
|
|
14
|
-
>删除</view
|
|
15
|
-
>
|
|
13
|
+
<view class="jfb-base-wallet-detail__edit-icon" @click="delEdit">删除</view>
|
|
16
14
|
</view>
|
|
17
15
|
<!-- #endif -->
|
|
18
16
|
<view class="jfb-base-wallet-detail__body">
|
|
@@ -35,7 +33,7 @@
|
|
|
35
33
|
>
|
|
36
34
|
<view class="jfb-base-wallet-detail__body-info-item-label">
|
|
37
35
|
{{ item.label }}
|
|
38
|
-
</view>
|
|
36
|
+
</view>
|
|
39
37
|
<view class="jfb-base-wallet-detail__body-info-item-value">
|
|
40
38
|
{{ item.value }}
|
|
41
39
|
</view>
|
|
@@ -69,14 +67,13 @@ export default {
|
|
|
69
67
|
};
|
|
70
68
|
},
|
|
71
69
|
watch: {
|
|
72
|
-
container(value) {
|
|
73
|
-
|
|
70
|
+
container(value,oldValue) {
|
|
71
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
72
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
74
73
|
},
|
|
75
74
|
},
|
|
76
75
|
created() {
|
|
77
76
|
this.init(this.container);
|
|
78
|
-
|
|
79
|
-
//todo
|
|
80
77
|
},
|
|
81
78
|
methods: {
|
|
82
79
|
onJfbLoad(options) {
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-wallet-effective__edit-icon" @click="delEdit"
|
|
14
|
-
>删除</view
|
|
15
|
-
>
|
|
13
|
+
<view class="jfb-base-wallet-effective__edit-icon" @click="delEdit">删除</view>
|
|
16
14
|
</view>
|
|
17
15
|
<!-- #endif -->
|
|
18
16
|
<view class="jfb-base-wallet-effective__body" v-if="status">
|
|
@@ -71,14 +69,13 @@ export default {
|
|
|
71
69
|
};
|
|
72
70
|
},
|
|
73
71
|
watch: {
|
|
74
|
-
container(value) {
|
|
75
|
-
|
|
72
|
+
container(value,oldValue) {
|
|
73
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
74
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
76
75
|
},
|
|
77
76
|
},
|
|
78
77
|
created() {
|
|
79
78
|
this.init(this.container);
|
|
80
|
-
|
|
81
|
-
//todo
|
|
82
79
|
},
|
|
83
80
|
methods: {
|
|
84
81
|
async onJfbLoad(options) {
|
|
@@ -86,7 +83,7 @@ export default {
|
|
|
86
83
|
this.type = options.type;
|
|
87
84
|
await this.getList();
|
|
88
85
|
this.status = true;
|
|
89
|
-
},
|
|
86
|
+
},
|
|
90
87
|
/**
|
|
91
88
|
* @description 监听事件变化
|
|
92
89
|
* @param container {object} 业务组件对象自己
|
|
@@ -112,20 +112,11 @@
|
|
|
112
112
|
@click="handleToBillDetail(item)"
|
|
113
113
|
>
|
|
114
114
|
<view>
|
|
115
|
-
<XdFontIcon
|
|
116
|
-
|
|
117
|
-
item.operate_type === 'A' ? 'iconshouru' : 'iconzhichu'
|
|
118
|
-
"
|
|
119
|
-
></XdFontIcon>
|
|
120
|
-
<text style="margin-left: 10rpx">{{
|
|
121
|
-
item.trade_type_name
|
|
122
|
-
}}</text>
|
|
115
|
+
<XdFontIcon :icon="item.operate_type === 'A' ? 'iconshouru' : 'iconzhichu'"></XdFontIcon>
|
|
116
|
+
<text style="margin-left: 10rpx">{{item.trade_type_name}}</text>
|
|
123
117
|
</view>
|
|
124
118
|
<view>
|
|
125
|
-
<view
|
|
126
|
-
>{{ item.operate_type === "A" ? "+" : "-" }}
|
|
127
|
-
{{ dividePrice(item.amount) }}</view
|
|
128
|
-
>
|
|
119
|
+
<view>{{ item.operate_type === "A" ? "+" : "-" }} {{ dividePrice(item.amount) }}</view>
|
|
129
120
|
<view>{{ item.created_time }}</view>
|
|
130
121
|
</view>
|
|
131
122
|
</view>
|
|
@@ -140,7 +131,7 @@
|
|
|
140
131
|
:cancel="false"
|
|
141
132
|
:confirm="false"
|
|
142
133
|
@close="handleClose"
|
|
143
|
-
title=""
|
|
134
|
+
title="使用"
|
|
144
135
|
>
|
|
145
136
|
<view class="jfb-base-wallet-index__body-qrcode">
|
|
146
137
|
<view>
|
|
@@ -287,14 +278,13 @@ export default {
|
|
|
287
278
|
};
|
|
288
279
|
},
|
|
289
280
|
watch: {
|
|
290
|
-
container(value) {
|
|
291
|
-
|
|
281
|
+
container(value,oldValue) {
|
|
282
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
283
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
292
284
|
},
|
|
293
285
|
},
|
|
294
286
|
created() {
|
|
295
287
|
this.init(this.container);
|
|
296
|
-
|
|
297
|
-
//todo
|
|
298
288
|
},
|
|
299
289
|
computed: {
|
|
300
290
|
alert_bottom() {
|
|
@@ -103,27 +103,19 @@
|
|
|
103
103
|
>
|
|
104
104
|
<view>
|
|
105
105
|
<XdFontIcon
|
|
106
|
-
:icon="
|
|
107
|
-
item.operate_type === 'A' ? 'iconshouru' : 'iconzhichu'
|
|
108
|
-
"
|
|
106
|
+
:icon="item.operate_type === 'A' ? 'iconshouru' : 'iconzhichu'"
|
|
109
107
|
></XdFontIcon>
|
|
110
108
|
<text style="margin-left: 10rpx">{{
|
|
111
109
|
item.trade_type_name
|
|
112
110
|
}}</text>
|
|
113
111
|
</view>
|
|
114
112
|
<view>
|
|
115
|
-
<view
|
|
116
|
-
>{{ item.operate_type === "A" ? "+" : "-" }}
|
|
117
|
-
{{ dividePrice(item.amount) }}</view
|
|
118
|
-
>
|
|
113
|
+
<view>{{ item.operate_type === "A" ? "+" : "-" }} {{ dividePrice(item.amount) }}</view>
|
|
119
114
|
<view>{{ item.created_time }}</view>
|
|
120
115
|
</view>
|
|
121
|
-
</view
|
|
122
|
-
>
|
|
123
|
-
|
|
124
|
-
<view class="jfb-base-wallet-item__body-list-empty" v-else
|
|
125
|
-
>暂无数据</view
|
|
126
|
-
>
|
|
116
|
+
</view>
|
|
117
|
+
</view>
|
|
118
|
+
<view class="jfb-base-wallet-item__body-list-empty" v-else>暂无数据</view>
|
|
127
119
|
</view>
|
|
128
120
|
</view>
|
|
129
121
|
<XdDailog
|
|
@@ -191,14 +183,13 @@ export default {
|
|
|
191
183
|
};
|
|
192
184
|
},
|
|
193
185
|
watch: {
|
|
194
|
-
container(value) {
|
|
195
|
-
|
|
186
|
+
container(value,oldValue) {
|
|
187
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
188
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
196
189
|
},
|
|
197
190
|
},
|
|
198
191
|
created() {
|
|
199
192
|
this.init(this.container);
|
|
200
|
-
|
|
201
|
-
//todo
|
|
202
193
|
},
|
|
203
194
|
methods: {
|
|
204
195
|
async onJfbLoad(options) {
|
|
@@ -302,12 +293,13 @@ export default {
|
|
|
302
293
|
// 设置剪贴板数据
|
|
303
294
|
uni.setClipboardData({
|
|
304
295
|
data: text,
|
|
296
|
+
showToast: false,
|
|
305
297
|
success: function () {
|
|
306
298
|
// 复制成功,提示用户
|
|
307
|
-
uni.showToast({
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
});
|
|
299
|
+
// uni.showToast({
|
|
300
|
+
// title: "复制成功",
|
|
301
|
+
// icon: "success",
|
|
302
|
+
// });
|
|
311
303
|
},
|
|
312
304
|
fail: function () {
|
|
313
305
|
// 复制失败,提示用户
|
|
@@ -45,8 +45,9 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
watch: {
|
|
48
|
-
container(value) {
|
|
49
|
-
|
|
48
|
+
container(value,oldValue) {
|
|
49
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
50
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
50
51
|
}
|
|
51
52
|
},
|
|
52
53
|
created() {
|
|
@@ -77,7 +78,7 @@
|
|
|
77
78
|
* @param container {object} 业务组件对象自己
|
|
78
79
|
*/
|
|
79
80
|
init(container) {
|
|
80
|
-
|
|
81
|
+
|
|
81
82
|
},
|
|
82
83
|
}
|
|
83
84
|
}
|
|
@@ -111,8 +111,9 @@
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
watch: {
|
|
114
|
-
container(value) {
|
|
115
|
-
|
|
114
|
+
container(value,oldValue) {
|
|
115
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
116
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
116
117
|
}
|
|
117
118
|
},
|
|
118
119
|
created() {
|
|
@@ -189,7 +190,7 @@
|
|
|
189
190
|
}
|
|
190
191
|
else{
|
|
191
192
|
this.$xdConfirm({
|
|
192
|
-
|
|
193
|
+
styles: this.styles,
|
|
193
194
|
isTitle: false,
|
|
194
195
|
showClose: false,
|
|
195
196
|
content: '用户登录失败',
|
|
@@ -200,7 +201,7 @@
|
|
|
200
201
|
}
|
|
201
202
|
}).catch(error=>{
|
|
202
203
|
this.$xdConfirm({
|
|
203
|
-
|
|
204
|
+
styles: this.styles,
|
|
204
205
|
isTitle: false,
|
|
205
206
|
showClose: false,
|
|
206
207
|
content: '用户登录失败',
|
|
@@ -61,14 +61,13 @@ export default {
|
|
|
61
61
|
};
|
|
62
62
|
},
|
|
63
63
|
watch: {
|
|
64
|
-
container(value) {
|
|
65
|
-
|
|
64
|
+
container(value,oldValue) {
|
|
65
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
66
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
66
67
|
},
|
|
67
68
|
},
|
|
68
69
|
created() {
|
|
69
70
|
this.init(this.container);
|
|
70
|
-
|
|
71
|
-
//todo
|
|
72
71
|
},
|
|
73
72
|
methods: {
|
|
74
73
|
onJfbLoad(options) {
|