jufubao-movie 1.0.36-beta7 → 1.0.37
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/JfbMovieLineFilmInfo/Attr.js +2 -2
- package/src/components/JfbMovieLineLineSeat/XdOnlineSeat.vue +14 -17
- package/src/components/JfbMovieLineLineSeat/XdOnlineSeatMove.vue +100 -424
- package/src/components/JfbMovieLineSchedule/JfbMovieLineSchedule.vue +15 -64
- package/src/components/JfbMovieTfkFilmList/Api.js +22 -41
- package/src/components/JfbMovieTfkFilmList/Attr.js +30 -620
- package/src/components/JfbMovieTfkFilmList/JfbMovieTfkFilmList.vue +29 -944
- package/src/components/JfbMovieTfkFilmList/Mock.js +9 -4
- package/src/components/JfbMovieTfkFilmRecommend/Api.js +36 -16
- package/src/components/JfbMovieTfkFilmRecommend/Attr.js +29 -527
- package/src/components/JfbMovieTfkFilmRecommend/JfbMovieTfkFilmRecommend.vue +35 -535
- package/src/components/JfbMovieTfkFilmRecommend/Mock.js +9 -2
- package/src/mixins/componentsMixins.js +24 -275
- package/src/components/JfbMovieTfkFilmList/ContentCinema.vue +0 -147
- package/src/components/JfbMovieTfkFilmList/ContentItem.vue +0 -164
- package/src/components/JfbMovieTfkFilmList/XdQueryFilter.vue +0 -87
- package/src/components/JfbMovieTfkFilmList/XdQuerySort.vue +0 -149
- package/src/components/JfbMovieTfkFilmList/XdSwiperDot.vue +0 -234
- package/src/mixins/posterMixins.js +0 -125
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
</view>
|
|
47
47
|
</view>
|
|
48
48
|
<view v-else class="film_data_wrap">
|
|
49
|
-
<view v-if="filmInfo.poster" class="active_film_bg" :style="{backgroundImage:'url('+ filmInfo.poster +')'}"></view>
|
|
50
49
|
<view class="film_list_swiper">
|
|
51
50
|
<!-- #ifdef H5 -->
|
|
52
51
|
<z-swiper
|
|
@@ -67,21 +66,13 @@
|
|
|
67
66
|
</z-swiper-item>
|
|
68
67
|
</z-swiper>
|
|
69
68
|
<!-- #endif -->
|
|
70
|
-
<!-- #ifdef MP
|
|
71
|
-
<swiper
|
|
72
|
-
class="swiper"
|
|
73
|
-
style="height: 300rpx; width: 100%"
|
|
74
|
-
:display-multiple-items="3"
|
|
75
|
-
:current="curFilmIndex"
|
|
76
|
-
@change="handleChange"
|
|
77
|
-
>
|
|
69
|
+
<!-- #ifdef MP -->
|
|
70
|
+
<swiper class="swiper" :display-multiple-items="3" :current="curFilmIndex" @change="handleChange">
|
|
78
71
|
<swiper-item>
|
|
79
72
|
<view></view>
|
|
80
73
|
</swiper-item>
|
|
81
74
|
<swiper-item v-for="(item,index) in list" :key="index">
|
|
82
|
-
<
|
|
83
|
-
<image class="image" :class="{swiper_active : curFilmIndex===index}" :src="item.poster" mode="scaleToFill"></image>
|
|
84
|
-
</view>
|
|
75
|
+
<image class="image" :class="{swiper_active : curFilmIndex===index}" :src="item.poster" mode="aspectFit"></image>
|
|
85
76
|
</swiper-item>
|
|
86
77
|
<swiper-item>
|
|
87
78
|
<view></view>
|
|
@@ -92,7 +83,9 @@
|
|
|
92
83
|
<view v-if="filmInfo" class="film_info">
|
|
93
84
|
<view class="film_name">{{filmInfo.show_name || ""}} <view v-if="filmInfo.remark" class="film_score">评分:{{filmInfo.remark}}</view></view>
|
|
94
85
|
<view class="film_type_score">
|
|
95
|
-
<view class="film_type">
|
|
86
|
+
<view class="film_type">
|
|
87
|
+
{{filmTypeAll}}
|
|
88
|
+
</view>
|
|
96
89
|
</view>
|
|
97
90
|
</view>
|
|
98
91
|
</view>
|
|
@@ -191,11 +184,8 @@
|
|
|
191
184
|
import extsMixins from "@/mixins/extsMixins"
|
|
192
185
|
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
193
186
|
import XdTab from "@/components/XdTab/XdTab";
|
|
194
|
-
//#ifdef H5
|
|
195
187
|
import ZSwiper from "@zebra-ui/swiper/components/z-swiper/z-swiper.vue"
|
|
196
188
|
import ZSwiperItem from "@zebra-ui/swiper/components/z-swiper-item/z-swiper-item.vue"
|
|
197
|
-
//#endif
|
|
198
|
-
|
|
199
189
|
const Color = require('color');
|
|
200
190
|
import { mapState } from "vuex"
|
|
201
191
|
|
|
@@ -208,10 +198,8 @@
|
|
|
208
198
|
XdCoins,
|
|
209
199
|
XdNoticeBar,
|
|
210
200
|
XdUnit,
|
|
211
|
-
//#ifdef H5
|
|
212
201
|
ZSwiper,
|
|
213
202
|
ZSwiperItem
|
|
214
|
-
//#endif
|
|
215
203
|
},
|
|
216
204
|
mixins: [componentsMixins,extsMixins,JfbMovieLineScheduleMixin],
|
|
217
205
|
data() {
|
|
@@ -315,11 +303,12 @@
|
|
|
315
303
|
})
|
|
316
304
|
},
|
|
317
305
|
toMapNav(){
|
|
318
|
-
const { latitude, longitude, address } = this.cinemaInfo;
|
|
306
|
+
const { latitude, longitude, address,cinema_name } = this.cinemaInfo;
|
|
307
|
+
console.warn(`toMapNav: ${JSON.stringify({latitude,longitude,address,cinema_name})}`);
|
|
319
308
|
this.handleOpenLocation({
|
|
320
309
|
latitude: latitude,
|
|
321
310
|
longitude: longitude,
|
|
322
|
-
name:
|
|
311
|
+
name: cinema_name || address,
|
|
323
312
|
address: address
|
|
324
313
|
})
|
|
325
314
|
},
|
|
@@ -433,8 +422,7 @@
|
|
|
433
422
|
&__body{
|
|
434
423
|
background: #FAFAFA;
|
|
435
424
|
.schedule_wrap{
|
|
436
|
-
|
|
437
|
-
z-index: 2;
|
|
425
|
+
margin-top: 32rpx;
|
|
438
426
|
.schedule_date{
|
|
439
427
|
border-radius: 10px 10px 0px 0px;
|
|
440
428
|
background: #FFFFFF;
|
|
@@ -535,10 +523,6 @@
|
|
|
535
523
|
}
|
|
536
524
|
}
|
|
537
525
|
.film_data_wrap{
|
|
538
|
-
padding-bottom: 32rpx;
|
|
539
|
-
border-top: 1rpx solid #eee;
|
|
540
|
-
position: relative;
|
|
541
|
-
|
|
542
526
|
&.skeleton-wrap{
|
|
543
527
|
.film_list_swiper{
|
|
544
528
|
display: flex;
|
|
@@ -562,34 +546,18 @@
|
|
|
562
546
|
.image {
|
|
563
547
|
height: 100%;
|
|
564
548
|
width: 100%;
|
|
565
|
-
border-radius: 18rpx;
|
|
566
549
|
}
|
|
567
550
|
.film_list_swiper{
|
|
568
551
|
height: 300rpx;
|
|
569
552
|
width: 100%;
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
//#ifdef MP-WEIXIN
|
|
573
|
-
.image-box {
|
|
574
|
-
width: 100%;
|
|
575
|
-
height: 300rpx;
|
|
576
|
-
}
|
|
577
|
-
//#endif
|
|
553
|
+
margin: 40rpx 0;
|
|
578
554
|
|
|
579
555
|
.image {
|
|
580
|
-
margin: 0 auto;
|
|
581
|
-
//#ifdef H5
|
|
582
556
|
width: 100%;
|
|
583
|
-
//#endif
|
|
584
|
-
//#ifdef MP-WEIXIN
|
|
585
|
-
width: 220rpx;
|
|
586
|
-
border-radius: 14rpx;
|
|
587
|
-
//#endif
|
|
588
557
|
height: 300rpx;
|
|
589
558
|
transform: scale(0.9);
|
|
590
559
|
filter: contrast(0.5);
|
|
591
560
|
transition: all 300ms;
|
|
592
|
-
|
|
593
561
|
&.swiper_active{
|
|
594
562
|
transform: scale(1);
|
|
595
563
|
filter: contrast(1);
|
|
@@ -620,33 +588,16 @@
|
|
|
620
588
|
margin-top: 16rpx;
|
|
621
589
|
.film_type{
|
|
622
590
|
font-size: 24rpx;
|
|
623
|
-
color: #
|
|
591
|
+
color: #AAAAAA;
|
|
624
592
|
font-weight: 400;
|
|
625
593
|
padding: 0 40rpx;
|
|
626
594
|
}
|
|
627
595
|
|
|
628
596
|
}
|
|
629
597
|
}
|
|
630
|
-
|
|
631
|
-
.active_film_bg {
|
|
632
|
-
position: absolute;
|
|
633
|
-
background-size: 120% auto;
|
|
634
|
-
top:0;
|
|
635
|
-
left: 0;
|
|
636
|
-
right: 0;
|
|
637
|
-
bottom: -40rpx;
|
|
638
|
-
//#ifdef MP-WEIXIN
|
|
639
|
-
z-index: 0;
|
|
640
|
-
//#endif
|
|
641
|
-
//#ifdef H5
|
|
642
|
-
z-index: -1;
|
|
643
|
-
//#endif
|
|
644
|
-
opacity: .15;
|
|
645
|
-
|
|
646
|
-
}
|
|
647
598
|
}
|
|
648
599
|
.ticket_notice{
|
|
649
|
-
padding: 20rpx
|
|
600
|
+
padding: 20rpx 48rpx;
|
|
650
601
|
font-size: 26rpx;
|
|
651
602
|
line-height: 36rpx;
|
|
652
603
|
&.skeleton-wrap{
|
|
@@ -654,9 +605,9 @@
|
|
|
654
605
|
}
|
|
655
606
|
}
|
|
656
607
|
.cinema_data_wrap{
|
|
657
|
-
border-radius:
|
|
608
|
+
border-radius: 0px 0px 20rpx 20rpx;
|
|
658
609
|
background: rgba(255, 255, 255, 1);
|
|
659
|
-
box-shadow:
|
|
610
|
+
box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.05);
|
|
660
611
|
padding: 28rpx 48rpx;
|
|
661
612
|
display: flex;
|
|
662
613
|
align-items: center;
|
|
@@ -6,72 +6,53 @@
|
|
|
6
6
|
*/
|
|
7
7
|
module.exports = [
|
|
8
8
|
{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
//设置方法名字当别忘记加上【模块名字】:Tfk
|
|
10
|
+
mapFnName: 'getTfkByIdFilmSquate',
|
|
11
|
+
title: '获取电影广场列表',
|
|
12
|
+
path: '/api/account/film/list-film-square',
|
|
12
13
|
isRule: false,
|
|
13
14
|
params: {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
page_size: ['page_size', 'Number|string', '必选', '20'],
|
|
17
|
-
page_token: ['page_token', 'Number|string', '必选'],
|
|
18
|
-
scene: ['应用场景', 'string', '可选', 'list'],
|
|
15
|
+
last_key: ['当前页', 'Number', '必选'],
|
|
16
|
+
page_size: ['每页数量', 'Number', '必选'],
|
|
19
17
|
},
|
|
20
18
|
isConsole: true,
|
|
21
19
|
disabled: true,
|
|
22
20
|
},
|
|
23
21
|
{
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
22
|
+
//设置方法名字当别忘记加上【模块名字】:Tfk
|
|
23
|
+
mapFnName: 'updateTfkFilmPaiqiDate',
|
|
24
|
+
title: '更新排期',
|
|
25
|
+
path: '/api/account/film/paiqi-date',
|
|
27
26
|
isRule: false,
|
|
28
27
|
params: {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
page_size: ['page_size', 'Number|string', '必选', '20'],
|
|
32
|
-
page_token: ['page_token', 'Number|string', '必选'],
|
|
33
|
-
scene: ['应用场景', 'string', '可选', 'list'],
|
|
28
|
+
film_id: ['电影id', 'Number', '必选'],
|
|
29
|
+
cinema_id: ['影院id', 'Number', '必选'],
|
|
34
30
|
},
|
|
35
31
|
isConsole: true,
|
|
36
32
|
disabled: true,
|
|
37
33
|
},
|
|
38
34
|
{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
35
|
+
//设置方法名字当别忘记加上【模块名字】:Tfk
|
|
36
|
+
mapFnName: 'removeTfkFilmAddress',
|
|
37
|
+
title: '删除我的配送地址',
|
|
38
|
+
path: '/api/account/film/paiqi-date',
|
|
42
39
|
isRule: false,
|
|
43
40
|
params: {
|
|
44
|
-
|
|
45
|
-
latitude: ['latitude', 'Number', '必选'],
|
|
46
|
-
longitude: ['longitude', 'Number', '必选'],
|
|
41
|
+
film_id: ['电影id', 'Number', '必选'],
|
|
47
42
|
},
|
|
48
43
|
isConsole: true,
|
|
49
44
|
disabled: true,
|
|
50
45
|
},
|
|
51
46
|
{
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
//设置方法名字当别忘记加上【模块名字】:Tfk
|
|
48
|
+
mapFnName: 'addTfkFilmcart',
|
|
49
|
+
title: '添加购物车',
|
|
50
|
+
path: '/api/account/film/paiqi-date',
|
|
55
51
|
isRule: false,
|
|
56
52
|
params: {
|
|
57
|
-
|
|
58
|
-
container_id: ['插件ID', 'String', '必填'],
|
|
59
|
-
page_id: ['页面ID', 'String', '必填'],
|
|
60
|
-
page_size: ['记录条数', 'Number', '必填'],
|
|
53
|
+
film_id: ['电影id', 'Number', '必选'],
|
|
61
54
|
},
|
|
62
55
|
isConsole: true,
|
|
63
56
|
disabled: true,
|
|
64
57
|
},
|
|
65
|
-
|
|
66
|
-
{
|
|
67
|
-
mapFnName: 'getTFKSortList',
|
|
68
|
-
title: '获取内容',
|
|
69
|
-
path: '/movie/v1/film/options',
|
|
70
|
-
isRule: false,
|
|
71
|
-
params: {},
|
|
72
|
-
isConsole: true,
|
|
73
|
-
disabled: true,
|
|
74
|
-
},
|
|
75
|
-
|
|
76
|
-
//
|
|
77
58
|
];
|