jufubao-base 1.0.159-beta9 → 1.0.159
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 +70 -201
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +6 -7
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +3 -5
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +2 -3
- package/src/components/JfbBaseBack/JfbBaseBack.vue +8 -10
- package/src/components/JfbBaseBackground/JfbBaseBackground.vue +2 -3
- package/src/components/JfbBaseBlock/JfbBaseBlock.vue +2 -3
- package/src/components/JfbBaseCard/JfbBaseCard.vue +6 -10
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +26 -57
- package/src/components/JfbBaseCardDetail/JfbBaseCardDetail.vue +15 -14
- package/src/components/JfbBaseCardDetailEntry/Attr.js +0 -22
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +424 -393
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +4 -4
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +9 -7
- package/src/components/JfbBaseCardEntry/Attr.js +1 -22
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +34 -89
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +19 -36
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +4 -9
- package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +3 -4
- package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +18 -23
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +11 -4
- package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +19 -16
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +2 -3
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +18 -34
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +14 -14
- package/src/components/JfbBaseCity/JfbBaseCity.vue +2 -3
- package/src/components/JfbBaseClear/JfbBaseClear.vue +2 -3
- package/src/components/JfbBaseConDialog/Api.js +13 -1
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +79 -20
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +223 -133
- package/src/components/JfbBaseConList/Api.js +13 -1
- package/src/components/JfbBaseConList/Attr.js +11 -0
- package/src/components/JfbBaseConList/JfbBaseConList.vue +355 -123
- package/src/components/JfbBaseConList/Mock.js +1 -1
- package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +2 -3
- package/src/components/JfbBaseEntry/Attr.js +0 -22
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +16 -80
- package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetail.vue +4 -3
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +20 -31
- package/src/components/JfbBaseFastLink/XdFastNav.vue +2 -2
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +1 -0
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +2 -3
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +11 -28
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +9 -7
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +6 -9
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +5 -19
- package/src/components/JfbBaseMapOverlay/XdMapOverlay.vue +37 -52
- package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +2 -3
- package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCard.vue +27 -28
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +5 -5
- package/src/components/JfbBaseMy/JfbBaseMy.vue +3 -3
- package/src/components/JfbBaseMySetting/JfbBaseMySetting.vue +4 -6
- package/src/components/JfbBaseNotice/Attr.js +2 -0
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +14 -36
- package/src/components/JfbBaseNotice/XdNoticeBar.vue +1 -17
- package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottom.vue +2 -3
- package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTop.vue +2 -3
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +31 -20
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +4 -9
- package/src/components/JfbBasePay/JfbBasePay.vue +2 -3
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +7 -22
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +7 -23
- package/src/components/JfbBasePoster/JfbBasePoster.vue +18 -118
- package/src/components/JfbBasePoster/MoreScreen.vue +37 -155
- package/src/components/JfbBasePosterBigSmall/Attr.js +4 -1
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +67 -191
- package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +20 -90
- package/src/components/JfbBasePosterType/FourScreen.vue +18 -162
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +35 -0
- package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +4 -4
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +4 -3
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +7 -4
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +9 -6
- package/src/components/JfbBaseSearch/JfbBaseSearch.vue +2 -3
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +4 -5
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +2 -3
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +3 -5
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +3 -4
- package/src/components/JfbBaseVideo/JfbBaseVideo.vue +11 -14
- package/src/components/JfbBaseVideo/XdVideo.vue +4 -0
- package/src/components/JfbBaseWallet/JfbBaseWallet.vue +2 -3
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +8 -5
- package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffective.vue +8 -5
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +17 -7
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +21 -13
- package/src/components/JfbBaseWebview/JfbBaseWebview.vue +3 -4
- package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +4 -5
- package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -3
- package/src/mixins/colorCardMixins.js +1 -1
|
@@ -10,10 +10,37 @@
|
|
|
10
10
|
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-card-detail-entry__edit-icon" @click="delEdit"
|
|
13
|
+
<view class="jfb-base-card-detail-entry__edit-icon" @click="delEdit"
|
|
14
|
+
>删除</view
|
|
15
|
+
>
|
|
14
16
|
</view>
|
|
15
17
|
<!-- #endif -->
|
|
16
18
|
<view class="jfb-base-card-detail-entry__body" v-if="info!==null">
|
|
19
|
+
<!-- <view class="card-list" :style="{
|
|
20
|
+
background: headerBg['color'],
|
|
21
|
+
backgroundSize: '100%'
|
|
22
|
+
}">
|
|
23
|
+
<view class="card-list-warp" :style="{backgroundImage: `url(${headerBg['image']})`}">
|
|
24
|
+
<view class="card-list__title"><view>{{info['card_type_name']}}</view></view>
|
|
25
|
+
<div class="card-list__content">
|
|
26
|
+
<view>
|
|
27
|
+
<text>券号:</text>
|
|
28
|
+
<text>{{info.card_number}}</text>
|
|
29
|
+
</view>
|
|
30
|
+
</div>
|
|
31
|
+
<view class="card-list__date">
|
|
32
|
+
<text>有效期:</text>
|
|
33
|
+
<text>{{info.end_time}}</text>
|
|
34
|
+
</view>
|
|
35
|
+
<view class="card-list__yue">
|
|
36
|
+
<text>余额:</text>
|
|
37
|
+
<text>{{info.card_point}} {{ info.unit }}</text>
|
|
38
|
+
</view>
|
|
39
|
+
<view class="card-list__other" v-if="info.other_card_point && info.card_point_type === 2">
|
|
40
|
+
<view><text>购买其他物品可抵:</text><text>{{info.other_card_point}} {{ info.unit }}</text></view>
|
|
41
|
+
</view>
|
|
42
|
+
</view>
|
|
43
|
+
</view> -->
|
|
17
44
|
<view class="qrcode_card">
|
|
18
45
|
<view class="jfb-base-card-detail-entry__body-qrcode">
|
|
19
46
|
<view class="barcode_wrap">
|
|
@@ -28,13 +55,13 @@
|
|
|
28
55
|
></image>
|
|
29
56
|
<image v-if="isBrandLogo" class="logo-icon" :src="brandLogo"></image>
|
|
30
57
|
</view>
|
|
58
|
+
<!-- <view :style="{marginTop: '20rpx'}" v-if="timeStr">消费二维码,有效期为{{ info["card_qrcode_expire"] / 60 }}分钟</view> -->
|
|
31
59
|
<view v-if="timeStr">{{ timeStr }}后自动刷新</view>
|
|
32
60
|
<view class="refresh_wrap" @click="handleRefresh">
|
|
33
|
-
<xd-font-icon
|
|
34
|
-
icon="iconshuaxin"
|
|
61
|
+
<xd-font-icon icon="iconshuaxin"
|
|
35
62
|
style="margin-right: 24rpx;"
|
|
36
|
-
size="28"
|
|
37
|
-
|
|
63
|
+
size="28"></xd-font-icon> 刷新二维码
|
|
64
|
+
</view>
|
|
38
65
|
</view>
|
|
39
66
|
<view class="card_info">
|
|
40
67
|
<view class="card_type">{{ info['card_type_name'] }}</view>
|
|
@@ -46,47 +73,53 @@
|
|
|
46
73
|
</view>
|
|
47
74
|
</view>
|
|
48
75
|
</view>
|
|
76
|
+
|
|
49
77
|
<view
|
|
50
|
-
|
|
51
|
-
|
|
78
|
+
v-if="info.site_entry_settings&&info.site_entry_settings.length>0"
|
|
79
|
+
class="jfb-base-card-detail-entry__body-business"
|
|
52
80
|
>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
class="jfb-base-card-detail-entry__body-business-content-item"
|
|
58
|
-
@click="handleBindLogin(item)"
|
|
59
|
-
v-for="(item,index) in info.site_entry_settings"
|
|
60
|
-
:key="index"
|
|
61
|
-
>
|
|
62
|
-
<view><image :src="item.image_url"></image></view>
|
|
63
|
-
<view>{{item.entry_name}}</view>
|
|
64
|
-
</view>
|
|
65
|
-
</view>
|
|
66
|
-
</view>
|
|
81
|
+
<view
|
|
82
|
+
class="jfb-base-card-detail-entry__body-business-title"
|
|
83
|
+
>
|
|
84
|
+
进入业务板块
|
|
67
85
|
</view>
|
|
68
|
-
<view
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
<
|
|
76
|
-
|
|
77
|
-
@click="handleToShift()"
|
|
78
|
-
size="small"
|
|
79
|
-
type="primary"
|
|
80
|
-
>券转换</xd-button>
|
|
81
|
-
</view>
|
|
82
|
-
<view v-if="isShowUnbind">
|
|
83
|
-
<xd-button
|
|
84
|
-
width="100%"
|
|
85
|
-
@click="handleUnBindCard()"
|
|
86
|
-
size="small"
|
|
87
|
-
type="primary">解除绑定</xd-button>
|
|
86
|
+
<view style="display:flex;align-content:center;justify-content:flex-start">
|
|
87
|
+
<view class="jfb-base-card-detail-entry__body-business-content">
|
|
88
|
+
<view
|
|
89
|
+
class="jfb-base-card-detail-entry__body-business-content-item"
|
|
90
|
+
@click="handleBindLogin(item)"
|
|
91
|
+
v-for="(item,index) in info.site_entry_settings"
|
|
92
|
+
:key="index">
|
|
93
|
+
<view><image :src="item.image_url"></image></view>
|
|
94
|
+
<view>{{item.entry_name}}</view>
|
|
88
95
|
</view>
|
|
89
96
|
</view>
|
|
97
|
+
</view>
|
|
98
|
+
</view>
|
|
99
|
+
<view :style="{height: '100rpx'}"></view>
|
|
100
|
+
<!-- 靠底支付 -->
|
|
101
|
+
<view class="fixe_bottom" :style="prod_bottom">
|
|
102
|
+
<view v-if="0">
|
|
103
|
+
<xd-button size="small" type="primary" width="100%">消费记录</xd-button>
|
|
104
|
+
</view>
|
|
105
|
+
<view v-if="info.is_exchange==='Y'">
|
|
106
|
+
<xd-button
|
|
107
|
+
width="100%"
|
|
108
|
+
@click="handleToShift"
|
|
109
|
+
size="small"
|
|
110
|
+
type="primary"
|
|
111
|
+
>券转换</xd-button>
|
|
112
|
+
</view>
|
|
113
|
+
<view v-if="isShowUnbind">
|
|
114
|
+
<xd-button
|
|
115
|
+
width="100%"
|
|
116
|
+
@click="handleUnBindCard"
|
|
117
|
+
size="small"
|
|
118
|
+
type="primary">
|
|
119
|
+
解除绑定
|
|
120
|
+
</xd-button>
|
|
121
|
+
</view>
|
|
122
|
+
</view>
|
|
90
123
|
</view>
|
|
91
124
|
</view>
|
|
92
125
|
</template>
|
|
@@ -106,7 +139,6 @@ import XdPwPay from "./XdPwPay";
|
|
|
106
139
|
import XdEditPwd from "./XdEditPwd";
|
|
107
140
|
import XdUnit from "@/components/XdUnit/XdUnit";
|
|
108
141
|
import XdButton from '@/components/XdButton/XdButton'
|
|
109
|
-
import {parsePath} from "@/utils/linkUrl";
|
|
110
142
|
export default {
|
|
111
143
|
name: "JfbBaseCardDetailEntry",
|
|
112
144
|
components: {
|
|
@@ -122,7 +154,6 @@ export default {
|
|
|
122
154
|
data() {
|
|
123
155
|
return {
|
|
124
156
|
userInfo: null, //用户信息(暂时不可用)
|
|
125
|
-
entryGroupId: '',//加载入口数据组别
|
|
126
157
|
|
|
127
158
|
info: null,
|
|
128
159
|
timeStr: "",
|
|
@@ -146,66 +177,83 @@ export default {
|
|
|
146
177
|
shift_url: "",
|
|
147
178
|
|
|
148
179
|
//品牌logo
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
//#endif
|
|
152
|
-
//#ifdef MP-WEIXIN
|
|
153
|
-
brandLogo:'https://img.jufubao.cn/common/jufubao_logo.png?v=1.0.0',
|
|
154
|
-
//#endif
|
|
180
|
+
brandLogo:
|
|
181
|
+
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYA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F0YuOaMcOFIm1oE2CIzvPVEXPCeTaK1K2z/mT1b7znToz/mipIbdZYszDTl5eLnYGo2ICuDeDpSUkHBeNEiASdTmkFvEgdLehcTxcZVYXHrdDO+3NwCmxKgENKmF35EwAJ74/J5CMZN9ne5eoywvLJN3ucTA8X6pp4y1xqEjwxvs6u/arYGk55YeKhKu6Rng0ze4n2akES6UeeePw4crA2QZ4tuPOCQRSxuR1FjOXTLUP0RQT5+h8cxjyrlb07KTYultj2RqN7V/iD0bkUqcu3hTuhI0HDx60z2J+luucQHIapTxcVa1P8boleV2gzUWSL/YL3vpQQ0p1IBhmqSl5A/xbf5aov2fSeoPYb1sdmr7LkvK5w361TJpigKZrDeMMudflZFngeOB7D9B+bqB6gdgvKVWwcq2EFd+WBh7/uYOrz/z1AmnSKK2bMi1vYVn5qvr8yPkYWy8Qu2MAzPMRWH1/o74g9Z3/vI3/1YD8GzZW034Elz4yAAAAAElFTkSuQmCC",
|
|
155
182
|
isBrandLogo: false,
|
|
183
|
+
|
|
156
184
|
isShowUnbind: false, //是否启动绑定按钮
|
|
157
185
|
headerBg: {},
|
|
158
186
|
};
|
|
159
187
|
},
|
|
160
188
|
watch: {
|
|
161
|
-
container(value
|
|
162
|
-
|
|
163
|
-
if (this.$configProject['isPreview']) this.init(value)
|
|
189
|
+
container(value) {
|
|
190
|
+
this.init(value);
|
|
164
191
|
},
|
|
165
192
|
},
|
|
166
193
|
computed: {
|
|
167
|
-
...mapState(["brandInfo"
|
|
168
|
-
|
|
194
|
+
...mapState(["brandInfo"]),
|
|
195
|
+
jfbAuthorize: (state) => state.jfbAuthorize,
|
|
169
196
|
prod_bottom() {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
},
|
|
173
|
-
created() {
|
|
174
|
-
this.init(this.container)
|
|
197
|
+
return this.fixedStyle({height: 0, zIndex: 111});
|
|
198
|
+
},
|
|
175
199
|
},
|
|
200
|
+
created() {},
|
|
176
201
|
methods: {
|
|
177
202
|
onJfbLoad(options) {
|
|
203
|
+
console.log(options,'optionsoptionsoptionsoptions');
|
|
178
204
|
if (options["x-params"]) {
|
|
179
205
|
try {
|
|
180
206
|
let params = JSON.parse(Base64.decode(options["x-params"]));
|
|
181
207
|
this.brandLogo = params["qrcode_logo"];
|
|
182
|
-
|
|
183
208
|
} catch (e) {
|
|
184
209
|
console.warn(options["x-params"]);
|
|
185
210
|
}
|
|
186
211
|
}
|
|
187
212
|
|
|
188
|
-
this
|
|
189
|
-
|
|
213
|
+
this.$nextTick(() => {
|
|
214
|
+
this.card_number = options.card_number;
|
|
215
|
+
this.init();
|
|
216
|
+
|
|
217
|
+
// if (card_number) {
|
|
218
|
+
// this.card_number = card_number;
|
|
219
|
+
// if (this.brandInfo['is_enable_pay_password'] === 'N') {
|
|
220
|
+
// this.init();
|
|
221
|
+
// } else if (this.brandInfo['is_enable_pay_password'] === 'Y' && this.userInfo['has_user_set_password'] === 'N') {
|
|
222
|
+
// this.editShow = true
|
|
223
|
+
// this.pwdTitle = '您还未设置支付密码,请设置您的平台支付密码'
|
|
224
|
+
// } else if (this.brandInfo['is_enable_pay_password'] === 'Y' && this.userInfo['has_user_set_password'] === 'Y') {
|
|
225
|
+
// this.show = true
|
|
226
|
+
// this.textList = [
|
|
227
|
+
// {
|
|
228
|
+
// label: '查看卡详情',
|
|
229
|
+
// },
|
|
230
|
+
// {
|
|
231
|
+
// label: '请输入支付密码',
|
|
232
|
+
// }
|
|
233
|
+
// ]
|
|
234
|
+
// }
|
|
235
|
+
// this.first = true;
|
|
236
|
+
// } else {
|
|
237
|
+
// setTimeout(() => {
|
|
238
|
+
// this.$xdUniHelper.navigateTo({
|
|
239
|
+
// url: `/pages/index/index`
|
|
240
|
+
// }, false)
|
|
241
|
+
// }, 2000)
|
|
242
|
+
// }
|
|
243
|
+
});
|
|
190
244
|
},
|
|
191
|
-
|
|
192
|
-
|
|
245
|
+
/**
|
|
246
|
+
* @description 监听事件变化
|
|
247
|
+
* @param container {object} 业务组件对象自己
|
|
248
|
+
*/
|
|
249
|
+
init() {
|
|
193
250
|
this.detail();
|
|
194
251
|
this.refrush();
|
|
195
252
|
if(this.$configProject.isPreview) {
|
|
196
253
|
this.timeStr = "01分19秒"
|
|
197
254
|
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* @description 监听事件变化
|
|
202
|
-
* @param container {object} 业务组件对象自己
|
|
203
|
-
*/
|
|
204
|
-
init(container) {
|
|
205
|
-
this.backUrl = getContainerPropsValue(container, "content.back_url", { value: "" }).value;
|
|
206
|
-
this.shift_url = getContainerPropsValue(container, "content.shift_url", { value: "" }).value;
|
|
207
|
-
//'wechat_mini_program|default'
|
|
208
|
-
this.entryGroupId = getContainerPropsValue(container,"content.entryGroupId","default");
|
|
255
|
+
this.backUrl = getContainerPropsValue( this.container, "content.back_url", { value: "" }).value;
|
|
256
|
+
this.shift_url = getContainerPropsValue( this.container, "content.shift_url", { value: "" }).value;
|
|
209
257
|
},
|
|
210
258
|
/**
|
|
211
259
|
* @description 获取卡详情
|
|
@@ -216,7 +264,6 @@ export default {
|
|
|
216
264
|
data: {
|
|
217
265
|
card_number: this.card_number,
|
|
218
266
|
is_show_entry_settings: "Y",
|
|
219
|
-
group_id: this.entryGroupId
|
|
220
267
|
},
|
|
221
268
|
})
|
|
222
269
|
.then((res) => {
|
|
@@ -232,9 +279,6 @@ export default {
|
|
|
232
279
|
100
|
|
233
280
|
);
|
|
234
281
|
}
|
|
235
|
-
|
|
236
|
-
res['site_entry_settings'] = this.filterNotSupportEntry(res['site_entry_settings']);
|
|
237
|
-
|
|
238
282
|
if(res && res.site_entry_settings && res.site_entry_settings.length>0) {
|
|
239
283
|
res.site_entry_settings = res.site_entry_settings.filter(item=>{
|
|
240
284
|
item['image_url'] = getServiceUrl(item['image_url'])
|
|
@@ -263,6 +307,7 @@ export default {
|
|
|
263
307
|
handleRefresh(){
|
|
264
308
|
clearInterval(this.timeer);
|
|
265
309
|
this.detail();
|
|
310
|
+
// this.refrush();
|
|
266
311
|
},
|
|
267
312
|
refrush() {
|
|
268
313
|
if (this.stopTimer) return;
|
|
@@ -272,7 +317,8 @@ export default {
|
|
|
272
317
|
return;
|
|
273
318
|
}
|
|
274
319
|
this.time++;
|
|
275
|
-
let time =
|
|
320
|
+
let time =
|
|
321
|
+
this.time >= 5 ? 32 * 1000 : Math.pow(this.date, this.time) * 1000;
|
|
276
322
|
this.refrushTimeer = setTimeout(() => {
|
|
277
323
|
jfbRootExec("getCardYueEntry", {
|
|
278
324
|
vm: this,
|
|
@@ -281,8 +327,9 @@ export default {
|
|
|
281
327
|
},
|
|
282
328
|
})
|
|
283
329
|
.then((res) => {
|
|
330
|
+
//res[4]['value'] = this.$xdUniHelper.random(20,30);
|
|
284
331
|
let refrushInfo = this.$xdUniHelper.cloneDeep(this.info);
|
|
285
|
-
if (res && Object.keys(res).length > 0) {
|
|
332
|
+
if (res && res !== null && Object.keys(res).length > 0) {
|
|
286
333
|
if (res.card_point) {
|
|
287
334
|
refrushInfo.card_point = this.$xdUniHelper.divisionFloatNumber(
|
|
288
335
|
res.card_point,
|
|
@@ -305,125 +352,81 @@ export default {
|
|
|
305
352
|
.catch();
|
|
306
353
|
}, time);
|
|
307
354
|
},
|
|
308
|
-
|
|
355
|
+
/**
|
|
309
356
|
* @description 已绑定卡登录
|
|
310
|
-
* @param
|
|
357
|
+
* @param item
|
|
311
358
|
*/
|
|
312
|
-
|
|
359
|
+
handleBindLogin(entry) {
|
|
313
360
|
//卡券登录
|
|
314
361
|
this.$xdShowLoading({});
|
|
315
362
|
jfbRootExec("detailLoginEntryCardBind", {
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
})
|
|
319
|
-
.then((res) => {
|
|
320
|
-
this.$xdHideLoading();
|
|
321
|
-
|
|
322
|
-
//#ifdef MP-WEIXIN
|
|
323
|
-
if (this.jfbAuthorize !== null) {
|
|
324
|
-
this.jfbAuthorize.setCardToken(res);
|
|
325
|
-
this.handleClick(entry);
|
|
326
|
-
return
|
|
327
|
-
}
|
|
328
|
-
//#endif
|
|
329
|
-
|
|
330
|
-
if (this.$configProject.isPreview) {
|
|
331
|
-
console.log("handleBindLogin", "预览模式不跳转", this.inCallback);
|
|
332
|
-
}
|
|
333
|
-
else {
|
|
334
|
-
this.handleClick(entry);
|
|
335
|
-
}
|
|
363
|
+
vm: this,
|
|
364
|
+
data: { card_number: this.info["card_number"] },
|
|
336
365
|
})
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
366
|
+
.then((res) => {
|
|
367
|
+
this.$xdHideLoading();
|
|
368
|
+
//#ifdef MP-WEIXIN
|
|
369
|
+
if (this.jfbAuthorize !== null) {
|
|
370
|
+
this.jfbAuthorize.setCardToken(res);
|
|
371
|
+
this.handleToApp(entry);
|
|
372
|
+
}
|
|
373
|
+
//#endif
|
|
374
|
+
if (this.$configProject.isPreview) {
|
|
375
|
+
console.log("handleBindLogin", "预览模式不跳转", this.inCallback);
|
|
376
|
+
}
|
|
341
377
|
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
if(custom_redirect_data.appType === 'wxmp') {
|
|
350
|
-
if(dir === actDir) {
|
|
351
|
-
return {
|
|
352
|
-
cardPath: custom_redirect_data.path,
|
|
353
|
-
cardSelf: 'wxmp',
|
|
354
|
-
};
|
|
355
|
-
}
|
|
356
|
-
else return null;
|
|
357
|
-
}
|
|
358
|
-
else if(custom_redirect_data.appType === 'h5'){
|
|
359
|
-
return {
|
|
360
|
-
cardPath: custom_redirect_data.site_url,
|
|
361
|
-
cardSelf: 'h5',
|
|
362
|
-
};
|
|
363
|
-
}
|
|
364
|
-
else return null;
|
|
365
|
-
//#endif
|
|
378
|
+
else {
|
|
379
|
+
this.handleToApp(entry);
|
|
380
|
+
}
|
|
381
|
+
})
|
|
382
|
+
.catch((res) => {
|
|
383
|
+
this.$xdHideLoading();
|
|
384
|
+
});
|
|
366
385
|
},
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
386
|
+
toApp(url){
|
|
387
|
+
this.$xdUniHelper.redirectTo({
|
|
388
|
+
url
|
|
389
|
+
})
|
|
390
|
+
},
|
|
391
|
+
handleToApp(entry){
|
|
392
|
+
let item, redirectUrl;
|
|
393
|
+
try{
|
|
394
|
+
item = JSON.parse(entry['redirect_data']);
|
|
395
|
+
}catch (e) {
|
|
396
|
+
return;
|
|
397
|
+
}
|
|
398
|
+
const {dir, path, host} = item;
|
|
375
399
|
let nsp = Base64.encodeURI(JSON.stringify({business_code: entry['business_code']}));
|
|
376
400
|
|
|
377
401
|
//外站配置地址
|
|
378
|
-
if(entry.redirect_type === 'URL') {
|
|
379
|
-
if(
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
else {
|
|
385
|
-
console.error(`配置错误:${entry.redirect_data['path']}`);
|
|
386
|
-
throw new Error(`配置错误:${entry.redirect_data['path']}`)
|
|
387
|
-
}
|
|
388
|
-
return
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
//站内应用处理
|
|
392
|
-
let jumpUrl = path;
|
|
393
|
-
let cardPathStr = '';
|
|
394
|
-
const {deploy_dir} = this.projectAttr;
|
|
395
|
-
if(host === this.projectAttr.host && deploy_dir !== dir){
|
|
396
|
-
jumpUrl = `//${host}/${dir}${path}`;
|
|
397
|
-
//#ifdef MP-WEIXIN
|
|
398
|
-
jumpUrl = `https:${jumpUrl}`;
|
|
399
|
-
//#endif
|
|
402
|
+
if (entry.redirect_type === 'URL') {
|
|
403
|
+
if (item['path'].indexOf('?') === -1) {
|
|
404
|
+
redirectUrl = `${item['path']}?x-common=${nsp}&vs=${new Date().getTime()}`
|
|
405
|
+
} else redirectUrl = `${item['path']}&x-common=${nsp}&vs=${new Date().getTime()}`;
|
|
406
|
+
this.toApp(redirectUrl);
|
|
407
|
+
return;
|
|
400
408
|
}
|
|
401
409
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
const custom_redirect_data = this.$xdUniHelper.checkVarType(entry['custom_redirect_data']) === 'object'?entry['custom_redirect_data']:{};
|
|
407
|
-
const cardPathObject = this.getCardPath(custom_redirect_data);
|
|
408
|
-
if(cardPathObject !== null) {
|
|
409
|
-
const {cardPath, cardSelf} =cardPathObject
|
|
410
|
-
if(cardPath) cardPathStr = `&card-login=${encodeURIComponent(cardPath)}&cardSelf=${cardSelf}`
|
|
411
|
-
}
|
|
412
|
-
}
|
|
410
|
+
//站内转换
|
|
411
|
+
let jumpUrl = item.path;
|
|
412
|
+
//#ifdef H5
|
|
413
|
+
jumpUrl = `//${host}/${dir}${path}`;
|
|
413
414
|
//#endif
|
|
414
415
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
else
|
|
416
|
+
if (item['fixed_business_code'] === '') {
|
|
417
|
+
redirectUrl = `${jumpUrl}?x-common=${nsp}&vs=${new Date().getTime()}`
|
|
418
|
+
}
|
|
419
|
+
else {
|
|
420
|
+
redirectUrl = `${jumpUrl}?x-common=${nsp}&vs=${new Date().getTime()}`
|
|
421
|
+
}
|
|
422
|
+
this.toApp(redirectUrl);
|
|
419
423
|
},
|
|
420
|
-
|
|
421
424
|
handleOnClose() {
|
|
422
425
|
this.editShow = false;
|
|
423
426
|
},
|
|
424
427
|
handlePwdOnSubmit(val) {
|
|
425
428
|
this.password = val;
|
|
426
|
-
this.
|
|
429
|
+
this.init();
|
|
427
430
|
},
|
|
428
431
|
|
|
429
432
|
handleOnForget() {
|
|
@@ -436,12 +439,13 @@ export default {
|
|
|
436
439
|
},
|
|
437
440
|
handleUnBindCard() {
|
|
438
441
|
this.$xdConfirm({
|
|
439
|
-
|
|
442
|
+
$vm: this,
|
|
440
443
|
content: "您确定要解除绑定票券吗",
|
|
441
444
|
title: "系统提示",
|
|
442
445
|
width: "80%",
|
|
443
446
|
isTitle: true,
|
|
444
447
|
zIndex: 2000,
|
|
448
|
+
vm: this,
|
|
445
449
|
success: (res) => {
|
|
446
450
|
if (res.confirm) {
|
|
447
451
|
this.timeStr = ""
|
|
@@ -491,7 +495,7 @@ export default {
|
|
|
491
495
|
},
|
|
492
496
|
handleToShift() {
|
|
493
497
|
this.$xdUniHelper.navigateTo({
|
|
494
|
-
|
|
498
|
+
url: `${this.shift_url}?card_number=${this.info["card_number"]}`,
|
|
495
499
|
});
|
|
496
500
|
},
|
|
497
501
|
onJfbBack(options) {
|
|
@@ -503,7 +507,6 @@ export default {
|
|
|
503
507
|
}
|
|
504
508
|
this.$xdUniHelper.navigateBack();
|
|
505
509
|
},
|
|
506
|
-
|
|
507
510
|
onJfbUnload() {
|
|
508
511
|
this.timeStr = ""
|
|
509
512
|
if (this.timeer) {
|
|
@@ -513,9 +516,39 @@ export default {
|
|
|
513
516
|
clearTimeout(this.refrushTimeer);
|
|
514
517
|
}
|
|
515
518
|
},
|
|
516
|
-
|
|
519
|
+
onJfbScroll(options) {
|
|
520
|
+
console.log("event.onJfbScroll", options);
|
|
521
|
+
},
|
|
522
|
+
onJfbReachBottom(options) {
|
|
523
|
+
console.log("event.onJfbReachBottom", options);
|
|
524
|
+
},
|
|
517
525
|
onJfbShow(options) {
|
|
526
|
+
console.log("event.onJfbShow", options);
|
|
518
527
|
this.onJfbLoad(options)
|
|
528
|
+
// if (this.first) {
|
|
529
|
+
// if (this.brandInfo["is_enable_pay_password"] === "N") {
|
|
530
|
+
// this.init();
|
|
531
|
+
// } else if (
|
|
532
|
+
// this.brandInfo["is_enable_pay_password"] === "Y" &&
|
|
533
|
+
// this.userInfo["has_user_set_password"] === "N"
|
|
534
|
+
// ) {
|
|
535
|
+
// this.editShow = true;
|
|
536
|
+
// this.pwdTitle = "您还未设置支付密码,请设置您的平台支付密码";
|
|
537
|
+
// } else if (
|
|
538
|
+
// this.brandInfo["is_enable_pay_password"] === "Y" &&
|
|
539
|
+
// this.userInfo["has_user_set_password"] === "Y"
|
|
540
|
+
// ) {
|
|
541
|
+
// this.show = true;
|
|
542
|
+
// this.textList = [
|
|
543
|
+
// {
|
|
544
|
+
// label: "查看卡详情",
|
|
545
|
+
// },
|
|
546
|
+
// {
|
|
547
|
+
// label: "请输入支付密码",
|
|
548
|
+
// },
|
|
549
|
+
// ];
|
|
550
|
+
// }
|
|
551
|
+
// }
|
|
519
552
|
},
|
|
520
553
|
onJfbHide(options) {
|
|
521
554
|
this.timeStr = ""
|
|
@@ -577,215 +610,215 @@ export default {
|
|
|
577
610
|
}
|
|
578
611
|
padding: unit(26, rpx);
|
|
579
612
|
.card-list {
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
613
|
+
overflow: hidden;
|
|
614
|
+
border-radius: unit(16, rpx);
|
|
615
|
+
margin-bottom: unit(30, rpx);
|
|
583
616
|
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
617
|
+
&:last-child {
|
|
618
|
+
margin-bottom: 0;
|
|
619
|
+
}
|
|
587
620
|
|
|
588
621
|
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
622
|
+
&__title {
|
|
623
|
+
height: unit(56, rpx);
|
|
624
|
+
display: flex;
|
|
625
|
+
justify-content: flex-start;
|
|
626
|
+
align-items: center;
|
|
594
627
|
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
628
|
+
& > view {
|
|
629
|
+
padding: 0 unit(80, rpx);
|
|
630
|
+
font-size: unit(24, rpx);
|
|
631
|
+
line-height: unit(56, rpx);
|
|
632
|
+
background: rgba(102, 102, 102, 0.4);
|
|
633
|
+
color: #fff;
|
|
634
|
+
border-radius: 0 0 unit(16, rpx) 0;
|
|
635
|
+
}
|
|
603
636
|
|
|
604
|
-
|
|
637
|
+
}
|
|
605
638
|
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
639
|
+
&__content {
|
|
640
|
+
padding: unit(10, rpx) unit(40, rpx) 0;
|
|
641
|
+
height: unit(86, rpx);
|
|
642
|
+
display: flex;
|
|
643
|
+
justify-content: space-between;
|
|
644
|
+
align-items: center;
|
|
645
|
+
|
|
646
|
+
& > view:first-child {
|
|
647
|
+
font-size: unit(36, rpx);
|
|
648
|
+
line-height: unit(86, rpx);
|
|
649
|
+
color: #fff;
|
|
650
|
+
font-weight: 700;
|
|
651
|
+
}
|
|
612
652
|
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
653
|
+
& > view:nth-child(2) {
|
|
654
|
+
font-size: unit(24, rpx);
|
|
655
|
+
display: flex;
|
|
656
|
+
justify-content: space-between;
|
|
657
|
+
align-items: center;
|
|
658
|
+
flex-flow: wrap;
|
|
659
|
+
flex-direction: column;
|
|
660
|
+
color: #fff;
|
|
661
|
+
}
|
|
662
|
+
}
|
|
619
663
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
flex-direction: column;
|
|
627
|
-
color: #fff;
|
|
628
|
-
}
|
|
629
|
-
}
|
|
664
|
+
&__date {
|
|
665
|
+
padding: 0 unit(40, rpx);
|
|
666
|
+
font-size: unit(28, rpx);
|
|
667
|
+
line-height: unit(32, rpx);
|
|
668
|
+
color: #fff;
|
|
669
|
+
}
|
|
630
670
|
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
}
|
|
671
|
+
&__yue {
|
|
672
|
+
padding: unit(10, rpx) unit(40, rpx) 0;
|
|
673
|
+
font-size: unit(28, rpx);
|
|
674
|
+
line-height: unit(32, rpx);
|
|
675
|
+
color: #fff;
|
|
637
676
|
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
color: #fff;
|
|
677
|
+
& > text:nth-child(2) {
|
|
678
|
+
font-weight: 700;
|
|
679
|
+
}
|
|
680
|
+
}
|
|
643
681
|
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
682
|
+
&__other {
|
|
683
|
+
display: flex;
|
|
684
|
+
justify-content: flex-start;
|
|
685
|
+
align-items: center;
|
|
686
|
+
padding: unit(20, rpx) unit(40, rpx) 0;
|
|
687
|
+
margin-top: unit(0, rpx);
|
|
688
|
+
|
|
689
|
+
& > view {
|
|
690
|
+
border-radius:unit(8, rpx);
|
|
691
|
+
background: rgba(255, 255, 255, 0.2);
|
|
692
|
+
height: unit(48, rpx);
|
|
693
|
+
line-height: unit(48, rpx);
|
|
694
|
+
display: flex;
|
|
695
|
+
justify-content: flex-start;
|
|
696
|
+
align-items: center;
|
|
697
|
+
font-weight: 400;
|
|
698
|
+
font-size: unit(24, rpx);
|
|
699
|
+
padding: 0 unit(20, rpx);
|
|
700
|
+
color: #fff;
|
|
701
|
+
}
|
|
648
702
|
|
|
649
|
-
&__other {
|
|
650
|
-
display: flex;
|
|
651
|
-
justify-content: flex-start;
|
|
652
|
-
align-items: center;
|
|
653
|
-
padding: unit(20, rpx) unit(40, rpx) 0;
|
|
654
|
-
margin-top: unit(0, rpx);
|
|
655
703
|
|
|
656
|
-
|
|
657
|
-
border-radius:unit(8, rpx);
|
|
658
|
-
background: rgba(255, 255, 255, 0.2);
|
|
659
|
-
height: unit(48, rpx);
|
|
660
|
-
line-height: unit(48, rpx);
|
|
661
|
-
display: flex;
|
|
662
|
-
justify-content: flex-start;
|
|
663
|
-
align-items: center;
|
|
664
|
-
font-weight: 400;
|
|
665
|
-
font-size: unit(24, rpx);
|
|
666
|
-
padding: 0 unit(20, rpx);
|
|
667
|
-
color: #fff;
|
|
668
|
-
}
|
|
704
|
+
}
|
|
669
705
|
|
|
706
|
+
&__nodata {
|
|
707
|
+
padding: unit(20, rpx) unit(40, rpx) 0;
|
|
708
|
+
margin-top: unit(0, rpx);
|
|
709
|
+
color: #fff;
|
|
710
|
+
font-size: unit(28, rpx);
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
&__entry {
|
|
714
|
+
padding: unit(20, rpx) unit(40, rpx) 0;
|
|
715
|
+
& > view {
|
|
716
|
+
line-height: unit(64, rpx);
|
|
717
|
+
text-align: center;
|
|
718
|
+
font-size: unit(26, rpx);
|
|
719
|
+
border-radius: unit(32, rpx);
|
|
720
|
+
background: rgba(255, 255, 255, 1);
|
|
721
|
+
box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
|
|
722
|
+
font-weight: 500;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
&__entrys {
|
|
727
|
+
margin: unit(20, rpx) unit(20, rpx) 0;
|
|
728
|
+
padding: unit(30, rpx);
|
|
729
|
+
border-radius: unit(16, rpx);
|
|
730
|
+
background: rgba(255, 255, 255, 1);
|
|
731
|
+
box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
|
|
732
|
+
|
|
733
|
+
&-title {
|
|
734
|
+
display: flex;
|
|
735
|
+
justify-content: space-between;
|
|
736
|
+
align-items: center;
|
|
670
737
|
|
|
671
|
-
}
|
|
672
738
|
|
|
673
|
-
&
|
|
674
|
-
padding: unit(20, rpx) unit(40, rpx) 0;
|
|
675
|
-
margin-top: unit(0, rpx);
|
|
676
|
-
color: #fff;
|
|
739
|
+
& > view:first-child {
|
|
677
740
|
font-size: unit(28, rpx);
|
|
741
|
+
font-weight: 500;
|
|
742
|
+
flex: 1;
|
|
678
743
|
}
|
|
679
744
|
|
|
680
|
-
&
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
background: rgba(255, 255, 255, 1);
|
|
688
|
-
box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
|
|
689
|
-
font-weight: 500;
|
|
690
|
-
}
|
|
745
|
+
& > view:nth-child(2) {
|
|
746
|
+
display: flex;
|
|
747
|
+
justify-content: flex-start;
|
|
748
|
+
align-items: center;
|
|
749
|
+
flex-shrink: 0;
|
|
750
|
+
font-size: unit(20, rpx);
|
|
751
|
+
color: #999;
|
|
691
752
|
}
|
|
753
|
+
}
|
|
692
754
|
|
|
693
|
-
|
|
694
|
-
margin: unit(20, rpx) unit(20, rpx) 0;
|
|
695
|
-
padding: unit(30, rpx);
|
|
696
|
-
border-radius: unit(16, rpx);
|
|
697
|
-
background: rgba(255, 255, 255, 1);
|
|
698
|
-
box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
|
|
755
|
+
&-scroll {
|
|
699
756
|
|
|
700
|
-
|
|
701
|
-
display: flex;
|
|
702
|
-
justify-content: space-between;
|
|
703
|
-
align-items: center;
|
|
757
|
+
}
|
|
704
758
|
|
|
759
|
+
&-item {
|
|
760
|
+
display: flex;
|
|
761
|
+
justify-content: flex-start;
|
|
762
|
+
align-items: center;
|
|
763
|
+
flex-flow: nowrap;
|
|
764
|
+
margin-left: unit(-14, rpx);
|
|
765
|
+
padding-top: unit(20, rpx);
|
|
705
766
|
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
767
|
+
& > view {
|
|
768
|
+
width: unit(120, rpx);
|
|
769
|
+
margin-right: unit(10, rpx);
|
|
770
|
+
flex-shrink: 0;
|
|
771
|
+
display: flex;
|
|
772
|
+
justify-content: center;
|
|
773
|
+
flex-direction: column;
|
|
774
|
+
align-items: center;
|
|
711
775
|
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
776
|
+
& > view:first-child {
|
|
777
|
+
width: unit(76, rpx);
|
|
778
|
+
height: unit(76, rpx);
|
|
779
|
+
overflow: hidden;
|
|
780
|
+
|
|
781
|
+
& > image {
|
|
782
|
+
height: 100%;
|
|
783
|
+
width: 100%;
|
|
719
784
|
}
|
|
720
785
|
}
|
|
721
786
|
|
|
722
|
-
|
|
723
|
-
|
|
787
|
+
& > view:nth-child(2) {
|
|
788
|
+
margin-top: unit(10, rpx);
|
|
789
|
+
font-size: unit(24, rpx);
|
|
790
|
+
line-height: unit(36, rpx);
|
|
791
|
+
margin-bottom: unit(10, rpx);
|
|
724
792
|
}
|
|
725
793
|
|
|
726
|
-
|
|
794
|
+
& > view:nth-child(3) {
|
|
727
795
|
display: flex;
|
|
728
796
|
justify-content: flex-start;
|
|
729
797
|
align-items: center;
|
|
730
|
-
flex-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
& > view {
|
|
735
|
-
width: unit(120, rpx);
|
|
736
|
-
margin-right: unit(10, rpx);
|
|
737
|
-
flex-shrink: 0;
|
|
738
|
-
display: flex;
|
|
739
|
-
justify-content: center;
|
|
740
|
-
flex-direction: column;
|
|
741
|
-
align-items: center;
|
|
742
|
-
|
|
743
|
-
& > view:first-child {
|
|
744
|
-
width: unit(76, rpx);
|
|
745
|
-
height: unit(76, rpx);
|
|
746
|
-
overflow: hidden;
|
|
747
|
-
|
|
748
|
-
& > image {
|
|
749
|
-
height: 100%;
|
|
750
|
-
width: 100%;
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
& > view:nth-child(2) {
|
|
755
|
-
margin-top: unit(10, rpx);
|
|
756
|
-
font-size: unit(24, rpx);
|
|
757
|
-
line-height: unit(36, rpx);
|
|
758
|
-
margin-bottom: unit(10, rpx);
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
& > view:nth-child(3) {
|
|
762
|
-
display: flex;
|
|
763
|
-
justify-content: flex-start;
|
|
764
|
-
align-items: center;
|
|
765
|
-
flex-shrink: 0;
|
|
766
|
-
font-size: unit(20, rpx);
|
|
767
|
-
color: #999;
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
&:last-child {
|
|
771
|
-
margin-right: 0;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
}
|
|
775
|
-
|
|
798
|
+
flex-shrink: 0;
|
|
799
|
+
font-size: unit(20, rpx);
|
|
800
|
+
color: #999;
|
|
801
|
+
}
|
|
776
802
|
|
|
803
|
+
&:last-child {
|
|
804
|
+
margin-right: 0;
|
|
777
805
|
}
|
|
778
|
-
}
|
|
779
806
|
|
|
780
|
-
&-warp {
|
|
781
|
-
width: unit(700, rpx);
|
|
782
|
-
// min-height: unit(290, rpx);
|
|
783
|
-
position: relative;
|
|
784
|
-
border-radius: unit(16, rpx);
|
|
785
|
-
background-size: 100%;
|
|
786
|
-
padding-bottom: unit(20, rpx);
|
|
787
807
|
}
|
|
808
|
+
|
|
809
|
+
|
|
788
810
|
}
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
&-warp {
|
|
814
|
+
width: unit(700, rpx);
|
|
815
|
+
// min-height: unit(290, rpx);
|
|
816
|
+
position: relative;
|
|
817
|
+
border-radius: unit(16, rpx);
|
|
818
|
+
background-size: 100%;
|
|
819
|
+
padding-bottom: unit(20, rpx);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
789
822
|
|
|
790
823
|
&-qrcode {
|
|
791
824
|
text-align: center;
|
|
@@ -884,56 +917,54 @@ export default {
|
|
|
884
917
|
}
|
|
885
918
|
|
|
886
919
|
&-content {
|
|
920
|
+
display: flex;
|
|
921
|
+
justify-content: flex-start;
|
|
922
|
+
align-items: center;
|
|
923
|
+
flex-flow: wrap;
|
|
924
|
+
padding-left: unit(30, rpx);
|
|
925
|
+
|
|
926
|
+
& > view {
|
|
927
|
+
width: unit(120, rpx);
|
|
928
|
+
margin-right: unit(10, rpx);
|
|
929
|
+
flex-shrink: 0;
|
|
887
930
|
display: flex;
|
|
888
|
-
justify-content:
|
|
931
|
+
justify-content: center;
|
|
932
|
+
flex-direction: column;
|
|
889
933
|
align-items: center;
|
|
890
|
-
flex-flow: wrap;
|
|
891
|
-
padding-left: unit(30, rpx);
|
|
892
|
-
|
|
893
|
-
& > view {
|
|
894
|
-
width: unit(120, rpx);
|
|
895
|
-
margin-right: unit(10, rpx);
|
|
896
|
-
flex-shrink: 0;
|
|
897
|
-
display: flex;
|
|
898
|
-
justify-content: center;
|
|
899
|
-
flex-direction: column;
|
|
900
|
-
align-items: center;
|
|
901
934
|
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
935
|
+
& > view:first-child {
|
|
936
|
+
width: unit(76, rpx);
|
|
937
|
+
height: unit(76, rpx);
|
|
938
|
+
overflow: hidden;
|
|
906
939
|
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
}
|
|
940
|
+
& > image {
|
|
941
|
+
height: 100%;
|
|
942
|
+
width: 100%;
|
|
911
943
|
}
|
|
944
|
+
}
|
|
912
945
|
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
margin-bottom: unit(10, rpx);
|
|
920
|
-
}
|
|
946
|
+
& > view:nth-child(2) {
|
|
947
|
+
margin-top: unit(10, rpx);
|
|
948
|
+
font-size: unit(24, rpx);
|
|
949
|
+
line-height: unit(36, rpx);
|
|
950
|
+
margin-bottom: unit(10, rpx);
|
|
951
|
+
}
|
|
921
952
|
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
953
|
+
& > view:nth-child(3) {
|
|
954
|
+
display: flex;
|
|
955
|
+
justify-content: flex-start;
|
|
956
|
+
align-items: center;
|
|
957
|
+
flex-shrink: 0;
|
|
958
|
+
font-size: unit(20, rpx);
|
|
959
|
+
color: #999;
|
|
960
|
+
}
|
|
930
961
|
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
}
|
|
962
|
+
&:last-child {
|
|
963
|
+
margin-right: 0;
|
|
934
964
|
}
|
|
935
965
|
}
|
|
936
966
|
}
|
|
967
|
+
}
|
|
937
968
|
|
|
938
969
|
.fixe_bottom{
|
|
939
970
|
display: flex;
|