jufubao-base 1.0.56-beta2006 → 1.0.56-beta2008
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/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +15 -15
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +2 -2
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +22 -21
- package/src/components/JfbBaseCardMergeEntry/Mock.js +28 -1
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +7 -6
package/package.json
CHANGED
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
</view>
|
|
95
95
|
<view style="display:flex;align-content:center;justify-content:center">
|
|
96
96
|
<view class="jfb-base-card-detail-entry__body-business-content">
|
|
97
|
-
<view
|
|
97
|
+
<view
|
|
98
98
|
class="jfb-base-card-detail-entry__body-business-content-item"
|
|
99
|
-
v-for="(item,index) in info.site_entry_settings"
|
|
99
|
+
v-for="(item,index) in info.site_entry_settings"
|
|
100
100
|
:key="index">
|
|
101
101
|
<view><image :src="item.image_url"></image></view>
|
|
102
102
|
<view>{{item.entry_name}}</view>
|
|
@@ -107,25 +107,25 @@
|
|
|
107
107
|
<view :style="{height: '100rpx'}"></view>
|
|
108
108
|
<!-- 靠底支付 -->
|
|
109
109
|
<view class="fixe_bottom" :style="prod_bottom">
|
|
110
|
-
<!-- <xd-button
|
|
111
|
-
radius="8rpx"
|
|
112
|
-
size="small"
|
|
110
|
+
<!-- <xd-button
|
|
111
|
+
radius="8rpx"
|
|
112
|
+
size="small"
|
|
113
113
|
type="primary">
|
|
114
114
|
消费记录
|
|
115
115
|
</xd-button> -->
|
|
116
|
-
<xd-button
|
|
116
|
+
<xd-button
|
|
117
117
|
v-if="info.is_exchange==='Y'"
|
|
118
|
-
@click="handleToShift"
|
|
119
|
-
radius="8rpx"
|
|
120
|
-
size="small"
|
|
118
|
+
@click="handleToShift"
|
|
119
|
+
radius="8rpx"
|
|
120
|
+
size="small"
|
|
121
121
|
type="primary">
|
|
122
122
|
券转换
|
|
123
123
|
</xd-button>
|
|
124
|
-
<xd-button
|
|
124
|
+
<xd-button
|
|
125
125
|
v-if="isShowUnbind"
|
|
126
|
-
@click="handleUnBindCard"
|
|
127
|
-
radius="8rpx"
|
|
128
|
-
size="small"
|
|
126
|
+
@click="handleUnBindCard"
|
|
127
|
+
radius="8rpx"
|
|
128
|
+
size="small"
|
|
129
129
|
type="primary">
|
|
130
130
|
解除绑定
|
|
131
131
|
</xd-button>
|
|
@@ -525,7 +525,7 @@ export default {
|
|
|
525
525
|
left: 50%;
|
|
526
526
|
transform: translate(-50rpx, -50rpx);
|
|
527
527
|
}
|
|
528
|
-
|
|
528
|
+
padding: unit(26, rpx);
|
|
529
529
|
&-header {
|
|
530
530
|
border-radius: unit(16, rpx);
|
|
531
531
|
font-size: unit(40, rpx);
|
|
@@ -692,7 +692,7 @@ export default {
|
|
|
692
692
|
|
|
693
693
|
&:last-child {
|
|
694
694
|
margin-right: 0;
|
|
695
|
-
}
|
|
695
|
+
}
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
698
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
>
|
|
16
16
|
</view>
|
|
17
17
|
<!-- #endif -->
|
|
18
|
-
<view class="jfb-base-card-info-entry__body">
|
|
18
|
+
<view class="jfb-base-card-info-entry__body" :style="{minHeight: layoutInfo.bodyMinHeightRpx + 'rpx'}">
|
|
19
19
|
<view v-if="!qrcode && showForm">
|
|
20
20
|
<view>
|
|
21
21
|
<view class="jfb-base-card-info-entry__body-form">
|
|
@@ -400,6 +400,7 @@ export default {
|
|
|
400
400
|
.jfb-base-card-info-entry {
|
|
401
401
|
&__body {
|
|
402
402
|
color: #333;
|
|
403
|
+
padding: unit(26, rpx);
|
|
403
404
|
&-form {
|
|
404
405
|
display: flex;
|
|
405
406
|
align-items: center;
|
|
@@ -443,7 +444,6 @@ export default {
|
|
|
443
444
|
left: 50%;
|
|
444
445
|
transform: translate(-50rpx, -50rpx);
|
|
445
446
|
}
|
|
446
|
-
margin: unit(26, rpx);
|
|
447
447
|
&-header {
|
|
448
448
|
border-radius: unit(16, rpx);
|
|
449
449
|
font-size: unit(40, rpx);
|
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
<view class="jfb-base-card-merge-entry__edit-icon" @click="delEdit">删除</view>
|
|
14
14
|
</view>
|
|
15
15
|
<!-- #endif -->
|
|
16
|
-
<view
|
|
16
|
+
<view
|
|
17
|
+
class="jfb-base-card-merge-entry__body"
|
|
18
|
+
:style="{minHeight: layoutInfo.bodyMinHeightRpx + 'rpx'}"
|
|
19
|
+
>
|
|
17
20
|
<view class="merge">
|
|
18
21
|
<view class="merge-item" :style="{background: themeOutStyle['color']}">
|
|
19
22
|
<view class="merge-item-box" :style="{backgroundImage: 'url(//img.jufubao.cn/component/card/mergbg.jpg)'}">
|
|
@@ -74,24 +77,24 @@
|
|
|
74
77
|
</view>
|
|
75
78
|
</view>
|
|
76
79
|
</view>
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
80
|
+
<view class="xd-notice" :style="{ color: warningColor }" v-if="content">
|
|
81
|
+
<xd-content-xss v-html="content"></xd-content-xss>
|
|
82
|
+
</view>
|
|
83
|
+
<view
|
|
84
|
+
v-if="isPreview && statusContent === true && content === '' "
|
|
85
|
+
class="xd-notice"
|
|
86
|
+
:style="{ color: dangerColor,fontSize: 24 + 'rpx' }"
|
|
87
|
+
>温馨提示未配置数据,因此改模块在正式环境将不显示</view>
|
|
88
|
+
<view class="bottom_btn-mask"></view>
|
|
89
|
+
<view class="bottom_btn" :style="prod_bottom">
|
|
90
|
+
<xd-button
|
|
91
|
+
:key="disabledKey"
|
|
92
|
+
:disabled="disabled"
|
|
93
|
+
@click="handleToSubmit"
|
|
94
|
+
width="90%"
|
|
95
|
+
:type="disabled ?'info': 'primary'"
|
|
96
|
+
>合并</xd-button>
|
|
97
|
+
</view>
|
|
95
98
|
</view>
|
|
96
99
|
</view>
|
|
97
100
|
</template>
|
|
@@ -141,8 +144,6 @@ export default {
|
|
|
141
144
|
|
|
142
145
|
content: "",
|
|
143
146
|
contentBackgroundColor: '',
|
|
144
|
-
|
|
145
|
-
selfMask: true,
|
|
146
147
|
cardPath: '', //卡券主页
|
|
147
148
|
|
|
148
149
|
//提示文案
|
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
|
|
4
|
+
fromCardListEntry : {
|
|
5
|
+
"list": [{
|
|
6
|
+
"card_number": "101001000008422",
|
|
7
|
+
"card_point": 100000,
|
|
8
|
+
"card_type_name": "聚福宝福"
|
|
9
|
+
}, {
|
|
10
|
+
"card_number": "121000100000028",
|
|
11
|
+
"card_point": 10000,
|
|
12
|
+
"card_type_name": "抵扣券测试"
|
|
13
|
+
}, {
|
|
14
|
+
"card_number": "101001000005192",
|
|
15
|
+
"card_point": 99995900,
|
|
16
|
+
"card_type_name": "聚福宝福"
|
|
17
|
+
}, {
|
|
18
|
+
"card_number": "101001000008421",
|
|
19
|
+
"card_point": 100000,
|
|
20
|
+
"card_type_name": "聚福宝福"
|
|
21
|
+
}, {
|
|
22
|
+
"card_number": "261001000002518",
|
|
23
|
+
"card_point": 100000,
|
|
24
|
+
"card_type_name": "加盟商福卡"
|
|
25
|
+
}, {
|
|
26
|
+
"card_number": "101001000007175",
|
|
27
|
+
"card_point": 9899544,
|
|
28
|
+
"card_type_name": "聚福宝福"
|
|
29
|
+
}, {"card_number": "261001000000344", "card_point": 100, "card_type_name": "大礼包测试"}],
|
|
30
|
+
"request_id": "4c836d402cbcbe80"
|
|
31
|
+
}
|
|
5
32
|
}
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
<!-- #endif -->
|
|
19
19
|
<view
|
|
20
20
|
class="jfb-base-card-shift-entry__body"
|
|
21
|
-
style="position: relative"
|
|
22
21
|
v-if="info !== null"
|
|
22
|
+
:style="{minHeight: layoutInfo.bodyMinHeightRpx + 'rpx'}"
|
|
23
23
|
>
|
|
24
24
|
<view
|
|
25
25
|
class="jfb-base-card-shift-entry__body-header"
|
|
@@ -127,11 +127,11 @@
|
|
|
127
127
|
<view :style="{height: '100rpx'}"></view>
|
|
128
128
|
<!-- 靠底支付 -->
|
|
129
129
|
<view class="fixe_bottom" :style="prod_bottom">
|
|
130
|
-
<xd-button
|
|
130
|
+
<xd-button
|
|
131
131
|
@click="handleChange"
|
|
132
132
|
width="500rpx"
|
|
133
|
-
radius="8rpx"
|
|
134
|
-
size="small"
|
|
133
|
+
radius="8rpx"
|
|
134
|
+
size="small"
|
|
135
135
|
type="primary">
|
|
136
136
|
转换
|
|
137
137
|
</xd-button>
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
<text :style="{color:mainColor,marginLeft:'20rpx'}">转换成功</text>
|
|
156
156
|
</view>
|
|
157
157
|
<view class="jfb-base-card-shift-entry__body-success-content">
|
|
158
|
-
已成功将 <text style="color:#333;padding: 0 16rpx">{{ card_number }}</text> 转换成为
|
|
158
|
+
已成功将 <text style="color:#333;padding: 0 16rpx">{{ card_number }}</text> 转换成为
|
|
159
159
|
<text style="color:#333;padding: 0 16rpx">{{ changeNumber }}</text>可在券包中查看
|
|
160
160
|
</view>
|
|
161
161
|
<xd-button type="primarys" width="360rpx" @click="handleToLink"
|
|
@@ -322,8 +322,9 @@ export default {
|
|
|
322
322
|
box-sizing: border-box;
|
|
323
323
|
|
|
324
324
|
&__body {
|
|
325
|
+
position: relative;
|
|
325
326
|
color: #333;
|
|
326
|
-
|
|
327
|
+
padding: unit(26, rpx);
|
|
327
328
|
&-header {
|
|
328
329
|
border-radius: unit(16, rpx);
|
|
329
330
|
font-size: unit(40, rpx);
|