jufubao-movie 1.0.36-beta1 → 1.0.36-beta3
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/JfbMovieLineCinemaChoose/Mock.js +1 -1
- package/src/components/JfbMovieLineLineSeat/XdOnlineSeat.vue +13 -14
- package/src/components/JfbMovieLineLineSeat/XdOnlineSeatMove.vue +424 -100
- package/src/components/JfbMovieLineSchedule/JfbMovieLineSchedule.vue +62 -12
- package/src/components/JfbMovieTfkFilmList/Api.js +31 -22
- package/src/components/JfbMovieTfkFilmList/Attr.js +583 -31
- package/src/components/JfbMovieTfkFilmList/ContentCinema.vue +145 -0
- package/src/components/JfbMovieTfkFilmList/ContentItem.vue +164 -0
- package/src/components/JfbMovieTfkFilmList/JfbMovieTfkFilmList.vue +751 -22
- package/src/components/JfbMovieTfkFilmList/Mock.js +3 -9
- package/src/components/JfbMovieTfkFilmList/XdQueryFilter.vue +121 -0
- package/src/components/JfbMovieTfkFilmList/XdQuerySort.vue +149 -0
- package/src/components/JfbMovieTfkFilmList/XdSwiperDot.vue +234 -0
- package/src/components/JfbMovieTfkFilmRecommend/Api.js +16 -36
- package/src/components/JfbMovieTfkFilmRecommend/Attr.js +527 -29
- package/src/components/JfbMovieTfkFilmRecommend/JfbMovieTfkFilmRecommend.vue +514 -28
- package/src/components/JfbMovieTfkFilmRecommend/Mock.js +2 -9
- package/src/mixins/componentsMixins.js +275 -24
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
updateTfkFilmPaiqiDate:{},
|
|
8
|
-
|
|
9
|
-
removeTfkFilmAddress:{},
|
|
10
|
-
|
|
11
|
-
addTfkFilmcart:{},
|
|
12
|
-
|
|
4
|
+
getTFKRecFilmHotList:{"total_size":38,"list":[{"id":4782,"remark":"9.5分","show_name":"抓娃娃","type":"喜剧,剧情","open_time":"2024-07-16","show_version_list":"","director":"闫非,彭大魔","leading_role":"沈腾,马丽,史彭元,萨日娜,肖帛辰,张子栋,李嘉琦","poster":"https:\/\/gw.alicdn.com\/tfscom\/i4\/O1CN01vzguDj1jOSJrZB5WW_!!6000000004538-2-alipicbeacon.png_320x320.jpg","show_name_en":"Successor","language":"汉语普通话","sort":1515745,"is_can_buy":true,"show_button":"1","created_time":1718483705,"updated_time":1722441605},{"id":4794,"remark":"9.3分","show_name":"死侍与金刚狼","type":"喜剧,动作,科幻","open_time":"2024-07-26","show_version_list":"","director":"大卫·雷奇, 肖恩·利维","leading_role":"瑞安·雷诺兹,休·杰克曼,艾玛·科林,马修·麦克费登","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN01y7MtHL1LgjLODdiFA_!!6000000001329-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"Deadpool & Wolverine","language":"英语","sort":528516,"is_can_buy":true,"show_button":"1","created_time":1718656504,"updated_time":1722009605},{"id":4826,"remark":"9.3分","show_name":"默杀","type":"犯罪,悬疑,剧情","open_time":"2024-07-03","show_version_list":"","director":"柯汶利","leading_role":"王传君,张钧甯,吴镇宇,王圣迪","poster":"https:\/\/gw.alicdn.com\/tfscom\/i2\/O1CN0122thxn1MXrHfpLqmX_!!6000000001445-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1529283,"is_can_buy":true,"show_button":"1","created_time":1719002105,"updated_time":1721836807},{"id":4524,"remark":"","show_name":"解密","type":"剧情","open_time":"2024-08-03","show_version_list":"","director":"陈思诚","leading_role":"刘昊然,约翰·库萨克,任璐遥,陈雨锶,王雨甜,周游,朱珠","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN01DAwjiY1gFLb1HpfJA_!!6000000004112-1-alipicbeacon.gif_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1491272,"is_can_buy":false,"show_button":"2","created_time":1710189306,"updated_time":1722441605},{"id":4735,"remark":"","show_name":"异人之下","type":"奇幻,动作,喜剧","open_time":"2024-07-26","show_version_list":"","director":"乌尔善","leading_role":"胡先煦,李宛妲,冯绍峰,乔振宇,宋宁峰,娜然,那尔那茜,兰西雅,邬家楷,熊稳稳,橙一杰,刘纯燕,桑平,尚铁龙,刘星辰,隋咏良,韩鹏翼,冯粒","poster":"https:\/\/gw.alicdn.com\/tfscom\/i3\/O1CN01Z8HlNP1OIrXxhUi3w_!!6000000001683-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1354405,"is_can_buy":true,"show_button":"1","created_time":1717274108,"updated_time":1722355204},{"id":4119,"remark":"","show_name":"从21世纪安全撤离","type":"动作,爱情,科幻","open_time":"2024-08-02","show_version_list":"","director":"李阳","leading_role":"张若昀,钟楚曦,宋洋,吴晓亮,陈一辰,李卓钊,康启轩,马凡丁","poster":"https:\/\/gw.alicdn.com\/tfscom\/i3\/O1CN01etfHzZ1rAGyuFkILR_!!6000000005590-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":510782,"is_can_buy":false,"show_button":"2","created_time":1700771707,"updated_time":1722182407},{"id":4793,"remark":"9.4分","show_name":"喜羊羊与灰太狼之守护","type":"剧情","open_time":"2024-07-19","show_version_list":"","director":"黄俊铭, 陈力进","leading_role":"祖晴,张琳,梁颖,邓玉婷,刘红韵,高全胜,赵娜","poster":"https:\/\/gw.alicdn.com\/tfscom\/i4\/O1CN01DQdnLj1mzxb521pTc_!!6000000005026-1-alipicbeacon.gif_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1507753,"is_can_buy":true,"show_button":"1","created_time":1718656503,"updated_time":1721491204},{"id":4639,"remark":"9.1分","show_name":"神偷奶爸4","type":"动画,冒险","open_time":"2024-07-12","show_version_list":"","director":"克里斯·雷纳德, 帕特里克·德拉吉","leading_role":"史蒂夫·卡瑞尔,大鹏,克里斯汀·韦格,皮埃尔·柯芬,乔伊·金,庄达菲","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN01SZk9rH1ofvVaMLtmR_!!6000000005253-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"Despicable Me 4","language":"英语","sort":1394028,"is_can_buy":true,"show_button":"1","created_time":1714422906,"updated_time":1721923205},{"id":4773,"remark":"","show_name":"蓝色禁区:凪","type":"动画,运动","open_time":"2024-07-26","show_version_list":"","director":"","leading_role":"岛崎信长,内田雄马,兴津和幸,浦和希","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN01yFflY31jne63syUEo_!!6000000004593-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"劇場版 ブルーロック -EPISODE 凪-","language":"日语","sort":1529518,"is_can_buy":true,"show_button":"1","created_time":1718310908,"updated_time":1722268807},{"id":4358,"remark":"","show_name":"白蛇:浮生","type":"动画,喜剧,爱情","open_time":"2024-08-10","show_version_list":"","director":"陈健喜,李佳锴","leading_role":"张喆,杨天翔,唐小喜","poster":"https:\/\/gw.alicdn.com\/tfscom\/i2\/O1CN01dLmFgB1WtWB9LOUdr_!!6000000002846-1-alipicbeacon.gif_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1477335,"is_can_buy":false,"show_button":"2","created_time":1704054913,"updated_time":1722268808},{"id":4838,"remark":"9.1分","show_name":"你的名字。","type":"动画,爱情,剧情","open_time":"2024-07-19","show_version_list":"2D","director":"新海诚","leading_role":"上白石萌音,佟心竹,神木隆之介,皇贞季","poster":"https:\/\/gw.alicdn.com\/tfscom\/i4\/O1CN011nSx3D1SYDHfnZkKI_!!6000000002258-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"君の名は。","language":"日语","sort":205358,"is_can_buy":true,"show_button":"1","created_time":1719331447,"updated_time":1721318406},{"id":4765,"remark":"","show_name":"逆行人生","type":"剧情","open_time":"2024-08-09","show_version_list":"","director":"徐峥, 佟志坚","leading_role":"徐峥,辛芷蕾,王骁","poster":"https:\/\/gw.alicdn.com\/tfscom\/i2\/O1CN01Vh4QJo1en7ZeSr8aA_!!6000000003915-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1515757,"is_can_buy":false,"show_button":"2","created_time":1718224508,"updated_time":1722355205},{"id":4640,"remark":"9.6分","show_name":"头脑特工队2","type":"剧情,动画,喜剧,奇幻,冒险","open_time":"2024-06-21","show_version_list":"","director":"凯尔西·曼","leading_role":"艾米·波勒,关晓彤,玛雅·霍克,刘易斯·布莱克","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN01YSwbWy1R0wt9ahVQJ_!!6000000002050-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"Inside Out 2","language":"英语","sort":1441158,"is_can_buy":true,"show_button":"1","created_time":1714509306,"updated_time":1719504008},{"id":3348,"remark":"","show_name":"灌篮高手","type":"动画,运动","open_time":"2024-08-03","show_version_list":"","director":"井上雄彦","leading_role":"宫城良田,三井寿,流川枫,樱木花道,赤木刚宪,木村昴,神尾晋一郎,三宅健太,笠间淳,仲村宗悟","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN01dEcL341pCu1boUSqY_!!6000000005325-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"スラムダンク","language":"日语","sort":1358318,"is_can_buy":false,"show_button":"2","created_time":1677169225,"updated_time":1722458104},{"id":4457,"remark":"","show_name":"负负得正","type":"剧情,爱情","open_time":"2024-08-10","show_version_list":"","director":"温仕培","leading_role":"朱一龙,邱天","poster":"https:\/\/gw.alicdn.com\/tfscom\/i4\/O1CN01JhA3dM1YT4XQHNMKY_!!6000000003059-2-alipicbeacon.png_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1491273,"is_can_buy":false,"show_button":"2","created_time":1707856510,"updated_time":1722441606},{"id":4772,"remark":"8.9分","show_name":"龙卷风","type":"动作,惊悚,冒险","open_time":"2024-07-19","show_version_list":"","director":"李·以萨克·郑, 约瑟夫·科辛斯基","leading_role":"黛西·埃德加·琼斯,格伦·鲍威尔,安东尼·拉莫斯","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN01O77DH91C6hdqB2MX4_!!6000000000032-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"Twisters","language":"英语","sort":1520268,"is_can_buy":true,"show_button":"1","created_time":1718310908,"updated_time":1721923205},{"id":2603,"remark":"7.2分","show_name":"寂静之地:入侵日","type":"剧情,科幻,惊悚,恐怖","open_time":"2024-06-28","show_version_list":"","director":"","leading_role":"露皮塔·尼永奥,约瑟夫·奎恩,Schnitzel","poster":"https:\/\/gw.alicdn.com\/tfscom\/i3\/O1CN01HUaBCc21V14V7rEKA_!!6000000006989-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"A Quiet Place Part III","language":"英语","sort":1420504,"is_can_buy":true,"show_button":"1","created_time":1642868420,"updated_time":1722355208},{"id":4054,"remark":"9.5分","show_name":"落凡尘","type":"动画","open_time":"2024-07-12","show_version_list":"","director":"","leading_role":"大昕,刘校妤,刘琮","poster":"https:\/\/gw.alicdn.com\/tfscom\/i3\/O1CN01tMHu4o1JkHB9zhcGi_!!6000000001066-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1415129,"is_can_buy":true,"show_button":"1","created_time":1698784505,"updated_time":1721664009},{"id":3881,"remark":"9.2分","show_name":"云边有个小卖部","type":"剧情,爱情","open_time":"2024-06-22","show_version_list":"","director":"张嘉佳","leading_role":"彭昱畅,周也","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN0180oeAo1Lqo32JcVtM_!!6000000001351-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1368323,"is_can_buy":true,"show_button":"1","created_time":1693168507,"updated_time":1720800007},{"id":4881,"remark":"","show_name":"地球脉动:极境生存","type":"纪录片","open_time":"2024-07-27","show_version_list":"","director":"阿比盖尔·利斯","leading_role":"","poster":"https:\/\/gw.alicdn.com\/tfscom\/i4\/O1CN0164pEvw1JBvTa5W7dI_!!6000000000991-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"PLANET EARTH HOSTILE PARADISE OR PERFECT HELL?","language":"英语,汉语普通话","sort":1531404,"is_can_buy":true,"show_button":"1","created_time":1720125308,"updated_time":1722096009}],"next_page_token":"2","request_id":"506e0fd78816d8b7"},
|
|
5
|
+
getTFKRecFilmRightnowList:{"total_size":100,"list":[{"id":4119,"remark":"","show_name":"从21世纪安全撤离","type":"动作,爱情,科幻","open_time":"2024-08-02","show_version_list":"","director":"李阳","leading_role":"张若昀,钟楚曦,宋洋,吴晓亮,陈一辰,李卓钊,康启轩,马凡丁","poster":"https:\/\/gw.alicdn.com\/tfscom\/i3\/O1CN01etfHzZ1rAGyuFkILR_!!6000000005590-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":510782,"is_can_buy":false,"show_button":"2","created_time":1700771707,"updated_time":1722182407},{"id":3949,"remark":"9.7分","show_name":"功夫之王","type":"武侠,冒险,动作,奇幻,古装","open_time":"2024-08-03","show_version_list":"","director":"罗伯·明科夫","leading_role":"李连杰,成龙,刘亦菲,李冰冰","poster":"https:\/\/gw.alicdn.com\/tfscom\/i3\/TB1Ja.XAVP7gK0jSZFjXXc5aXXa_.jpg_320x320.jpg","show_name_en":"The Forbidden Kingdom","language":"英语,汉语普通话","sort":3506,"is_can_buy":false,"show_button":"3","created_time":1695830427,"updated_time":1722458104},{"id":3348,"remark":"","show_name":"灌篮高手","type":"动画,运动","open_time":"2024-08-03","show_version_list":"","director":"井上雄彦","leading_role":"宫城良田,三井寿,流川枫,樱木花道,赤木刚宪,木村昴,神尾晋一郎,三宅健太,笠间淳,仲村宗悟","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN01dEcL341pCu1boUSqY_!!6000000005325-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"スラムダンク","language":"日语","sort":1358318,"is_can_buy":false,"show_button":"2","created_time":1677169225,"updated_time":1722458104},{"id":3253,"remark":"","show_name":"我们永远是我们","type":"爱情,剧情","open_time":"2024-08-03","show_version_list":"","director":"夏孟","leading_role":"米咪,陈昕葳,姚弛","poster":"https:\/\/gw.alicdn.com\/tfscom\/i3\/O1CN010vP3091M1nYRd0pJm_!!6000000001375-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1431776,"is_can_buy":false,"show_button":"3","created_time":1673972415,"updated_time":1718208045},{"id":4918,"remark":"","show_name":"校园神探","type":"喜剧,悬疑,儿童","open_time":"2024-08-03","show_version_list":"","director":"于飞","leading_role":"林子烨,洪悦熙,裴佳欣,于书瑶","poster":"https:\/\/gw.alicdn.com\/tfscom\/i2\/O1CN012qMs2n28uOKihxmYn_!!6000000007992-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"SCHOOLYARD SLEUTH","language":"汉语普通话","sort":1474834,"is_can_buy":false,"show_button":"2","created_time":1721766904,"updated_time":1722268810},{"id":4524,"remark":"","show_name":"解密","type":"剧情","open_time":"2024-08-03","show_version_list":"","director":"陈思诚","leading_role":"刘昊然,约翰·库萨克,任璐遥,陈雨锶,王雨甜,周游,朱珠","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN01DAwjiY1gFLb1HpfJA_!!6000000004112-1-alipicbeacon.gif_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1491272,"is_can_buy":false,"show_button":"2","created_time":1710189306,"updated_time":1722441605},{"id":4906,"remark":"","show_name":"心的温度","type":"剧情","open_time":"2024-08-03","show_version_list":"2D","director":"周翀","leading_role":"温心,李晔,韩三明","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN01riNJsX21rusjlAaHm_!!6000000007039-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1533212,"is_can_buy":false,"show_button":"3","created_time":1721334903,"updated_time":1722026103},{"id":4898,"remark":"","show_name":"一和多","type":"纪录片","open_time":"2024-08-08","show_version_list":"2D","director":"周洪波","leading_role":"桑公,仁青战德","poster":"https:\/\/gw.alicdn.com\/tfscom\/i4\/O1CN01H21I6V20nxqfGu9Rc_!!6000000006895-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"藏语","sort":1531528,"is_can_buy":false,"show_button":"3","created_time":1721162105,"updated_time":1722009627},{"id":4547,"remark":"","show_name":"又是充满希望的一天","type":"剧情","open_time":"2024-08-09","show_version_list":"2D","director":"刘泰风","leading_role":"宋宁峰,张歆艺,郭柯宇,孙之鸿","poster":"https:\/\/gw.alicdn.com\/tfscom\/i4\/O1CN01DjSNVO1VpZ8oY4upA_!!6000000002702-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1438457,"is_can_buy":false,"show_button":"3","created_time":1711658106,"updated_time":1720816504},{"id":4765,"remark":"","show_name":"逆行人生","type":"剧情","open_time":"2024-08-09","show_version_list":"","director":"徐峥, 佟志坚","leading_role":"徐峥,辛芷蕾,王骁","poster":"https:\/\/gw.alicdn.com\/tfscom\/i2\/O1CN01Vh4QJo1en7ZeSr8aA_!!6000000003915-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1515757,"is_can_buy":false,"show_button":"2","created_time":1718224508,"updated_time":1722355205},{"id":4901,"remark":"","show_name":"如果爱就表白","type":"剧情","open_time":"2024-08-09","show_version_list":"","director":"高峰","leading_role":"阿丽玛,马灿灿,姜宏波,张国强,哈丽雅,常荻","poster":"https:\/\/gw.alicdn.com\/tfscom\/i2\/O1CN01eWHy4b1G0WloQujX8_!!6000000000560-2-alipicbeacon.png_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1533026,"is_can_buy":false,"show_button":"3","created_time":1721248507,"updated_time":1722026103},{"id":4834,"remark":"","show_name":"噬魂岛","type":"恐怖,惊悚","open_time":"2024-08-10","show_version_list":"","director":"魏冬雷","leading_role":"蔡鹏飞,伍月,万斯佳,王盛","poster":"https:\/\/gw.alicdn.com\/tfscom\/i2\/O1CN014yhnv11PZBH0unR2S_!!6000000001854-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1341118,"is_can_buy":false,"show_button":"3","created_time":1719174906,"updated_time":1720211705},{"id":3636,"remark":"","show_name":"她的小梨涡","type":"爱情","open_time":"2024-08-10","show_version_list":"","director":"","leading_role":"张哲华,漆昱辰","poster":"https:\/\/gw.alicdn.com\/tfscom\/i4\/O1CN01V0Zm1Y1RX0cLRkvaE_!!6000000002120-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1389449,"is_can_buy":false,"show_button":"2","created_time":1686154818,"updated_time":1721318410},{"id":4358,"remark":"","show_name":"白蛇:浮生","type":"动画,喜剧,爱情","open_time":"2024-08-10","show_version_list":"","director":"陈健喜,李佳锴","leading_role":"张喆,杨天翔,唐小喜","poster":"https:\/\/gw.alicdn.com\/tfscom\/i2\/O1CN01dLmFgB1WtWB9LOUdr_!!6000000002846-1-alipicbeacon.gif_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1477335,"is_can_buy":false,"show_button":"2","created_time":1704054913,"updated_time":1722268808},{"id":4457,"remark":"","show_name":"负负得正","type":"剧情,爱情","open_time":"2024-08-10","show_version_list":"","director":"温仕培","leading_role":"朱一龙,邱天","poster":"https:\/\/gw.alicdn.com\/tfscom\/i4\/O1CN01JhA3dM1YT4XQHNMKY_!!6000000003059-2-alipicbeacon.png_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1491273,"is_can_buy":false,"show_button":"2","created_time":1707856510,"updated_time":1722441606},{"id":4423,"remark":"","show_name":"加班惊魂","type":"恐怖,惊悚","open_time":"2024-08-10","show_version_list":"","director":"丁大海","leading_role":"鲍李宁,孙琰清,南伏龙,侯析焱,刘兴盛","poster":"https:\/\/gw.alicdn.com\/tfscom\/i3\/O1CN01cj3EMx1YgoQGbXRUP_!!6000000003089-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1498800,"is_can_buy":false,"show_button":"3","created_time":1705523708,"updated_time":1722441645},{"id":4506,"remark":"","show_name":"红楼梦之金玉良缘","type":"剧情","open_time":"2024-08-16","show_version_list":"","director":"胡玫","leading_role":"林鹏,卢燕,边程,张淼怡,黄佳容,罗海琼,杨童舒,丁嘉丽,张光北,姚安濂,龚洁","poster":"https:\/\/gw.alicdn.com\/tfscom\/i3\/O1CN01FMkQbz1eZNgmWvyte_!!6000000003885-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1361301,"is_can_buy":false,"show_button":"2","created_time":1709238904,"updated_time":1722355238},{"id":4887,"remark":"","show_name":"骑鲸少年","type":"剧情","open_time":"2024-08-16","show_version_list":"2D","director":"刘盛","leading_role":"龚喜,舒芙蓉","poster":"https:\/\/gw.alicdn.com\/tfscom\/i3\/O1CN011biyzg1PokkNEY2gU_!!6000000001888-2-alipicbeacon.png_320x320.jpg","show_name_en":"","language":"汉语普通话","sort":1446235,"is_can_buy":false,"show_button":"3","created_time":1720730107,"updated_time":1722026103},{"id":4897,"remark":"","show_name":"异形:夺命舰","type":"科幻,恐怖","open_time":"2024-08-16","show_version_list":"","director":"费德·阿尔瓦雷兹","leading_role":"卡莉·史派妮,戴维·荣松,阿奇·雷诺,伊莎贝拉·默塞德,斯派克·费恩,吴爱玲","poster":"https:\/\/gw.alicdn.com\/tfscom\/i2\/O1CN01bknrYB1w6fwwwb9DC_!!6000000006259-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"Alien: Romulus","language":"英语","sort":1477096,"is_can_buy":false,"show_button":"3","created_time":1721075705,"updated_time":1721853304},{"id":4899,"remark":"","show_name":"小孩不笨3","type":"剧情,喜剧,家庭","open_time":"2024-08-16","show_version_list":"","director":"梁志强","leading_role":"胡静,周俞辰,江松恒,黄智扬,吴委恩,柳胜美,荣启航","poster":"https:\/\/gw.alicdn.com\/tfscom\/i1\/O1CN018fsKmS1dQOIYuJChj_!!6000000003730-0-alipicbeacon.jpg_320x320.jpg","show_name_en":"I Not Stupid3","language":"英语,汉语普通话,福建话","sort":1529680,"is_can_buy":false,"show_button":"3","created_time":1721162106,"updated_time":1721939705}],"next_page_token":"2","request_id":"3bcb196b248968c1"},
|
|
13
6
|
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
import {getContainerFnPropsValue, getContainerPropsValue} from "@/utils/xd.base";
|
|
3
|
+
import {getContainerFnPropsValue, getContainerPropsValue,isWechat} from "@/utils/xd.base";
|
|
4
|
+
import {Base64} from 'js-base64';
|
|
5
|
+
import {mapActions,mapState, mapMutations} from "vuex";
|
|
6
|
+
import helper from "@/utils/helper";
|
|
7
|
+
import store from "@/store/index";
|
|
4
8
|
|
|
5
9
|
export default {
|
|
6
10
|
props: {
|
|
@@ -109,11 +113,55 @@ export default {
|
|
|
109
113
|
subMainColor: '',
|
|
110
114
|
infoColor: '',
|
|
111
115
|
defaultColor: '',
|
|
112
|
-
dangerColor: ''
|
|
116
|
+
dangerColor: '',
|
|
117
|
+
mainGradient: '',
|
|
118
|
+
subGradient: '',
|
|
119
|
+
|
|
120
|
+
//test
|
|
121
|
+
posterTest:{
|
|
122
|
+
"content_id": "KpBbUKdj4aBejwe7Fh1ki",
|
|
123
|
+
"position_id": "QCk3PmoyQmOWRP1SxnYR3",
|
|
124
|
+
"partner_id": 0,
|
|
125
|
+
"site_id": "",
|
|
126
|
+
"content_name": "测试.",
|
|
127
|
+
"image_url": "//dummyimage.com/200x200",
|
|
128
|
+
"redirect_type": "EMP",
|
|
129
|
+
"redirect_type_name": "无链接",
|
|
130
|
+
"redirect_data": "",
|
|
131
|
+
"sort": "",
|
|
132
|
+
"status": "",
|
|
133
|
+
"start_time": "",
|
|
134
|
+
"end_time": "",
|
|
135
|
+
"op_user_id": "",
|
|
136
|
+
"created_time": 0,
|
|
137
|
+
"updated_time": 0
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
|
|
142
|
+
destroyed() {
|
|
143
|
+
console.warn('componentsMixins.destroyed.my(timeer|timer)');
|
|
144
|
+
if (this.timeer && typeof this.timeer === "number") {
|
|
145
|
+
clearTimeout(this.timeer);
|
|
146
|
+
console.warn('componentsMixins.destroyed.my.timeer');
|
|
113
147
|
}
|
|
148
|
+
if (this.timer && typeof this.timer === "number") {
|
|
149
|
+
clearTimeout(this.timer);
|
|
150
|
+
console.warn('componentsMixins.destroyed.my.timer');
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
//卸载页面
|
|
154
|
+
if(typeof this.onJfbUnload === "function") {
|
|
155
|
+
console.warn('componentsMixins.destroyed.exec.onJfbUnload');
|
|
156
|
+
this.onJfbUnload()
|
|
157
|
+
}
|
|
158
|
+
|
|
114
159
|
},
|
|
160
|
+
|
|
115
161
|
created(){
|
|
116
|
-
|
|
162
|
+
let tag = '';
|
|
163
|
+
if (this.$vnode && this.$vnode.tag) tag = this.$vnode.tag;
|
|
164
|
+
this.$xdLog.setProject('App.components.start', `App.components.vnode.name.${tag}`);
|
|
117
165
|
|
|
118
166
|
//设置插件cid
|
|
119
167
|
if (this.cid) {
|
|
@@ -122,9 +170,14 @@ export default {
|
|
|
122
170
|
this.containerId = this.$xdUniHelper.randomChar(20);
|
|
123
171
|
}
|
|
124
172
|
|
|
173
|
+
//保存到vuex
|
|
174
|
+
console.log('setStyleCommon',this)
|
|
175
|
+
this.setStyleCommon(this.styles);
|
|
176
|
+
|
|
125
177
|
//初始化风格
|
|
126
178
|
this.initThemesToData();
|
|
127
179
|
|
|
180
|
+
|
|
128
181
|
//#ifdef H5
|
|
129
182
|
//监听用户点击状态显示虚框
|
|
130
183
|
XdBus.addEvent('select', ({containerId}) => {
|
|
@@ -152,35 +205,120 @@ export default {
|
|
|
152
205
|
|
|
153
206
|
//#ifdef H5
|
|
154
207
|
mounted() {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
let elx =
|
|
208
|
+
let that = this;
|
|
209
|
+
this.autoHideMask();
|
|
210
|
+
if (this.$configProject.isPreview && this.selfMask !== true ) {
|
|
211
|
+
this.$nextTick(()=>{
|
|
212
|
+
function handle() {
|
|
213
|
+
let elx = that.$el.getElementsByClassName(`${that.cssRoot}__body`);
|
|
161
214
|
if (elx.length === 0) {
|
|
162
215
|
setTimeout(() => {
|
|
163
216
|
handle()
|
|
164
|
-
},
|
|
217
|
+
}, 50)
|
|
165
218
|
} else {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
mask.style.bottom = '0px';
|
|
173
|
-
mask.style.zIndex = 9999;
|
|
174
|
-
elx.item(0).appendChild(mask);
|
|
219
|
+
let len = elx.length;
|
|
220
|
+
for (let i = 0; i < len; i++) {
|
|
221
|
+
if (!elx.item(i).classList.contains('isGPreview')) {
|
|
222
|
+
elx.item(i).classList.add("isGPreview");
|
|
223
|
+
}
|
|
224
|
+
}
|
|
175
225
|
}
|
|
176
226
|
}
|
|
177
|
-
|
|
178
|
-
|
|
227
|
+
handle();
|
|
228
|
+
});
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
//模式不显示虚线
|
|
232
|
+
if(this.$configProject.type === 'test'
|
|
233
|
+
&& this.$configProject.NODE_ENV === 'development'
|
|
234
|
+
&& this.$configProject.viewType === 'pack'
|
|
235
|
+
){
|
|
236
|
+
this.isEditx = false;
|
|
179
237
|
}
|
|
238
|
+
|
|
180
239
|
},
|
|
181
240
|
// #endif
|
|
182
241
|
|
|
242
|
+
computed:{
|
|
243
|
+
...mapState({
|
|
244
|
+
pageNamespace: state=> state.pageBusinessCode,
|
|
245
|
+
})
|
|
246
|
+
},
|
|
247
|
+
|
|
248
|
+
watch:{
|
|
249
|
+
active(val){
|
|
250
|
+
if(this.$configProject.isPreview && val) this.autoHideMask();
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
|
|
183
254
|
methods:{
|
|
255
|
+
...mapActions(['setXNamespace','setStyleCommon']),
|
|
256
|
+
...mapMutations(['setCurrentStyle']),
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @description 自动生成调试模式
|
|
260
|
+
*/
|
|
261
|
+
autoHideMask(){
|
|
262
|
+
if(this.$configProject.isPreview && this.hideMask === true){
|
|
263
|
+
this.$nextTick(()=>{
|
|
264
|
+
let className = this.$el.classList;
|
|
265
|
+
if(!className.contains('gHideMask')) {
|
|
266
|
+
className.add("gHideMask")
|
|
267
|
+
}
|
|
268
|
+
})
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @description 检查是否同域名
|
|
274
|
+
* @param url
|
|
275
|
+
* @param dir {String} 部署目录
|
|
276
|
+
* @returns {*}
|
|
277
|
+
*/
|
|
278
|
+
//#ifdef H5
|
|
279
|
+
getSameSiteAndDomain(url, dir) {
|
|
280
|
+
let regDir = new RegExp(`^/${dir}/\.*$`);
|
|
281
|
+
let host = window.location.host;
|
|
282
|
+
let pages = this.$xdUniHelper.parseURL(url);
|
|
283
|
+
|
|
284
|
+
//域名相同并且部署目录相同
|
|
285
|
+
if (host === pages.host && regDir.test(pages.path)) {
|
|
286
|
+
return pages.relative;
|
|
287
|
+
}
|
|
288
|
+
return url;
|
|
289
|
+
},
|
|
290
|
+
// #endif
|
|
291
|
+
|
|
292
|
+
setNameSpace(options){
|
|
293
|
+
this.xnamespace = this.xnamespace || this.pageNamespace;
|
|
294
|
+
if(!this.xnamespace && !this.$configProject.isPreview){
|
|
295
|
+
this.$xdAlert({content: '未设置业务编码',type:'error'});
|
|
296
|
+
throw new Error('请配置业务编码')
|
|
297
|
+
}
|
|
298
|
+
this.setXNamespace(this.xnamespace)
|
|
299
|
+
},
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* @description 自动计算列数的宽和间距 (父节点需要设置110%)不兼容微信小程序(废弃)
|
|
303
|
+
* @param index {number} 当前索引值
|
|
304
|
+
* @param cell {number} 当前索引值
|
|
305
|
+
* @param jfbSpacing {number}
|
|
306
|
+
* @returns {{marginRight: string, overflow: string, width: string, marginTop: string}}
|
|
307
|
+
*/
|
|
308
|
+
itemStyle(index, cell, jfbSpacing ) {
|
|
309
|
+
if(this.$xdUniHelper.checkVarType(jfbSpacing) === 'string') jfbSpacing = Number(jfbSpacing);
|
|
310
|
+
let maxW = 100 / cell;
|
|
311
|
+
let padding = Math.floor(this.$rpxNum * jfbSpacing + this.$rpxNum * (jfbSpacing / cell))
|
|
312
|
+
return {
|
|
313
|
+
marginTop: jfbSpacing + 'rpx',
|
|
314
|
+
marginRight: (index + 1) % cell === 0 ? '0' : jfbSpacing + 'rpx',
|
|
315
|
+
width: `calc(${maxW}vw - ${padding}px)`,
|
|
316
|
+
overflow: 'hidden'
|
|
317
|
+
};
|
|
318
|
+
},
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
184
322
|
/**
|
|
185
323
|
* @description 获取吸顶样式
|
|
186
324
|
* @param options {Object} 样式参数
|
|
@@ -195,14 +333,14 @@ export default {
|
|
|
195
333
|
* @param fixed {Boolean} 是否吸顶或者占位
|
|
196
334
|
* @return {String}
|
|
197
335
|
*/
|
|
198
|
-
fixedStyle(options = {}, type = 'bottom', fixed=true) {
|
|
336
|
+
fixedStyle(options = {}, type = 'bottom', fixed = true) {
|
|
199
337
|
let paddingBottom = options.paddingBottom || options.height || 0;
|
|
200
338
|
if (options.paddingBottom) delete options.paddingBottom;
|
|
201
339
|
if (options.height) delete options.height;
|
|
202
340
|
let obj = Object.assign({}, {
|
|
203
341
|
top: 0, left: 0, right: 0, bottom: 0, zIndex: 100,
|
|
204
342
|
}, options);
|
|
205
|
-
if(!fixed) {
|
|
343
|
+
if (!fixed) {
|
|
206
344
|
let padding = (this.layoutInfo.bottomHeight + this.layoutInfo.footerHeight + paddingBottom) * this.$rpxNum;
|
|
207
345
|
let sy = `padding-bottom:calc(${padding}px + constant(safe-area-inset-bottom));`;
|
|
208
346
|
sy = `${style}; padding-bottom:calc(${padding}px + env(safe-area-inset-bottom));`;
|
|
@@ -225,6 +363,7 @@ export default {
|
|
|
225
363
|
return style;
|
|
226
364
|
},
|
|
227
365
|
|
|
366
|
+
|
|
228
367
|
/**
|
|
229
368
|
* 检查插件是否加载成功
|
|
230
369
|
*/
|
|
@@ -234,10 +373,15 @@ export default {
|
|
|
234
373
|
* @description 业务组件风格map到data中
|
|
235
374
|
*/
|
|
236
375
|
initThemesToData() {
|
|
376
|
+
let current = {};
|
|
237
377
|
Object.keys(this.styles).map(key => {
|
|
238
378
|
let k = key.replace('$', '');
|
|
239
|
-
if (this[k] !== undefined)
|
|
379
|
+
if (this[k] !== undefined){
|
|
380
|
+
this[k] = this.styles[key];
|
|
381
|
+
current[k] = this.styles[key];
|
|
382
|
+
}
|
|
240
383
|
});
|
|
384
|
+
this.setCurrentStyle(helper.cloneDeep(current))
|
|
241
385
|
},
|
|
242
386
|
|
|
243
387
|
/**
|
|
@@ -253,6 +397,7 @@ export default {
|
|
|
253
397
|
* @description 点击删除操作按钮
|
|
254
398
|
*/
|
|
255
399
|
delEdit() {
|
|
400
|
+
if(this.isReferenceTemplate) return;
|
|
256
401
|
XdBus.send('onDelPackage', {
|
|
257
402
|
containerId: this.containerId,
|
|
258
403
|
componentAtrr: this.componentAtrr,
|
|
@@ -308,6 +453,112 @@ export default {
|
|
|
308
453
|
})
|
|
309
454
|
//#endif
|
|
310
455
|
},
|
|
456
|
+
|
|
457
|
+
checkValue(value, dValue = 0){
|
|
458
|
+
if(value === undefined || value === '' || value === null) return dValue;
|
|
459
|
+
return Number(value || 0);
|
|
460
|
+
},
|
|
461
|
+
|
|
462
|
+
getXdShadow(defaultObj, newObj){
|
|
463
|
+
if(newObj.type === 'N') return `0 0 0 rgba(0,0,0,0)`;
|
|
464
|
+
let width = defaultObj.width;
|
|
465
|
+
let color = defaultObj.color;
|
|
466
|
+
if(newObj.value !== null) {
|
|
467
|
+
if(newObj.value.width) width = newObj.value.width;
|
|
468
|
+
if(newObj.value.color) color = newObj.value.color
|
|
469
|
+
}
|
|
470
|
+
return `0 0 ${width}rpx ${color}`;
|
|
471
|
+
},
|
|
472
|
+
|
|
473
|
+
getXdBorder(defaultObj, newObj){
|
|
474
|
+
if(newObj.type === 'N') return `0`
|
|
475
|
+
let width = defaultObj.width;
|
|
476
|
+
let color = defaultObj.color;
|
|
477
|
+
if(newObj.value !== null) {
|
|
478
|
+
if(newObj.value.width) width = newObj.value.width
|
|
479
|
+
if(newObj.value.color) color = newObj.value.color
|
|
480
|
+
}
|
|
481
|
+
return `${width}rpx solid ${color}`;
|
|
482
|
+
},
|
|
483
|
+
|
|
484
|
+
getUrlCallback(path){
|
|
485
|
+
if(this.inCallbackUrlOrg) {
|
|
486
|
+
if(path.indexOf('?') === -1) path = `${path}?inCallback=${this.inCallbackUrlOrg}`;
|
|
487
|
+
else path = `${path}&inCallback=${this.inCallbackUrlOrg}`;
|
|
488
|
+
}
|
|
489
|
+
return path
|
|
490
|
+
},
|
|
491
|
+
|
|
492
|
+
baiduTogcj(bd_lng, bd_lat) {//坐标第转换
|
|
493
|
+
const x_PI = 3.14159265358979324 * 3000.0 / 180.0;
|
|
494
|
+
const x = bd_lng - 0.0065;
|
|
495
|
+
const y = bd_lat - 0.006;
|
|
496
|
+
const z = Math.sqrt(x * x + y * y) - 0.00002 * Math.sin(y * x_PI);
|
|
497
|
+
const theta = Math.atan2(y, x) - 0.000003 * Math.cos(x * x_PI);
|
|
498
|
+
const gg_lng = z * Math.cos(theta);
|
|
499
|
+
const gg_lat = z * Math.sin(theta);
|
|
500
|
+
return [gg_lng, gg_lat]
|
|
501
|
+
},
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
//#ifdef H5
|
|
505
|
+
webChatEnvOpenLocation({latitude,longitude,name, address}, cb){
|
|
506
|
+
store.dispatch('getH5WxAuthorize',{jsApiList: ['openLocation', 'getLocation']})
|
|
507
|
+
.then(({jwxSDK})=>{
|
|
508
|
+
let zb = this.baiduTogcj(latitude, longitude)
|
|
509
|
+
jwxSDK.openLocation({
|
|
510
|
+
latitude: zb[0],
|
|
511
|
+
longitude:zb[1],
|
|
512
|
+
name: name || '我的位置',
|
|
513
|
+
address: address||'',
|
|
514
|
+
scale: 15,
|
|
515
|
+
infoUrl: ''
|
|
516
|
+
});
|
|
517
|
+
})
|
|
518
|
+
.catch(err=>{
|
|
519
|
+
console.error(err)
|
|
520
|
+
this.$xdAlert({
|
|
521
|
+
content:'暂时不支持唤起APP导航功能',
|
|
522
|
+
time:5000,
|
|
523
|
+
})
|
|
524
|
+
})
|
|
525
|
+
},
|
|
526
|
+
//#endif
|
|
527
|
+
|
|
528
|
+
handleOpenLocation({latitude,longitude, name, address}, cb){
|
|
529
|
+
//latitude = latitude||39.961521814959795;
|
|
530
|
+
//longitude = longitude || 116.84499635227222
|
|
531
|
+
|
|
532
|
+
if(typeof latitude === 'string') latitude = Number(latitude);
|
|
533
|
+
if(typeof longitude === 'string') longitude = Number(longitude);
|
|
534
|
+
|
|
535
|
+
//#ifdef MP-WEIXIN
|
|
536
|
+
let zb = this.baiduTogcj(latitude, longitude);
|
|
537
|
+
uni.openLocation({
|
|
538
|
+
latitude: zb[0],
|
|
539
|
+
longitude: zb[1],
|
|
540
|
+
name: name || '我的位置',
|
|
541
|
+
scale: 15,
|
|
542
|
+
address: address ||'',
|
|
543
|
+
success: function () {
|
|
544
|
+
if(typeof cb === 'function') {
|
|
545
|
+
cb();
|
|
546
|
+
}
|
|
547
|
+
console.log('success');
|
|
548
|
+
}
|
|
549
|
+
});
|
|
550
|
+
//#endif
|
|
551
|
+
//#ifdef H5
|
|
552
|
+
if(isWechat()) this.webChatEnvOpenLocation({latitude,longitude, name, address}, cb);
|
|
553
|
+
else {
|
|
554
|
+
let params = '';
|
|
555
|
+
params = `${params}&location=${latitude},${longitude}`;
|
|
556
|
+
params = `${params}&title=${encodeURIComponent(name)}`;
|
|
557
|
+
params = `${params}&content=${encodeURIComponent(address)}&output=html&zoom=15`;
|
|
558
|
+
window.location.href = `http://api.map.baidu.com/marker?${params}`;
|
|
559
|
+
}
|
|
560
|
+
//#endif
|
|
561
|
+
},
|
|
311
562
|
}
|
|
312
563
|
}
|
|
313
564
|
|