jufubao-movie 1.0.29 → 1.0.30-beta1

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.
Files changed (45) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbMovieAfterOrder/JfbMovieAfterOrder.vue +4 -3
  3. package/src/components/JfbMovieAfterOrder/JfbMovieAfterOrderLess.less +18 -19
  4. package/src/components/JfbMovieAfterOrderDetail/JfbMovieAfterOrderDetail.vue +4 -3
  5. package/src/components/JfbMovieAfterOrderDetail/JfbMovieAfterOrderDetailLess.less +18 -19
  6. package/src/components/JfbMovieCenter/JfbMovieCenter.vue +4 -3
  7. package/src/components/JfbMovieCenter/JfbMovieCenterLess.less +18 -19
  8. package/src/components/JfbMovieCode/JfbMovieCode.vue +7 -6
  9. package/src/components/JfbMovieCode/JfbMovieCodeLess.less +18 -19
  10. package/src/components/JfbMovieCodeChoose/Attr.js +84 -67
  11. package/src/components/JfbMovieCodeChoose/JfbMovieCodeChoose.vue +52 -118
  12. package/src/components/JfbMovieCodeChoose/JfbMovieCodeChooseLess.less +18 -19
  13. package/src/components/JfbMovieConfirm/Attr.js +11 -10
  14. package/src/components/JfbMovieConfirm/JfbMovieConfirm.vue +5 -4
  15. package/src/components/JfbMovieConfirm/JfbMovieConfirmLess.less +18 -19
  16. package/src/components/JfbMovieLineCinema/Attr.js +17 -14
  17. package/src/components/JfbMovieLineCinema/JfbMovieLineCinema.vue +3 -2
  18. package/src/components/JfbMovieLineCinema/JfbMovieLineCinemaLess.less +18 -19
  19. package/src/components/JfbMovieLineCinemaChoose/Attr.js +7 -7
  20. package/src/components/JfbMovieLineCinemaChoose/JfbMovieLineCinemaChoose.vue +3 -2
  21. package/src/components/JfbMovieLineCinemaChoose/JfbMovieLineCinemaChooseLess.less +18 -19
  22. package/src/components/JfbMovieLineFilm/Attr.js +15 -25
  23. package/src/components/JfbMovieLineFilm/JfbMovieLineFilm.vue +3 -2
  24. package/src/components/JfbMovieLineFilm/JfbMovieLineFilmLess.less +18 -19
  25. package/src/components/JfbMovieLineFilmInfo/Attr.js +5 -3
  26. package/src/components/JfbMovieLineFilmInfo/JfbMovieLineFilmInfo.vue +3 -3
  27. package/src/components/JfbMovieLineFilmInfo/JfbMovieLineFilmInfoLess.less +18 -19
  28. package/src/components/JfbMovieLineLineSeat/Attr.js +11 -10
  29. package/src/components/JfbMovieLineLineSeat/JfbMovieLineLineSeat.vue +6 -5
  30. package/src/components/JfbMovieLineLineSeat/JfbMovieLineLineSeatLess.less +18 -19
  31. package/src/components/JfbMovieLineLineSeat/Mock.js +2 -2
  32. package/src/components/JfbMovieLineSchedule/Attr.js +13 -8
  33. package/src/components/JfbMovieLineSchedule/JfbMovieLineSchedule.vue +9 -8
  34. package/src/components/JfbMovieLineSchedule/JfbMovieLineScheduleLess.less +18 -19
  35. package/src/components/JfbMovieOrder/JfbMovieOrder.vue +4 -3
  36. package/src/components/JfbMovieOrder/JfbMovieOrderLess.less +18 -19
  37. package/src/components/JfbMovieOrderDetail/JfbMovieOrderDetail.vue +4 -3
  38. package/src/components/JfbMovieOrderDetail/JfbMovieOrderDetailLess.less +18 -19
  39. package/src/components/JfbMoviePay/JfbMoviePay.vue +4 -3
  40. package/src/components/JfbMoviePay/JfbMoviePayLess.less +18 -19
  41. package/src/components/JfbMovieTestApi/Api.js +0 -57
  42. package/src/components/JfbMovieTestApi/Attr.js +0 -45
  43. package/src/components/JfbMovieTestApi/JfbMovieTestApi.vue +0 -77
  44. package/src/components/JfbMovieTestApi/JfbMovieTestApiLess.less +0 -80
  45. package/src/components/JfbMovieTestApi/JfbMovieTestApiMixin.js +0 -30
