jufubao-base 1.0.134-beta9 → 1.0.134

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 (210) 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 +36 -78
  20. package/src/components/JfbBaseCard/JfbBaseCard.vue +2 -2
  21. package/src/components/JfbBaseCard/JfbBaseCardLess.less +19 -18
  22. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +19 -18
  23. package/src/components/JfbBaseCardBindV2/Attr.js +4 -5
  24. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +1 -3
  25. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +19 -18
  26. package/src/components/JfbBaseCardDetail/Attr.js +3 -4
  27. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +19 -18
  28. package/src/components/JfbBaseCardDetailEntry/Attr.js +8 -10
  29. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +13 -4
  30. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +19 -18
  31. package/src/components/JfbBaseCardDisabled/Attr.js +3 -1
  32. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +19 -18
  33. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +19 -18
  34. package/src/components/JfbBaseCardEntry/Api.js +1 -1
  35. package/src/components/JfbBaseCardEntry/Attr.js +67 -86
  36. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +5 -6
  37. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +19 -18
  38. package/src/components/JfbBaseCardInfo/Attr.js +16 -22
  39. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +19 -18
  40. package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -16
  41. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +19 -18
  42. package/src/components/JfbBaseCardMerge/Attr.js +8 -21
  43. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +30 -15
  44. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +19 -18
  45. package/src/components/JfbBaseCardMergeEntry/Attr.js +6 -20
  46. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +25 -28
  47. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +19 -18
  48. package/src/components/JfbBaseCardShift/Attr.js +4 -18
  49. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +11 -26
  50. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +19 -18
  51. package/src/components/JfbBaseCardShiftEntry/Attr.js +26 -34
  52. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +257 -294
  53. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +19 -18
  54. package/src/components/JfbBaseCardShiftEntry/Mock.js +1 -2
  55. package/src/components/JfbBaseCardSweepInfo/Attr.js +3 -5
  56. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +19 -18
  57. package/src/components/JfbBaseCardV2/Attr.js +17 -21
  58. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
  59. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
  60. package/src/components/JfbBaseCardV3/Attr.js +14 -18
  61. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  62. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +19 -18
  63. package/src/components/JfbBaseCity/Attr.js +4 -2
  64. package/src/components/JfbBaseCity/JfbBaseCityLess.less +19 -18
  65. package/src/components/JfbBaseClear/JfbBaseClear.vue +9 -9
  66. package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
  67. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
  68. package/src/components/JfbBaseConDialog/Api.js +2 -2
  69. package/src/components/JfbBaseConDialog/Attr.js +14 -23
  70. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +35 -63
  71. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +19 -18
  72. package/src/components/JfbBaseConDialog/Mock.js +1 -20
  73. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +9 -15
  74. package/src/components/JfbBaseConList/Api.js +1 -1
  75. package/src/components/JfbBaseConList/Attr.js +224 -149
  76. package/src/components/JfbBaseConList/JfbBaseConList.vue +133 -150
  77. package/src/components/JfbBaseConList/JfbBaseConListLess.less +19 -18
  78. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +19 -18
  79. package/src/components/JfbBaseEntry/Attr.js +21 -33
  80. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +23 -34
  81. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +19 -18
  82. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +19 -18
  83. package/src/components/JfbBaseFastLink/Api.js +54 -1
  84. package/src/components/JfbBaseFastLink/Attr.js +116 -168
  85. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +16 -12
  86. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +19 -18
  87. package/src/components/JfbBaseFooter/Attr.js +22 -28
  88. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +15 -19
  89. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +19 -18
  90. package/src/components/JfbBaseHeader/Attr.js +91 -89
  91. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +29 -28
  92. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +19 -18
  93. package/src/components/JfbBaseLine/Attr.js +59 -0
  94. package/src/components/JfbBaseLine/JfbBaseLine.vue +105 -0
  95. package/src/components/JfbBaseLine/JfbBaseLineLess.less +80 -0
  96. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +30 -0
  97. package/src/components/JfbBaseLogin/Api.js +1 -1
  98. package/src/components/JfbBaseLogin/Attr.js +88 -111
  99. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +5 -4
  100. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +19 -18
  101. package/src/components/JfbBaseLoginForgetPwd/Attr.js +45 -52
  102. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  103. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +19 -18
  104. package/src/components/JfbBaseLoginSetPwd/Attr.js +4 -6
  105. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +19 -18
  106. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +19 -18
  107. package/src/components/JfbBaseMapSearch/Attr.js +15 -0
  108. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +25 -1
  109. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +19 -18
  110. package/src/components/JfbBaseMergeUserCard/Attr.js +3 -4
  111. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +19 -18
  112. package/src/components/JfbBaseMultipleExpress/Attr.js +3 -4
  113. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +19 -18
  114. package/src/components/JfbBaseMy/JfbBaseMyLess.less +19 -18
  115. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  116. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +19 -18
  117. package/src/components/JfbBaseNotice/Attr.js +58 -109
  118. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +54 -82
  119. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +19 -18
  120. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +19 -18
  121. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +19 -18
  122. package/src/components/JfbBaseOrderDetail/Attr.js +193 -210
  123. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +3 -5
  124. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
  125. package/src/components/JfbBaseOrderList/Attr.js +44 -56
  126. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -5
  127. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +19 -18
  128. package/src/components/JfbBasePay/Attr.js +13 -2
  129. package/src/components/JfbBasePay/JfbBasePay.vue +6 -7
  130. package/src/components/JfbBasePay/JfbBasePayLess.less +19 -18
  131. package/src/components/JfbBasePay/Mock.js +1 -2
  132. package/src/components/JfbBasePhoneCollect/Attr.js +2 -27
  133. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  134. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +19 -18
  135. package/src/components/JfbBasePhoneLogin/Attr.js +2 -27
  136. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +19 -18
  137. package/src/components/JfbBasePoster/Attr.js +83 -103
  138. package/src/components/JfbBasePoster/JfbBasePoster.vue +143 -141
  139. package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
  140. package/src/components/JfbBasePoster/MoreScreen.vue +2 -7
  141. package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
  142. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +9 -10
  143. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
  144. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  145. package/src/components/JfbBasePosterEntry/Attr.js +34 -47
  146. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +51 -52
  147. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
  148. package/src/components/JfbBasePosterType/Attr.js +48 -82
  149. package/src/components/JfbBasePosterType/FourScreen.vue +4 -14
  150. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +59 -36
  151. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +19 -18
  152. package/src/components/JfbBasePosterType/Screen.vue +284 -0
  153. package/src/components/JfbBaseRecharge/Attr.js +23 -35
  154. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +8 -54
  155. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +19 -18
  156. package/src/components/JfbBaseRechargeOrder/Attr.js +22 -32
  157. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +7 -12
  158. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +19 -18
  159. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +19 -18
  160. package/src/components/JfbBaseRechargeSuccess/Attr.js +8 -10
  161. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +19 -18
  162. package/src/components/JfbBaseSearch/Api.js +60 -0
  163. package/src/components/JfbBaseSearch/Attr.js +148 -6
  164. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +37 -8
  165. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +19 -18
  166. package/src/components/JfbBaseSearch/Mock.js +5 -0
  167. package/src/components/JfbBaseSetPwd/Attr.js +147 -6
  168. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +19 -18
  169. package/src/components/JfbBaseSuccess/Attr.js +19 -89
  170. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +26 -48
  171. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
  172. package/src/components/JfbBaseSuccess/Mock.js +0 -8
  173. package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
  174. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +19 -18
  175. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +19 -18
  176. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +19 -18
  177. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +19 -18
  178. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +19 -18
  179. package/src/components/JfbBaseUserCenter/Attr.js +53 -72
  180. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +27 -40
  181. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +19 -18
  182. package/src/components/JfbBaseUserInfo/Attr.js +45 -54
  183. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  184. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +19 -18
  185. package/src/components/JfbBaseUserOrder/Attr.js +94 -119
  186. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +7 -21
  187. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +19 -18
  188. package/src/components/JfbBaseVideo/Attr.js +19 -72
  189. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +28 -69
  190. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +19 -18
  191. package/src/components/JfbBaseVideo/XdVideo.vue +44 -6
  192. package/src/components/JfbBaseWallet/Attr.js +19 -27
  193. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
  194. package/src/components/JfbBaseWalletDetail/Attr.js +6 -2
  195. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
  196. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
  197. package/src/components/JfbBaseWalletIndex/Attr.js +1 -3
  198. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
  199. package/src/components/JfbBaseWalletItem/Attr.js +1 -3
  200. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
  201. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
  202. package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
  203. package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
  204. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +28 -34
  205. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
  206. package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
  207. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
  208. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
  209. package/src/components/JfbBaseCardShift/Mock.js +0 -21
  210. package/src/components/JfbBaseClear/Attr.js +0 -17
