jufubao-base 1.0.158-beta6 → 1.0.158-beta8
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
CHANGED
|
@@ -31,10 +31,9 @@
|
|
|
31
31
|
></xd-font-icon>
|
|
32
32
|
</view>
|
|
33
33
|
</view>
|
|
34
|
-
<view v-else>
|
|
34
|
+
<view style="text-align:center;padding-top:54rpx;padding-bottom:30rpx" v-else>
|
|
35
35
|
<img
|
|
36
|
-
style="width:
|
|
37
|
-
mode="widthFix"
|
|
36
|
+
style="width:360rpx;height:340rpx"
|
|
38
37
|
:src="bottomBackground"
|
|
39
38
|
alt=""
|
|
40
39
|
/>
|
|
@@ -45,7 +44,9 @@
|
|
|
45
44
|
:style="{
|
|
46
45
|
backgroundImage: btnImage,
|
|
47
46
|
backgroundSize: '100% 100%',
|
|
48
|
-
|
|
47
|
+
height: '70rpx',
|
|
48
|
+
width: '450rpx',
|
|
49
|
+
marginTop: '26rpx'
|
|
49
50
|
}"
|
|
50
51
|
@click="getAllCoupont"
|
|
51
52
|
>{{ isRandom ? "开心获取" : "一键领取" }}</xd-button
|
|
@@ -56,6 +56,17 @@ export default {
|
|
|
56
56
|
placeholder: '请选择按钮文字颜色',
|
|
57
57
|
classNmae: 'input60',
|
|
58
58
|
},
|
|
59
|
+
{
|
|
60
|
+
label: "按钮文字大小",
|
|
61
|
+
ele: "el-input",
|
|
62
|
+
type: "number",
|
|
63
|
+
valueKey: "btnTextSize",
|
|
64
|
+
groupKey: 'content',
|
|
65
|
+
value: data.btnTextSize || '',
|
|
66
|
+
placeholder: "请输入按钮文字大小",
|
|
67
|
+
className: "input80",
|
|
68
|
+
inline: false,
|
|
69
|
+
},
|
|
59
70
|
{
|
|
60
71
|
label: '按钮圆角设置:',
|
|
61
72
|
ele: 'xd-site-select-list',
|
|
@@ -49,10 +49,9 @@
|
|
|
49
49
|
<view v-if="isAll">
|
|
50
50
|
<view v-if="isRandom">
|
|
51
51
|
<view class="jfb-base-con-list__body-content-list">
|
|
52
|
-
<view>
|
|
52
|
+
<view style="text-align:center;padding-top:140rpx;padding-bottom:54rpx">
|
|
53
53
|
<img
|
|
54
|
-
style="width:
|
|
55
|
-
mode="widthFix"
|
|
54
|
+
style="width:360rpx;height:340rpx"
|
|
56
55
|
:src="app_coupon_bottom_url"
|
|
57
56
|
alt=""
|
|
58
57
|
/>
|
|
@@ -68,7 +67,6 @@
|
|
|
68
67
|
</view>
|
|
69
68
|
<view v-else>
|
|
70
69
|
<view
|
|
71
|
-
v-if="can_take === 'Y'"
|
|
72
70
|
class="jfb-base-con-list__body-content-list"
|
|
73
71
|
>
|
|
74
72
|
<view>
|
|
@@ -78,8 +76,7 @@
|
|
|
78
76
|
:class="'status_' + item.can_take_num"
|
|
79
77
|
:style="{
|
|
80
78
|
backgroundColor:
|
|
81
|
-
item.can_take_num === 'Y'
|
|
82
|
-
item.can_take_num === 'P'
|
|
79
|
+
item.can_take_num === 'Y'
|
|
83
80
|
? contentBackground
|
|
84
81
|
: '#F3F3F3',
|
|
85
82
|
}"
|
|
@@ -114,13 +111,6 @@
|
|
|
114
111
|
>{{ btn_txt }}</xd-button
|
|
115
112
|
>
|
|
116
113
|
</view>
|
|
117
|
-
<view
|
|
118
|
-
v-else
|
|
119
|
-
class="jfb-base-con-list__body-content-list"
|
|
120
|
-
style="padding-bottom: 60rpx"
|
|
121
|
-
>
|
|
122
|
-
<image mode="widthFix" :src="used_up_url"></image>
|
|
123
|
-
</view>
|
|
124
114
|
</view>
|
|
125
115
|
</view>
|
|
126
116
|
|
|
@@ -195,6 +185,7 @@
|
|
|
195
185
|
color: btnTextColor,
|
|
196
186
|
backgroundColor: btnBgColor,
|
|
197
187
|
boxShadow: shadow,
|
|
188
|
+
fontSize: btnTextSize+'rpx'
|
|
198
189
|
}"
|
|
199
190
|
>查看已领票券</view
|
|
200
191
|
>
|
|
@@ -288,6 +279,7 @@ export default {
|
|
|
288
279
|
isRandom: false,
|
|
289
280
|
btn_txt: "",
|
|
290
281
|
btn_style: {},
|
|
282
|
+
btnTextSize: ''
|
|
291
283
|
};
|
|
292
284
|
},
|
|
293
285
|
computed: {
|
|
@@ -347,6 +339,11 @@ export default {
|
|
|
347
339
|
"content.btnTextColor",
|
|
348
340
|
"#666"
|
|
349
341
|
);
|
|
342
|
+
this.btnTextSize = getContainerPropsValue(
|
|
343
|
+
value,
|
|
344
|
+
"content.btnTextSize",
|
|
345
|
+
"28"
|
|
346
|
+
);
|
|
350
347
|
this.radius = getContainerPropsValue(value, "content.radius", "0");
|
|
351
348
|
|
|
352
349
|
this.is_border = getContainerPropsValue(value, "content.is_border", "N");
|
|
@@ -418,14 +415,16 @@ export default {
|
|
|
418
415
|
backgroundRepeat: "no-repeat",
|
|
419
416
|
// 设置背景颜色
|
|
420
417
|
backgroundColor: "",
|
|
421
|
-
|
|
422
|
-
|
|
418
|
+
height: '70rpx',
|
|
419
|
+
width: '450rpx',
|
|
420
|
+
marginTop: '26rpx'
|
|
423
421
|
}
|
|
424
422
|
: {
|
|
425
423
|
// 设置背景颜色
|
|
426
424
|
backgroundColor: "#FB5B3F",
|
|
427
|
-
|
|
428
|
-
|
|
425
|
+
height: '70rpx',
|
|
426
|
+
width: '450rpx',
|
|
427
|
+
marginTop: '26rpx'
|
|
429
428
|
};
|
|
430
429
|
// 设置按钮文字
|
|
431
430
|
btn_txt = res.can_take === "Y" ? "一键领取" : "去查看";
|