jufubao-base 1.0.169-beta14 → 1.0.169-beta15
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
CHANGED
|
@@ -17,11 +17,10 @@
|
|
|
17
17
|
:color="{SEAT:$parentVm.mainColor,CODE:$parentVm.subMainColor,SELL:$parentVm.successColor}"
|
|
18
18
|
:border-radius="$parentVm.imgRradius"
|
|
19
19
|
:brand-color="$parentVm.brandColor"
|
|
20
|
-
@on-schedule="
|
|
21
|
-
@on-cashier-detail="
|
|
22
|
-
@on-code-detail="
|
|
20
|
+
@on-schedule="handleFilmDetail"
|
|
21
|
+
@on-cashier-detail="handleCashierDetail"
|
|
22
|
+
@on-code-detail="handleCodeDetail"
|
|
23
23
|
></content-cinema>
|
|
24
|
-
|
|
25
24
|
<content-film v-if="parent.type === 'film'"
|
|
26
25
|
type="hot"
|
|
27
26
|
style="width: 100%; height: 100%"
|
|
@@ -31,10 +30,9 @@
|
|
|
31
30
|
:color="$parentVm.mainColor"
|
|
32
31
|
:border-radius="$parentVm.imgRradius"
|
|
33
32
|
:brand-color="$parentVm.brandColor"
|
|
34
|
-
@on-film-detail="
|
|
35
|
-
@on-buy="
|
|
33
|
+
@on-film-detail="handleFilmDetail"
|
|
34
|
+
@on-buy="handleBuy"
|
|
36
35
|
></content-film>
|
|
37
|
-
|
|
38
36
|
<content-shop v-if="parent.type === 'shop'"
|
|
39
37
|
style="width: 100%; height: 100%"
|
|
40
38
|
:keyword="keyword"
|
|
@@ -44,10 +42,9 @@
|
|
|
44
42
|
:border-radius="$parentVm.imgRradius"
|
|
45
43
|
:brand-color="$parentVm.brandColor"
|
|
46
44
|
:is-echange="'Y' || $parentVm.isShowExchange"
|
|
47
|
-
@on-shop-jhd="
|
|
48
|
-
@on-shop-detail="
|
|
45
|
+
@on-shop-jhd="handleShopJhd"
|
|
46
|
+
@on-shop-detail="handleShopDetail"
|
|
49
47
|
></content-shop>
|
|
50
|
-
|
|
51
48
|
</view>
|
|
52
49
|
</view>
|
|
53
50
|
<view v-else class="module_cont product_wrap">
|
|
@@ -68,7 +65,7 @@
|
|
|
68
65
|
:brand-color="$parentVm.brandColor"
|
|
69
66
|
:border-radius="$parentVm.imgRradius"
|
|
70
67
|
:cell="getProductCell(parent.tab)"
|
|
71
|
-
@on-product-detail="
|
|
68
|
+
@on-product-detail="handleProductDetail"
|
|
72
69
|
></content-product>
|
|
73
70
|
</view>
|
|
74
71
|
</view>
|
|
@@ -130,7 +127,7 @@
|
|
|
130
127
|
padding = `${padding} ${this.$parentVm.checkValue(this.$parentVm.allModuleTitlePadding.right, 20)}rpx`;
|
|
131
128
|
padding = `${padding} ${this.$parentVm.checkValue(this.$parentVm.allModuleTitlePadding.bottom, 20)}rpx`;
|
|
132
129
|
padding = `${padding} ${this.$parentVm.checkValue(this.$parentVm.allModuleTitlePadding.left, 20)}rpx`;
|
|
133
|
-
|
|
130
|
+
|
|
134
131
|
let allModuleTitleStyle = this.$parentVm.allModuleTitleStyle;
|
|
135
132
|
let style = {padding: padding};
|
|
136
133
|
if(allModuleTitleStyle === 'underline'){
|
|
@@ -142,7 +139,7 @@
|
|
|
142
139
|
return this.styleObjectToString(style);
|
|
143
140
|
},
|
|
144
141
|
moduleItemContStyle(){
|
|
145
|
-
let {
|
|
142
|
+
let {
|
|
146
143
|
allModuleItemContBorder, allModuleItemContShadow, allModuleItemContPadding, allModuleItemContMargin,
|
|
147
144
|
allModuleItemContRadius, allModuleItemContBgColor
|
|
148
145
|
} = this.$parentVm;
|
|
@@ -255,7 +252,40 @@
|
|
|
255
252
|
},
|
|
256
253
|
switchMenu(item){
|
|
257
254
|
this.$emit('on-switch', {...item, value: item.tab});
|
|
258
|
-
}
|
|
255
|
+
},
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
//影片
|
|
259
|
+
handleFilmDetail(film){
|
|
260
|
+
this.$parentVm.handleFilmDetail(film, this.dataConfig)
|
|
261
|
+
},
|
|
262
|
+
handleBuy(film){
|
|
263
|
+
this.$parentVm.handleBuy(film, this.dataConfig)
|
|
264
|
+
},
|
|
265
|
+
|
|
266
|
+
//影院
|
|
267
|
+
handleSchedule(cinema){
|
|
268
|
+
this.$parentVm.handleSchedule(cinema, this.dataConfig)
|
|
269
|
+
},
|
|
270
|
+
handleCashierDetail(cinema){
|
|
271
|
+
this.$parentVm.handleCashierDetail(cinema, this.dataConfig)
|
|
272
|
+
},
|
|
273
|
+
handleCodeDetail(cinema){
|
|
274
|
+
this.$parentVm.handleCodeDetail(cinema, this.dataConfig)
|
|
275
|
+
},
|
|
276
|
+
|
|
277
|
+
//门店
|
|
278
|
+
handleShopJhd(shop){
|
|
279
|
+
this.$parentVm.handleShopJhd(shop, this.dataConfig)
|
|
280
|
+
},
|
|
281
|
+
handleShopDetail(shop){
|
|
282
|
+
this.$parentVm.handleShopDetail(shop, this.dataConfig)
|
|
283
|
+
},
|
|
284
|
+
|
|
285
|
+
//商品
|
|
286
|
+
handleProductDetail(product){
|
|
287
|
+
this.$parentVm.handleProductDetail(product, this.dataConfig)
|
|
288
|
+
},
|
|
259
289
|
}
|
|
260
290
|
}
|
|
261
291
|
</script>
|
|
@@ -272,7 +302,7 @@
|
|
|
272
302
|
}
|
|
273
303
|
.module_cont{
|
|
274
304
|
padding: 20rpx 0;
|
|
275
|
-
|
|
305
|
+
|
|
276
306
|
&.product_wrap{
|
|
277
307
|
display: flex;
|
|
278
308
|
justify-content: space-between;
|
|
@@ -300,4 +330,4 @@
|
|
|
300
330
|
}
|
|
301
331
|
}
|
|
302
332
|
}
|
|
303
|
-
</style>
|
|
333
|
+
</style>
|
|
@@ -43,43 +43,43 @@
|
|
|
43
43
|
height: heightRpx,
|
|
44
44
|
backgroundColor: $parentVm.contBgColor
|
|
45
45
|
}">
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
46
|
+
<content-film
|
|
47
|
+
type="hot"
|
|
48
|
+
v-if="type_code === 'film'"
|
|
49
|
+
style="width: 100%; height: 100%"
|
|
50
|
+
:keyword="keyword"
|
|
51
|
+
:item="item"
|
|
52
|
+
:out-spacing="$parentVm.outSpacing"
|
|
53
|
+
:color="$parentVm.mainColor"
|
|
54
|
+
:border-radius="$parentVm.imgRradius"
|
|
55
|
+
@on-film-detail="handleFilmDetail"
|
|
56
|
+
@on-buy="handleBuy"
|
|
57
|
+
></content-film>
|
|
58
|
+
<content-cinema
|
|
59
|
+
v-if="type_code === 'cinema'"
|
|
60
|
+
style="width: 100%;height: 100%"
|
|
61
|
+
type="list"
|
|
62
|
+
:keyword="keyword"
|
|
63
|
+
:item="item"
|
|
64
|
+
:out-spacing="$parentVm.outSpacing"
|
|
65
|
+
:color="{SEAT:$parentVm.mainColor,CODE:$parentVm.subMainColor,SELL:$parentVm.successColor}"
|
|
66
|
+
:border-radius="$parentVm.imgRradius"
|
|
67
|
+
@on-schedule="handleSchedule"
|
|
68
|
+
@on-cashier-detail="handleCashierDetail"
|
|
69
|
+
@on-code-detail="handleCodeDetail"
|
|
70
|
+
></content-cinema>
|
|
71
|
+
<content-shop
|
|
72
|
+
v-if="type_code === 'shop'"
|
|
73
|
+
style="width: 100%; height: 100%"
|
|
74
|
+
:keyword="keyword"
|
|
75
|
+
:out-spacing="$parentVm.outSpacing"
|
|
76
|
+
:item="item"
|
|
77
|
+
:color="$parentVm.mainColor"
|
|
78
|
+
:border-radius="$parentVm.imgRradius"
|
|
79
|
+
:is-echange="'Y' || $parentVm.isShowExchange"
|
|
80
|
+
@on-shop-jhd="handleShopJhd"
|
|
81
|
+
@on-shop-detail="handleShopDetail"
|
|
82
|
+
></content-shop>
|
|
83
83
|
<content-product
|
|
84
84
|
v-if="$parentVm.productConfig !== null && type_code === 'product'"
|
|
85
85
|
style="width: 100%; height: 100%"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
:color="$parentVm.mainColor"
|
|
91
91
|
:border-radius="$parentVm.imgRradius"
|
|
92
92
|
:cell="type_other"
|
|
93
|
-
@on-product-detail="
|
|
93
|
+
@on-product-detail="handleProductDetail"
|
|
94
94
|
></content-product>
|
|
95
95
|
</view>
|
|
96
96
|
</template>
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
:brand-color="$parentVm.brandColor"
|
|
123
123
|
:border-radius="$parentVm.imgRradius"
|
|
124
124
|
:cell="type_other"
|
|
125
|
-
@on-product-detail="
|
|
125
|
+
@on-product-detail="handleProductDetail"
|
|
126
126
|
></content-product>
|
|
127
127
|
</view>
|
|
128
128
|
</view>
|
|
@@ -218,7 +218,7 @@ export default {
|
|
|
218
218
|
},
|
|
219
219
|
data(){
|
|
220
220
|
return {
|
|
221
|
-
$parentVm:
|
|
221
|
+
$parentVm:{},
|
|
222
222
|
parentStatus: false,
|
|
223
223
|
skeletonCount: 6,
|
|
224
224
|
hasNoData: false,
|
|
@@ -308,7 +308,7 @@ export default {
|
|
|
308
308
|
|
|
309
309
|
getParentMV(){
|
|
310
310
|
this.$emit('on-parent-vm', ($vm)=>{
|
|
311
|
-
this.$parentVm = $vm;
|
|
311
|
+
//this.$parentVm = $vm;
|
|
312
312
|
this.parentStatus = true;
|
|
313
313
|
})
|
|
314
314
|
},
|
|
@@ -324,7 +324,6 @@ export default {
|
|
|
324
324
|
this.getList();
|
|
325
325
|
},
|
|
326
326
|
|
|
327
|
-
|
|
328
327
|
getList(){
|
|
329
328
|
let time = new Date().getTime();
|
|
330
329
|
|
|
@@ -379,7 +378,40 @@ export default {
|
|
|
379
378
|
})
|
|
380
379
|
}
|
|
381
380
|
})
|
|
382
|
-
}
|
|
381
|
+
},
|
|
382
|
+
|
|
383
|
+
//影片
|
|
384
|
+
handleFilmDetail(film){
|
|
385
|
+
this.$parentVm.handleFilmDetail(film, this.dataConfig)
|
|
386
|
+
},
|
|
387
|
+
handleBuy(film){
|
|
388
|
+
this.$parentVm.handleBuy(film, this.dataConfig)
|
|
389
|
+
},
|
|
390
|
+
|
|
391
|
+
//影院
|
|
392
|
+
handleSchedule(cinema){
|
|
393
|
+
this.$parentVm.handleSchedule(cinema, this.dataConfig)
|
|
394
|
+
},
|
|
395
|
+
handleCashierDetail(cinema){
|
|
396
|
+
this.$parentVm.handleCashierDetail(cinema, this.dataConfig)
|
|
397
|
+
},
|
|
398
|
+
handleCodeDetail(cinema){
|
|
399
|
+
this.$parentVm.handleCodeDetail(cinema, this.dataConfig)
|
|
400
|
+
},
|
|
401
|
+
|
|
402
|
+
//门店
|
|
403
|
+
handleShopJhd(shop){
|
|
404
|
+
this.$parentVm.handleShopJhd(shop, this.dataConfig)
|
|
405
|
+
},
|
|
406
|
+
handleShopDetail(shop){
|
|
407
|
+
this.$parentVm.handleShopDetail(shop, this.dataConfig)
|
|
408
|
+
},
|
|
409
|
+
|
|
410
|
+
//商品
|
|
411
|
+
handleProductDetail(product){
|
|
412
|
+
this.$parentVm.handleProductDetail(product, this.dataConfig)
|
|
413
|
+
},
|
|
414
|
+
|
|
383
415
|
}
|
|
384
416
|
}
|
|
385
417
|
</script>
|
|
@@ -43,14 +43,13 @@
|
|
|
43
43
|
<view v-if="!isPreview" style="height: 100rpx;"></view>
|
|
44
44
|
|
|
45
45
|
<view class="tfk-search" :style="{padding: outSpacing + 'rpx'}">
|
|
46
|
-
<all-list v-if="tabId === 'all'"
|
|
47
|
-
:keyword="keyword"
|
|
48
|
-
@on-parent-vm="handleParentVm"
|
|
49
|
-
@on-list="handleList"
|
|
50
|
-
@on-switch="handleSwitchMenu"
|
|
51
|
-
></all-list
|
|
46
|
+
<!-- <all-list v-if="tabId === 'all'"-->
|
|
47
|
+
<!-- :keyword="keyword"-->
|
|
48
|
+
<!-- @on-parent-vm="handleParentVm"-->
|
|
49
|
+
<!-- @on-list="handleList"-->
|
|
50
|
+
<!-- @on-switch="handleSwitchMenu"-->
|
|
51
|
+
<!-- ></all-list>-->
|
|
52
52
|
<custom-list
|
|
53
|
-
v-else
|
|
54
53
|
:tab-id="tabId"
|
|
55
54
|
:keyword="keyword"
|
|
56
55
|
ref="customList"
|
|
@@ -74,14 +73,14 @@
|
|
|
74
73
|
import extsMixins from "@/mixins/extsMixins";
|
|
75
74
|
import listMixins from "./listMixins";
|
|
76
75
|
import CustomList from "./CustomList.vue";
|
|
77
|
-
import AllList from "./AllList.vue";
|
|
76
|
+
//import AllList from "./AllList.vue";
|
|
78
77
|
|
|
79
78
|
export default {
|
|
80
79
|
name: "JfbBaseTfkSearch",
|
|
81
80
|
components: {
|
|
82
81
|
CustomList,
|
|
83
82
|
XdFontIcon,
|
|
84
|
-
AllList,
|
|
83
|
+
//AllList,
|
|
85
84
|
XdSearchHistory
|
|
86
85
|
},
|
|
87
86
|
mixins: [
|