jufubao-base 1.0.130-beta5 → 1.0.130

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 (194) hide show
  1. package/package.json +3 -4
  2. package/src/components/JfbBaseAddress/Attr.js +5 -11
  3. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
  4. package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +19 -18
  5. package/src/components/JfbBaseAfterOrderDetail/Attr.js +7 -19
  6. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +4 -6
  7. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +19 -18
  8. package/src/components/JfbBaseAfterOrderList/Attr.js +16 -25
  9. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +9 -6
  10. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +19 -18
  11. package/src/components/JfbBaseBack/JfbBaseBackLess.less +19 -18
  12. package/src/components/JfbBaseBackground/Attr.js +8 -9
  13. package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -0
  14. package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +19 -18
  15. package/src/components/JfbBaseBlock/Attr.js +2 -12
  16. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +8 -1
  17. package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +19 -18
  18. package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +19 -18
  19. package/src/components/JfbBaseCard/Attr.js +34 -76
  20. package/src/components/JfbBaseCard/JfbBaseCardLess.less +19 -18
  21. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +19 -18
  22. package/src/components/JfbBaseCardBindV2/Attr.js +4 -5
  23. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +19 -18
  24. package/src/components/JfbBaseCardDetail/Attr.js +3 -4
  25. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +19 -18
  26. package/src/components/JfbBaseCardDetailEntry/Attr.js +8 -10
  27. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +19 -18
  28. package/src/components/JfbBaseCardDisabled/Attr.js +3 -1
  29. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +19 -18
  30. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +19 -18
  31. package/src/components/JfbBaseCardEntry/Attr.js +67 -86
  32. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +2 -3
  33. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +19 -18
  34. package/src/components/JfbBaseCardInfo/Attr.js +16 -22
  35. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +19 -18
  36. package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -16
  37. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +19 -18
  38. package/src/components/JfbBaseCardMerge/Attr.js +8 -21
  39. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +30 -15
  40. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +19 -18
  41. package/src/components/JfbBaseCardMergeEntry/Attr.js +6 -20
  42. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +25 -28
  43. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +19 -18
  44. package/src/components/JfbBaseCardShift/Attr.js +4 -18
  45. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +11 -26
  46. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +19 -18
  47. package/src/components/JfbBaseCardShiftEntry/Attr.js +26 -34
  48. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +257 -294
  49. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +19 -18
  50. package/src/components/JfbBaseCardShiftEntry/Mock.js +1 -2
  51. package/src/components/JfbBaseCardSweepInfo/Attr.js +3 -5
  52. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +19 -18
  53. package/src/components/JfbBaseCardV2/Attr.js +15 -19
  54. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
  55. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
  56. package/src/components/JfbBaseCardV3/Attr.js +12 -16
  57. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  58. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +19 -18
  59. package/src/components/JfbBaseCity/Attr.js +4 -2
  60. package/src/components/JfbBaseCity/JfbBaseCityLess.less +19 -18
  61. package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
  62. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
  63. package/src/components/JfbBaseConDialog/Api.js +1 -1
  64. package/src/components/JfbBaseConDialog/Attr.js +20 -30
  65. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +26 -45
  66. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +19 -18
  67. package/src/components/JfbBaseConDialog/Mock.js +1 -20
  68. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +9 -15
  69. package/src/components/JfbBaseConList/Attr.js +224 -149
  70. package/src/components/JfbBaseConList/JfbBaseConList.vue +133 -150
  71. package/src/components/JfbBaseConList/JfbBaseConListLess.less +19 -18
  72. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +19 -18
  73. package/src/components/JfbBaseEntry/Attr.js +21 -33
  74. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +23 -34
  75. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +19 -18
  76. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +19 -18
  77. package/src/components/JfbBaseFastLink/Api.js +54 -1
  78. package/src/components/JfbBaseFastLink/Attr.js +116 -168
  79. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +16 -12
  80. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +19 -18
  81. package/src/components/JfbBaseFooter/Attr.js +22 -28
  82. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +15 -19
  83. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +19 -18
  84. package/src/components/JfbBaseHeader/Attr.js +91 -89
  85. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +29 -28
  86. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +19 -18
  87. package/src/components/JfbBaseLine/Attr.js +59 -0
  88. package/src/components/JfbBaseLine/JfbBaseLine.vue +105 -0
  89. package/src/components/JfbBaseLine/JfbBaseLineLess.less +80 -0
  90. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +30 -0
  91. package/src/components/JfbBaseLogin/Attr.js +88 -111
  92. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +1 -0
  93. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +19 -18
  94. package/src/components/JfbBaseLoginForgetPwd/Attr.js +45 -52
  95. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  96. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +19 -18
  97. package/src/components/JfbBaseLoginSetPwd/Attr.js +4 -6
  98. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +19 -18
  99. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +19 -18
  100. package/src/components/JfbBaseMapSearch/Attr.js +15 -0
  101. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +25 -1
  102. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +19 -18
  103. package/src/components/JfbBaseMergeUserCard/Attr.js +3 -4
  104. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +19 -18
  105. package/src/components/JfbBaseMultipleExpress/Attr.js +3 -4
  106. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +19 -18
  107. package/src/components/JfbBaseMy/JfbBaseMyLess.less +19 -18
  108. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  109. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +19 -18
  110. package/src/components/JfbBaseNotice/Attr.js +56 -97
  111. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +52 -70
  112. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +19 -18
  113. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +19 -18
  114. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +19 -18
  115. package/src/components/JfbBaseOrderDetail/Attr.js +193 -210
  116. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +3 -6
  117. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
  118. package/src/components/JfbBaseOrderList/Attr.js +43 -55
  119. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -5
  120. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +19 -18
  121. package/src/components/JfbBasePay/Attr.js +13 -2
  122. package/src/components/JfbBasePay/JfbBasePay.vue +6 -7
  123. package/src/components/JfbBasePay/JfbBasePayLess.less +19 -18
  124. package/src/components/JfbBasePay/Mock.js +1 -2
  125. package/src/components/JfbBasePhoneCollect/Attr.js +2 -27
  126. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  127. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +19 -18
  128. package/src/components/JfbBasePhoneLogin/Attr.js +2 -27
  129. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +19 -18
  130. package/src/components/JfbBasePoster/Attr.js +83 -103
  131. package/src/components/JfbBasePoster/JfbBasePoster.vue +141 -134
  132. package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
  133. package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
  134. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +7 -3
  135. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
  136. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  137. package/src/components/JfbBasePosterEntry/Attr.js +33 -44
  138. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +49 -44
  139. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
  140. package/src/components/JfbBasePosterType/Attr.js +48 -82
  141. package/src/components/JfbBasePosterType/FourScreen.vue +2 -8
  142. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +59 -36
  143. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +19 -18
  144. package/src/components/JfbBasePosterType/Screen.vue +284 -0
  145. package/src/components/JfbBaseRecharge/Attr.js +23 -35
  146. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +8 -54
  147. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +19 -18
  148. package/src/components/JfbBaseRechargeOrder/Attr.js +22 -32
  149. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +7 -12
  150. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +19 -18
  151. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +19 -18
  152. package/src/components/JfbBaseRechargeSuccess/Attr.js +8 -10
  153. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +19 -18
  154. package/src/components/JfbBaseSearch/Api.js +60 -0
  155. package/src/components/JfbBaseSearch/Attr.js +148 -6
  156. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +37 -8
  157. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +19 -18
  158. package/src/components/JfbBaseSearch/Mock.js +5 -0
  159. package/src/components/JfbBaseSetPwd/Attr.js +147 -6
  160. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +19 -18
  161. package/src/components/JfbBaseSuccess/Attr.js +17 -78
  162. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
  163. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +19 -18
  164. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +19 -18
  165. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +19 -18
  166. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +19 -18
  167. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +19 -18
  168. package/src/components/JfbBaseUserCenter/Attr.js +53 -72
  169. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +27 -40
  170. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +19 -18
  171. package/src/components/JfbBaseUserInfo/Attr.js +45 -54
  172. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  173. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +19 -18
  174. package/src/components/JfbBaseUserOrder/Attr.js +92 -118
  175. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +7 -21
  176. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +19 -18
  177. package/src/components/JfbBaseVideo/Attr.js +19 -72
  178. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +28 -69
  179. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +19 -18
  180. package/src/components/JfbBaseVideo/XdVideo.vue +44 -6
  181. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
  182. package/src/components/{JfbBaseClear → JfbBaseWalletDetail}/Attr.js +0 -1
  183. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
  184. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +12 -0
  185. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
  186. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
  187. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
  188. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
  189. package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
  190. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +26 -32
  191. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
  192. package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
  193. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
  194. package/src/components/JfbBaseCardShift/Mock.js +0 -21