@@ -278,9 +278,10 @@
278
278
  }
279
279
  },
280
280
  watch: {
281
- container(value) {
282
- this.init(value)
283
- }
281
+ container(value,oldValue) {
282
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
283
+ if (this.$configProject['isPreview']) this.init(value)
284
+ },
284
285
  },
285
286
  created() {
286
287
  this.init(this.container);
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-movie-order-detail {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(100, rpx);
19
17
 
20
18
  &__body{
21
19
  position: relative;
@@ -23,21 +21,22 @@
23
21
  z-index: 2
24
22
  }
25
23
 
26
- &.editx {
24
+ &.editx,&.editx:hover {
27
25
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
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
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-movie-order-detail {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -118,9 +118,10 @@
118
118
  }
119
119
  },
120
120
  watch: {
121
- container(value) {
122
- this.init(value)
123
- }
121
+ container(value,oldValue) {
122
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
123
+ if (this.$configProject['isPreview']) this.init(value)
124
+ },
124
125
  },
125
126
  created() {
126
127
  this.init(this.container);
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-movie-pay {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(100, rpx);
19
17
 
20
18
  &__body{
21
19
  position: relative;
@@ -23,21 +21,22 @@
23
21
  z-index: 2
24
22
  }
25
23
 
26
- &.editx {
24
+ &.editx,&.editx:hover {
27
25
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
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
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-movie-pay {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -1,57 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @description API模型
5
- * 建议:Ffff=>模块 Xxxx=>自定义名字
6
- * 获取单记录(getByIdFfffXxxx)
7
- * 获取列表记录(getByListFfffXxxx)
8
- * 添加列表记录(addFfffXxxxx)
9
- * 删除列表记录(removeFfffXxxxx|deleteFfffXxxx)
10
- * 更新列表记录(updateFfffXxxxx)
11
- * @type {*[]}
12
- */
13
- module.exports = [
14
- {
15
- mapFnName: 'getByIdTestSquate', //自定义方法名字(必选)
16
- isRule: false,
17
- title: '获得绑定卡',
18
- prefix: 'list',
19
- path: '/card/v1/card-bind/list-bind-card',
20
- params: {},
21
- disabled: true,
22
- },
23
- {
24
- mapFnName: 'updateFilmPaiqiDate', //自定义方法名字(必选)
25
- title: '更新排期',
26
- path: '/api/account/film/paiqi-date',
27
- isRule: false,
28
- params: {
29
- film_id: ['电影id', 'Number', '必选'],
30
- cinema_id: ['影院id', 'Number', '必选'],
31
- },
32
- isConsole: true,
33
- disabled: true,
34
- },
35
- {
36
- mapFnName: 'removeFilmAddress', //自定义方法名字(必选)
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
- mapFnName: 'addFilmcart', //自定义方法名字(必选)
48
- title: '添加购物车',
49
- path: '/api/account/film/paiqi-date',
50
- isRule: false,
51
- params: {
52
- film_id: ['电影id', 'Number', '必选'],
53
- },
54
- isConsole: true,
55
- disabled: true,
56
- },
57
- ];
@@ -1,45 +0,0 @@
1
- 'use strict';
2
-
3
- export default {
4
- style: [],
5
- advanced: [],
6
- content: [
7
- {
8
- label: '颜色:', //label
9
- ele: 'el-input', //package 名称
10
- type: 'text',
11
- valueKey: 'color', //form[valueKey]
12
- value: '#fff', //v-model
13
- placeholder: '请输入占位框颜色',
14
- classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
15
- rules: [
16
- {
17
- required: true,
18
- message: '请输入占位框颜色',
19
- trigger: 'blur'
20
- },
21
- ]
22
- },
23
- {
24
- label: '高度:', //label
25
- ele: 'el-input', //package 名称
26
- type: 'number',
27
- valueKey: 'height', //form[valueKey]
28
- value: 1, //v-model
29
- placeholder: '请输入占位框高度,单位像素',
30
- classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
31
- rules: [
32
- {
33
- required: true,
34
- message: '请输入占位框高度',
35
- trigger: 'blur'
36
- },
37
- ]
38
- },
39
- {
40
- label: '', //label
41
- ele: 'slot', //package 名称
42
- slot: 'is_reference',
43
- },
44
- ],
45
- };
@@ -1,77 +0,0 @@
1
- <template>
2
- <view
3
- class="jfb-movie-test-api"
4
- @click="handleEditxSelect"
5
- :class="{
6
- editx : isEditx && active,
7
- noBorder: noBorder
8
- }"
9
- >
10
- <!--#ifdef H5-->
11
- <view
12
- class="jfb-movie-test-api__edit"
13
- :class="{ editx : isEditx && active }"
14
- v-if="isEditx && active && !noBorder"
15
- >
16
- <view class="jfb-movie-test-api__edit-icon" @click="delEdit">删除</view>
17
- </view>
18
- <!-- #endif -->
19
- <view class="jfb-movie-test-api__body">
20
- <view>JfbBaseTestApi</view>
21
- </view>
22
- </view>
23
- </template>
24
-
25
- <script>
26
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
27
- import { jfbRootExec } from "@/utils/xd.event";
28
- import JfbMovieTestApiMixin from "./JfbMovieTestApiMixin";
29
- import componentsMixins from "@/mixins/componentsMixins";
30
- import extsMixins from "@/mixins/extsMixins"
31
- export default {
32
- name: "JfbMovieTestApi",
33
- components: {
34
- XdFontIcon
35
- },
36
- mixins: [componentsMixins,extsMixins,JfbMovieTestApiMixin],
37
- data() {
38
- return {
39
-
40
- //todo
41
- }
42
- },
43
- created() {
44
-
45
- //todo
46
- },
47
- methods: {
48
- onJfbLoad(options) {
49
- console.log('222')
50
- jfbRootExec('getListBindCard', {
51
- vm: this,
52
- data: {
53
- ...options
54
- },
55
- })
56
- .then(res=>{
57
- console.log(res)
58
- })
59
- .catch()
60
- },
61
-
62
- }
63
- }
64
-
65
- </script>
66
-
67
- <style scoped lang="less">
68
- @import "./JfbMovieTestApiLess.less";
69
-
70
- .jfb-movie-test-api {
71
- &__body{
72
- & > view {
73
- height: unit(250, rpx);
74
- }
75
- }
76
- }
77
- </style>
@@ -1,80 +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-movie-test-api {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
- box-sizing: border-box;
18
- min-height: unit(100, rpx);
19
-
20
- &__body{
21
- position: relative;
22
- overflow: hidden;
23
- z-index: 2
24
- }
25
-
26
- &.editx {
27
- position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
37
-
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
- }
42
-
43
-
44
- &__edit {
45
- cursor: pointer;
46
- position: absolute;
47
- right: unit(0, rpx);
48
- top: unit(-52, rpx);
49
- height: unit(50, rpx);
50
- line-height: unit(50, rpx);
51
- display: flex;
52
- justify-content: center;
53
- align-items: center;
54
- background: rgba(0, 0, 0, .6);
55
- border-radius: unit(10, rpx);
56
- box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
57
- color: #fff;
58
- font-size: unit(22, rpx);
59
-
60
- &-icon{
61
- padding: 0 unit(20, rpx);
62
- }
63
-
64
- &.editx {
65
- box-sizing: border-box;
66
-
67
- }
68
- }
69
- }
70
- //end
71
-
72
-
73
- /**notPreview**/
74
- .jfb-movie-test-api {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
79
- }
80
- /**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-movie-test-api'
20
- }
21
- },
22
- created() {
23
-
24
- //@AttrDataCreated
25
- this.Attr = this.$xdUniHelper.customClone(Attr);
26
- //@EndAttrDataCreated
27
-
28
-
29
- },
30
- }