jufubao-movie 1.0.29 → 1.0.30-beta2

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 (49) 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/Attr.js +2 -7
  5. package/src/components/JfbMovieAfterOrderDetail/JfbMovieAfterOrderDetail.vue +4 -3
  6. package/src/components/JfbMovieAfterOrderDetail/JfbMovieAfterOrderDetailLess.less +18 -19
  7. package/src/components/JfbMovieCenter/JfbMovieCenter.vue +4 -3
  8. package/src/components/JfbMovieCenter/JfbMovieCenterLess.less +18 -19
  9. package/src/components/JfbMovieCode/Attr.js +0 -7
  10. package/src/components/JfbMovieCode/JfbMovieCode.vue +7 -6
  11. package/src/components/JfbMovieCode/JfbMovieCodeLess.less +18 -19
  12. package/src/components/JfbMovieCodeChoose/Attr.js +84 -68
  13. package/src/components/JfbMovieCodeChoose/JfbMovieCodeChoose.vue +52 -118
  14. package/src/components/JfbMovieCodeChoose/JfbMovieCodeChooseLess.less +18 -19
  15. package/src/components/JfbMovieConfirm/Attr.js +11 -10
  16. package/src/components/JfbMovieConfirm/JfbMovieConfirm.vue +5 -4
  17. package/src/components/JfbMovieConfirm/JfbMovieConfirmLess.less +18 -19
  18. package/src/components/JfbMovieLineCinema/Attr.js +17 -14
  19. package/src/components/JfbMovieLineCinema/JfbMovieLineCinema.vue +3 -2
  20. package/src/components/JfbMovieLineCinema/JfbMovieLineCinemaLess.less +18 -19
  21. package/src/components/JfbMovieLineCinemaChoose/Attr.js +7 -7
  22. package/src/components/JfbMovieLineCinemaChoose/JfbMovieLineCinemaChoose.vue +3 -2
  23. package/src/components/JfbMovieLineCinemaChoose/JfbMovieLineCinemaChooseLess.less +18 -19
  24. package/src/components/JfbMovieLineFilm/Attr.js +15 -25
  25. package/src/components/JfbMovieLineFilm/JfbMovieLineFilm.vue +3 -2
  26. package/src/components/JfbMovieLineFilm/JfbMovieLineFilmLess.less +18 -19
  27. package/src/components/JfbMovieLineFilmInfo/Attr.js +5 -3
  28. package/src/components/JfbMovieLineFilmInfo/JfbMovieLineFilmInfo.vue +3 -3
  29. package/src/components/JfbMovieLineFilmInfo/JfbMovieLineFilmInfoLess.less +18 -19
  30. package/src/components/JfbMovieLineLineSeat/Attr.js +11 -10
  31. package/src/components/JfbMovieLineLineSeat/JfbMovieLineLineSeat.vue +6 -5
  32. package/src/components/JfbMovieLineLineSeat/JfbMovieLineLineSeatLess.less +18 -19
  33. package/src/components/JfbMovieLineLineSeat/Mock.js +2 -2
  34. package/src/components/JfbMovieLineSchedule/Attr.js +13 -8
  35. package/src/components/JfbMovieLineSchedule/JfbMovieLineSchedule.vue +9 -8
  36. package/src/components/JfbMovieLineSchedule/JfbMovieLineScheduleLess.less +18 -19
  37. package/src/components/JfbMovieOrder/JfbMovieOrder.vue +4 -3
  38. package/src/components/JfbMovieOrder/JfbMovieOrderLess.less +18 -19
  39. package/src/components/JfbMovieOrderDetail/Attr.js +0 -7
  40. package/src/components/JfbMovieOrderDetail/JfbMovieOrderDetail.vue +4 -3
  41. package/src/components/JfbMovieOrderDetail/JfbMovieOrderDetailLess.less +18 -19
  42. package/src/components/JfbMoviePay/Attr.js +4 -7
  43. package/src/components/JfbMoviePay/JfbMoviePay.vue +4 -3
  44. package/src/components/JfbMoviePay/JfbMoviePayLess.less +18 -19
  45. package/src/components/JfbMovieTestApi/Api.js +0 -57
  46. package/src/components/JfbMovieTestApi/Attr.js +0 -45
  47. package/src/components/JfbMovieTestApi/JfbMovieTestApi.vue +0 -77
  48. package/src/components/JfbMovieTestApi/JfbMovieTestApiLess.less +0 -80
  49. package/src/components/JfbMovieTestApi/JfbMovieTestApiMixin.js +0 -30
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-movie",
3
- "version": "1.0.29",
3
+ "version": "1.0.30-beta2",
4
4
  "private": false,
