jufubao-base 1.0.119-beta18 → 1.0.119-beta19
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/JfbBaseConPhone/JfbBaseConPhone.vue +2 -2
- package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetail.vue +3 -3
- package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndex.vue +25 -6
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +15 -6
package/package.json
CHANGED
|
@@ -266,9 +266,9 @@ export default {
|
|
|
266
266
|
let image1 = await getImageInfo(getServiceUrl(res.used_background));
|
|
267
267
|
console.log({ ...image }, "imageimage");
|
|
268
268
|
this.topHeight = image.imgHeight * 2;
|
|
269
|
-
this.topWidth =
|
|
269
|
+
this.topWidth = '100%';
|
|
270
270
|
this.bottomHeight = image1.imgHeight * 2;
|
|
271
|
-
this.bottomWidth =
|
|
271
|
+
this.bottomWidth = '100%';
|
|
272
272
|
this.background = getServiceUrl(res.background);
|
|
273
273
|
this.used_background = getServiceUrl(res.used_background);
|
|
274
274
|
this.errmessage = res.message;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<view class="jfb-base-wallet-detail__body-price">
|
|
21
21
|
<XdFontIcon size="56" :icon="operate_type === 'A'?'iconshouru':'iconzhichu'"></XdFontIcon>
|
|
22
22
|
<view class="jfb-base-wallet-detail__body-price-type"
|
|
23
|
-
|
|
23
|
+
>{{trade_type_name}}</view
|
|
24
24
|
>
|
|
25
25
|
<view
|
|
26
26
|
>{{ operate_type === "A" ? "+" : "-"
|
|
@@ -61,7 +61,7 @@ export default {
|
|
|
61
61
|
mixins: [componentsMixins, extsMixins, JfbBaseWalletDetailMixin],
|
|
62
62
|
data() {
|
|
63
63
|
return {
|
|
64
|
-
|
|
64
|
+
trade_type_name: "",
|
|
65
65
|
operate_type: "",
|
|
66
66
|
list: [],
|
|
67
67
|
amount: "",
|
|
@@ -89,7 +89,7 @@ export default {
|
|
|
89
89
|
.then((res) => {
|
|
90
90
|
this.list = res.list;
|
|
91
91
|
this.amount = res.amount;
|
|
92
|
-
this.
|
|
92
|
+
this.trade_type_name = res.trade_type_name;
|
|
93
93
|
this.operate_type = res.operate_type;
|
|
94
94
|
this.status = true;
|
|
95
95
|
})
|
|
@@ -73,13 +73,14 @@
|
|
|
73
73
|
<view class="jfb-base-wallet-index__body-wrap">
|
|
74
74
|
<view class="jfb-base-wallet-index__body-filter">
|
|
75
75
|
<picker
|
|
76
|
+
class="cancel"
|
|
76
77
|
fields="month"
|
|
77
78
|
mode="date"
|
|
78
79
|
:value="date"
|
|
79
80
|
@change="bindDateChange"
|
|
80
81
|
>
|
|
81
82
|
<view class="jfb-base-wallet-index__body-filter-condition">
|
|
82
|
-
<text>{{date
|
|
83
|
+
<text>{{ date }}</text>
|
|
83
84
|
<XdFontIcon size="24" icon="iconxia_down"></XdFontIcon>
|
|
84
85
|
</view>
|
|
85
86
|
</picker>
|
|
@@ -91,7 +92,13 @@
|
|
|
91
92
|
@change="bindOperateChange"
|
|
92
93
|
>
|
|
93
94
|
<view class="jfb-base-wallet-index__body-filter-condition">
|
|
94
|
-
<text>{{
|
|
95
|
+
<text>{{
|
|
96
|
+
operate_type
|
|
97
|
+
? operate_type === "R"
|
|
98
|
+
? "全部支出"
|
|
99
|
+
: "全部收入"
|
|
100
|
+
: "全部收支"
|
|
101
|
+
}}</text>
|
|
95
102
|
<XdFontIcon size="24" icon="iconxia_down"></XdFontIcon>
|
|
96
103
|
</view>
|
|
97
104
|
</picker>
|
|
@@ -110,7 +117,9 @@
|
|
|
110
117
|
item.operate_type === 'A' ? 'iconshouru' : 'iconzhichu'
|
|
111
118
|
"
|
|
112
119
|
></XdFontIcon>
|
|
113
|
-
<text style="margin-left:10rpx">{{
|
|
120
|
+
<text style="margin-left: 10rpx">{{
|
|
121
|
+
item.trade_type_name
|
|
122
|
+
}}</text>
|
|
114
123
|
</view>
|
|
115
124
|
<view>
|
|
116
125
|
<view
|
|
@@ -156,7 +165,11 @@
|
|
|
156
165
|
<view>付款方式</view>
|
|
157
166
|
<view @click="handleChangePayType">
|
|
158
167
|
<view> {{ qrcodeInfo.wallet_name }} </view>
|
|
159
|
-
<XdFontIcon
|
|
168
|
+
<XdFontIcon
|
|
169
|
+
v-if="typeList.length"
|
|
170
|
+
size="20"
|
|
171
|
+
icon="iconxia_down"
|
|
172
|
+
></XdFontIcon>
|
|
160
173
|
</view>
|
|
161
174
|
</view>
|
|
162
175
|
<view class="jfb-base-wallet-index__body-pay-id"
|
|
@@ -250,7 +263,7 @@ export default {
|
|
|
250
263
|
label: "收入",
|
|
251
264
|
value: "A",
|
|
252
265
|
},
|
|
253
|
-
],
|
|
266
|
+
],
|
|
254
267
|
qrcodeInfo: {},
|
|
255
268
|
date: "",
|
|
256
269
|
operate_type: "",
|
|
@@ -297,6 +310,7 @@ export default {
|
|
|
297
310
|
methods: {
|
|
298
311
|
async onJfbLoad(options) {
|
|
299
312
|
this.type = options.type;
|
|
313
|
+
this.date = `${new Date().getFullYear()}-${String(new Date().getMonth() + 1).padStart(2, '0')}`;
|
|
300
314
|
await jfbRootExec("getWalletList", {
|
|
301
315
|
vm: this,
|
|
302
316
|
data: { support_method: this.type },
|
|
@@ -321,7 +335,7 @@ export default {
|
|
|
321
335
|
handleChangePayType() {
|
|
322
336
|
this.showQrcode = false;
|
|
323
337
|
this.handleClose();
|
|
324
|
-
this.handleShowQrcode()
|
|
338
|
+
this.handleShowQrcode();
|
|
325
339
|
},
|
|
326
340
|
getList() {
|
|
327
341
|
console.log(this.data, this.operate_type, "operate_typeoperate_type");
|
|
@@ -800,3 +814,8 @@ export default {
|
|
|
800
814
|
}
|
|
801
815
|
}
|
|
802
816
|
</style>
|
|
817
|
+
<style>
|
|
818
|
+
.cancel ::v-deep .uni-picker-action-cancel ::after {
|
|
819
|
+
content: "全部" !important;
|
|
820
|
+
}
|
|
821
|
+
</style>
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
@change="bindDateChange"
|
|
71
71
|
>
|
|
72
72
|
<view class="jfb-base-wallet-item__body-filter-condition">
|
|
73
|
-
<text>{{date
|
|
73
|
+
<text>{{ date }}</text>
|
|
74
74
|
<XdFontIcon size="24" icon="iconxia_down"></XdFontIcon>
|
|
75
75
|
</view>
|
|
76
76
|
</picker>
|
|
@@ -82,11 +82,17 @@
|
|
|
82
82
|
@change="bindOperateChange"
|
|
83
83
|
>
|
|
84
84
|
<view class="jfb-base-wallet-item__body-filter-condition">
|
|
85
|
-
<text>{{
|
|
85
|
+
<text>{{
|
|
86
|
+
operate_type
|
|
87
|
+
? operate_type === "R"
|
|
88
|
+
? "全部支出"
|
|
89
|
+
: "全部收入"
|
|
90
|
+
: "全部收支"
|
|
91
|
+
}}</text>
|
|
86
92
|
<XdFontIcon size="24" icon="iconxia_down"></XdFontIcon>
|
|
87
93
|
</view>
|
|
88
94
|
</picker>
|
|
89
|
-
</view>
|
|
95
|
+
</view>
|
|
90
96
|
<view class="jfb-base-wallet-item__body-list">
|
|
91
97
|
<view v-if="detailList.length">
|
|
92
98
|
<view
|
|
@@ -101,9 +107,9 @@
|
|
|
101
107
|
item.operate_type === 'A' ? 'iconshouru' : 'iconzhichu'
|
|
102
108
|
"
|
|
103
109
|
></XdFontIcon>
|
|
104
|
-
<text style="margin-left: 10rpx"
|
|
105
|
-
|
|
106
|
-
>
|
|
110
|
+
<text style="margin-left: 10rpx">{{
|
|
111
|
+
item.trade_type_name
|
|
112
|
+
}}</text>
|
|
107
113
|
</view>
|
|
108
114
|
<view>
|
|
109
115
|
<view
|
|
@@ -197,6 +203,9 @@ export default {
|
|
|
197
203
|
methods: {
|
|
198
204
|
async onJfbLoad(options) {
|
|
199
205
|
this.type = options.type;
|
|
206
|
+
this.date = `${new Date().getFullYear()}-${String(
|
|
207
|
+
new Date().getMonth() + 1
|
|
208
|
+
).padStart(2, "0")}`;
|
|
200
209
|
this.wallet_type = options.wallet_type;
|
|
201
210
|
await jfbRootExec("getWalletDetail", {
|
|
202
211
|
vm: this,
|