jufubao-base 1.0.181-beta9 → 1.0.182-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 +1 -1
- package/src/components/JfbBaseAddress/Attr.js +50 -1
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +120 -68
- package/src/components/JfbBaseAddress/XdTfkItem.vue +117 -0
- package/src/components/JfbBaseCardDelay/Api.js +30 -19
- package/src/components/JfbBaseCardDelay/Attr.js +35 -237
- package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +78 -279
- package/src/components/JfbBaseCardDetailEntry/Attr.js +0 -12
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +0 -14
- package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
- package/src/components/JfbBaseCardEntry/Attr.js +0 -121
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +29 -206
- package/src/components/JfbBaseCardGive/Api.js +34 -18
- package/src/components/JfbBaseCardGive/Attr.js +32 -40
- package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +79 -502
- package/src/components/JfbBaseCardGive/Mock.js +9 -2
- package/src/components/JfbBaseCardReceive/Api.js +36 -10
- package/src/components/JfbBaseCardReceive/Attr.js +39 -9
- package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +80 -403
- package/src/components/JfbBaseCardReceive/Mock.js +7 -1
- package/src/components/JfbBaseCardReceiveCover/Api.js +43 -5
- package/src/components/JfbBaseCardReceiveCover/Attr.js +30 -119
- package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +82 -189
- package/src/components/JfbBaseCardReceiveCover/Mock.js +9 -1
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
- package/src/components/JfbBaseOrderDetail/Attr.js +10 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +16 -97
- package/src/components/JfbBaseOrderDetail/Mock.js +0 -5
- package/src/components/JfbBaseOrderList/Attr.js +23 -0
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +117 -86
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +246 -0
- package/src/components/JfbBasePay/Attr.js +0 -12
- package/src/components/JfbBasePay/JfbBasePay.vue +12 -18
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +1 -0
- package/src/components/JfbBaseRechargeOrder/Api.js +0 -11
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +27 -46
- package/src/components/JfbBaseRechargeOrderDetail/Api.js +0 -11
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +13 -142
- package/src/components/JfbBaseRechargeSuccess/Api.js +0 -11
- package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +3 -6
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<view class="xd-tfk-order-item">
|
|
3
|
+
<view class="o_header">
|
|
4
|
+
<view class="h_l">
|
|
5
|
+
<xd-font-icon
|
|
6
|
+
v-if="item.biz_code_icon"
|
|
7
|
+
:icon="item.biz_code_icon"
|
|
8
|
+
:size="item['biz_code_icon_size']"
|
|
9
|
+
></xd-font-icon>
|
|
10
|
+
<view :class="{ marginLeft: item.biz_code_icon }" style="margin-left: 20rpx;">{{item.biz_code_name }}</view>
|
|
11
|
+
</view>
|
|
12
|
+
<view v-if="isShowOrderNo==='N'" class="o_status" :style="{
|
|
13
|
+
color:item.status.status_type !== 'error' ? mainColor : '#999999',
|
|
14
|
+
}">{{ item.status.status_name }}</view>
|
|
15
|
+
</view>
|
|
16
|
+
<view class="o_title" v-if="isShowOrderNo==='Y'">
|
|
17
|
+
<view class="o_number">订单编号:{{ item.main_order_id }}</view>
|
|
18
|
+
<view class="o_status" :style="{
|
|
19
|
+
color:item.status.status_type !== 'error' ? mainColor : '#999999',
|
|
20
|
+
}">{{ item.status.status_name }}</view>
|
|
21
|
+
</view>
|
|
22
|
+
<view class="prod_list">
|
|
23
|
+
<!-- 单个商品展示商品信息 -->
|
|
24
|
+
<template v-if="item.products.length == 1">
|
|
25
|
+
<view class="one_prod" v-for="Sitem in item.products" :key="Sitem.key">
|
|
26
|
+
<view class="prod_img">
|
|
27
|
+
<image :src="Sitem.product_thumb" style="background: #ffffff" mode="aspectFill"></image>
|
|
28
|
+
</view>
|
|
29
|
+
<view class="prod_info">
|
|
30
|
+
<view class="prod_name">{{ Sitem.product_name }}</view>
|
|
31
|
+
<view v-if="Sitem.brand_name" class="prod_brand" :style="{color: brandTextColor}">{{ Sitem.brand_name }}</view>
|
|
32
|
+
<view v-if="Sitem.product_sku_name" class="prod_sku">规格:{{ Sitem.product_sku_name }}</view>
|
|
33
|
+
<view class="prod_price">
|
|
34
|
+
<view>¥448</view>
|
|
35
|
+
<view class="info-price">
|
|
36
|
+
<text>x</text>
|
|
37
|
+
<text>{{ Sitem.product_num }}</text>
|
|
38
|
+
</view>
|
|
39
|
+
</view>
|
|
40
|
+
</view>
|
|
41
|
+
</view>
|
|
42
|
+
</template>
|
|
43
|
+
|
|
44
|
+
<!-- 多个商品展示更多商品信息 -->
|
|
45
|
+
<view v-if="item.products.length > 1" class="more_prod">
|
|
46
|
+
<view class="img_list">
|
|
47
|
+
<view class="prod_img" v-for="prod in item.products" :key="prod.key">
|
|
48
|
+
<image :src="prod.product_thumb" style="background: #ffffff" mode="aspectFit"></image>
|
|
49
|
+
</view>
|
|
50
|
+
</view>
|
|
51
|
+
<view class="right_arrow">
|
|
52
|
+
<xd-font-icon icon='iconxiangyou_xian' :size="26" color="#bdc0c5"></xd-font-icon>
|
|
53
|
+
</view>
|
|
54
|
+
</view>
|
|
55
|
+
</view>
|
|
56
|
+
<view class="prod_total">
|
|
57
|
+
<view></view>
|
|
58
|
+
<view style="display: flex;align-items: center;">
|
|
59
|
+
共{{item.products.length}}件商品 实付
|
|
60
|
+
<xd-unit
|
|
61
|
+
:isOld="false"
|
|
62
|
+
:price="item.total_amount"
|
|
63
|
+
:color="mainColor"
|
|
64
|
+
:fontSize="28"></xd-unit>
|
|
65
|
+
</view>
|
|
66
|
+
</view>
|
|
67
|
+
<view v-if="item.buttons.length" class="prod_footer">
|
|
68
|
+
<view style="flex: 1;"></view>
|
|
69
|
+
<view class="btn"
|
|
70
|
+
v-for="(btn,index) in item.buttons" :key="btn.key"
|
|
71
|
+
@click="handleBtnEvent(btn.action, item)"
|
|
72
|
+
>{{btn.text}}</view>
|
|
73
|
+
</view>
|
|
74
|
+
</view>
|
|
75
|
+
</template>
|
|
76
|
+
|
|
77
|
+
<script>
|
|
78
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon"
|
|
79
|
+
import XdUnit from "@/components/XdUnit/XdUnit"
|
|
80
|
+
export default{
|
|
81
|
+
name:"XdTfkOrderItem",
|
|
82
|
+
components: {
|
|
83
|
+
XdFontIcon,
|
|
84
|
+
XdUnit,
|
|
85
|
+
},
|
|
86
|
+
props:{
|
|
87
|
+
item: Object,
|
|
88
|
+
mainColor: String,
|
|
89
|
+
isShowOrderNo: {
|
|
90
|
+
type: String,
|
|
91
|
+
},
|
|
92
|
+
brandTextColor: String
|
|
93
|
+
},
|
|
94
|
+
data(){
|
|
95
|
+
return{
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
methods:{
|
|
99
|
+
handleBtnEvent(action){
|
|
100
|
+
this.$emit('handleBtnEvent', action)
|
|
101
|
+
},
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
</script>
|
|
105
|
+
|
|
106
|
+
<style lang="less" scoped>
|
|
107
|
+
.xd-tfk-order-item{
|
|
108
|
+
padding-left: 30rpx;
|
|
109
|
+
overflow: hidden;
|
|
110
|
+
.o_header{
|
|
111
|
+
height: 90rpx;
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
justify-content: space-between;
|
|
115
|
+
border-bottom: 1px solid #EDEDED;
|
|
116
|
+
padding-right: 30rpx;
|
|
117
|
+
color: #333333;
|
|
118
|
+
font-size: 28rpx;
|
|
119
|
+
|
|
120
|
+
.h_l{
|
|
121
|
+
display: flex;
|
|
122
|
+
align-items: center;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
.o_title{
|
|
126
|
+
height: 80rpx;
|
|
127
|
+
display: flex;
|
|
128
|
+
align-items: center;
|
|
129
|
+
justify-content: space-between;
|
|
130
|
+
padding-right: 30rpx;
|
|
131
|
+
color: #333333;
|
|
132
|
+
font-size: 24rpx;
|
|
133
|
+
border-bottom: 1px solid #EDEDED;
|
|
134
|
+
}
|
|
135
|
+
.one_prod{
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
width: 100%;
|
|
139
|
+
padding: 30rpx 30rpx 30rpx 0;
|
|
140
|
+
box-sizing: border-box;
|
|
141
|
+
.prod_img{
|
|
142
|
+
width: 140rpx;
|
|
143
|
+
height: 140rpx;
|
|
144
|
+
background-color: #f5f5f9;
|
|
145
|
+
image{
|
|
146
|
+
width: 100%;
|
|
147
|
+
height: 100%;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
.prod_info{
|
|
151
|
+
flex: 1;
|
|
152
|
+
padding-left: 30rpx;
|
|
153
|
+
.prod_name{
|
|
154
|
+
color: #2e2f30;
|
|
155
|
+
font-size: 30rpx;
|
|
156
|
+
}
|
|
157
|
+
.prod_brand{
|
|
158
|
+
font-size: 24rpx;
|
|
159
|
+
margin-top: 8rpx;
|
|
160
|
+
}
|
|
161
|
+
.prod_sku{
|
|
162
|
+
color: #797d82;
|
|
163
|
+
font-size: 24rpx;
|
|
164
|
+
margin-top: 8rpx;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
.prod_price{
|
|
168
|
+
display: flex;
|
|
169
|
+
justify-content: space-between;
|
|
170
|
+
align-items: center;
|
|
171
|
+
color: rgb(46, 47, 48);
|
|
172
|
+
font-size: 30rpx;
|
|
173
|
+
margin-top: 12rpx;
|
|
174
|
+
.info-price{
|
|
175
|
+
display: flex;
|
|
176
|
+
color: #bdc0c5;
|
|
177
|
+
font-size: 26rpx;
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
.prod_list{
|
|
182
|
+
position: relative;
|
|
183
|
+
.right_arrow{
|
|
184
|
+
position: absolute;
|
|
185
|
+
right: 0px;
|
|
186
|
+
height: 100%;
|
|
187
|
+
width: 60rpx;
|
|
188
|
+
top: 0;
|
|
189
|
+
background: #FFF;
|
|
190
|
+
display: flex;
|
|
191
|
+
align-items: center;
|
|
192
|
+
justify-content: center;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
.more_prod{
|
|
196
|
+
display: flex;
|
|
197
|
+
flex-wrap: nowrap;
|
|
198
|
+
overflow: auto;
|
|
199
|
+
padding: 30rpx 30rpx 30rpx 0;
|
|
200
|
+
width: 100%;
|
|
201
|
+
.img_list{
|
|
202
|
+
display: flex;
|
|
203
|
+
flex-wrap: nowrap;
|
|
204
|
+
padding-right: 60rpx;
|
|
205
|
+
}
|
|
206
|
+
.prod_img{
|
|
207
|
+
width: 140rpx;
|
|
208
|
+
height: 140rpx;
|
|
209
|
+
display: flex;
|
|
210
|
+
align-items: center;
|
|
211
|
+
justify-content: center;
|
|
212
|
+
image{
|
|
213
|
+
width: 100%;
|
|
214
|
+
height: 100%;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
.prod_total{
|
|
219
|
+
height: 80rpx;
|
|
220
|
+
display: flex;
|
|
221
|
+
align-items: center;
|
|
222
|
+
justify-content: space-between;
|
|
223
|
+
padding-right: 30rpx;
|
|
224
|
+
border-top: 1px solid #EDEDED;
|
|
225
|
+
color: #2e2f30;
|
|
226
|
+
font-size: 26rpx;
|
|
227
|
+
}
|
|
228
|
+
.prod_footer{
|
|
229
|
+
padding: 16rpx 30rpx 16rpx 0;
|
|
230
|
+
display: flex;
|
|
231
|
+
align-items: center;
|
|
232
|
+
border-top: 1px solid #EDEDED;
|
|
233
|
+
.btn{
|
|
234
|
+
width: 170rpx;
|
|
235
|
+
height: 66rpx;
|
|
236
|
+
border: 1px solid #EDEDED;
|
|
237
|
+
display: flex;
|
|
238
|
+
align-items: center;
|
|
239
|
+
justify-content: center;
|
|
240
|
+
margin-left: 20rpx;
|
|
241
|
+
color: #2e2f30;
|
|
242
|
+
font-size: 24rpx;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
</style>
|
|
@@ -16,18 +16,6 @@ export default {
|
|
|
16
16
|
placeholder: '请选择支付成功路径',
|
|
17
17
|
value: data.pay_success_path || null,
|
|
18
18
|
groupKey:'advanced',
|
|
19
|
-
setting: {
|
|
20
|
-
router: XdBus.getParentApi('getPag©esTree'),
|
|
21
|
-
},
|
|
22
|
-
inline: false,
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
label: '票券支付成功跳转路径:', //label
|
|
26
|
-
ele: 'xd-select-pages-path', //package 名称
|
|
27
|
-
valueKey: 'rechargeSuccessPath', //form[valueKey]
|
|
28
|
-
placeholder: '请选择票券支付成功跳转路径',
|
|
29
|
-
value: data.rechargeSuccessPath || null,
|
|
30
|
-
groupKey:'advanced',
|
|
31
19
|
setting: {
|
|
32
20
|
router: XdBus.getParentApi('getPagesTree'),
|
|
33
21
|
},
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
<view class="remain_pay" v-if="payInfo.channel_amount > 0">
|
|
101
101
|
<view style="border-bottom: 2rpx solid #eee;" class="column-group">
|
|
102
102
|
<view class="column-item" style="padding: 30rpx 60rpx">
|
|
103
|
-
<view class="column_label"
|
|
103
|
+
<view class="column_label">仍需支付<text class="label_sub">(可使用多张票券支付)</text></view>
|
|
104
104
|
<view class="column_value text-primary">
|
|
105
105
|
<xd-unit
|
|
106
106
|
:price="payInfo.channel_amount"
|
|
@@ -112,9 +112,9 @@
|
|
|
112
112
|
</view>
|
|
113
113
|
</view>
|
|
114
114
|
<view class="remain_header">
|
|
115
|
-
<view
|
|
115
|
+
<view>选择以下支付方式</view>
|
|
116
116
|
<view class="flex align-center text-primary">
|
|
117
|
-
<view class="margin-right"
|
|
117
|
+
<view class="margin-right">继续支付</view>
|
|
118
118
|
<xd-unit
|
|
119
119
|
:price="payInfo.channel_amount"
|
|
120
120
|
:is-show-icon="false"
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
type="primary"
|
|
151
151
|
radius="50rpx"
|
|
152
152
|
@click="doThirdPay"
|
|
153
|
-
|
|
153
|
+
>确认支付</xd-button>
|
|
154
154
|
</view>
|
|
155
155
|
</view>
|
|
156
156
|
</view>
|
|
@@ -222,12 +222,12 @@ export default {
|
|
|
222
222
|
},
|
|
223
223
|
},
|
|
224
224
|
computed: {
|
|
225
|
-
prod_bottom() {
|
|
225
|
+
prod_bottom() {
|
|
226
226
|
return this.fixedStyle({ height: 0, zIndex: 111 });
|
|
227
227
|
},
|
|
228
228
|
getSuccessUrl(){
|
|
229
229
|
let url = this.paySuccessPath;
|
|
230
|
-
if(this.type === 'recharge'
|
|
230
|
+
if(this.type === 'recharge') {
|
|
231
231
|
url = this.rechargeSuccessPath || url;
|
|
232
232
|
}
|
|
233
233
|
return url
|
|
@@ -252,8 +252,8 @@ export default {
|
|
|
252
252
|
this.p_getPayOrderDetail();
|
|
253
253
|
this.p_getListUserPayChannel();
|
|
254
254
|
|
|
255
|
-
|
|
256
|
-
if(
|
|
255
|
+
//充值不进行检查订单状态
|
|
256
|
+
if(this.type !== 'recharge') {
|
|
257
257
|
this.p_getBaseOrderDetail();
|
|
258
258
|
}
|
|
259
259
|
},
|
|
@@ -361,7 +361,7 @@ export default {
|
|
|
361
361
|
async doThirdPay() {
|
|
362
362
|
if (this.$configProject.isPreview) return;
|
|
363
363
|
|
|
364
|
-
if(
|
|
364
|
+
if(this.type !== 'recharge') {
|
|
365
365
|
await this.p_getBaseOrderDetail();
|
|
366
366
|
}
|
|
367
367
|
const {channel_provider_id, order_id, payInfo} = this;
|
|
@@ -416,15 +416,9 @@ export default {
|
|
|
416
416
|
},
|
|
417
417
|
})
|
|
418
418
|
.then((res) => {
|
|
419
|
-
|
|
420
|
-
this
|
|
421
|
-
|
|
422
|
-
});
|
|
423
|
-
} else {
|
|
424
|
-
this.$xdUniHelper.redirectTo({
|
|
425
|
-
url: this.getSuccessUrl + `?order_id=${this.main_order_id}`
|
|
426
|
-
});
|
|
427
|
-
}
|
|
419
|
+
this.$xdUniHelper.redirectTo({
|
|
420
|
+
url: this.getSuccessUrl + `?order_id=${this.main_order_id}`
|
|
421
|
+
});
|
|
428
422
|
})
|
|
429
423
|
.catch(error=>{
|
|
430
424
|
this.$xdLog.setARMSCustomError('update_loading_fail', {options: this.options, error});
|
|
@@ -22,16 +22,5 @@ module.exports = [
|
|
|
22
22
|
},
|
|
23
23
|
isConsole: true,
|
|
24
24
|
disabled: true,
|
|
25
|
-
}, {
|
|
26
|
-
mapFnName: 'getDelayOrderList',
|
|
27
|
-
title: '获取卡延期订单列表',
|
|
28
|
-
path: '/card/v1/card-delay/list-order',
|
|
29
|
-
isRule: false,
|
|
30
|
-
params: {
|
|
31
|
-
page_size: ['page_size', 'Number', true],
|
|
32
|
-
page_token: ['page_token', 'Number', true]
|
|
33
|
-
},
|
|
34
|
-
isConsole: true,
|
|
35
|
-
disabled: true,
|
|
36
25
|
},
|
|
37
26
|
];
|
|
@@ -16,15 +16,8 @@
|
|
|
16
16
|
</view>
|
|
17
17
|
<!-- #endif -->
|
|
18
18
|
<view class="jfb-base-recharge-order__body">
|
|
19
|
-
<view
|
|
20
|
-
v-
|
|
21
|
-
:style="{ padding: outMargin }"
|
|
22
|
-
class="skeleton-wrap"
|
|
23
|
-
>
|
|
24
|
-
<view
|
|
25
|
-
v-for="i in 3"
|
|
26
|
-
:key="i"
|
|
27
|
-
class="jfb-base-recharge-order__body-order"
|
|
19
|
+
<view v-if="loadingList" :style="{ padding: outMargin }" class="skeleton-wrap">
|
|
20
|
+
<view v-for="i in 3" :key="i" class="jfb-base-recharge-order__body-order"
|
|
28
21
|
:style="{
|
|
29
22
|
background: backgroundColor,
|
|
30
23
|
border: borderBox,
|
|
@@ -49,10 +42,7 @@
|
|
|
49
42
|
</view>
|
|
50
43
|
</view>
|
|
51
44
|
<template v-else>
|
|
52
|
-
<view
|
|
53
|
-
v-if="orderList && orderList.length > 0"
|
|
54
|
-
:style="{ padding: outMargin }"
|
|
55
|
-
>
|
|
45
|
+
<view v-if="orderList&&orderList.length>0" :style="{ padding: outMargin }">
|
|
56
46
|
<view
|
|
57
47
|
v-for="(item, index) in orderList"
|
|
58
48
|
:key="index"
|
|
@@ -67,7 +57,7 @@
|
|
|
67
57
|
}"
|
|
68
58
|
>
|
|
69
59
|
<view class="jfb-base-recharge-order__body-order-header">
|
|
70
|
-
|
|
60
|
+
充值订单
|
|
71
61
|
</view>
|
|
72
62
|
<view class="jfb-base-recharge-order__body-order-middle">
|
|
73
63
|
<view
|
|
@@ -82,21 +72,13 @@
|
|
|
82
72
|
<view>交易日期:{{ item.created_time }} </view>
|
|
83
73
|
</view>
|
|
84
74
|
<view
|
|
85
|
-
style="
|
|
86
|
-
margin-top: 32rpx;
|
|
87
|
-
display: flex;
|
|
88
|
-
justify-content: space-between;
|
|
89
|
-
"
|
|
75
|
+
style="margin-top: 32rpx; display: flex; justify-content: space-between"
|
|
90
76
|
>
|
|
91
|
-
|
|
92
|
-
>合计:<xd-unit
|
|
93
|
-
:fontSize="24"
|
|
94
|
-
iconSize="0.24"
|
|
95
|
-
:price="item.total_amount"
|
|
96
|
-
></xd-unit
|
|
77
|
+
<view style="display: flex; align-items: center;font-size: 24rpx;"
|
|
78
|
+
>合计:<xd-unit :fontSize="24" iconSize="0.24" :price="item.total_amount"></xd-unit
|
|
97
79
|
></view>
|
|
98
80
|
<xd-button
|
|
99
|
-
|
|
81
|
+
v-if="item.pay_status !== '3000'"
|
|
100
82
|
width="200rpx"
|
|
101
83
|
style="margin: 0"
|
|
102
84
|
size="mini"
|
|
@@ -110,6 +92,7 @@
|
|
|
110
92
|
</view>
|
|
111
93
|
</view>
|
|
112
94
|
</template>
|
|
95
|
+
|
|
113
96
|
</view>
|
|
114
97
|
</view>
|
|
115
98
|
</template>
|
|
@@ -164,13 +147,12 @@ export default {
|
|
|
164
147
|
right: 0,
|
|
165
148
|
bottom: 0,
|
|
166
149
|
},
|
|
167
|
-
type: "recharge",
|
|
168
150
|
};
|
|
169
151
|
},
|
|
170
152
|
watch: {
|
|
171
|
-
container(value,
|
|
172
|
-
if
|
|
173
|
-
if (this.$configProject[
|
|
153
|
+
container(value,oldValue) {
|
|
154
|
+
if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
155
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
174
156
|
},
|
|
175
157
|
},
|
|
176
158
|
computed: {
|
|
@@ -179,7 +161,7 @@ export default {
|
|
|
179
161
|
str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
|
|
180
162
|
str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
|
|
181
163
|
str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
|
|
182
|
-
return str
|
|
164
|
+
return str
|
|
183
165
|
},
|
|
184
166
|
shadowBox() {
|
|
185
167
|
if (this.is_shadow === "Y")
|
|
@@ -197,7 +179,6 @@ export default {
|
|
|
197
179
|
},
|
|
198
180
|
methods: {
|
|
199
181
|
onJfbLoad(options) {
|
|
200
|
-
this.type = options.type || "recharge";
|
|
201
182
|
this.getList();
|
|
202
183
|
},
|
|
203
184
|
/**
|
|
@@ -260,8 +241,7 @@ export default {
|
|
|
260
241
|
}).value;
|
|
261
242
|
},
|
|
262
243
|
getList() {
|
|
263
|
-
|
|
264
|
-
jfbRootExec(fnName, {
|
|
244
|
+
jfbRootExec("getRechargeOrderList", {
|
|
265
245
|
vm: this,
|
|
266
246
|
data: {
|
|
267
247
|
page_size: this.page_size,
|
|
@@ -284,7 +264,7 @@ export default {
|
|
|
284
264
|
}
|
|
285
265
|
return item;
|
|
286
266
|
});
|
|
287
|
-
this.hasNext = res.next_page_token !==
|
|
267
|
+
this.hasNext = res.next_page_token !== '';
|
|
288
268
|
this.next_page_token = res.next_page_token;
|
|
289
269
|
})
|
|
290
270
|
.catch((err) => {
|
|
@@ -293,12 +273,12 @@ export default {
|
|
|
293
273
|
},
|
|
294
274
|
handleToPay(item) {
|
|
295
275
|
this.$xdUniHelper.navigateTo({
|
|
296
|
-
url: `${this.payPath}?order_id=${item.pay_order_id}&main_order_id=${item.order_id}`,
|
|
276
|
+
url: `${this.payPath}?order_id=${item.pay_order_id}&main_order_id=${item.order_id}&type=recharge`,
|
|
297
277
|
});
|
|
298
278
|
},
|
|
299
279
|
handleToDetail(item) {
|
|
300
280
|
this.$xdUniHelper.navigateTo({
|
|
301
|
-
url: `${this.detailPath}?id=${item.order_id}
|
|
281
|
+
url: `${this.detailPath}?id=${item.order_id}`,
|
|
302
282
|
});
|
|
303
283
|
},
|
|
304
284
|
|
|
@@ -310,8 +290,9 @@ export default {
|
|
|
310
290
|
},
|
|
311
291
|
|
|
312
292
|
onJfbBack(options) {
|
|
313
|
-
this.$xdUniHelper.navigateBack()
|
|
293
|
+
this.$xdUniHelper.navigateBack()
|
|
314
294
|
},
|
|
295
|
+
|
|
315
296
|
},
|
|
316
297
|
};
|
|
317
298
|
</script>
|
|
@@ -325,7 +306,7 @@ export default {
|
|
|
325
306
|
&-order {
|
|
326
307
|
padding: unit(32, rpx);
|
|
327
308
|
&:last-child {
|
|
328
|
-
margin-bottom: 0
|
|
309
|
+
margin-bottom: 0!important;
|
|
329
310
|
}
|
|
330
311
|
|
|
331
312
|
&-header {
|
|
@@ -335,7 +316,7 @@ export default {
|
|
|
335
316
|
padding-bottom: unit(24, rpx);
|
|
336
317
|
|
|
337
318
|
& > view {
|
|
338
|
-
.skeleton-wrap &
|
|
319
|
+
.skeleton-wrap &{
|
|
339
320
|
.skeleton-item(200rpx, 32rpx);
|
|
340
321
|
}
|
|
341
322
|
}
|
|
@@ -343,12 +324,12 @@ export default {
|
|
|
343
324
|
|
|
344
325
|
&-middle {
|
|
345
326
|
& > view:first-child {
|
|
346
|
-
.skeleton-wrap &
|
|
327
|
+
.skeleton-wrap &{
|
|
347
328
|
.skeleton-item(400rpx, 32rpx);
|
|
348
329
|
}
|
|
349
330
|
}
|
|
350
331
|
& > view:last-child {
|
|
351
|
-
.skeleton-wrap &
|
|
332
|
+
.skeleton-wrap &{
|
|
352
333
|
.skeleton-item(100rpx, 32rpx);
|
|
353
334
|
}
|
|
354
335
|
}
|
|
@@ -356,19 +337,19 @@ export default {
|
|
|
356
337
|
|
|
357
338
|
&-bottom {
|
|
358
339
|
border-bottom: unit(2, rpx) solid #f2f2f2;
|
|
359
|
-
padding-bottom: unit(32,
|
|
340
|
+
padding-bottom: unit(32,rpx);
|
|
360
341
|
|
|
361
342
|
& > view:first-child {
|
|
362
|
-
.skeleton-wrap &
|
|
343
|
+
.skeleton-wrap &{
|
|
363
344
|
.skeleton-item(400rpx, 32rpx);
|
|
364
345
|
}
|
|
365
346
|
}
|
|
366
347
|
}
|
|
367
348
|
&-bbb {
|
|
368
|
-
padding: unit(32,
|
|
349
|
+
padding: unit(32,rpx) 0 0;
|
|
369
350
|
|
|
370
351
|
& > view:first-child {
|
|
371
|
-
.skeleton-wrap &
|
|
352
|
+
.skeleton-wrap &{
|
|
372
353
|
.skeleton-item(100%, 32rpx);
|
|
373
354
|
}
|
|
374
355
|
}
|
|
@@ -22,15 +22,4 @@ module.exports = [
|
|
|
22
22
|
isConsole: true,
|
|
23
23
|
disabled: true,
|
|
24
24
|
},
|
|
25
|
-
{
|
|
26
|
-
mapFnName: 'getDelayOrderDetail',
|
|
27
|
-
title: '获取卡延期订单详情',
|
|
28
|
-
path: '/card/v1/card-recharge/get-order',
|
|
29
|
-
isRule: false,
|
|
30
|
-
params: {
|
|
31
|
-
order_id: ['订单id', 'Number', true],
|
|
32
|
-
},
|
|
33
|
-
isConsole: true,
|
|
34
|
-
disabled: true,
|
|
35
|
-
},
|
|
36
25
|
];
|