jufubao-base 1.0.232-beta5 → 1.0.232-beta7
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/JfbBaseBalance/Api.js +18 -30
- package/src/components/JfbBaseBalance/Attr.js +292 -24
- package/src/components/JfbBaseBalance/JfbBaseBalance.vue +253 -32
- package/src/components/JfbBaseBalance/Mock.js +5 -9
- package/src/components/JfbBaseCodeOpenVip/Api.js +17 -39
- package/src/components/JfbBaseCodeOpenVip/Attr.js +19 -0
- package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +52 -23
- package/src/components/JfbBaseConsumpCode/Api.js +94 -19
- package/src/components/JfbBaseConsumpCode/Attr.js +13 -0
- package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +397 -93
- package/src/components/JfbBaseConsumpCode/Mock.js +18 -9
- package/src/components/JfbBaseOpenVip/Api.js +11 -40
- package/src/components/JfbBaseOpenVip/Attr.js +4 -4
- package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +68 -25
- package/src/components/JfbBaseOpenVip/Mock.js +16 -9
- package/src/components/JfbBaseOpenVip/XdVipList.vue +44 -6
- package/src/components/JfbBaseOpenVipDetail/Api.js +17 -39
- package/src/components/JfbBaseOpenVipDetail/Attr.js +16 -27
- package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +108 -23
- package/src/components/JfbBasePersonalData/Api.js +9 -41
- package/src/components/JfbBasePersonalData/Attr.js +1 -37
- package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +43 -21
- package/src/components/JfbBasePointsCard/Api.js +4 -44
- package/src/components/JfbBasePointsCard/Attr.js +8 -44
- package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +24 -107
- package/src/components/JfbBasePointsCard/Mock.js +1 -9
- package/src/components/JfbBasePointsDetail/Api.js +25 -0
- package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +66 -20
- package/src/components/JfbBasePointsDetail/Mock.js +2 -9
- package/src/components/JfbBaseSavingDetail/Api.js +12 -29
- package/src/components/JfbBaseSavingDetail/Attr.js +44 -22
- package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +593 -29
- package/src/components/JfbBaseSavingDetail/components/echarts.min.js +26 -0
- package/src/components/JfbBaseSavingDetail/components/echarts.vue +254 -0
- package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +105 -0
- package/src/components/JfbBaseShare/Api.js +5 -43
- package/src/components/JfbBaseShare/JfbBaseShare.vue +13 -12
- package/src/components/JfbBaseTfkSearch/ContentProduct.vue +1 -20
- package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +5 -0
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +5 -1
- package/src/components/JfbBaseWithDrawAgain/Api.js +13 -30
- package/src/components/JfbBaseWithDrawAgain/Attr.js +70 -26
- package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +255 -32
- package/src/components/JfbBaseWithDrawAgain/Mock.js +6 -9
- package/src/components/JfbBaseWithDrawRecord/Api.js +4 -43
- package/src/components/JfbBaseWithDrawRecord/Attr.js +56 -25
- package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +157 -35
- package/src/components/JfbBaseWithDrawRecord/Mock.js +3 -9
- package/src/components/JfbBaseWithdraw/Api.js +20 -30
- package/src/components/JfbBaseWithdraw/Attr.js +304 -24
- package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +166 -32
- package/src/components/JfbBaseWithdraw/Mock.js +2 -8
|
@@ -7,12 +7,13 @@
|
|
|
7
7
|
<!-- #endif -->
|
|
8
8
|
<view class="jfb-base-points-card__body">
|
|
9
9
|
<view :style="[bodyStyleComp]" class="jfb-base-points-card__body-list">
|
|
10
|
-
<view :style="[itemStyleComp]" @click="handleTo(item)" v-for="(item,index) in typeList" :key="index"
|
|
10
|
+
<view :style="[itemStyleComp]" @click="handleTo(item)" v-for="(item,index) in typeList" :key="index"
|
|
11
|
+
class="jfb-base-points-card__body-list-item">
|
|
11
12
|
<view class="jfb-base-points-card__body-list-item-label">
|
|
12
|
-
{{item.
|
|
13
|
-
<view :style="{background:is_vip==='N'?mainColor:'',color:is_vip==='N'?'#fff':''}" class="jfb-base-points-card__body-list-item-operate" v-if="item.operate">{{item.operate}}</view>
|
|
13
|
+
{{item.name}}
|
|
14
14
|
</view>
|
|
15
|
-
<view class="jfb-base-points-card__body-list-item-value">{{item.
|
|
15
|
+
<view v-if="item.method!=='coupon'" class="jfb-base-points-card__body-list-item-value">{{getAmout(item.amount)}}</view>
|
|
16
|
+
<view v-else class="jfb-base-points-card__body-list-item-value">{{item.coupon_count}}</view>
|
|
16
17
|
</view>
|
|
17
18
|
</view>
|
|
18
19
|
</view>
|
|
@@ -52,28 +53,7 @@
|
|
|
52
53
|
},
|
|
53
54
|
data() {
|
|
54
55
|
return {
|
|
55
|
-
|
|
56
|
-
isYue: '',
|
|
57
|
-
isConpon: '',
|
|
58
|
-
typeList: [
|
|
59
|
-
{
|
|
60
|
-
label: "积分",
|
|
61
|
-
key: "points",
|
|
62
|
-
value: 0
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
label: "余额",
|
|
66
|
-
key: "yue",
|
|
67
|
-
operate: '提现',
|
|
68
|
-
value: 0
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
label: "优惠券",
|
|
72
|
-
key: "conpon",
|
|
73
|
-
value: 0
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
is_vip: 'N',
|
|
56
|
+
typeList: [],
|
|
77
57
|
plusBodyBgColor: '',
|
|
78
58
|
plusItemBgColor: '',
|
|
79
59
|
normalBodyBgColor: '',
|
|
@@ -94,62 +74,6 @@
|
|
|
94
74
|
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
95
75
|
if (this.$configProject['isPreview']) this.init(value)
|
|
96
76
|
},
|
|
97
|
-
isPoints(n, o) {
|
|
98
|
-
if (n === "Y") {
|
|
99
|
-
let flag = this.typeList.find((item) => item.key === "points");
|
|
100
|
-
if (!flag) {
|
|
101
|
-
this.typeList.splice(0, 0, {
|
|
102
|
-
label: "积分",
|
|
103
|
-
key: "points",
|
|
104
|
-
operate: '兑换'
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
} else {
|
|
108
|
-
let flagIndex = this.typeList.findIndex(
|
|
109
|
-
(item) => item.key === "points"
|
|
110
|
-
);
|
|
111
|
-
if (flagIndex !== -1) {
|
|
112
|
-
this.typeList.splice(flagIndex, 1);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
isYue(n, o) {
|
|
117
|
-
if (n === "Y") {
|
|
118
|
-
let flag = this.typeList.find((item) => item.key === "yue");
|
|
119
|
-
if (!flag) {
|
|
120
|
-
this.typeList.splice(1, 0, {
|
|
121
|
-
label: "余额",
|
|
122
|
-
key: "yue",
|
|
123
|
-
operate: '提现'
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
} else {
|
|
127
|
-
let flagIndex = this.typeList.findIndex(
|
|
128
|
-
(item) => item.key === "yue"
|
|
129
|
-
);
|
|
130
|
-
if (flagIndex !== -1) {
|
|
131
|
-
this.typeList.splice(flagIndex, 1);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
isConpon(n, o) {
|
|
136
|
-
if (n === "Y") {
|
|
137
|
-
let flag = this.typeList.find((item) => item.key === "conpon");
|
|
138
|
-
if (!flag) {
|
|
139
|
-
this.typeList.splice(2, 0, {
|
|
140
|
-
label: "优惠券",
|
|
141
|
-
key: "conpon",
|
|
142
|
-
});
|
|
143
|
-
}
|
|
144
|
-
} else {
|
|
145
|
-
let flagIndex = this.typeList.findIndex(
|
|
146
|
-
(item) => item.key === "conpon"
|
|
147
|
-
);
|
|
148
|
-
if (flagIndex !== -1) {
|
|
149
|
-
this.typeList.splice(flagIndex, 1);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
77
|
is_plus_preview() {
|
|
154
78
|
if (this.$configProject['isPreview']) {
|
|
155
79
|
this.is_vip = this.is_plus_preview
|
|
@@ -157,26 +81,19 @@
|
|
|
157
81
|
}
|
|
158
82
|
},
|
|
159
83
|
created() {
|
|
84
|
+
console.log(this.getTokenForKey('user_level'), 'user_leveluser_level');
|
|
85
|
+
this.is_vip = this.getTokenForKey('user_level') && this.getTokenForKey('user_level') === 'VIP' ? 'Y' : 'N'
|
|
160
86
|
this.init(this.container);
|
|
161
|
-
|
|
162
|
-
//todo
|
|
163
87
|
},
|
|
164
88
|
methods: {
|
|
165
89
|
onJfbLoad(options) {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
item.value = 4545
|
|
174
|
-
}
|
|
175
|
-
if (item.key === 'conpon') {
|
|
176
|
-
// item.value = 'coupon_count'
|
|
177
|
-
item.value = 3
|
|
178
|
-
}
|
|
179
|
-
return item
|
|
90
|
+
jfbRootExec("getPointsPropertyList", {
|
|
91
|
+
vm: this,
|
|
92
|
+
data: {},
|
|
93
|
+
}).then(res => {
|
|
94
|
+
this.typeList = res.list
|
|
95
|
+
}).catch(err => {
|
|
96
|
+
console.log(err, "err");
|
|
180
97
|
})
|
|
181
98
|
},
|
|
182
99
|
/**
|
|
@@ -184,9 +101,6 @@
|
|
|
184
101
|
* @param container {object} 业务组件对象自己
|
|
185
102
|
*/
|
|
186
103
|
init(container) {
|
|
187
|
-
this.isPoints = getContainerPropsValue(container, "content.isPoints", "Y");
|
|
188
|
-
this.isYue = getContainerPropsValue(container, "content.isYue", "Y");
|
|
189
|
-
this.isConpon = getContainerPropsValue(container, "content.isConpon", "Y");
|
|
190
104
|
this.plusBodyBgColor = getContainerPropsValue(container, 'content.plusBodyBgColor', 'linear-gradient(180deg, #FFFCF8 0%, #FFF3E2 100%)');
|
|
191
105
|
this.plusItemBgColor = getContainerPropsValue(container, 'content.plusItemBgColor', 'linear-gradient(136.55deg, #FFECD1 0%, #F6D6AB 100%)');
|
|
192
106
|
this.normalBodyBgColor = getContainerPropsValue(container, 'content.normalBodyBgColor', '#fff');
|
|
@@ -200,15 +114,18 @@
|
|
|
200
114
|
this.withdrawPath = getContainerPropsValue(container, 'content.withdrawPath', { value: "" }).value;
|
|
201
115
|
this.couponPath = getContainerPropsValue(container, 'content.couponPath', { value: "" }).value;
|
|
202
116
|
},
|
|
117
|
+
getAmout(amount) {
|
|
118
|
+
return this.$xdUniHelper.divisionFloatNumber(amount, 100)
|
|
119
|
+
},
|
|
203
120
|
handleTo(item) {
|
|
204
|
-
if (item.
|
|
205
|
-
this.$
|
|
121
|
+
if (item.method === 'score') {
|
|
122
|
+
this.$xdUniHelper.navigateTo({ url: `${this.pointsPath}?method=score` })
|
|
206
123
|
}
|
|
207
|
-
if (item.
|
|
208
|
-
this.$
|
|
124
|
+
if (item.method === 'wallet') {
|
|
125
|
+
this.$xdUniHelper.navigateTo({ url: `${this.withdrawPath}?method=wallet` })
|
|
209
126
|
}
|
|
210
|
-
if (item.
|
|
211
|
-
this.$
|
|
127
|
+
if (item.method === 'coupon') {
|
|
128
|
+
this.$xdUniHelper.navigateTo({ url: this.couponPath })
|
|
212
129
|
}
|
|
213
130
|
},
|
|
214
131
|
onJfbScroll(options) {
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
|
|
5
|
-
getPointsByIdFilmSquate:{},
|
|
6
|
-
|
|
7
|
-
updatePointsFilmPaiqiDate:{},
|
|
8
|
-
|
|
9
|
-
removePointsFilmAddress:{},
|
|
10
|
-
|
|
11
|
-
addPointsFilmcart:{},
|
|
12
|
-
|
|
4
|
+
getPointsPropertyList:{"list":[{"method":"wallet","coupon_count":0,"amount":20000,"name":"余额"},{"method":"score","coupon_count":0,"amount":10000,"name":"积分"},{"method":"coupon","coupon_count":0,"amount":0,"name":"优惠券"}],"request_id":"2b0ac6cb23abdbbb"},
|
|
13
5
|
}
|
|
@@ -20,4 +20,29 @@ module.exports = [
|
|
|
20
20
|
isConsole: true,
|
|
21
21
|
disabled: true,
|
|
22
22
|
},
|
|
23
|
+
{
|
|
24
|
+
//设置方法名字当别忘记加上【模块名字】:Points
|
|
25
|
+
mapFnName: 'getPointsWalletDetail',
|
|
26
|
+
title: '用户资产 - 获取钱包(或积分)余额详情',
|
|
27
|
+
path: '/pay/v1/property/wallet-detail',
|
|
28
|
+
isRule: false,
|
|
29
|
+
params: {
|
|
30
|
+
method: ['wallet 余额; score 积分;', 'Number', '非必选'],
|
|
31
|
+
},
|
|
32
|
+
isConsole: true,
|
|
33
|
+
disabled: true,
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
//设置方法名字当别忘记加上【模块名字】:Points
|
|
37
|
+
mapFnName: 'getPointsWalletTradeList',
|
|
38
|
+
title: '用户资产 - 获取钱包(或积分)交易记录列表',
|
|
39
|
+
path: '/pay/v1/property/wallet-trade/list',
|
|
40
|
+
isRule: false,
|
|
41
|
+
params: {
|
|
42
|
+
wallet_type: ['钱包类型', 'Number', '必选'],
|
|
43
|
+
page_size: ['每页条数', 'Number', '必选'],
|
|
44
|
+
},
|
|
45
|
+
isConsole: true,
|
|
46
|
+
disabled: true,
|
|
47
|
+
},
|
|
23
48
|
];
|
|
@@ -9,28 +9,24 @@
|
|
|
9
9
|
<view :style="[bodyStyleComp]" class="jfb-base-points-detail__body-points">
|
|
10
10
|
<view>
|
|
11
11
|
可用积分
|
|
12
|
-
<XdFontIcon @click="showDialog=true" style="margin-left: 10rpx" size="20" icon="iconmingchengtubiao"
|
|
12
|
+
<XdFontIcon @click="showDialog=true" style="margin-left: 10rpx" size="20" icon="iconmingchengtubiao">
|
|
13
|
+
</XdFontIcon>
|
|
13
14
|
</view>
|
|
14
|
-
<view>
|
|
15
|
+
<view>{{getAmout(amount)}}</view>
|
|
15
16
|
</view>
|
|
16
|
-
<view :style="[bodyStyleComp]" class="jfb-base-points-detail__body-list">
|
|
17
|
-
<view class="jfb-base-points-detail__body-list-item">
|
|
17
|
+
<view v-if="recordList&&recordList.ength>0" :style="[bodyStyleComp]" class="jfb-base-points-detail__body-list">
|
|
18
|
+
<view v-for="(item,index) in recordList" :key="index" class="jfb-base-points-detail__body-list-item">
|
|
18
19
|
<view class="jfb-base-points-detail__body-list-item-info">
|
|
19
|
-
<view class="jfb-base-points-detail__body-list-item-info-label"
|
|
20
|
-
<view :class="
|
|
20
|
+
<view class="jfb-base-points-detail__body-list-item-info-label">{{item.trade_type_name}}</view>
|
|
21
|
+
<view :class="item.operate_type==='A'?'income':'expenses'"
|
|
22
|
+
class="jfb-base-points-detail__body-list-item-info-value"><text>{{item.operate_type==='A'?'+':'-'}}</text>
|
|
23
|
+
{{getAmout(item.amount)}}
|
|
21
24
|
</view>
|
|
22
25
|
</view>
|
|
23
|
-
<view class="jfb-base-points-detail__body-list-item-date">
|
|
24
|
-
</view>
|
|
25
|
-
<view class="jfb-base-points-detail__body-list-item">
|
|
26
|
-
<view class="jfb-base-points-detail__body-list-item-info">
|
|
27
|
-
<view class="jfb-base-points-detail__body-list-item-info-label">积分兑换余额</view>
|
|
28
|
-
<view :class="income?'income':'expenses'" class="jfb-base-points-detail__body-list-item-info-value">- 12:00
|
|
29
|
-
</view>
|
|
30
|
-
</view>
|
|
31
|
-
<view class="jfb-base-points-detail__body-list-item-date">2025-04-10 16:23</view>
|
|
26
|
+
<view class="jfb-base-points-detail__body-list-item-date">{{item.created_time}}</view>
|
|
32
27
|
</view>
|
|
33
28
|
</view>
|
|
29
|
+
<XdNoData v-else></XdNoData>
|
|
34
30
|
<XdDailog :cancel="false" @onBtn="showDialog=false" confirmText="我知道了" title="积分说明" :show.sync="showDialog">
|
|
35
31
|
<xd-content-xss v-html="notice"></xd-content-xss>
|
|
36
32
|
</XdDailog>
|
|
@@ -40,8 +36,9 @@
|
|
|
40
36
|
|
|
41
37
|
<script>
|
|
42
38
|
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
43
|
-
import XdDailog from '@/components/XdDailog/XdDailog.vue'
|
|
44
|
-
import
|
|
39
|
+
import XdDailog from '@/components/XdDailog/XdDailog.vue';
|
|
40
|
+
import XdNoData from "@/components/XdNoData/XdNoData";
|
|
41
|
+
import XdContentXss from '@/components/XdContentXss/XdContentXss';
|
|
45
42
|
import { jfbRootExec } from "@/utils/xd.event";
|
|
46
43
|
import JfbBasePointsDetailMixin from "./JfbBasePointsDetailMixin";
|
|
47
44
|
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
@@ -52,7 +49,8 @@
|
|
|
52
49
|
components: {
|
|
53
50
|
XdFontIcon,
|
|
54
51
|
XdDailog,
|
|
55
|
-
XdContentXss
|
|
52
|
+
XdContentXss,
|
|
53
|
+
XdNoData
|
|
56
54
|
},
|
|
57
55
|
mixins: [
|
|
58
56
|
componentsMixins, extsMixins, JfbBasePointsDetailMixin
|
|
@@ -66,7 +64,10 @@
|
|
|
66
64
|
bgColor: '',
|
|
67
65
|
bodyBorder: {},
|
|
68
66
|
notice: '',
|
|
69
|
-
showDialog: false
|
|
67
|
+
showDialog: false,
|
|
68
|
+
method: '',
|
|
69
|
+
amount: 0,
|
|
70
|
+
recordList: []
|
|
70
71
|
}
|
|
71
72
|
},
|
|
72
73
|
computed: {
|
|
@@ -93,8 +94,14 @@
|
|
|
93
94
|
},
|
|
94
95
|
methods: {
|
|
95
96
|
onJfbLoad(options) {
|
|
97
|
+
console.log(this.getTokenForKey('csrf_user_id'), 'user_leveluser_level');
|
|
98
|
+
this.method = options.method
|
|
99
|
+
this.getPointsDetail()
|
|
96
100
|
this.getContent()
|
|
97
101
|
},
|
|
102
|
+
getAmout(amount) {
|
|
103
|
+
return this.$xdUniHelper.divisionFloatNumber(amount, 100)
|
|
104
|
+
},
|
|
98
105
|
getContent() {
|
|
99
106
|
jfbRootExec("getListBaseNewsContent", {
|
|
100
107
|
vm: this,
|
|
@@ -116,6 +123,41 @@
|
|
|
116
123
|
console.error(error);
|
|
117
124
|
});
|
|
118
125
|
},
|
|
126
|
+
getPointsDetail() {
|
|
127
|
+
jfbRootExec("getPointsWalletDetail", {
|
|
128
|
+
vm: this,
|
|
129
|
+
data: {
|
|
130
|
+
method: this.method
|
|
131
|
+
},
|
|
132
|
+
}).then(res => {
|
|
133
|
+
this.amount = res.wallet_list[0].amount
|
|
134
|
+
this.wallet_type = res.wallet_list[0].wallet_type
|
|
135
|
+
this.getPointsRecord()
|
|
136
|
+
})
|
|
137
|
+
},
|
|
138
|
+
getPointsRecord() {
|
|
139
|
+
jfbRootExec("getPointsWalletTradeList", {
|
|
140
|
+
vm: this,
|
|
141
|
+
data: {
|
|
142
|
+
wallet_type: this.wallet_type,
|
|
143
|
+
page_size: 10,
|
|
144
|
+
},
|
|
145
|
+
}).then(res => {
|
|
146
|
+
let list = res.list.map(item => {
|
|
147
|
+
item["created_time"] = this.$xdUniHelper.getDate(
|
|
148
|
+
item["created_time"] * 1000
|
|
149
|
+
).fullTime;
|
|
150
|
+
return item;
|
|
151
|
+
})
|
|
152
|
+
if (this.page_token === 1) {
|
|
153
|
+
this.recordList = list
|
|
154
|
+
} else {
|
|
155
|
+
this.recordList = this.recordList.concat(list);
|
|
156
|
+
}
|
|
157
|
+
this.next_page_token = res.next_page_token
|
|
158
|
+
this.hasNext = res.next_page_token !== "";
|
|
159
|
+
})
|
|
160
|
+
},
|
|
119
161
|
/**
|
|
120
162
|
* @description 监听事件变化
|
|
121
163
|
* @param container {object} 业务组件对象自己
|
|
@@ -133,7 +175,10 @@
|
|
|
133
175
|
console.log('event.onJfbScroll', options)
|
|
134
176
|
},
|
|
135
177
|
onJfbReachBottom(options) {
|
|
136
|
-
|
|
178
|
+
if (this.hasNext) {
|
|
179
|
+
this.page_token = this.next_page_token;
|
|
180
|
+
this.getPointsRecord()
|
|
181
|
+
}
|
|
137
182
|
},
|
|
138
183
|
onJfbShow(options) {
|
|
139
184
|
console.log('event.onJfbShow', options)
|
|
@@ -174,6 +219,7 @@
|
|
|
174
219
|
color: #333;
|
|
175
220
|
font-size: 64rpx;
|
|
176
221
|
font-weight: 500;
|
|
222
|
+
margin-top: 20rpx;
|
|
177
223
|
}
|
|
178
224
|
}
|
|
179
225
|
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
updatePointsFilmPaiqiDate:{},
|
|
8
|
-
|
|
9
|
-
removePointsFilmAddress:{},
|
|
10
|
-
|
|
11
|
-
addPointsFilmcart:{},
|
|
12
|
-
|
|
4
|
+
getPointsWalletDetail:{"wallet_list":[{"sort":1,"wallet_type":"US","show_name":"可用积分","amount":10000,"is_support_withdraw":"N"}],"request_id":"43fa9f773f0c3014"},
|
|
5
|
+
getPointsWalletTradeList: {"next_page_token":"","total_size":0,"list":[{"trade_nnid":"zd0rYpZgWXE9Yf8e1mtH3","order_id":"111112-2025041517-03-54","amount":10000,"trade_type":"activity_a","trade_type_name":"活动收入","operate_type":"A","operate_type_name":"收入","trade_name":"","comment":"","created_time":1744707836}],"request_id":"eec94260e6f9de53"}
|
|
13
6
|
}
|
|
@@ -6,51 +6,34 @@
|
|
|
6
6
|
*/
|
|
7
7
|
module.exports = [
|
|
8
8
|
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
path: '/api/account/film/list-film-square',
|
|
9
|
+
mapFnName: 'getMonthSavingDetail',
|
|
10
|
+
title: '省钱明细-月度',
|
|
11
|
+
path: '/member/v1/money-saving-record/month',
|
|
13
12
|
isRule: false,
|
|
14
13
|
params: {
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
year: ['年', 'Number', true],
|
|
15
|
+
month: ['月', 'Number', true],
|
|
17
16
|
},
|
|
18
17
|
isConsole: true,
|
|
19
18
|
disabled: true,
|
|
20
19
|
},
|
|
21
20
|
{
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
path: '/api/account/film/paiqi-date',
|
|
21
|
+
mapFnName: 'getTotalSavingDetail',
|
|
22
|
+
title: '省钱明细-累计',
|
|
23
|
+
path: '/member/v1/money-saving-record/total',
|
|
26
24
|
isRule: false,
|
|
27
25
|
params: {
|
|
28
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
29
|
-
cinema_id: ['影院id', 'Number', '必选'],
|
|
30
26
|
},
|
|
31
27
|
isConsole: true,
|
|
32
28
|
disabled: true,
|
|
33
29
|
},
|
|
34
30
|
{
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
path: '/api/account/film/paiqi-date',
|
|
31
|
+
mapFnName: 'getYearSavingDetail',
|
|
32
|
+
title: '省钱明细-年度',
|
|
33
|
+
path: '/member/v1/money-saving-record/year',
|
|
39
34
|
isRule: false,
|
|
40
35
|
params: {
|
|
41
|
-
|
|
42
|
-
},
|
|
43
|
-
isConsole: true,
|
|
44
|
-
disabled: true,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
//设置方法名字当别忘记加上【模块名字】:Saving
|
|
48
|
-
mapFnName: 'addSavingFilmcart',
|
|
49
|
-
title: '添加购物车',
|
|
50
|
-
path: '/api/account/film/paiqi-date',
|
|
51
|
-
isRule: false,
|
|
52
|
-
params: {
|
|
53
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
36
|
+
year: ['年', 'Number', true],
|
|
54
37
|
},
|
|
55
38
|
isConsole: true,
|
|
56
39
|
disabled: true,
|
|
@@ -7,40 +7,62 @@ export default {
|
|
|
7
7
|
style: [],
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
|
+
{
|
|
11
|
+
ele: 'title',
|
|
12
|
+
label: '切换标签设置',
|
|
13
|
+
size: 'small',
|
|
14
|
+
groupKey: 'style',
|
|
15
|
+
},
|
|
10
16
|
{
|
|
11
17
|
label: '背景颜色:',
|
|
12
18
|
ele: 'xd-color',
|
|
13
|
-
valueKey: '
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
19
|
+
valueKey: 'titleBgc',
|
|
20
|
+
groupKey: 'style',
|
|
21
|
+
value: data['titleBgc'] || '',
|
|
22
|
+
placeholder: '请选择背景颜色',
|
|
23
|
+
classNmae: 'input80',
|
|
17
24
|
},
|
|
18
25
|
{
|
|
19
|
-
label: '
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
value: data['select-pages-path'] || null,
|
|
26
|
+
label: '外填充:',
|
|
27
|
+
ele: 'xd-margin-padding',
|
|
28
|
+
valueKey: 'tabPadding',
|
|
29
|
+
groupKey: 'style',
|
|
30
|
+
value: data['tabPadding'] || null,
|
|
25
31
|
setting: {
|
|
26
|
-
|
|
32
|
+
type: 'padding',
|
|
27
33
|
},
|
|
34
|
+
placeholder: '请设置外填充',
|
|
35
|
+
inline: false,
|
|
36
|
+
notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">上下20,左右0</span>像素',
|
|
28
37
|
},
|
|
29
|
-
|
|
30
|
-
label: '
|
|
38
|
+
{
|
|
39
|
+
label: '切换标签与内容之间间距:',
|
|
31
40
|
ele: 'el-input',
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
valueKey: '
|
|
35
|
-
value: data
|
|
36
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
41
|
+
type: 'text',
|
|
42
|
+
groupKey: 'style',
|
|
43
|
+
valueKey: 'titlePadding',
|
|
44
|
+
value: data['titlePadding'] || '',
|
|
37
45
|
className: 'input60',
|
|
46
|
+
inline: false,
|
|
47
|
+
notice:'设置切换标签与内容之间间距,默认值:<span style="color:red">0</span>像素'
|
|
38
48
|
},
|
|
39
49
|
{
|
|
40
|
-
label: '',
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
50
|
+
label: '未选中文字颜色:',
|
|
51
|
+
ele: 'xd-color',
|
|
52
|
+
valueKey: 'titleColor',
|
|
53
|
+
value: data['titleColor'] || '',
|
|
54
|
+
groupKey: 'style',
|
|
55
|
+
placeholder: '请选择未选中文字颜色',
|
|
56
|
+
classNmae: 'input80',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
label: '选中文字颜色:',
|
|
60
|
+
ele: 'xd-color',
|
|
61
|
+
valueKey: 'titleActColor',
|
|
62
|
+
value: data['titleActColor'] || '',
|
|
63
|
+
groupKey: 'style',
|
|
64
|
+
placeholder: '请选择选中文字颜色',
|
|
65
|
+
classNmae: 'input80',
|
|
44
66
|
},
|
|
45
67
|
].filter(i=>i)
|
|
46
68
|
},
|