@@ -8,11 +8,10 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '合并票券说明:',
11
+ label: '内容配置:',
12
12
  ele: 'xd-site-news',
13
13
  valueKey: 'notice',
14
14
  value: data.notice || null,
15
- groupKey:'content',
16
15
  className: 'input70',
17
16
  setting: {
18
17
  config: {
@@ -32,8 +31,7 @@ export default {
32
31
  }
33
32
 
34
33
  //获取返回参数(场景类型名称为必填)
35
- //获取返回参数(场景类型名称为必填)
36
- let loading = { close(){}}
34
+ let loading = XdBus.getParentApi('loading')({});
37
35
 
38
36
  //获取显示内容
39
37
  if (action === 'screen') {
@@ -77,7 +75,6 @@ export default {
77
75
 
78
76
  //使用内容分类
79
77
  if (action === 'cmsPublishEditxContent') {
80
- loading = XdBus.getParentApi('loading')({});
81
78
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
82
79
  .then(res => {
83
80
  console.log('cmsPublishEditxContent', res)
@@ -92,7 +89,6 @@ export default {
92
89
 
93
90
  //位置列表
94
91
  if (action === 'getListPostion') {
95
- loading = XdBus.getParentApi('loading')({});
96
92
  XdBus.getParentApi('getListNewsPosition')(data.params)
97
93
  .then(res => {
98
94
  loading.close();
@@ -106,7 +102,6 @@ export default {
106
102
 
107
103
  //位置创建
108
104
  if (action === 'addPostion') {
109
- loading = XdBus.getParentApi('loading')({});
110
105
  XdBus.getParentApi('addNewsPosition')(data.params)
111
106
  .then(res => {
112
107
  loading.close();
@@ -121,7 +116,6 @@ export default {
121
116
 
122
117
  //位置编辑
123
118
  if (action === 'editPostion') {
124
- loading = XdBus.getParentApi('loading')({});
125
119
  XdBus.getParentApi('updateNewsPosition')(data.params)
126
120
  .then(res => {
127
121
  loading.close();
@@ -136,7 +130,6 @@ export default {
136
130
 
137
131
  //位置删除
138
132
  if (action === 'deleltePostion') {
139
- loading = XdBus.getParentApi('loading')({});
140
133
  XdBus.getParentApi('deleteNewsPosition')(data.params)
141
134
  .then(res => {
142
135
  loading.close();
@@ -151,7 +144,6 @@ export default {
151
144
 
152
145
  //获取广告位内容列表
153
146
  if (action === 'getListContent') {
154
- loading = XdBus.getParentApi('loading')({});
155
147
  XdBus.getParentApi('getListNewsContent')(data.params)
156
148
  .then(res => {
157
149
  loading.close();
@@ -165,7 +157,6 @@ export default {
165
157
 
166
158
  //广告内容创建
167
159
  if (action === 'addContent') {
168
- loading = XdBus.getParentApi('loading')({});
169
160
  XdBus.getParentApi('addNewsContent')(data.params)
170
161
  .then(res => {
171
162
  loading.close();
@@ -180,7 +171,6 @@ export default {
180
171
 
181
172
  //广告内容编辑
182
173
  if (action === 'editContent') {
183
- loading = XdBus.getParentApi('loading')({});
184
174
  XdBus.getParentApi('updateNewsContent')(data.params)
185
175
  .then(res => {
186
176
  loading.close();
@@ -195,7 +185,6 @@ export default {
195
185
 
196
186
  //广告内容删除
197
187
  if (action === 'deleteContent') {
198
- loading = XdBus.getParentApi('loading')({});
199
188
  XdBus.getParentApi('deleteNewsContent')(data.params)
200
189
  .then(res => {
201
190
  loading.close();
@@ -210,7 +199,6 @@ export default {
210
199
 
211
200
  //内容发布
212
201
  if (action === 'publish') {
213
- loading = XdBus.getParentApi('loading')({});
214
202
  console.log('publish', data.params)
215
203
  XdBus.getParentApi('cmsPublishContent')(data.params)
216
204
  .then(res => {
@@ -225,7 +213,6 @@ export default {
225
213
 
226
214
  //通知页面进行刷新
227
215
  if (action === 'update') {
228
- loading = XdBus.getParentApi('loading')({});
229
216
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
230
217
  loading.close()
231
218
  }
@@ -233,11 +220,10 @@ export default {
233
220
  inline: false,
234
221
  },
235
222
  {
236
- label: '票券合并成功跳转地址:',
237
- ele: 'xd-select-pages-path',
238
- valueKey: 'cardPath',
239
- groupKey:'advanced',
240
- placeholder: '请选择票券合并成功跳转地址',
223
+ label: '卡券主页:', //label
224
+ ele: 'xd-select-pages-path', //package 名称
225
+ valueKey: 'cardPath', //form[valueKey]
226
+ placeholder: '请选择卡券主页地址',
241
227
  value: data.cardPath || null,
242
228
  setting: {
243
229
  router: XdBus.getParentApi('getPagesTree'),
@@ -83,8 +83,8 @@
83
83
  <view
84
84
  v-if="isPreview && statusContent === true && content === '' "
85
85
  class="xd-notice"
86
- :style="{ color: dangerColor,fontSize: 24 + 'rpx',backgroundColor:noticeBgc }"
87
- >温馨提示未配置数据,因此该模块在正式环境将不显示</view>
86
+ :style="{ color: dangerColor,fontSize: 24 + 'rpx' }"
87
+ >温馨提示未配置数据,因此改模块在正式环境将不显示</view>
88
88
  <view class="bottom_btn-mask"></view>
89
89
  <view class="bottom_btn" :style="prod_bottom">
90
90
  <xd-button
@@ -140,25 +140,24 @@ export default {
140
140
  randomKey: Date.now(),
141
141
  valid_code:'',
142
142
  valid_token: 'valid_token',
143
-
144
-
143
+
144
+
145
145
  content: "",
146
146
  contentBackgroundColor: '',
147
147
  cardPath: '', //卡券主页
148
-
148
+
149
149
  //提示文案
150
150
  isPreview: false,
151
151
  statusContent: false,
152
152
  disabledKey: 'disabledKey',
153
153
  toPlaceholder:'选择转入票券',
154
- noticeBgc:'',
155
154
  };
156
155
  },
157
156
  computed: {
158
157
  ...mapState({
159
158
  brandInfo: (state) => state.brandInfo,
160
159
  }),
161
-
160
+
162
161
  themeOutStyle(){
163
162
  if(this.fromSelect === null) {
164
163
  return this.getCardThemes('1');
@@ -176,7 +175,7 @@ export default {
176
175
  prod_bottom() {
177
176
  return this.fixedStyle({height: 0, zIndex: 111});
178
177
  },
179
-
178
+
180
179
  disabled(){
181
180
  this.disabledKey = Date.now();
182
181
  return this.fromSelect === null || this.toSelect === null;
@@ -190,11 +189,9 @@ export default {
190
189
  created() {
191
190
  this.init(this.container);
192
191
  this.isPreview = this.$configProject.isPreview;
193
- this.noticeBgc = Color(this.dangerColor).alpha(0.1).toString();
194
192
  this.switchValidToken();
195
193
  this.validImageAPIUrl = this.brandInfo["api_host"] + "/common/v1/valid_code/image/show";
196
194
  this.contentBackgroundColor = Color(this.warningColor).alpha(0.2).toString();
197
-
198
195
  },
199
196
  methods: {
200
197
  onJfbLoad(options) {
@@ -244,12 +241,12 @@ export default {
244
241
  this.textColor = getContainerPropsValue(container, "content.textColor", this.warningColor);
245
242
  this.cardPath = getContainerPropsValue(container, "content.cardPath", {value: ""}).value;
246
243
  },
247
-
244
+
248
245
  //刷新图片验证码
249
246
  switchValidToken() {
250
247
  this.valid_token = this.$xdUniHelper.randomChar(20);
251
248
  },
252
-
249
+
253
250
  handleToSubmit() {
254
251
  // if (!this.valid_code) {
255
252
  // uni.showToast({
@@ -258,7 +255,7 @@ export default {
258
255
  // });
259
256
  // return;
260
257
  // }
261
-
258
+
262
259
  let outPrice = this.$xdUniHelper.divisionFloatNumber(this.fromSelect.card_point, 100);
263
260
  let outHtml = `${this.fromSelect.value}(剩余:${outPrice})`;
264
261
  let inPrice = this.$xdUniHelper.divisionFloatNumber(this.toSelect.card_point, 100);
@@ -275,12 +272,12 @@ export default {
275
272
  // valid_code: this.valid_code,
276
273
  // valid_token: this.valid_token
277
274
  };
278
-
275
+
279
276
  if (action.confirm) {
280
277
  if(this.$configProject.isPreview) return;
281
278
  jfbRootExec("mergeCardEntry", { vm: this,data: params})
282
279
  .then((res) => {
283
- this.$xdAlert({content: '票券合并成功!', time: 1000});
280
+ this.$xdAlert({content: '合卡成功!', time: 1000});
284
281
  setTimeout(()=>{
285
282
  this.$xdUniHelper.navigateTo({
286
283
  url: this.cardPath
@@ -344,7 +341,7 @@ export default {
344
341
  .capture {
345
342
  width: unit(160, rpx);
346
343
  height: unit(70, rpx);
347
-
344
+
348
345
  & >image {
349
346
  width: 100%;
350
347
  height: 100%;
@@ -357,7 +354,7 @@ export default {
357
354
  .align-center {
358
355
  align-items: center;
359
356
  }
360
-
357
+
361
358
  &-btn {
362
359
  padding-bottom: unit(20, rpx);
363
360
  }
@@ -371,21 +368,21 @@ export default {
371
368
  border-radius: unit(16, rpx);
372
369
  overflow: hidden;
373
370
  margin-bottom: unit(30, rpx);
374
-
371
+
375
372
  &:last-child {
376
373
  margin-bottom: 0;
377
374
  }
378
-
375
+
379
376
  &-box {
380
377
  background-size: 100%;
381
378
  background-repeat: no-repeat;
382
379
  background-position: top center;
383
-
380
+
384
381
  & >view:nth-child(2) {
385
382
  padding: unit(40, rpx);
386
383
  }
387
384
  }
388
-
385
+
389
386
  &-title {
390
387
  height: unit(50, rpx);
391
388
  background: rgba(102, 102, 102, 0.4);
@@ -394,13 +391,13 @@ export default {
394
391
  align-items: center;
395
392
  color: #fff;
396
393
  font-size: unit(24, rpx);
397
-
394
+
398
395
  &>view:nth-child(2) {
399
396
  margin-left: unit(10, rpx);
400
397
  }
401
398
  }
402
-
403
-
399
+
400
+
404
401
  }
405
402
  }
406
403
 
@@ -409,13 +406,13 @@ export default {
409
406
  justify-content: space-between;
410
407
  align-items: center;
411
408
  padding: 0 unit(30, rpx);
412
-
413
-
409
+
410
+
414
411
  & > view:first-child, &> view:last-child {
415
412
  flex-shrink: 0;
416
413
  font-size: unit(32, rpx);
417
414
  }
418
-
415
+
419
416
  & > view:nth-child(2) {
420
417
  flex: 1;
421
418
  margin: 0 unit(20, rpx);
@@ -438,7 +435,7 @@ export default {
438
435
  align-items: center;
439
436
  height: unit(120, rpx);
440
437
  background: #ffffff;
441
-
438
+
442
439
  &-mask {
443
440
  height: unit(120, rpx);
444
441
  }
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-card-merge-entry {
16
+ border: 1px dashed rgba(0, 0, 0, 0);
16
17
  box-sizing: border-box;
17
- min-height: unit(100, rpx);
18
+ min-height: unit(50, rpx);
18
19
 
19
20
  &__body{
20
21
  position: relative;
@@ -22,21 +23,21 @@
22
23
  z-index: 2
23
24
  }
24
25
 
25
- &.editx,&:hover {
26
+ &.editx {
26
27
  position: relative;
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
- }
28
+ border: 1px dashed blue;
29
+ box-sizing: border-box;
30
+ z-index: 3
31
+
32
+ }
39
33
 
34
+ &:hover {
35
+ border: 1px dashed blue;
36
+ }
37
+
38
+ &.noBorder {
39
+ border-color: rgba(0,0,0,0);
40
+ border-width: 0;
40
41
  }
41
42
 
42
43
 
@@ -71,9 +72,9 @@
71
72
 
72
73
  /**notPreview**/
73
74
  .jfb-base-card-merge-entry {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -5,10 +5,9 @@ export default {
5
5
  advanced: [],
6
6
  content: [
7
7
  {
8
- label: '返回按钮地址:',
9
- ele: 'xd-select-pages-path',
10
- valueKey: 'back_url',
11
- groupKey:'advanced',
8
+ label: '返回按钮地址:', //label
9
+ ele: 'xd-select-pages-path', //package 名称
10
+ valueKey: 'back_url', //form[valueKey]
12
11
  placeholder: '请选择返回按钮地址',
13
12
  value: null,
14
13
  setting: {
@@ -20,7 +19,6 @@ export default {
20
19
  label: '提示内容:',
21
20
  ele: 'xd-site-news',
22
21
  valueKey: 'notice',
23
- groupKey:'content',
24
22
  value: null,
25
23
  className: 'input70',
26
24
  setting: {
@@ -41,8 +39,7 @@ export default {
41
39
  }
42
40
 
43
41
  //获取返回参数(场景类型名称为必填)
44
- //获取返回参数(场景类型名称为必填)
45
- let loading = { close(){}}
42
+ let loading = XdBus.getParentApi('loading')({});
46
43
 
47
44
  //获取显示内容
48
45
  if (action === 'screen') {
@@ -86,7 +83,6 @@ export default {
86
83
 
87
84
  //使用内容分类
88
85
  if (action === 'cmsPublishEditxContent') {
89
- loading = XdBus.getParentApi('loading')({});
90
86
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
91
87
  .then(res => {
92
88
  console.log('cmsPublishEditxContent', res)
@@ -101,7 +97,6 @@ export default {
101
97
 
102
98
  //位置列表
103
99
  if (action === 'getListPostion') {
104
- loading = XdBus.getParentApi('loading')({});
105
100
  XdBus.getParentApi('getListNewsPosition')(data.params)
106
101
  .then(res => {
107
102
  loading.close();
@@ -115,7 +110,6 @@ export default {
115
110
 
116
111
  //位置创建
117
112
  if (action === 'addPostion') {
118
- loading = XdBus.getParentApi('loading')({});
119
113
  XdBus.getParentApi('addNewsPosition')(data.params)
120
114
  .then(res => {
121
115
  loading.close();
@@ -130,7 +124,6 @@ export default {
130
124
 
131
125
  //位置编辑
132
126
  if (action === 'editPostion') {
133
- loading = XdBus.getParentApi('loading')({});
134
127
  XdBus.getParentApi('updateNewsPosition')(data.params)
135
128
  .then(res => {
136
129
  loading.close();
@@ -145,7 +138,6 @@ export default {
145
138
 
146
139
  //位置删除
147
140
  if (action === 'deleltePostion') {
148
- loading = XdBus.getParentApi('loading')({});
149
141
  XdBus.getParentApi('deleteNewsPosition')(data.params)
150
142
  .then(res => {
151
143
  loading.close();
@@ -160,7 +152,6 @@ export default {
160
152
 
161
153
  //获取广告位内容列表
162
154
  if (action === 'getListContent') {
163
- loading = XdBus.getParentApi('loading')({});
164
155
  XdBus.getParentApi('getListNewsContent')(data.params)
165
156
  .then(res => {
166
157
  loading.close();
@@ -174,7 +165,6 @@ export default {
174
165
 
175
166
  //广告内容创建
176
167
  if (action === 'addContent') {
177
- loading = XdBus.getParentApi('loading')({});
178
168
  XdBus.getParentApi('addNewsContent')(data.params)
179
169
  .then(res => {
180
170
  loading.close();
@@ -189,7 +179,6 @@ export default {
189
179
 
190
180
  //广告内容编辑
191
181
  if (action === 'editContent') {
192
- loading = XdBus.getParentApi('loading')({});
193
182
  XdBus.getParentApi('updateNewsContent')(data.params)
194
183
  .then(res => {
195
184
  loading.close();
@@ -204,7 +193,6 @@ export default {
204
193
 
205
194
  //广告内容删除
206
195
  if (action === 'deleteContent') {
207
- loading = XdBus.getParentApi('loading')({});
208
196
  XdBus.getParentApi('deleteNewsContent')(data.params)
209
197
  .then(res => {
210
198
  loading.close();
@@ -219,7 +207,6 @@ export default {
219
207
 
220
208
  //内容发布
221
209
  if (action === 'publish') {
222
- loading = XdBus.getParentApi('loading')({});
223
210
  console.log('publish', data.params)
224
211
  XdBus.getParentApi('cmsPublishContent')(data.params)
225
212
  .then(res => {
@@ -234,7 +221,6 @@ export default {
234
221
 
235
222
  //通知页面进行刷新
236
223
  if (action === 'update') {
237
- loading = XdBus.getParentApi('loading')({});
238
224
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
239
225
  loading.close()
240
226
  }
@@ -152,32 +152,17 @@ export default {
152
152
  });
153
153
  return;
154
154
  }
155
-
156
- let card_number = this.card_number;
157
- if(this.$configProject.isPreview) card_number = '101001000005193';
158
- let content = `您要将<view style="color:red">【${card_number}】</view>进行转换操作吗?`;
159
- this.$xdConfirm({
160
- title: "是否确认转换",
161
- isHtml: true,
162
- $vm: this,
163
- content:content,
164
- success:(action)=>{
165
- if(action.confirm) {
166
- jfbRootExec("changeCardBind", {
167
- vm: this,
168
- data: {
169
- card_number: this.card_number,
170
- },
171
- })
172
- .then((res) => {
173
- debugger
174
- this.success = true;
175
- this.changeNumber = res["to_card_number"];
176
- })
177
- .catch();
178
- }
179
- }
180
- });
155
+ jfbRootExec("changeCardBind", {
156
+ vm: this,
157
+ data: {
158
+ card_number: this.card_number,
159
+ },
160
+ })
161
+ .then((res) => {
162
+ this.success = true;
163
+ this.changeNumber = res["to_card_number"];
164
+ })
165
+ .catch();
181
166
  },
182
167
  handleToLink() {
183
168
  this.$xdUniHelper.navigateTo({
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-card-shift {
16
+ border: 1px dashed rgba(0, 0, 0, 0);
16
17
  box-sizing: border-box;
17
- min-height: unit(100, rpx);
18
+ min-height: unit(50, rpx);
18
19
 
19
20
  &__body{
20
21
  position: relative;
@@ -22,21 +23,21 @@
22
23
  z-index: 2
23
24
  }
24
25
 
25
- &.editx,&:hover {
26
+ &.editx {
26
27
  position: relative;
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
- }
28
+ border: 1px dashed blue;
29
+ box-sizing: border-box;
30
+ z-index: 3
31
+
32
+ }
39
33
 
34
+ &:hover {
35
+ border: 1px dashed blue;
36
+ }
37
+
38
+ &.noBorder {
39
+ border-color: rgba(0,0,0,0);
40
+ border-width: 0;
40
41
  }
41
42
 
42
43
 
@@ -71,9 +72,9 @@
71
72
 
72
73
  /**notPreview**/
73
74
  .jfb-base-card-shift {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/