jufubao-base 1.0.114 → 1.0.116-beta1
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
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<view class="ticket_list">
|
|
7
7
|
<view class="ticket_item" :class="item.can_take_num"
|
|
8
8
|
v-for="(item,i) in uiList" :key="i"
|
|
9
|
-
:style="{backgroundImage: item.backgroundImage}"
|
|
10
9
|
>
|
|
11
|
-
<view class="
|
|
12
|
-
<
|
|
13
|
-
<view
|
|
10
|
+
<view class="item_head">
|
|
11
|
+
<image class="t_icon" mode="widthFix" :src="item.headIcon"></image>
|
|
12
|
+
<view>{{ item.prize_type }}</view>
|
|
14
13
|
</view>
|
|
15
|
-
<view class="
|
|
14
|
+
<view class="item_sub">{{ item.prize_name }}</view>
|
|
15
|
+
|
|
16
16
|
<xd-font-icon class="ticket_icon" :icon="item.icon"></xd-font-icon>
|
|
17
17
|
<view class="btn">
|
|
18
18
|
<xd-button
|
|
@@ -63,11 +63,11 @@ export default{
|
|
|
63
63
|
let mapArr = {"Y": "去查看", "P": "领取", "N": "已发完"}
|
|
64
64
|
item.btn_txt = mapArr[item.can_take_num];
|
|
65
65
|
if(item.can_take_num === "Y" || item.can_take_num === "P"){
|
|
66
|
-
item.
|
|
66
|
+
item.headIcon = getServiceUrl(this.setting.app_coupon_url);
|
|
67
67
|
item.btnImage = `url(${getServiceUrl(this.setting.app_coupon_button_bg_url)})`;
|
|
68
68
|
item.icon = item.can_take_num === "Y" ? "iconyilingqu" : "icondailingqu";
|
|
69
69
|
}else if(item.can_take_num === "N"){
|
|
70
|
-
item.
|
|
70
|
+
item.headIcon = getServiceUrl(this.setting.app_coupon_invalid_url);
|
|
71
71
|
item.btnImage = "";
|
|
72
72
|
item.icon = "iconyifawan";
|
|
73
73
|
}
|
|
@@ -116,6 +116,7 @@ export default{
|
|
|
116
116
|
|
|
117
117
|
.ticket_item{
|
|
118
118
|
display: flex;
|
|
119
|
+
flex-direction: column;
|
|
119
120
|
position: relative;
|
|
120
121
|
width: 540rpx;
|
|
121
122
|
height: @ticketHeight;
|
|
@@ -123,19 +124,19 @@ export default{
|
|
|
123
124
|
border-radius: 20rpx;
|
|
124
125
|
padding: 30rpx;
|
|
125
126
|
box-sizing: border-box;
|
|
126
|
-
background: #
|
|
127
|
-
background-size: auto @bgHeight;
|
|
128
|
-
background-position: 30rpx center;
|
|
127
|
+
background: #FFF8F8;
|
|
129
128
|
|
|
130
129
|
&.P,
|
|
131
130
|
&.Y{
|
|
132
131
|
|
|
133
132
|
}
|
|
134
133
|
&.N{
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
134
|
+
background: #F3F3F3;
|
|
135
|
+
.item_head{
|
|
136
|
+
color: #BBBBBB;
|
|
137
|
+
}
|
|
138
|
+
.item_sub{
|
|
139
|
+
color: #BBBBBB;
|
|
139
140
|
}
|
|
140
141
|
.ticket_icon{
|
|
141
142
|
color: #D6D6D6;
|
|
@@ -148,25 +149,23 @@ export default{
|
|
|
148
149
|
}
|
|
149
150
|
}
|
|
150
151
|
}
|
|
151
|
-
.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
.name_main{
|
|
161
|
-
margin-bottom: 26rpx;
|
|
162
|
-
margin-top: 20rpx;
|
|
163
|
-
color: #fb5b3f;
|
|
164
|
-
}
|
|
165
|
-
.name_sub{
|
|
166
|
-
font-size: 24rpx;
|
|
167
|
-
color: #FFFFFF;
|
|
152
|
+
.item_head{
|
|
153
|
+
display: flex;
|
|
154
|
+
align-items: center;
|
|
155
|
+
font-size: 40rpx;
|
|
156
|
+
color: #000000;
|
|
157
|
+
font-weight: 500;
|
|
158
|
+
.t_icon{
|
|
159
|
+
width: 44rpx;
|
|
160
|
+
margin-right: 20rpx;
|
|
168
161
|
}
|
|
169
162
|
}
|
|
163
|
+
.item_sub{
|
|
164
|
+
margin-top: 20rpx;
|
|
165
|
+
color: #FF4D4A;
|
|
166
|
+
font-size: 36rpx;
|
|
167
|
+
font-weight: 400;
|
|
168
|
+
}
|
|
170
169
|
.ticket_icon{
|
|
171
170
|
font-size: 80rpx !important;
|
|
172
171
|
position: absolute;
|
|
@@ -44,76 +44,36 @@
|
|
|
44
44
|
<view v-for="(item, index) in couponList" :key="index">
|
|
45
45
|
<view
|
|
46
46
|
class="jfb-base-con-list__body-content-list-item"
|
|
47
|
+
:class="'status_' + item.can_take_num"
|
|
47
48
|
:style="{
|
|
48
49
|
backgroundColor: item.can_take_num==='Y'||item.can_take_num==='P'? contentBackground:'#F3F3F3',
|
|
49
50
|
}"
|
|
50
51
|
>
|
|
51
|
-
<view class="
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
class="jfb-base-con-list__body-content-list-item-left-info"
|
|
55
|
-
>
|
|
56
|
-
<view
|
|
57
|
-
:style="{
|
|
58
|
-
color: item.nameColor,
|
|
59
|
-
textAlign: 'center',
|
|
60
|
-
}"
|
|
61
|
-
>{{ item.prize_type }}</view
|
|
62
|
-
>
|
|
63
|
-
<view
|
|
64
|
-
:style="{
|
|
65
|
-
color: item.infoColor,
|
|
66
|
-
}"
|
|
67
|
-
>{{ item.prize_name }}</view
|
|
68
|
-
>
|
|
69
|
-
</view>
|
|
52
|
+
<view class="item_head">
|
|
53
|
+
<image class="t_icon" mode="widthFix" :src="item.headIcon"></image>
|
|
54
|
+
<view>{{ item.prize_type }}</view>
|
|
70
55
|
</view>
|
|
71
|
-
<view class="
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
color: '#FF4D4A',
|
|
93
|
-
display: 'flex',
|
|
94
|
-
alignItems: 'center',
|
|
95
|
-
fontSize: '28rpx',
|
|
96
|
-
}"
|
|
97
|
-
>
|
|
98
|
-
<xd-font-icon
|
|
99
|
-
style="margin-right: 10rpx"
|
|
100
|
-
size="22"
|
|
101
|
-
icon="icondanchuangguanbi_xian"
|
|
102
|
-
></xd-font-icon>
|
|
103
|
-
{{ item.prize_num }}
|
|
104
|
-
</view> -->
|
|
105
|
-
<view></view>
|
|
106
|
-
|
|
107
|
-
<xd-button
|
|
108
|
-
size="small"
|
|
109
|
-
:disabled="item.can_take_num !=='Y' && item.remain_card_count == 0"
|
|
110
|
-
@click="getCoupont(item)"
|
|
111
|
-
type="primary"
|
|
112
|
-
style="width: 170rpx;height: 60rpx;"
|
|
113
|
-
:style="item.btn"
|
|
114
|
-
:color="item.infoColor"
|
|
115
|
-
>{{ item.btn_txt }}</xd-button>
|
|
116
|
-
</view>
|
|
56
|
+
<view class="item_sub">{{ item.prize_name }}</view>
|
|
57
|
+
<xd-font-icon
|
|
58
|
+
size="100"
|
|
59
|
+
:style="{
|
|
60
|
+
color: item.iconColor,
|
|
61
|
+
position: 'absolute',
|
|
62
|
+
right: '0rpx',
|
|
63
|
+
top: '0rpx',
|
|
64
|
+
}"
|
|
65
|
+
:icon="item.icon"
|
|
66
|
+
></xd-font-icon>
|
|
67
|
+
<view class="btn_wrap">
|
|
68
|
+
<xd-button
|
|
69
|
+
size="small"
|
|
70
|
+
:disabled="item.can_take_num !=='Y' && item.remain_card_count == 0"
|
|
71
|
+
@click="getCoupont(item)"
|
|
72
|
+
type="primary"
|
|
73
|
+
style="width: 170rpx;height: 60rpx;"
|
|
74
|
+
:style="item.btn"
|
|
75
|
+
:color="item.infoColor"
|
|
76
|
+
>{{ item.btn_txt }}</xd-button>
|
|
117
77
|
</view>
|
|
118
78
|
</view>
|
|
119
79
|
</view>
|
|
@@ -261,6 +221,7 @@ export default {
|
|
|
261
221
|
margin: "0",
|
|
262
222
|
};
|
|
263
223
|
//整块背景
|
|
224
|
+
item.headIcon = getServiceUrl(res.app_coupon_url);
|
|
264
225
|
item.couponBackground = {
|
|
265
226
|
backgroundImage: `url(${getServiceUrl(res.app_coupon_url)})`,
|
|
266
227
|
backgroundSize: "100%",
|
|
@@ -278,6 +239,7 @@ export default {
|
|
|
278
239
|
//按钮样式
|
|
279
240
|
item.btn = { background: "#D6D6D6", margin: "0" };
|
|
280
241
|
//整块背景
|
|
242
|
+
item.headIcon = getServiceUrl(res.app_coupon_invalid_url)
|
|
281
243
|
item.couponBackground = {
|
|
282
244
|
backgroundImage: `url(${getServiceUrl(res.app_coupon_invalid_url)})`,
|
|
283
245
|
backgroundSize: "100%",
|
|
@@ -520,43 +482,74 @@ export default {
|
|
|
520
482
|
|
|
521
483
|
&-item {
|
|
522
484
|
display: flex;
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
padding: unit(20, rpx) unit(30, rpx);
|
|
485
|
+
flex-direction: column;
|
|
486
|
+
padding: unit(40, rpx) unit(40, rpx);
|
|
526
487
|
border-radius: unit(12, rpx);
|
|
527
488
|
margin: unit(20, rpx) auto 0 auto;
|
|
528
489
|
position: relative;
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
& > view:first-child {
|
|
534
|
-
font-size: unit(44, rpx);
|
|
535
|
-
font-weight: 500;
|
|
536
|
-
margin-bottom: unit(36, rpx);
|
|
537
|
-
}
|
|
538
|
-
& > view:nth-child(2) {
|
|
539
|
-
font-size: unit(28, rpx);
|
|
540
|
-
color: #fff;
|
|
541
|
-
}
|
|
490
|
+
|
|
491
|
+
&.status_N{
|
|
492
|
+
.item_head{
|
|
493
|
+
color: #BBBBBB;
|
|
542
494
|
}
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
margin-left: unit(24, rpx);
|
|
546
|
-
flex: 1;
|
|
547
|
-
&-name {
|
|
548
|
-
font-size: unit(40, rpx);
|
|
549
|
-
color: #000;
|
|
550
|
-
display: flex;
|
|
551
|
-
align-items: center;
|
|
552
|
-
justify-content: space-between;
|
|
495
|
+
.item_sub{
|
|
496
|
+
color: #BBBBBB;
|
|
553
497
|
}
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
498
|
+
}
|
|
499
|
+
.btn_wrap{
|
|
500
|
+
position: absolute;
|
|
501
|
+
right: 30rpx;
|
|
502
|
+
bottom: 40rpx;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.item_head{
|
|
506
|
+
display: flex;
|
|
507
|
+
align-items: center;
|
|
508
|
+
font-size: 40rpx;
|
|
509
|
+
color: #000000;
|
|
510
|
+
font-weight: 500;
|
|
511
|
+
.t_icon{
|
|
512
|
+
width: 44rpx;
|
|
513
|
+
margin-right: 20rpx;
|
|
558
514
|
}
|
|
559
515
|
}
|
|
516
|
+
.item_sub{
|
|
517
|
+
margin-top: 26rpx;
|
|
518
|
+
color: #FF4D4A;
|
|
519
|
+
font-size: 36rpx;
|
|
520
|
+
font-weight: 400;
|
|
521
|
+
}
|
|
522
|
+
// &-left {
|
|
523
|
+
// display: flex;
|
|
524
|
+
// &-info {
|
|
525
|
+
// padding: unit(20, rpx) unit(36, rpx);
|
|
526
|
+
// & > view:first-child {
|
|
527
|
+
// font-size: unit(44, rpx);
|
|
528
|
+
// font-weight: 500;
|
|
529
|
+
// margin-bottom: unit(36, rpx);
|
|
530
|
+
// }
|
|
531
|
+
// & > view:nth-child(2) {
|
|
532
|
+
// font-size: unit(28, rpx);
|
|
533
|
+
// color: #fff;
|
|
534
|
+
// }
|
|
535
|
+
// }
|
|
536
|
+
// }
|
|
537
|
+
// &-right {
|
|
538
|
+
// margin-left: unit(24, rpx);
|
|
539
|
+
// flex: 1;
|
|
540
|
+
// &-name {
|
|
541
|
+
// font-size: unit(40, rpx);
|
|
542
|
+
// color: #000;
|
|
543
|
+
// display: flex;
|
|
544
|
+
// align-items: center;
|
|
545
|
+
// justify-content: space-between;
|
|
546
|
+
// }
|
|
547
|
+
// &-num {
|
|
548
|
+
// margin-top: unit(40, rpx);
|
|
549
|
+
// display: flex;
|
|
550
|
+
// justify-content: space-between;
|
|
551
|
+
// }
|
|
552
|
+
// }
|
|
560
553
|
}
|
|
561
554
|
}
|
|
562
555
|
&-foot {
|