@@ -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**/
@@ -6,12 +6,11 @@ export default {
6
6
  content: (data) => {
7
7
  return [
8
8
  {
9
- label: '返回按钮地址:',
10
- ele: 'xd-select-pages-path',
11
- valueKey: 'back_url',
12
- groupKey:'advanced',
9
+ label: '返回按钮地址:', //label
10
+ ele: 'xd-select-pages-path', //package 名称
11
+ valueKey: 'back_url', //form[valueKey]
13
12
  placeholder: '请选择返回按钮地址',
14
- value: data['back_url'] || null,
13
+ value: data.back_url || null,
15
14
  setting: {
16
15
  router: XdBus.getParentApi('getPagesTree'),
17
16
  },
@@ -21,7 +20,6 @@ export default {
21
20
  label: '提示内容:',
22
21
  ele: 'xd-site-news',
23
22
  valueKey: 'notice',
24
- groupKey:'content',
25
23
  value: data.notice || null,
26
24
  className: 'input70',
27
25
  setting: {
@@ -40,10 +38,10 @@ export default {
40
38
  //当一个插件中出现使用内容分类时候需要设置code值,在页面引用时候容器id + code进行拼接
41
39
  //data.params = Object.assign({}, data.params, {code: 'g_test_id'});
42
40
  }
43
-
41
+
44
42
  //获取返回参数(场景类型名称为必填)
45
- let loading = { close(){}}
46
-
43
+ let loading = XdBus.getParentApi('loading')({});
44
+
47
45
  //获取显示内容
48
46
  if (action === 'screen') {
49
47
  XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
@@ -55,9 +53,9 @@ export default {
55
53
  console.error(error);
56
54
  loading.close();
57
55
  });
58
-
56
+
59
57
  }
60
-
58
+
61
59
  //获取返回参数(广告位高度必选项)
62
60
  if (action === 'getNewsInfo') {
63
61
  XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
@@ -70,7 +68,7 @@ export default {
70
68
  console.error(error);
71
69
  });
72
70
  }
73
-
71
+
74
72
  //获取产品业务线列表
75
73
  if (action === 'namespace') {
76
74
  XdBus.getParentApi('getOptionsNamespaces')({})
@@ -83,10 +81,9 @@ export default {
83
81
  console.error(error);
84
82
  });
85
83
  }
86
-
84
+
87
85
  //使用内容分类
88
86
  if (action === 'cmsPublishEditxContent') {
89
- loading = XdBus.getParentApi('loading')({});
90
87
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
91
88
  .then(res => {
92
89
  console.log('cmsPublishEditxContent', res)
@@ -98,10 +95,9 @@ export default {
98
95
  console.error(error);
99
96
  });
100
97
  }
101
-
98
+
102
99
  //位置列表
103
100
  if (action === 'getListPostion') {
104
- loading = XdBus.getParentApi('loading')({});
105
101
  XdBus.getParentApi('getListNewsPosition')(data.params)
106
102
  .then(res => {
107
103
  loading.close();
@@ -112,10 +108,9 @@ export default {
112
108
  console.error(error);
113
109
  });
114
110
  }
115
-
111
+
116
112
  //位置创建
117
113
  if (action === 'addPostion') {
118
- loading = XdBus.getParentApi('loading')({});
119
114
  XdBus.getParentApi('addNewsPosition')(data.params)
120
115
  .then(res => {
121
116
  loading.close();
@@ -127,10 +122,9 @@ export default {
127
122
  data.cb(false)
128
123
  });
129
124
  }
130
-
125
+
131
126
  //位置编辑
132
127
  if (action === 'editPostion') {
133
- loading = XdBus.getParentApi('loading')({});
134
128
  XdBus.getParentApi('updateNewsPosition')(data.params)
135
129
  .then(res => {
136
130
  loading.close();
@@ -142,10 +136,9 @@ export default {
142
136
  data.cb(false)
143
137
  });
144
138
  }
145
-
139
+
146
140
  //位置删除
147
141
  if (action === 'deleltePostion') {
148
- loading = XdBus.getParentApi('loading')({});
149
142
  XdBus.getParentApi('deleteNewsPosition')(data.params)
150
143
  .then(res => {
151
144
  loading.close();
@@ -157,10 +150,9 @@ export default {
157
150
  data.cb(false)
158
151
  });
159
152
  }
160
-
153
+
161
154
  //获取广告位内容列表
162
155
  if (action === 'getListContent') {
163
- loading = XdBus.getParentApi('loading')({});
164
156
  XdBus.getParentApi('getListNewsContent')(data.params)
165
157
  .then(res => {
166
158
  loading.close();
@@ -171,10 +163,9 @@ export default {
171
163
  console.error(error);
172
164
  });
173
165
  }
174
-
166
+
175
167
  //广告内容创建
176
168
  if (action === 'addContent') {
177
- loading = XdBus.getParentApi('loading')({});
178
169
  XdBus.getParentApi('addNewsContent')(data.params)
179
170
  .then(res => {
180
171
  loading.close();
@@ -186,10 +177,9 @@ export default {
186
177
  data.cb(false)
187
178
  });
188
179
  }
189
-
180
+
190
181
  //广告内容编辑
191
182
  if (action === 'editContent') {
192
- loading = XdBus.getParentApi('loading')({});
193
183
  XdBus.getParentApi('updateNewsContent')(data.params)
194
184
  .then(res => {
195
185
  loading.close();
@@ -201,10 +191,9 @@ export default {
201
191
  data.cb(false)
202
192
  });
203
193
  }
204
-
194
+
205
195
  //广告内容删除
206
196
  if (action === 'deleteContent') {
207
- loading = XdBus.getParentApi('loading')({});
208
197
  XdBus.getParentApi('deleteNewsContent')(data.params)
209
198
  .then(res => {
210
199
  loading.close();
@@ -216,10 +205,9 @@ export default {
216
205
  data.cb(false)
217
206
  });
218
207
  }
219
-
208
+
220
209
  //内容发布
221
210
  if (action === 'publish') {
222
- loading = XdBus.getParentApi('loading')({});
223
211
  console.log('publish', data.params)
224
212
  XdBus.getParentApi('cmsPublishContent')(data.params)
225
213
  .then(res => {
@@ -231,14 +219,18 @@ export default {
231
219
  console.error(error);
232
220
  });
233
221
  }
234
-
222
+
235
223
  //通知页面进行刷新
236
224
  if (action === 'update') {
237
- loading = XdBus.getParentApi('loading')({});
238
225
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
239
226
  loading.close()
240
227
  }
241
228
  },
229
+ inline: false,
230
+ notice: '',
231
+ rules: [
232
+ {required: true, message: '请配置温馨提示内容', trigger: 'change'},
233
+ ],
242
234
  },
243
235
  ].filter(i=>i)
244
236
  },