5
5
  "description": "聚福宝在线选座业务组件插件包",
6
6
  "main": "index.js",
@@ -82,9 +82,10 @@
82
82
  }
83
83
  },
84
84
  watch: {
85
- container(value) {
86
- this.init(value)
87
- }
85
+ container(value,oldValue) {
86
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
87
+ if (this.$configProject['isPreview']) this.init(value)
88
+ },
88
89
  },
89
90
  created() {
90
91
  this.init(this.container);
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-movie-after-order {
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-after-order {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -13,7 +13,7 @@ export default {
13
13
  value: '', //v-model
14
14
  placeholder: '请输入标题名称',
15
15
  classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
16
- disabled: true,
16
+
17
17
  rules: [
18
18
  {
19
19
  required: true,
@@ -60,7 +60,7 @@ export default {
60
60
  ele: 'xd-radio', //package 名称
61
61
  valueKey: 'radio_status_list', //form[valueKey]
62
62
  value: 6, //v-model
63
- disabled: true,
63
+
64
64
  rules: [
65
65
  {required: true, message: '请选择', trigger: ['blur', 'change']}
66
66
  ],
@@ -78,7 +78,6 @@ export default {
78
78
  ele: 'xd-radio', //package 名称
79
79
  valueKey: 'radio_status_list', //form[valueKey]
80
80
  value: 6, //v-model
81
- disabled: false,
82
81
  remoteApi: '/api/editx/pages',
83
82
  remote: true,
84
83
  rules: [
@@ -92,7 +91,6 @@ export default {
92
91
  ele: 'xd-check', //package 名称
93
92
  valueKey: 'xd-check_list', //form[valueKey]
94
93
  value: 6, //v-model
95
- disabled: true,
96
94
  rules: [
97
95
  {required: true, message: '请选择', trigger: ['blur', 'change']}
98
96
  ],
@@ -110,7 +108,6 @@ export default {
110
108
  ele: 'xd-check', //package 名称
111
109
  valueKey: 'xd-check_remote-list', //form[valueKey]
112
110
  value: 6, //v-model
113
- disabled: false,
114
111
  remoteApi: '/api/editx/pages',
115
112
  remote: true,
116
113
  rules: [
@@ -125,7 +122,6 @@ export default {
125
122
  valueKey: 'radio_status', //form[valueKey]
126
123
  value: 'Y', //v-model
127
124
  isall: true,
128
- disabled: true,
129
125
  backValueType: '', //返回值类型 1=>返回(Y,N)2=> [true|false] 3=>[1,0] 4=>[1,2]
130
126
  placeholder: '请选择',
131
127
  list: 'status', //status=>状态 best=>推荐 associate=>关联 yes=>是否 open=> 是否开启 check=>审核
@@ -140,7 +136,6 @@ export default {
140
136
  value: '', //v-model
141
137
  placeholder: '请输入标题名称',
142
138
  classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
143
- disabled: true,
144
139
  rules: [
145
140
  {
146
141
  required: true,
@@ -131,9 +131,10 @@
131
131
  }
132
132
  },
133
133
  watch: {
134
- container(value) {
135
- this.init(value)
136
- }
134
+ container(value,oldValue) {
135
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
136
+ if (this.$configProject['isPreview']) this.init(value)
137
+ },
137
138
  },
138
139
  created() {
139
140
  this.init(this.container);
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-movie-after-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-after-order-detail {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -162,9 +162,10 @@
162
162
  }
163
163
  },
164
164
  watch: {
165
- container(value) {
166
- this.init(value)
167
- }
165
+ container(value,oldValue) {
166
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
167
+ if (this.$configProject['isPreview']) this.init(value)
168
+ },
168
169
  },
169
170
  created() {
170
171
  if (getApp().globalData.$xd && getApp().globalData.$xd['userInfo']) {
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-movie-center {
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-center {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -13,7 +13,6 @@ export default {
13
13
  value: '', //v-model
14
14
  placeholder: '请输入标题名称',
15
15
  classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
16
- disabled: true,
17
16
  rules: [
18
17
  {
19
18
  required: true,
@@ -60,7 +59,6 @@ export default {
60
59
  ele: 'xd-radio', //package 名称
61
60
  valueKey: 'radio_status_list', //form[valueKey]
62
61
  value: 6, //v-model
63
- disabled: true,
64
62
  rules: [
65
63
  {required: true, message: '请选择', trigger: ['blur', 'change']}
66
64
  ],
@@ -78,7 +76,6 @@ export default {
78
76
  ele: 'xd-radio', //package 名称
79
77
  valueKey: 'radio_status_list', //form[valueKey]
80
78
  value: 6, //v-model
81
- disabled: false,
82
79
  remoteApi: '/api/editx/pages',
83
80
  remote: true,
84
81
  rules: [
@@ -92,7 +89,6 @@ export default {
92
89
  ele: 'xd-check', //package 名称
93
90
  valueKey: 'xd-check_list', //form[valueKey]
94
91
  value: 6, //v-model
95
- disabled: true,
96
92
  rules: [
97
93
  {required: true, message: '请选择', trigger: ['blur', 'change']}
98
94
  ],
@@ -110,7 +106,6 @@ export default {
110
106
  ele: 'xd-check', //package 名称
111
107
  valueKey: 'xd-check_remote-list', //form[valueKey]
112
108
  value: 6, //v-model
113
- disabled: false,
114
109
  remoteApi: '/api/editx/pages',
115
110
  remote: true,
116
111
  rules: [
@@ -125,7 +120,6 @@ export default {
125
120
  valueKey: 'radio_status', //form[valueKey]
126
121
  value: 'Y', //v-model
127
122
  isall: true,
128
- disabled: true,
129
123
  backValueType: '', //返回值类型 1=>返回(Y,N)2=> [true|false] 3=>[1,0] 4=>[1,2]
130
124
  placeholder: '请选择',
131
125
  list: 'status', //status=>状态 best=>推荐 associate=>关联 yes=>是否 open=> 是否开启 check=>审核
@@ -140,7 +134,6 @@ export default {
140
134
  value: '', //v-model
141
135
  placeholder: '请输入标题名称',
142
136
  classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
143
- disabled: true,
144
137
  rules: [
145
138
  {
146
139
  required: true,
@@ -71,16 +71,17 @@
71
71
  }
72
72
  },
73
73
  watch: {
74
- container(value) {
75
- this.init(value)
76
- }
74
+ container(value,oldValue) {
75
+ if(JSON.stringify(value) === JSON.stringify(oldValue)) return;
76
+ if (this.$configProject['isPreview']) this.init(value)
77
+ },
77
78
  },
78
79
  created() {
79
80
  this.init(this.container);
80
81
  },
81
82
  methods: {
82
83
  onJfbLoad(options) {
83
-
84
+
84
85
  },
85
86
  handleSubmit() {
86
87
  if (this.isEmpty(this.phone)) {
@@ -120,9 +121,9 @@
120
121
  * @param container {object} 业务组件对象自己
121
122
  */
122
123
  init(container) {
123
-
124
+
124
125
  },
125
-
126
+
126
127
  onJfbBack(options) {
127
128
  this.$xdUniHelper.navigateBack()
128
129
  },
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-movie-code {
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-code {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/