jufubao-base 1.0.181-beta1 → 1.0.181
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/JfbBaseCardDelay/Api.js +30 -19
- package/src/components/JfbBaseCardDelay/Attr.js +35 -237
- package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +78 -278
- 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 -205
- package/src/components/JfbBaseCardGive/Api.js +34 -18
- package/src/components/JfbBaseCardGive/Attr.js +36 -29
- package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +80 -466
- 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 -401
- package/src/components/JfbBaseCardReceive/Mock.js +7 -1
- package/src/components/JfbBaseCardReceiveCover/Api.js +43 -5
- package/src/components/JfbBaseCardReceiveCover/Attr.js +32 -57
- package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +82 -147
- package/src/components/JfbBaseCardReceiveCover/Mock.js +9 -1
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +2 -81
- package/src/components/JfbBaseOrderDetail/Mock.js +0 -5
- package/src/components/JfbBasePay/Attr.js +0 -12
- package/src/components/JfbBasePay/JfbBasePay.vue +4 -4
- 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
|
@@ -8,21 +8,51 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
11
|
+
label: '背景颜色:',
|
|
12
|
+
ele: 'xd-color',
|
|
13
|
+
valueKey: 'bgcolor',
|
|
14
|
+
value: data.bgcolor || '',
|
|
15
|
+
placeholder: '请输入占位框背景颜色',
|
|
16
|
+
classNmae: 'input80',
|
|
17
|
+
rules: [
|
|
18
|
+
{
|
|
19
|
+
required: true,
|
|
20
|
+
message: '请输入占位框背景颜色',
|
|
21
|
+
trigger: 'blur'
|
|
22
|
+
},
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
label: '选中路径:',
|
|
12
27
|
ele: 'xd-select-pages-path',
|
|
13
|
-
valueKey: '
|
|
14
|
-
|
|
15
|
-
placeholder: '请选择使用地址',
|
|
16
|
-
value: data['use_url'] || null,
|
|
28
|
+
valueKey: 'select-pages-path',
|
|
29
|
+
value: data['select-pages-path'] || null,
|
|
17
30
|
setting: {
|
|
18
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
31
|
+
router: XdBus.getParentApi('getPagesTree')
|
|
19
32
|
},
|
|
20
|
-
|
|
33
|
+
},
|
|
34
|
+
data.bgcolor && {
|
|
35
|
+
label: '高度:',
|
|
36
|
+
ele: 'el-input',
|
|
37
|
+
type: 'number',
|
|
38
|
+
valueKey: 'height',
|
|
39
|
+
value: data.height || 100,
|
|
40
|
+
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
41
|
+
className: 'input80',
|
|
21
42
|
rules: [
|
|
22
|
-
{
|
|
43
|
+
{
|
|
44
|
+
required: true,
|
|
45
|
+
message: '请输入占位框高度',
|
|
46
|
+
trigger: 'blur'
|
|
47
|
+
},
|
|
23
48
|
]
|
|
24
49
|
},
|
|
25
|
-
|
|
50
|
+
{
|
|
51
|
+
label: '', //label
|
|
52
|
+
ele: 'slot', //package 名称
|
|
53
|
+
slot: 'is_reference',
|
|
54
|
+
},
|
|
55
|
+
].filter(i=>i)
|
|
26
56
|
},
|
|
27
57
|
advanced: [],
|
|
28
58
|
};
|
|
@@ -2,431 +2,110 @@
|
|
|
2
2
|
<view
|
|
3
3
|
class="jfb-base-card-receive"
|
|
4
4
|
@click="handleEditxSelect"
|
|
5
|
-
:class="{ editx: isEditx && active }"
|
|
5
|
+
:class="{ editx : isEditx && active }"
|
|
6
6
|
>
|
|
7
7
|
<!--#ifdef H5-->
|
|
8
8
|
<view
|
|
9
9
|
class="jfb-base-card-receive__edit"
|
|
10
|
-
:class="{ editx: isEditx && active }"
|
|
10
|
+
:class="{ editx : isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-card-receive__edit-icon" @click="delEdit"
|
|
14
|
-
>删除</view
|
|
15
|
-
>
|
|
13
|
+
<view class="jfb-base-card-receive__edit-icon" @click="delEdit">删除</view>
|
|
16
14
|
</view>
|
|
17
15
|
<!-- #endif -->
|
|
18
|
-
<view class="jfb-base-card-receive__body"
|
|
19
|
-
<view
|
|
20
|
-
class="qrcode_card"
|
|
21
|
-
:style="{ background: info['theme']['color'], backgroundSize: '100%' }"
|
|
22
|
-
>
|
|
23
|
-
<view
|
|
24
|
-
:style="{ backgroundImage: 'url(' + info['theme']['image'] + ')' }"
|
|
25
|
-
>
|
|
26
|
-
<view class="card-title"
|
|
27
|
-
><view>{{ info["card_type_name"] }}</view></view
|
|
28
|
-
>
|
|
29
|
-
<view class="card_info">
|
|
30
|
-
<view class="card_type">券号:{{ info.card_number }}</view>
|
|
31
|
-
<view class="card_sec">有效期:{{ info.end_time }}</view>
|
|
32
|
-
<view class="card_sec"
|
|
33
|
-
>余额:{{ info.card_point }}{{ info.unit }}</view
|
|
34
|
-
>
|
|
35
|
-
<view
|
|
36
|
-
class="card_other"
|
|
37
|
-
v-if="info.other_card_point && info.card_point_type === 2"
|
|
38
|
-
>
|
|
39
|
-
<text>购买其他物品可抵:</text
|
|
40
|
-
><text>{{ info.other_card_point }} {{ info.unit }}</text>
|
|
41
|
-
</view>
|
|
42
|
-
</view>
|
|
43
|
-
</view>
|
|
44
|
-
</view>
|
|
45
|
-
|
|
46
|
-
<view class="jfb-base-card-receive__body-status">
|
|
47
|
-
<view
|
|
48
|
-
style="margin-bottom: 32rpx"
|
|
49
|
-
class="jfb-base-card-receive__body-status-item"
|
|
50
|
-
>
|
|
51
|
-
<view>领取状态:</view>
|
|
52
|
-
<view
|
|
53
|
-
:style="{
|
|
54
|
-
color:
|
|
55
|
-
info.transfer_record.status === 'Y' ? '#29CB97' : mainColor,
|
|
56
|
-
}"
|
|
57
|
-
>{{ info.transfer_record.status_name }}</view
|
|
58
|
-
>
|
|
59
|
-
</view>
|
|
60
|
-
<view class="jfb-base-card-receive__body-status-item">
|
|
61
|
-
<view>赠送时间:</view>
|
|
62
|
-
<view>{{ info.transfer_record.transfer_time }}</view>
|
|
63
|
-
</view>
|
|
64
|
-
</view>
|
|
65
|
-
|
|
66
|
-
<view
|
|
67
|
-
v-if="info.site_entry_settings && info.site_entry_settings.length > 0"
|
|
68
|
-
class="jfb-base-card-receive__body-business"
|
|
69
|
-
>
|
|
70
|
-
<view class="jfb-base-card-receive__body-business-title"
|
|
71
|
-
>支持业务板块</view
|
|
72
|
-
>
|
|
73
|
-
<view
|
|
74
|
-
style="
|
|
75
|
-
display: flex;
|
|
76
|
-
align-content: center;
|
|
77
|
-
justify-content: flex-start;
|
|
78
|
-
"
|
|
79
|
-
>
|
|
80
|
-
<view class="jfb-base-card-receive__body-business-content">
|
|
81
|
-
<view
|
|
82
|
-
class="jfb-base-card-receive__body-business-content-item"
|
|
83
|
-
v-for="(item, index) in info.site_entry_settings"
|
|
84
|
-
:key="index"
|
|
85
|
-
>
|
|
86
|
-
<view><image :src="item.image_url"></image></view>
|
|
87
|
-
<view>{{ item.entry_name }}</view>
|
|
88
|
-
</view>
|
|
89
|
-
</view>
|
|
90
|
-
</view>
|
|
91
|
-
</view>
|
|
92
|
-
<view
|
|
93
|
-
v-if="info.transfer_record.status !== 'Y'"
|
|
94
|
-
style="height: 110rpx"
|
|
95
|
-
></view>
|
|
96
|
-
<view
|
|
97
|
-
v-if="info.transfer_record.status !== 'Y'"
|
|
98
|
-
class="jfb-base-card-receive__body-footer"
|
|
99
|
-
:style="prod_bottom"
|
|
100
|
-
>
|
|
101
|
-
<xd-button width="670rpx" type="primary" @click="handleReceive"
|
|
102
|
-
>立即领取</xd-button
|
|
103
|
-
>
|
|
104
|
-
</view>
|
|
105
|
-
<xd-dailog
|
|
106
|
-
title=""
|
|
107
|
-
:cancel="false"
|
|
108
|
-
:confirm="false"
|
|
109
|
-
:show.sync="dialogShow"
|
|
110
|
-
>
|
|
111
|
-
<view class="dialog">
|
|
112
|
-
<view class="dialog-title">领取失败</view>
|
|
113
|
-
<view class="dialog-content">{{ errMsg }}</view>
|
|
114
|
-
<xd-button @click="handleClose" width="360rpx" type="primary"
|
|
115
|
-
>确定</xd-button
|
|
116
|
-
>
|
|
117
|
-
</view>
|
|
118
|
-
</xd-dailog>
|
|
119
|
-
<xd-dailog
|
|
120
|
-
title=""
|
|
121
|
-
:cancel="false"
|
|
122
|
-
:confirm="false"
|
|
123
|
-
:show.sync="resultDialog"
|
|
124
|
-
>
|
|
125
|
-
<view class="dialog">
|
|
126
|
-
<view class="dialog-title">领取成功</view>
|
|
127
|
-
<view class="dialog-content">恭喜您领取成功</view>
|
|
128
|
-
<view class="dialog-notice">票券已放入您的票券列表中</view>
|
|
129
|
-
<!-- <button open-type="share">通知微信好友</button> -->
|
|
130
|
-
<xd-button @click="toUse" width="360rpx" type="primary"
|
|
131
|
-
>去使用</xd-button
|
|
132
|
-
>
|
|
133
|
-
</view>
|
|
134
|
-
</xd-dailog>
|
|
16
|
+
<view class="jfb-base-card-receive__body">
|
|
17
|
+
<view>测试插件( {{containerId}} )</view>
|
|
135
18
|
</view>
|
|
136
19
|
</view>
|
|
137
20
|
</template>
|
|
138
21
|
|
|
139
22
|
<script>
|
|
140
|
-
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
141
|
-
import
|
|
142
|
-
import
|
|
143
|
-
import {
|
|
144
|
-
import
|
|
145
|
-
import
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
export default {
|
|
152
|
-
name: "JfbBaseCardReceive",
|
|
153
|
-
components: {
|
|
154
|
-
XdFontIcon,
|
|
155
|
-
XdButton,
|
|
156
|
-
XdDailog,
|
|
157
|
-
},
|
|
158
|
-
mixins: [
|
|
159
|
-
componentsMixins,
|
|
160
|
-
extsMixins,
|
|
161
|
-
JfbBaseCardReceiveMixin,
|
|
162
|
-
colorCardMixins,
|
|
163
|
-
],
|
|
164
|
-
data() {
|
|
165
|
-
return {
|
|
166
|
-
info: null,
|
|
167
|
-
transfer_auth_code: null,
|
|
168
|
-
dialogShow: false,
|
|
169
|
-
resultDialog: false,
|
|
170
|
-
isPreview: false,
|
|
171
|
-
errMsg: "",
|
|
172
|
-
};
|
|
173
|
-
},
|
|
174
|
-
computed: {
|
|
175
|
-
prod_bottom() {
|
|
176
|
-
return this.fixedStyle({ height: 0, zIndex: 111 });
|
|
23
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
24
|
+
import { jfbRootExec } from "@/utils/xd.event";
|
|
25
|
+
import JfbBaseCardReceiveMixin from "./JfbBaseCardReceiveMixin";
|
|
26
|
+
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
27
|
+
import componentsMixins from "@/mixins/componentsMixins";
|
|
28
|
+
import extsMixins from "@/mixins/extsMixins";
|
|
29
|
+
export default {
|
|
30
|
+
name: "JfbBaseCardReceive",
|
|
31
|
+
components: {
|
|
32
|
+
XdFontIcon
|
|
177
33
|
},
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
},
|
|
184
|
-
},
|
|
185
|
-
created() {
|
|
186
|
-
this.init(this.container);
|
|
187
|
-
console.log(this.layoutInfo, "apapap");
|
|
34
|
+
mixins: [
|
|
35
|
+
componentsMixins, extsMixins, JfbBaseCardReceiveMixin
|
|
36
|
+
],
|
|
37
|
+
data() {
|
|
38
|
+
return {
|
|
188
39
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
methods: {
|
|
192
|
-
onJfbLoad(options) {
|
|
193
|
-
this.transfer_auth_code = options.transfer_auth_code;
|
|
194
|
-
this.getDetail();
|
|
195
|
-
},
|
|
196
|
-
getDetail() {
|
|
197
|
-
jfbRootExec("getReceiveDetailCard", {
|
|
198
|
-
vm: this,
|
|
199
|
-
data: {
|
|
200
|
-
transfer_auth_code: this.transfer_auth_code,
|
|
201
|
-
is_show_entry_settings: "Y",
|
|
202
|
-
},
|
|
203
|
-
})
|
|
204
|
-
.then((res) => {
|
|
205
|
-
this.info = res;
|
|
206
|
-
this.info.card_point = this.$xdUniHelper.divisionFloatNumber(
|
|
207
|
-
this.info.card_point,
|
|
208
|
-
100
|
|
209
|
-
);
|
|
210
|
-
this.info.other_card_point = this.$xdUniHelper.divisionFloatNumber(
|
|
211
|
-
this.info.other_card_point,
|
|
212
|
-
100
|
|
213
|
-
);
|
|
214
|
-
this.info["theme"] = this.getCardThemes(this.info["card_type_name"]);
|
|
215
|
-
if (
|
|
216
|
-
this.info &&
|
|
217
|
-
this.info.site_entry_settings &&
|
|
218
|
-
this.info.site_entry_settings.length > 0
|
|
219
|
-
) {
|
|
220
|
-
this.info.site_entry_settings =
|
|
221
|
-
this.info.site_entry_settings.filter((item) => {
|
|
222
|
-
item["image_url"] = getServiceUrl(item["image_url"]);
|
|
223
|
-
return this.info.business_codes.includes(item.business_code);
|
|
224
|
-
});
|
|
225
|
-
}
|
|
226
|
-
})
|
|
227
|
-
.catch((err) => {
|
|
228
|
-
console.log(err, "err");
|
|
229
|
-
});
|
|
230
|
-
},
|
|
231
|
-
handleReceive() {
|
|
232
|
-
jfbRootExec("receiveCard", {
|
|
233
|
-
vm: this,
|
|
234
|
-
data: {
|
|
235
|
-
transfer_auth_code: this.transfer_auth_code,
|
|
236
|
-
},
|
|
237
|
-
})
|
|
238
|
-
.then((res) => {
|
|
239
|
-
if (res.error_code) {
|
|
240
|
-
this.dialogShow = true;
|
|
241
|
-
this.errMsg = res.error_msg;
|
|
242
|
-
} else {
|
|
243
|
-
this.resultDialog = true;
|
|
244
|
-
this.getDetail();
|
|
245
|
-
}
|
|
246
|
-
})
|
|
247
|
-
.catch((err) => {
|
|
248
|
-
console.log(err, "err");
|
|
249
|
-
});
|
|
40
|
+
//todo
|
|
41
|
+
}
|
|
250
42
|
},
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
43
|
+
watch: {
|
|
44
|
+
container(value, oldValue) {
|
|
45
|
+
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
46
|
+
if (this.$configProject['isPreview']) this.init(value)
|
|
47
|
+
},
|
|
254
48
|
},
|
|
49
|
+
created() {
|
|
50
|
+
this.init(this.container);
|
|
255
51
|
|
|
256
|
-
|
|
257
|
-
this.$xdUniHelper.navigateTo({
|
|
258
|
-
url: `${this.use_url}`,
|
|
259
|
-
});
|
|
52
|
+
//todo
|
|
260
53
|
},
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
@
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
}
|
|
305
|
-
.card_info {
|
|
306
|
-
color: #ffffff;
|
|
307
|
-
font-size: 28rpx;
|
|
308
|
-
padding-left: 40rpx;
|
|
309
|
-
background-size: 100%;
|
|
310
|
-
min-height: unit(200, rpx);
|
|
311
|
-
|
|
312
|
-
.card_type {
|
|
313
|
-
font-size: 40rpx;
|
|
314
|
-
font-weight: 600;
|
|
315
|
-
margin-top: 20rpx;
|
|
316
|
-
}
|
|
317
|
-
.card_sec {
|
|
318
|
-
margin: 12rpx 0;
|
|
319
|
-
}
|
|
320
|
-
.card_other {
|
|
321
|
-
background-color: rgba(255, 255, 255, 0.2);
|
|
322
|
-
border-radius: 8rpx;
|
|
323
|
-
padding: 8rpx 20rpx;
|
|
324
|
-
display: inline-block;
|
|
325
|
-
margin-bottom: 30rpx;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
54
|
+
methods: {
|
|
55
|
+
onJfbLoad(options) {
|
|
56
|
+
|
|
57
|
+
// jfbRootExec('baiduUserLogin', {
|
|
58
|
+
|
|
59
|
+
// vm: this,// data: {
|
|
60
|
+
|
|
61
|
+
// account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
|
|
62
|
+
|
|
63
|
+
// }
|
|
64
|
+
|
|
65
|
+
// }).then().catch()
|
|
66
|
+
},
|
|
67
|
+
/**
|
|
68
|
+
* @description 监听事件变化
|
|
69
|
+
* @param container {object} 业务组件对象自己
|
|
70
|
+
*/
|
|
71
|
+
init(container) {
|
|
72
|
+
|
|
73
|
+
//this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
|
|
74
|
+
|
|
75
|
+
//this.height = getContainerPropsValue(container, 'content.height', 10);
|
|
76
|
+
},
|
|
77
|
+
onJfbScroll(options) {
|
|
78
|
+
console.log('event.onJfbScroll', options)
|
|
79
|
+
},
|
|
80
|
+
onJfbReachBottom(options) {
|
|
81
|
+
console.log('event.onJfbReachBottom', options)
|
|
82
|
+
},
|
|
83
|
+
onJfbShow(options) {
|
|
84
|
+
console.log('event.onJfbShow', options)
|
|
85
|
+
},
|
|
86
|
+
onJfbHide(options) {
|
|
87
|
+
console.log('event.onJfbHide', options)
|
|
88
|
+
},
|
|
89
|
+
onJfbBack(options) {
|
|
90
|
+
console.log('event.onJfbBack', options)
|
|
91
|
+
},
|
|
92
|
+
onJfbUpdate(...data) {
|
|
93
|
+
console.log('event.onJfbUpdate', data)
|
|
94
|
+
},
|
|
95
|
+
onJfbCustomEvent(options) {
|
|
96
|
+
console.log('event.onJfbReachBottom', options)
|
|
97
|
+
},
|
|
328
98
|
}
|
|
329
|
-
|
|
330
|
-
padding-top: 70rpx;
|
|
331
|
-
.dialog-title {
|
|
332
|
-
font-size: 40rpx;
|
|
333
|
-
font-weight: 500;
|
|
334
|
-
text-align: center;
|
|
335
|
-
}
|
|
336
|
-
.dialog-content {
|
|
337
|
-
font-size: 36rpx;
|
|
338
|
-
margin: 40rpx 0;
|
|
339
|
-
text-align: center;
|
|
340
|
-
}
|
|
341
|
-
.dialog-notice {
|
|
342
|
-
font-size: 24rpx;
|
|
343
|
-
color: rgba(255, 87, 51, 1);
|
|
344
|
-
text-align: center;
|
|
345
|
-
margin-bottom: 40rpx;
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
&-footer {
|
|
349
|
-
position: fixed;
|
|
350
|
-
left: 0;
|
|
351
|
-
right: 0;
|
|
352
|
-
height: unit(100, rpx);
|
|
353
|
-
display: flex;
|
|
354
|
-
justify-content: center;
|
|
355
|
-
align-items: center;
|
|
356
|
-
background: #fff;
|
|
357
|
-
}
|
|
358
|
-
&-status {
|
|
359
|
-
background: #fff;
|
|
360
|
-
border-radius: unit(16, rpx);
|
|
361
|
-
margin-top: unit(24, rpx);
|
|
362
|
-
padding: 40rpx;
|
|
363
|
-
font-size: 26rpx;
|
|
364
|
-
&-item {
|
|
365
|
-
display: flex;
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
&-business {
|
|
369
|
-
background: #fff;
|
|
370
|
-
border-radius: unit(16, rpx);
|
|
371
|
-
margin-top: unit(24, rpx);
|
|
372
|
-
|
|
373
|
-
&-title {
|
|
374
|
-
font-size: unit(28, rpx);
|
|
375
|
-
font-weight: 500;
|
|
376
|
-
text-align: center;
|
|
377
|
-
padding: unit(28, rpx);
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
&-content {
|
|
381
|
-
display: flex;
|
|
382
|
-
justify-content: flex-start;
|
|
383
|
-
align-items: center;
|
|
384
|
-
flex-flow: wrap;
|
|
385
|
-
padding-left: unit(30, rpx);
|
|
386
|
-
|
|
387
|
-
& > view {
|
|
388
|
-
width: unit(120, rpx);
|
|
389
|
-
margin-right: unit(10, rpx);
|
|
390
|
-
flex-shrink: 0;
|
|
391
|
-
display: flex;
|
|
392
|
-
justify-content: center;
|
|
393
|
-
flex-direction: column;
|
|
394
|
-
align-items: center;
|
|
395
|
-
|
|
396
|
-
& > view:first-child {
|
|
397
|
-
width: unit(76, rpx);
|
|
398
|
-
height: unit(76, rpx);
|
|
399
|
-
overflow: hidden;
|
|
99
|
+
}
|
|
400
100
|
|
|
401
|
-
|
|
402
|
-
height: 100%;
|
|
403
|
-
width: 100%;
|
|
404
|
-
}
|
|
405
|
-
}
|
|
101
|
+
</script>
|
|
406
102
|
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
font-size: unit(24, rpx);
|
|
410
|
-
line-height: unit(36, rpx);
|
|
411
|
-
margin-bottom: unit(10, rpx);
|
|
412
|
-
.uni-cut(1,36);
|
|
413
|
-
}
|
|
103
|
+
<style scoped lang="less">
|
|
104
|
+
@import "./JfbBaseCardReceiveLess.less";
|
|
414
105
|
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
justify-content: flex-start;
|
|
418
|
-
align-items: center;
|
|
419
|
-
flex-shrink: 0;
|
|
420
|
-
font-size: unit(20, rpx);
|
|
421
|
-
color: #999;
|
|
422
|
-
}
|
|
106
|
+
.jfb-base-card-receive {
|
|
107
|
+
&__body{
|
|
423
108
|
|
|
424
|
-
&:last-child {
|
|
425
|
-
margin-right: 0;
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
109
|
}
|
|
430
110
|
}
|
|
431
|
-
}
|
|
432
111
|
</style>
|
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
getCardByIdFilmSquate:{},
|
|
6
|
+
|
|
7
|
+
updateCardFilmPaiqiDate:{},
|
|
8
|
+
|
|
9
|
+
removeCardFilmAddress:{},
|
|
10
|
+
|
|
11
|
+
addCardFilmcart:{},
|
|
6
12
|
|
|
7
13
|
}
|
|
@@ -7,14 +7,52 @@
|
|
|
7
7
|
module.exports = [
|
|
8
8
|
{
|
|
9
9
|
//设置方法名字当别忘记加上【模块名字】:Card
|
|
10
|
-
mapFnName: '
|
|
11
|
-
title: '
|
|
12
|
-
path: '/
|
|
10
|
+
mapFnName: 'getCardByIdFilmSquate',
|
|
11
|
+
title: '获取电影广场列表',
|
|
12
|
+
path: '/api/account/film/list-film-square',
|
|
13
13
|
isRule: false,
|
|
14
14
|
params: {
|
|
15
|
-
|
|
15
|
+
last_key: ['当前页', 'Number', '必选'],
|
|
16
|
+
page_size: ['每页数量', 'Number', '必选'],
|
|
16
17
|
},
|
|
17
18
|
isConsole: true,
|
|
18
19
|
disabled: true,
|
|
19
|
-
}
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
//设置方法名字当别忘记加上【模块名字】:Card
|
|
23
|
+
mapFnName: 'updateCardFilmPaiqiDate',
|
|
24
|
+
title: '更新排期',
|
|
25
|
+
path: '/api/account/film/paiqi-date',
|
|
26
|
+
isRule: false,
|
|
27
|
+
params: {
|
|
28
|
+
film_id: ['电影id', 'Number', '必选'],
|
|
29
|
+
cinema_id: ['影院id', 'Number', '必选'],
|
|
30
|
+
},
|
|
31
|
+
isConsole: true,
|
|
32
|
+
disabled: true,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
//设置方法名字当别忘记加上【模块名字】:Card
|
|
36
|
+
mapFnName: 'removeCardFilmAddress',
|
|
37
|
+
title: '删除我的配送地址',
|
|
38
|
+
path: '/api/account/film/paiqi-date',
|
|
39
|
+
isRule: false,
|
|
40
|
+
params: {
|
|
41
|
+
film_id: ['电影id', 'Number', '必选'],
|
|
42
|
+
},
|
|
43
|
+
isConsole: true,
|
|
44
|
+
disabled: true,
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
//设置方法名字当别忘记加上【模块名字】:Card
|
|
48
|
+
mapFnName: 'addCardFilmcart',
|
|
49
|
+
title: '添加购物车',
|
|
50
|
+
path: '/api/account/film/paiqi-date',
|
|
51
|
+
isRule: false,
|
|
52
|
+
params: {
|
|
53
|
+
film_id: ['电影id', 'Number', '必选'],
|
|
54
|
+
},
|
|
55
|
+
isConsole: true,
|
|
56
|
+
disabled: true,
|
|
57
|
+
},
|
|
20
58
|
];
|