jufubao-base 1.0.222-beta1 → 1.0.222
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/JfbBaseAfterOrderList/Attr.js +0 -13
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +1 -33
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +1 -1
- package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +1 -1
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +2 -2
- package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +2 -2
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +6 -6
- package/src/components/JfbBaseOrderDetail/Attr.js +0 -12
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +4 -10
- package/src/components/JfbBaseOrderList/Attr.js +0 -12
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +2 -11
- package/src/components/JfbBaseAfterSales/Api.js +0 -58
- package/src/components/JfbBaseAfterSales/Attr.js +0 -48
- package/src/components/JfbBaseAfterSales/JfbBaseAfterSales.vue +0 -111
- package/src/components/JfbBaseAfterSales/JfbBaseAfterSalesLess.less +0 -79
- package/src/components/JfbBaseAfterSales/JfbBaseAfterSalesMixin.js +0 -30
- package/src/components/JfbBaseAfterSales/Mock.js +0 -13
- package/src/components/JfbBaseAfterSalesDetail/Api.js +0 -58
- package/src/components/JfbBaseAfterSalesDetail/Attr.js +0 -48
- package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetail.vue +0 -111
- package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailLess.less +0 -79
- package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailMixin.js +0 -30
- package/src/components/JfbBaseAfterSalesDetail/Mock.js +0 -13
- package/src/components/JfbBaseAfterSalesFast/Api.js +0 -58
- package/src/components/JfbBaseAfterSalesFast/Attr.js +0 -48
- package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFast.vue +0 -111
- package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFastLess.less +0 -79
- package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFastMixin.js +0 -30
- package/src/components/JfbBaseAfterSalesFast/Mock.js +0 -13
package/package.json
CHANGED
|
@@ -5,19 +5,6 @@ export default {
|
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: (data)=>{
|
|
7
7
|
return [
|
|
8
|
-
{
|
|
9
|
-
label: "状态筛选:",
|
|
10
|
-
ele: "xd-radio",
|
|
11
|
-
valueKey: "showStatusFilter",
|
|
12
|
-
groupKey: "content",
|
|
13
|
-
value: data['showStatusFilter'],
|
|
14
|
-
placeholder: '请选择状态筛选',
|
|
15
|
-
className: 'input80',
|
|
16
|
-
list: [
|
|
17
|
-
{label:'展示',value:'Y'},
|
|
18
|
-
{label:'隐藏',value:'N'}
|
|
19
|
-
]
|
|
20
|
-
},
|
|
21
8
|
{
|
|
22
9
|
label: '外填充:',
|
|
23
10
|
ele: 'xd-margin-padding',
|
|
@@ -16,17 +16,7 @@
|
|
|
16
16
|
<view class="jfb-base-after-order-list__edit-icon" @click="delEdit">删除</view>
|
|
17
17
|
</view>
|
|
18
18
|
<!-- #endif -->
|
|
19
|
-
<view class="jfb-base-after-order-list__body"
|
|
20
|
-
'--main-color': mainColor,
|
|
21
|
-
}">
|
|
22
|
-
<view v-if="showStatusFilter==='Y'" class="filter_tab" :style="{
|
|
23
|
-
top: layoutInfo.top + 'rpx',
|
|
24
|
-
}">
|
|
25
|
-
<view class="filter_item active">处理中</view>
|
|
26
|
-
<view class="filter_item">已完成</view>
|
|
27
|
-
</view>
|
|
28
|
-
<view style="height: 80rpx"></view>
|
|
29
|
-
|
|
19
|
+
<view class="jfb-base-after-order-list__body">
|
|
30
20
|
<view :style="{ padding: outMargin }">
|
|
31
21
|
<view v-if="loadingList" class="skeleton-wrap">
|
|
32
22
|
<view
|
|
@@ -141,8 +131,6 @@ export default {
|
|
|
141
131
|
loadingList: true,
|
|
142
132
|
brandTextColor:'',
|
|
143
133
|
|
|
144
|
-
showStatusFilter: "",
|
|
145
|
-
|
|
146
134
|
//基础
|
|
147
135
|
radius: 0,
|
|
148
136
|
backgroundColor: "",
|
|
@@ -199,7 +187,6 @@ export default {
|
|
|
199
187
|
* @param container {object} 业务组件对象自己
|
|
200
188
|
*/
|
|
201
189
|
init(container) {
|
|
202
|
-
this.showStatusFilter = getContainerPropsValue(container, "content.showStatusFilter", "");
|
|
203
190
|
this.margin = getContainerPropsValue(container, "content.margin", {});
|
|
204
191
|
this.radius = getContainerPropsValue(container, "content.radius", 0);
|
|
205
192
|
this.backgroundColor = getContainerPropsValue(container, "content.backgroundColor", "#f8f8f8");
|
|
@@ -285,25 +272,6 @@ export default {
|
|
|
285
272
|
|
|
286
273
|
.jfb-base-after-order-list {
|
|
287
274
|
&__body {
|
|
288
|
-
.filter_tab{
|
|
289
|
-
display: flex;
|
|
290
|
-
align-items: center;
|
|
291
|
-
justify-content: center;
|
|
292
|
-
height: 80rpx;
|
|
293
|
-
line-height: 80rpx;
|
|
294
|
-
border-bottom: 1px solid #DDD;
|
|
295
|
-
position: fixed;
|
|
296
|
-
top: 0;
|
|
297
|
-
left: 0;
|
|
298
|
-
width: 100%;
|
|
299
|
-
.filter_item{
|
|
300
|
-
margin: 0 40rpx;
|
|
301
|
-
&.active{
|
|
302
|
-
border-bottom: 1px solid var(--main-color);
|
|
303
|
-
color: var(--main-color);
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
275
|
.brand-name {
|
|
308
276
|
padding-top: 5rpx;
|
|
309
277
|
font-size: 24rpx;
|
|
@@ -246,7 +246,7 @@ export default {
|
|
|
246
246
|
|
|
247
247
|
if(res && res.site_entry_settings && res.site_entry_settings.length>0) {
|
|
248
248
|
res.site_entry_settings = res.site_entry_settings.filter(item=>{
|
|
249
|
-
item['image_url'] = getServiceUrl(item['image_url'])
|
|
249
|
+
item['image_url'] = getServiceUrl(item['image_url'], 'size2')
|
|
250
250
|
return res.business_codes.includes(item.business_code)
|
|
251
251
|
})
|
|
252
252
|
}
|
|
@@ -240,7 +240,7 @@ export default {
|
|
|
240
240
|
) {
|
|
241
241
|
this.info.site_entry_settings =
|
|
242
242
|
this.info.site_entry_settings.filter((item) => {
|
|
243
|
-
item["image_url"] = getServiceUrl(item["image_url"]);
|
|
243
|
+
item["image_url"] = getServiceUrl(item["image_url"], 'size2');
|
|
244
244
|
return this.info.business_codes.includes(item.business_code);
|
|
245
245
|
});
|
|
246
246
|
}
|
|
@@ -363,7 +363,7 @@ export default {
|
|
|
363
363
|
|
|
364
364
|
if(res && res.site_entry_settings && res.site_entry_settings.length > 0) {
|
|
365
365
|
temp.site_entry_settings = res.site_entry_settings.filter(item=>{
|
|
366
|
-
item['image_url'] = getServiceUrl(item['image_url'])
|
|
366
|
+
item['image_url'] = getServiceUrl(item['image_url'], 'size2')
|
|
367
367
|
return res.business_codes.includes(item.business_code)
|
|
368
368
|
})
|
|
369
369
|
}
|
|
@@ -400,7 +400,7 @@ export default {
|
|
|
400
400
|
});
|
|
401
401
|
if(res && res.site_entry_settings && res.site_entry_settings.length>0) {
|
|
402
402
|
temp.site_entry_settings = res.site_entry_settings.filter(item=>{
|
|
403
|
-
item['image_url'] = getServiceUrl(item['image_url'])
|
|
403
|
+
item['image_url'] = getServiceUrl(item['image_url'], 'size2')
|
|
404
404
|
return res.business_codes.includes(item.business_code)
|
|
405
405
|
})
|
|
406
406
|
}
|
|
@@ -217,7 +217,7 @@ export default {
|
|
|
217
217
|
) {
|
|
218
218
|
this.info.site_entry_settings =
|
|
219
219
|
this.info.site_entry_settings.filter((item) => {
|
|
220
|
-
item["image_url"] = getServiceUrl(item["image_url"]);
|
|
220
|
+
item["image_url"] = getServiceUrl(item["image_url"], 'size2');
|
|
221
221
|
return this.info.business_codes.includes(item.business_code);
|
|
222
222
|
});
|
|
223
223
|
}
|
|
@@ -256,7 +256,7 @@ export default {
|
|
|
256
256
|
|
|
257
257
|
toUse() {
|
|
258
258
|
console.log(this.use_url,'this.use_url');
|
|
259
|
-
|
|
259
|
+
|
|
260
260
|
this.$xdUniHelper.navigateTo({
|
|
261
261
|
url: `${this.use_url}`,
|
|
262
262
|
});
|
|
@@ -56,17 +56,17 @@
|
|
|
56
56
|
mixins: [componentsMixins,extsMixins,JfbBaseFooterMixin],
|
|
57
57
|
computed:{
|
|
58
58
|
bodyStyle(){
|
|
59
|
-
let
|
|
60
|
-
if(this.backgroundImage && this.backgroundImage.url) {
|
|
61
|
-
background = `url(${getServiceUrl(this.backgroundImage.url)})`;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
59
|
+
let params = {
|
|
64
60
|
height: this.height + 'rpx',
|
|
65
|
-
backgroundImage: background,
|
|
66
61
|
backgroundSize: '100% 100%',
|
|
67
62
|
backgroundRepeat: 'no-repeat',
|
|
68
63
|
backgroundPosition: 'top center',
|
|
69
64
|
}
|
|
65
|
+
|
|
66
|
+
if(this.backgroundImage && this.backgroundImage.url) {
|
|
67
|
+
params['backgroundImage'] = `url(${getServiceUrl(this.backgroundImage.url)})`;
|
|
68
|
+
}
|
|
69
|
+
return params
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
data() {
|
|
@@ -5,18 +5,6 @@ export default {
|
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: (data)=>{
|
|
7
7
|
return [
|
|
8
|
-
{
|
|
9
|
-
label: "申请售后:",
|
|
10
|
-
ele: 'xd-radio',
|
|
11
|
-
valueKey: "showApplyAfter",
|
|
12
|
-
value: data.showApplyAfter || 'N',
|
|
13
|
-
list: [
|
|
14
|
-
{label: '展示', value: 'Y'},
|
|
15
|
-
{label: '隐藏', value: 'N'},
|
|
16
|
-
],
|
|
17
|
-
groupKey:'content',
|
|
18
|
-
labelInline: true,
|
|
19
|
-
},
|
|
20
8
|
{
|
|
21
9
|
label: '业务类型预览(只是预览模式生效)',
|
|
22
10
|
ele: "xd-select-list",
|
|
@@ -508,9 +508,7 @@
|
|
|
508
508
|
<view :style="{ background: mainColor }"></view>
|
|
509
509
|
<view>{{ info.shop.layer_name }}</view>
|
|
510
510
|
</view>
|
|
511
|
-
<view class="jfb-base-order-detail__body-shop-name">
|
|
512
|
-
{{ info.shop.shop_name }}
|
|
513
|
-
</view>
|
|
511
|
+
<view class="jfb-base-order-detail__body-shop-name">{{ info.shop.shop_name }}</view>
|
|
514
512
|
<view class="jfb-base-order-detail__body-shop-address">地址: {{ info.shop.shop_address }}</view>
|
|
515
513
|
</view>
|
|
516
514
|
<view
|
|
@@ -860,8 +858,6 @@ export default {
|
|
|
860
858
|
showPassword: false,
|
|
861
859
|
dialogPassword: "",
|
|
862
860
|
|
|
863
|
-
showApplyAfter: "",
|
|
864
|
-
|
|
865
861
|
//基础
|
|
866
862
|
radius: 0,
|
|
867
863
|
backgroundColor: "",
|
|
@@ -1054,7 +1050,7 @@ export default {
|
|
|
1054
1050
|
res.sub_orders &&
|
|
1055
1051
|
res.sub_orders.map((item) => {
|
|
1056
1052
|
item.products = item.products.map((Sitem) => {
|
|
1057
|
-
Sitem.product_thumb = getServiceUrl(Sitem.product_thumb);
|
|
1053
|
+
Sitem.product_thumb = getServiceUrl(Sitem.product_thumb, 'size4');
|
|
1058
1054
|
Sitem.sale_price = this.$xdUniHelper.divisionFloatNumber(
|
|
1059
1055
|
Sitem.sale_price,
|
|
1060
1056
|
100
|
|
@@ -1090,7 +1086,7 @@ export default {
|
|
|
1090
1086
|
res.codes &&
|
|
1091
1087
|
res.codes.map((item) => {
|
|
1092
1088
|
if(item.logo) {
|
|
1093
|
-
item.logo = getServiceUrl(item.logo)
|
|
1089
|
+
item.logo = getServiceUrl(item.logo, 'size5')
|
|
1094
1090
|
}
|
|
1095
1091
|
if (
|
|
1096
1092
|
item.show_type === "qrcode"
|
|
@@ -1133,7 +1129,7 @@ export default {
|
|
|
1133
1129
|
res.film_show.show_time = this.$xdUniHelper.getDate(
|
|
1134
1130
|
res.film_show.show_time * 1000
|
|
1135
1131
|
).fullTime;
|
|
1136
|
-
res.film_show.thumb = getServiceUrl(res.film_show.thumb);
|
|
1132
|
+
res.film_show.thumb = getServiceUrl(res.film_show.thumb, 'size4');
|
|
1137
1133
|
}
|
|
1138
1134
|
|
|
1139
1135
|
//增加删除订单按钮
|
|
@@ -1191,8 +1187,6 @@ export default {
|
|
|
1191
1187
|
* @param container {object} 业务组件对象自己
|
|
1192
1188
|
*/
|
|
1193
1189
|
init(container) {
|
|
1194
|
-
this.showApplyAfter = getContainerPropsValue(container, "content.showApplyAfter", "");
|
|
1195
|
-
|
|
1196
1190
|
this.bgColor = this.$colorChange(this.mainColor).alpha(0.1).toString();
|
|
1197
1191
|
this.brandPath = getContainerPropsValue(container, "content.brandPath", {value: "",}).value;
|
|
1198
1192
|
this.payPath = getContainerPropsValue(container, "content.payPath", {value: "",}).value;
|
|
@@ -4,18 +4,6 @@ export default {
|
|
|
4
4
|
style: [],
|
|
5
5
|
content: (data)=>{
|
|
6
6
|
return [
|
|
7
|
-
{
|
|
8
|
-
label: "申请售后:",
|
|
9
|
-
ele: 'xd-radio',
|
|
10
|
-
valueKey: "showApplyAfter",
|
|
11
|
-
value: data.showApplyAfter || 'N',
|
|
12
|
-
list: [
|
|
13
|
-
{label: '展示', value: 'Y'},
|
|
14
|
-
{label: '隐藏', value: 'N'},
|
|
15
|
-
],
|
|
16
|
-
groupKey:'content',
|
|
17
|
-
labelInline: true,
|
|
18
|
-
},
|
|
19
7
|
{
|
|
20
8
|
label: "布局样式配置",
|
|
21
9
|
ele: "xd-radio",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
:key="Sitem.key"
|
|
98
98
|
v-if="(item['isOpen'] === false && Sindex < showLen) || item['isOpen']"
|
|
99
99
|
>
|
|
100
|
-
<image :src="
|
|
100
|
+
<image :src="Sitem.product_thumb" style="background: #ffffff" mode="aspectFit"></image>
|
|
101
101
|
<view class="jfb-base-order-list__body-order-item-content-info">
|
|
102
102
|
<view class="jfb-base-order-list__body-order-item-content-info-name">{{ Sitem.product_name }}</view>
|
|
103
103
|
<view class="brand-name" v-if="Sitem.brand_name" :style="{color:brandTextColor}">{{ Sitem.brand_name }}</view>
|
|
@@ -243,8 +243,6 @@ export default {
|
|
|
243
243
|
initStatus: false,
|
|
244
244
|
loadingList: true,
|
|
245
245
|
|
|
246
|
-
showApplyAfter: "",
|
|
247
|
-
|
|
248
246
|
//基础
|
|
249
247
|
radius: 0,
|
|
250
248
|
backgroundColor: "",
|
|
@@ -309,9 +307,6 @@ export default {
|
|
|
309
307
|
this.init(this.container);
|
|
310
308
|
},
|
|
311
309
|
methods: {
|
|
312
|
-
setImageCdnUrl(url){
|
|
313
|
-
return getServiceUrl(url,'size4')
|
|
314
|
-
},
|
|
315
310
|
getKey(id, index){
|
|
316
311
|
return id + index;
|
|
317
312
|
},
|
|
@@ -337,7 +332,6 @@ export default {
|
|
|
337
332
|
* @param container {object} 业务组件对象自己
|
|
338
333
|
*/
|
|
339
334
|
init(container) {
|
|
340
|
-
this.showApplyAfter = getContainerPropsValue(container, "content.showApplyAfter", "");
|
|
341
335
|
this.margin = getContainerPropsValue(container, "content.margin", {top: 0, left: 0, right: 0, bottom: 0,});
|
|
342
336
|
this.radius = getContainerPropsValue(container, "content.radius", 0);
|
|
343
337
|
this.backgroundColor = getContainerPropsValue(container, "content.backgroundColor", "#f8f8f8");
|
|
@@ -382,9 +376,6 @@ export default {
|
|
|
382
376
|
item['isOpen'] = !item['isOpen']
|
|
383
377
|
},
|
|
384
378
|
|
|
385
|
-
switchOpen(item){
|
|
386
|
-
item['isOpen'] = !item['isOpen']
|
|
387
|
-
},
|
|
388
379
|
|
|
389
380
|
cancelUnPayOrder(main_order_id) {
|
|
390
381
|
this.$xdConfirm({
|
|
@@ -459,7 +450,7 @@ export default {
|
|
|
459
450
|
item.products = item.products.map((prod, i) => {
|
|
460
451
|
prod['key'] = prod.product_id + i;
|
|
461
452
|
prod["product_thumb"] = prod.product_thumb
|
|
462
|
-
? getServiceUrl(prod.product_thumb)
|
|
453
|
+
? getServiceUrl(prod.product_thumb, 'size3')
|
|
463
454
|
: "";
|
|
464
455
|
return prod;
|
|
465
456
|
});
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
/**
|
|
3
|
-
* @description 接口配置,
|
|
4
|
-
* 在设置方法名字当时候,别忘记加上【模块名字】:After
|
|
5
|
-
* @type {*[]}
|
|
6
|
-
*/
|
|
7
|
-
module.exports = [
|
|
8
|
-
{
|
|
9
|
-
//设置方法名字当别忘记加上【模块名字】:After
|
|
10
|
-
mapFnName: 'getAfterByIdFilmSquate',
|
|
11
|
-
title: '获取电影广场列表',
|
|
12
|
-
path: '/api/account/film/list-film-square',
|
|
13
|
-
isRule: false,
|
|
14
|
-
params: {
|
|
15
|
-
last_key: ['当前页', 'Number', '必选'],
|
|
16
|
-
page_size: ['每页数量', 'Number', '必选'],
|
|
17
|
-
},
|
|
18
|
-
isConsole: true,
|
|
19
|
-
disabled: true,
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
//设置方法名字当别忘记加上【模块名字】:After
|
|
23
|
-
mapFnName: 'updateAfterFilmPaiqiDate',
|
|
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
|
-
//设置方法名字当别忘记加上【模块名字】:After
|
|
36
|
-
mapFnName: 'removeAfterFilmAddress',
|
|
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
|
-
//设置方法名字当别忘记加上【模块名字】:After
|
|
48
|
-
mapFnName: 'addAfterFilmcart',
|
|
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
|
-
},
|
|
58
|
-
];
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
|
-
*/
|
|
6
|
-
export default {
|
|
7
|
-
style: [],
|
|
8
|
-
content: (data) => {
|
|
9
|
-
return [
|
|
10
|
-
{
|
|
11
|
-
label: '背景颜色:',
|
|
12
|
-
ele: 'xd-color',
|
|
13
|
-
valueKey: 'bgColor',
|
|
14
|
-
value: data.bgColor || '',
|
|
15
|
-
placeholder: '请输入占位框背景颜色',
|
|
16
|
-
groupKey:'content',
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
label: '选中路径:',
|
|
20
|
-
groupKey:'advanced',
|
|
21
|
-
className: 'input100',
|
|
22
|
-
ele: 'xd-select-pages-path',
|
|
23
|
-
valueKey: 'select-pages-path',
|
|
24
|
-
value: data['select-pages-path'] || null,
|
|
25
|
-
setting: {
|
|
26
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
data.bgColor && {
|
|
30
|
-
label: '高度:',
|
|
31
|
-
ele: 'el-input',
|
|
32
|
-
groupKey:'style',
|
|
33
|
-
type: 'number',
|
|
34
|
-
valueKey: 'height',
|
|
35
|
-
value: data.height || 100,
|
|
36
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
37
|
-
className: 'input60',
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
label: '', //label
|
|
41
|
-
groupKey:'advanced',
|
|
42
|
-
ele: 'slot', //package 名称
|
|
43
|
-
slot: 'is_reference',
|
|
44
|
-
},
|
|
45
|
-
].filter(i=>i)
|
|
46
|
-
},
|
|
47
|
-
advanced: [],
|
|
48
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<view
|
|
3
|
-
class="jfb-base-after-sales"
|
|
4
|
-
@click="handleEditxSelect"
|
|
5
|
-
:class="{ editx : isEditx && active }"
|
|
6
|
-
>
|
|
7
|
-
<!--#ifdef H5-->
|
|
8
|
-
<view
|
|
9
|
-
class="jfb-base-after-sales__edit"
|
|
10
|
-
:class="{ editx : isEditx && active }"
|
|
11
|
-
v-if="isEditx && active"
|
|
12
|
-
>
|
|
13
|
-
<view class="jfb-base-after-sales__edit-icon" @click="delEdit">删除</view>
|
|
14
|
-
</view>
|
|
15
|
-
<!-- #endif -->
|
|
16
|
-
<view class="jfb-base-after-sales__body">
|
|
17
|
-
<view>售后申请</view>
|
|
18
|
-
</view>
|
|
19
|
-
</view>
|
|
20
|
-
</template>
|
|
21
|
-
|
|
22
|
-
<script>
|
|
23
|
-
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
24
|
-
import { jfbRootExec } from "@/utils/xd.event";
|
|
25
|
-
import JfbBaseAfterSalesMixin from "./JfbBaseAfterSalesMixin";
|
|
26
|
-
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
27
|
-
import componentsMixins from "@/mixins/componentsMixins";
|
|
28
|
-
import extsMixins from "@/mixins/extsMixins";
|
|
29
|
-
export default {
|
|
30
|
-
name: "JfbBaseAfterSales",
|
|
31
|
-
components: {
|
|
32
|
-
XdFontIcon
|
|
33
|
-
},
|
|
34
|
-
mixins: [
|
|
35
|
-
componentsMixins, extsMixins, JfbBaseAfterSalesMixin
|
|
36
|
-
],
|
|
37
|
-
data() {
|
|
38
|
-
return {
|
|
39
|
-
|
|
40
|
-
//todo
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
watch: {
|
|
44
|
-
container(value, oldValue) {
|
|
45
|
-
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
46
|
-
if (this.$configProject['isPreview']) this.init(value)
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
created() {
|
|
50
|
-
this.init(this.container);
|
|
51
|
-
|
|
52
|
-
//todo
|
|
53
|
-
},
|
|
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
|
-
},
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
</script>
|
|
102
|
-
|
|
103
|
-
<style scoped lang="less">
|
|
104
|
-
@import "./JfbBaseAfterSalesLess.less";
|
|
105
|
-
|
|
106
|
-
.jfb-base-after-sales {
|
|
107
|
-
&__body{
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
</style>
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @desc 获取绝对路径完整地址
|
|
3
|
-
* @param @path
|
|
4
|
-
**/
|
|
5
|
-
//例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
|
|
6
|
-
@basePath: 'business/';
|
|
7
|
-
@doMain: '//sandbox-img.jufubao.cn/';
|
|
8
|
-
|
|
9
|
-
.getBusinessImageUrl(@path, @size: 'size8') {
|
|
10
|
-
@url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
|
|
11
|
-
background-image: url(@url);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
//start
|
|
15
|
-
.jfb-base-after-sales {
|
|
16
|
-
box-sizing: border-box;
|
|
17
|
-
|
|
18
|
-
&__body{
|
|
19
|
-
position: relative;
|
|
20
|
-
overflow: hidden;
|
|
21
|
-
z-index: 2
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.editx,&.editx:hover {
|
|
25
|
-
position: relative;
|
|
26
|
-
min-height: unit(100, rpx);
|
|
27
|
-
z-index: 3;
|
|
28
|
-
&::after {
|
|
29
|
-
border: 2rpx dashed blue;
|
|
30
|
-
content: " ";
|
|
31
|
-
position: absolute;
|
|
32
|
-
top:0;
|
|
33
|
-
left:0;
|
|
34
|
-
bottom:0;
|
|
35
|
-
right:0;
|
|
36
|
-
z-index: 4;
|
|
37
|
-
cursor: pointer;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
&__edit {
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
position: absolute;
|
|
46
|
-
right: unit(0, rpx);
|
|
47
|
-
top: unit(-52, rpx);
|
|
48
|
-
height: unit(50, rpx);
|
|
49
|
-
line-height: unit(50, rpx);
|
|
50
|
-
display: flex;
|
|
51
|
-
justify-content: center;
|
|
52
|
-
align-items: center;
|
|
53
|
-
background: rgba(0, 0, 0, .6);
|
|
54
|
-
border-radius: unit(10, rpx);
|
|
55
|
-
box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
|
|
56
|
-
color: #fff;
|
|
57
|
-
font-size: unit(22, rpx);
|
|
58
|
-
|
|
59
|
-
&-icon{
|
|
60
|
-
padding: 0 unit(20, rpx);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&.editx {
|
|
64
|
-
box-sizing: border-box;
|
|
65
|
-
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
//end
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
/**notPreview**/
|
|
73
|
-
.jfb-base-after-sales {
|
|
74
|
-
//&:before {
|
|
75
|
-
//content: " ";
|
|
76
|
-
//display: table;
|
|
77
|
-
//}
|
|
78
|
-
}
|
|
79
|
-
/**endNotPreview**/
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//@AttrImport
|
|
5
|
-
import Attr from "./Attr";
|
|
6
|
-
//@EndAttrImport
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export default {
|
|
10
|
-
data() {
|
|
11
|
-
return {
|
|
12
|
-
//#ifdef H5
|
|
13
|
-
|
|
14
|
-
//@AttrData
|
|
15
|
-
Attr:{}, //对外开发编辑属性
|
|
16
|
-
//@EndAttrData
|
|
17
|
-
|
|
18
|
-
// #endif
|
|
19
|
-
cssRoot: 'jfb-base-after-sales'
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
created() {
|
|
23
|
-
|
|
24
|
-
//@AttrDataCreated
|
|
25
|
-
this.Attr = this.$xdUniHelper.customClone(Attr);
|
|
26
|
-
//@EndAttrDataCreated
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
}
|