jufubao-base 1.0.133 → 1.0.134-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 (205) hide show
  1. package/package.json +4 -3
  2. package/src/components/JfbBaseAddress/Attr.js +11 -5
  3. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
  4. package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +18 -19
  5. package/src/components/JfbBaseAfterOrderDetail/Attr.js +19 -7
  6. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +6 -4
  7. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +18 -19
  8. package/src/components/JfbBaseAfterOrderList/Attr.js +25 -16
  9. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +6 -9
  10. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +18 -19
  11. package/src/components/JfbBaseBack/JfbBaseBackLess.less +18 -19
  12. package/src/components/JfbBaseBackground/Attr.js +9 -8
  13. package/src/components/JfbBaseBackground/JfbBaseBackground.vue +0 -3
  14. package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +18 -19
  15. package/src/components/JfbBaseBlock/Attr.js +12 -2
  16. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +1 -8
  17. package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +18 -19
  18. package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +18 -19
  19. package/src/components/JfbBaseCard/Attr.js +78 -36
  20. package/src/components/JfbBaseCard/JfbBaseCard.vue +2 -2
  21. package/src/components/JfbBaseCard/JfbBaseCardLess.less +18 -19
  22. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +18 -19
  23. package/src/components/JfbBaseCardBindV2/Attr.js +5 -4
  24. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +7 -1
  25. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +18 -19
  26. package/src/components/JfbBaseCardDetail/Attr.js +4 -3
  27. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +18 -19
  28. package/src/components/JfbBaseCardDetailEntry/Attr.js +10 -8
  29. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +4 -13
  30. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +18 -19
  31. package/src/components/JfbBaseCardDisabled/Attr.js +1 -3
  32. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +18 -19
  33. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +18 -19
  34. package/src/components/JfbBaseCardEntry/Api.js +1 -1
  35. package/src/components/JfbBaseCardEntry/Attr.js +86 -67
  36. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +6 -5
  37. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +18 -19
  38. package/src/components/JfbBaseCardInfo/Attr.js +22 -16
  39. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +18 -19
  40. package/src/components/JfbBaseCardInfoEntry/Attr.js +16 -11
  41. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +18 -19
  42. package/src/components/JfbBaseCardMerge/Attr.js +21 -8
  43. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +15 -30
  44. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +18 -19
  45. package/src/components/JfbBaseCardMergeEntry/Attr.js +20 -6
  46. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +28 -25
  47. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +18 -19
  48. package/src/components/JfbBaseCardShift/Attr.js +18 -4
  49. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +26 -11
  50. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +18 -19
  51. package/src/components/JfbBaseCardShift/Mock.js +21 -0
  52. package/src/components/JfbBaseCardShiftEntry/Attr.js +34 -26
  53. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +294 -257
  54. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +18 -19
  55. package/src/components/JfbBaseCardShiftEntry/Mock.js +2 -1
  56. package/src/components/JfbBaseCardSweepInfo/Attr.js +5 -3
  57. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +18 -19
  58. package/src/components/JfbBaseCardV2/Attr.js +21 -17
  59. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
  60. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
  61. package/src/components/JfbBaseCardV3/Attr.js +18 -14
  62. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  63. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +18 -19
  64. package/src/components/JfbBaseCity/Attr.js +2 -4
  65. package/src/components/JfbBaseCity/JfbBaseCityLess.less +18 -19
  66. package/src/components/{JfbBaseWalletDetail → JfbBaseClear}/Attr.js +1 -0
  67. package/src/components/JfbBaseClear/JfbBaseClear.vue +9 -9
  68. package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
  69. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
  70. package/src/components/JfbBaseConDialog/Api.js +2 -2
  71. package/src/components/JfbBaseConDialog/Attr.js +30 -20
  72. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +45 -26
  73. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +18 -19
  74. package/src/components/JfbBaseConDialog/Mock.js +20 -1
  75. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +15 -9
  76. package/src/components/JfbBaseConList/Api.js +1 -1
  77. package/src/components/JfbBaseConList/Attr.js +149 -224
  78. package/src/components/JfbBaseConList/JfbBaseConList.vue +150 -133
  79. package/src/components/JfbBaseConList/JfbBaseConListLess.less +18 -19
  80. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +18 -19
  81. package/src/components/JfbBaseEntry/Attr.js +33 -21
  82. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +34 -23
  83. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +18 -19
  84. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +18 -19
  85. package/src/components/JfbBaseFastLink/Api.js +1 -54
  86. package/src/components/JfbBaseFastLink/Attr.js +168 -116
  87. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -16
  88. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +18 -19
  89. package/src/components/JfbBaseFooter/Attr.js +28 -22
  90. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +19 -15
  91. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +18 -19
  92. package/src/components/JfbBaseHeader/Attr.js +89 -91
  93. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +28 -29
  94. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +18 -19
  95. package/src/components/JfbBaseLogin/Api.js +1 -1
  96. package/src/components/JfbBaseLogin/Attr.js +111 -88
  97. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +4 -5
  98. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +18 -19
  99. package/src/components/JfbBaseLoginForgetPwd/Attr.js +52 -45
  100. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  101. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +18 -19
  102. package/src/components/JfbBaseLoginSetPwd/Attr.js +6 -4
  103. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +18 -19
  104. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +18 -19
  105. package/src/components/JfbBaseMapSearch/Attr.js +0 -15
  106. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +1 -25
  107. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +18 -19
  108. package/src/components/JfbBaseMergeUserCard/Attr.js +4 -3
  109. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +18 -19
  110. package/src/components/JfbBaseMultipleExpress/Attr.js +4 -3
  111. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +18 -19
  112. package/src/components/JfbBaseMy/JfbBaseMyLess.less +18 -19
  113. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  114. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +18 -19
  115. package/src/components/JfbBaseNotice/Attr.js +97 -56
  116. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +70 -52
  117. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +18 -19
  118. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +18 -19
  119. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +18 -19
  120. package/src/components/JfbBaseOrderDetail/Attr.js +210 -193
  121. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +5 -3
  122. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
  123. package/src/components/JfbBaseOrderList/Attr.js +56 -44
  124. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +5 -3
  125. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
  126. package/src/components/JfbBasePay/Attr.js +2 -13
  127. package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
  128. package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
  129. package/src/components/JfbBasePay/Mock.js +2 -1
  130. package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
  131. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  132. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
  133. package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
  134. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
  135. package/src/components/JfbBasePoster/Attr.js +103 -83
  136. package/src/components/JfbBasePoster/JfbBasePoster.vue +134 -141
  137. package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
  138. package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
  139. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
  140. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
  141. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  142. package/src/components/JfbBasePosterEntry/Attr.js +47 -34
  143. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
  144. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
  145. package/src/components/JfbBasePosterType/Attr.js +82 -48
  146. package/src/components/JfbBasePosterType/FourScreen.vue +8 -2
  147. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +36 -59
  148. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
  149. package/src/components/JfbBaseRecharge/Attr.js +35 -23
  150. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
  151. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
  152. package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
  153. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
  154. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
  155. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
  156. package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
  157. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
  158. package/src/components/JfbBaseSearch/Attr.js +6 -148
  159. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
  160. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
  161. package/src/components/JfbBaseSetPwd/Attr.js +6 -147
  162. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
  163. package/src/components/JfbBaseSuccess/Attr.js +89 -19
  164. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +38 -18
  165. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
  166. package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
  167. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
  168. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
  169. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
  170. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
  171. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
  172. package/src/components/JfbBaseUserCenter/Attr.js +72 -53
  173. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
  174. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
  175. package/src/components/JfbBaseUserInfo/Attr.js +54 -45
  176. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  177. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
  178. package/src/components/JfbBaseUserOrder/Attr.js +119 -94
  179. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
  180. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
  181. package/src/components/JfbBaseVideo/Attr.js +72 -19
  182. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
  183. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
  184. package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
  185. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
  186. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
  187. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
  188. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
  189. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
  190. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
  191. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
  192. package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
  193. package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
  194. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +34 -28
  195. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
  196. package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
  197. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
  198. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
  199. package/src/components/JfbBaseLine/Attr.js +0 -59
  200. package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
  201. package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
  202. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
  203. package/src/components/JfbBasePosterType/Screen.vue +0 -284
  204. package/src/components/JfbBaseSearch/Api.js +0 -60
  205. package/src/components/JfbBaseSearch/Mock.js +0 -5
@@ -4,76 +4,11 @@ export default {
4
4
  style: [],
5
5
  advanced: [],
6
6
  content: [
7
- // {
8
- // label: '票券登陆文案:',
9
- // ele: 'el-input',
10
- // type: 'text',
11
- // valueKey: 'login_name',
12
- // value: '',
13
- // placeholder: '请输入票券登陆文案',
14
- // className: 'input80',
15
- // inline: false,
16
- // notice: '当未设置文案时候,前台页面显示为"<span style="color:red">登录</span>"'
17
- // },
18
- {
19
- label: '失效卡列表地址:', //label
20
- ele: 'xd-select-pages-path', //package 名称
21
- valueKey: 'disabled_url', //form[valueKey]
22
- placeholder: '请选择失效卡列表地址',
23
- value: null,
24
- setting: {
25
- router: XdBus.getParentApi('getPagesTree'),
26
- },
27
- inline: false,
28
- },
29
- {
30
- label: '卡券详情地址:', //label
31
- ele: 'xd-select-pages-path', //package 名称
32
- valueKey: 'detail_url', //form[valueKey]
33
- placeholder: '请选择卡券详情地址',
34
- value: null,
35
- setting: {
36
- router: XdBus.getParentApi('getPagesTree'),
37
- },
38
- inline: false,
39
- },
40
- {
41
- label: '卡券转换地址:', //label
42
- ele: 'xd-select-pages-path', //package 名称
43
- valueKey: 'change_url', //form[valueKey]
44
- placeholder: '请选择卡券转换地址',
45
- value: null,
46
- setting: {
47
- router: XdBus.getParentApi('getPagesTree'),
48
- },
49
- inline: false,
50
- },
51
- {
52
- label: '卡券密码绑定地址:', //label
53
- ele: 'xd-select-pages-path', //package 名称
54
- valueKey: 'bind_url', //form[valueKey]
55
- placeholder: '请选择卡券密码绑定地址',
56
- value: null,
57
- setting: {
58
- router: XdBus.getParentApi('getPagesTree'),
59
- },
60
- inline: false,
61
- },
62
- {
63
- label: '扫码绑定卡券确认地址:', //label
64
- ele: 'xd-select-pages-path', //package 名称
65
- valueKey: 'confirm_url', //form[valueKey]
66
- placeholder: '请选择扫码绑定卡券确认地址',
67
- value: null,
68
- setting: {
69
- router: XdBus.getParentApi('getPagesTree'),
70
- },
71
- inline: false,
72
- },
73
7
  {
74
8
  label: '提示内容:',
75
9
  ele: 'xd-site-news',
76
10
  valueKey: 'notice',
11
+ groupKey:'content',
77
12
  value: null,
78
13
  className: 'input70',
79
14
  setting: {
@@ -94,7 +29,8 @@ export default {
94
29
  }
95
30
 
96
31
  //获取返回参数(场景类型名称为必填)
97
- let loading = XdBus.getParentApi('loading')({});
32
+ //获取返回参数(场景类型名称为必填)
33
+ let loading = { close(){}}
98
34
 
99
35
  //获取显示内容
100
36
  if (action === 'screen') {
@@ -138,6 +74,7 @@ export default {
138
74
 
139
75
  //使用内容分类
140
76
  if (action === 'cmsPublishEditxContent') {
77
+ loading = XdBus.getParentApi('loading')({});
141
78
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
142
79
  .then(res => {
143
80
  console.log('cmsPublishEditxContent', res)
@@ -152,6 +89,7 @@ export default {
152
89
 
153
90
  //位置列表
154
91
  if (action === 'getListPostion') {
92
+ loading = XdBus.getParentApi('loading')({});
155
93
  XdBus.getParentApi('getListNewsPosition')(data.params)
156
94
  .then(res => {
157
95
  loading.close();
@@ -165,6 +103,7 @@ export default {
165
103
 
166
104
  //位置创建
167
105
  if (action === 'addPostion') {
106
+ loading = XdBus.getParentApi('loading')({});
168
107
  XdBus.getParentApi('addNewsPosition')(data.params)
169
108
  .then(res => {
170
109
  loading.close();
@@ -179,6 +118,7 @@ export default {
179
118
 
180
119
  //位置编辑
181
120
  if (action === 'editPostion') {
121
+ loading = XdBus.getParentApi('loading')({});
182
122
  XdBus.getParentApi('updateNewsPosition')(data.params)
183
123
  .then(res => {
184
124
  loading.close();
@@ -193,6 +133,7 @@ export default {
193
133
 
194
134
  //位置删除
195
135
  if (action === 'deleltePostion') {
136
+ loading = XdBus.getParentApi('loading')({});
196
137
  XdBus.getParentApi('deleteNewsPosition')(data.params)
197
138
  .then(res => {
198
139
  loading.close();
@@ -207,6 +148,7 @@ export default {
207
148
 
208
149
  //获取广告位内容列表
209
150
  if (action === 'getListContent') {
151
+ loading = XdBus.getParentApi('loading')({});
210
152
  XdBus.getParentApi('getListNewsContent')(data.params)
211
153
  .then(res => {
212
154
  loading.close();
@@ -220,6 +162,7 @@ export default {
220
162
 
221
163
  //广告内容创建
222
164
  if (action === 'addContent') {
165
+ loading = XdBus.getParentApi('loading')({});
223
166
  XdBus.getParentApi('addNewsContent')(data.params)
224
167
  .then(res => {
225
168
  loading.close();
@@ -234,6 +177,7 @@ export default {
234
177
 
235
178
  //广告内容编辑
236
179
  if (action === 'editContent') {
180
+ loading = XdBus.getParentApi('loading')({});
237
181
  XdBus.getParentApi('updateNewsContent')(data.params)
238
182
  .then(res => {
239
183
  loading.close();
@@ -248,6 +192,7 @@ export default {
248
192
 
249
193
  //广告内容删除
250
194
  if (action === 'deleteContent') {
195
+ loading = XdBus.getParentApi('loading')({});
251
196
  XdBus.getParentApi('deleteNewsContent')(data.params)
252
197
  .then(res => {
253
198
  loading.close();
@@ -262,6 +207,7 @@ export default {
262
207
 
263
208
  //内容发布
264
209
  if (action === 'publish') {
210
+ loading = XdBus.getParentApi('loading')({});
265
211
  console.log('publish', data.params)
266
212
  XdBus.getParentApi('cmsPublishContent')(data.params)
267
213
  .then(res => {
@@ -276,6 +222,7 @@ export default {
276
222
 
277
223
  //通知页面进行刷新
278
224
  if (action === 'update') {
225
+ loading = XdBus.getParentApi('loading')({});
279
226
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
280
227
  loading.close()
281
228
  }
@@ -283,5 +230,77 @@ export default {
283
230
  inline: false,
284
231
  notice: '请配置温馨提示内容,未配置的情况将不显示此模块',
285
232
  },
233
+ {
234
+ label: "是否展示核销二维码",
235
+ ele: "xd-radio",
236
+ valueKey: "isShowCode",
237
+ groupKey:'content',
238
+ value:"N",
239
+ list: [
240
+ {label: "是", value: "Y"},
241
+ {label: "否", value: "N"},
242
+ ]
243
+ },
244
+ {
245
+ label: '失效卡列表地址:',
246
+ ele: 'xd-select-pages-path',
247
+ valueKey: 'disabled_url',
248
+ groupKey:'advanced',
249
+ placeholder: '请选择失效卡列表地址',
250
+ value: null,
251
+ setting: {
252
+ router: XdBus.getParentApi('getPagesTree'),
253
+ },
254
+ inline: false,
255
+ },
256
+ {
257
+ label: '票券详情地址:',
258
+ ele: 'xd-select-pages-path',
259
+ valueKey: 'detail_url',
260
+ groupKey:'advanced',
261
+ placeholder: '请选择票券详情地址',
262
+ value: null,
263
+ setting: {
264
+ router: XdBus.getParentApi('getPagesTree'),
265
+ },
266
+ inline: false,
267
+ },
268
+ {
269
+ label: '票券转换地址:',
270
+ ele: 'xd-select-pages-path',
271
+ valueKey: 'change_url',
272
+ groupKey:'advanced',
273
+ placeholder: '请选择票券转换地址',
274
+ value: null,
275
+ setting: {
276
+ router: XdBus.getParentApi('getPagesTree'),
277
+ },
278
+ inline: false,
279
+ },
280
+ {
281
+ label: '票券密码绑定地址:',
282
+ ele: 'xd-select-pages-path',
283
+ valueKey: 'bind_url',
284
+ groupKey:'advanced',
285
+ placeholder: '请选择票券密码绑定地址',
286
+ value: null,
287
+ setting: {
288
+ router: XdBus.getParentApi('getPagesTree'),
289
+ },
290
+ inline: false,
291
+ },
292
+ {
293
+ label: '扫码绑定票券确认地址:',
294
+ ele: 'xd-select-pages-path',
295
+ valueKey: 'confirm_url',
296
+ groupKey:'advanced',
297
+ placeholder: '请选择扫码绑定票券确认地址',
298
+ value: null,
299
+ setting: {
300
+ router: XdBus.getParentApi('getPagesTree'),
301
+ },
302
+ inline: false,
303
+ },
304
+
286
305
  ],
287
306
  };
@@ -177,7 +177,7 @@
177
177
  <text>券号:</text>
178
178
  <text>{{item.card_number}}</text>
179
179
  </view>
180
- <view @click.stop="toDetail(item)">
180
+ <view @click.stop="toDetail(item)" v-if="isShowCode === 'Y'">
181
181
  <view>
182
182
  <xd-font-icon icon="iconerweima" width="56" height="56" size="50" color="#fff"></xd-font-icon>
183
183
  </view>
@@ -436,10 +436,11 @@ export default {
436
436
  tabIndex: 1,
437
437
  isBack: null, //是否使用返回键
438
438
  inCallback: null, //内部跳转地址
439
+ isShowCode: 'N',
439
440
 
440
441
 
441
442
  //页面跳转地址
442
- login_name:'',//登陆文案
443
+ login_name:'',//登录文案
443
444
  changeUrl: "",
444
445
  bindUrl: "",
445
446
  detailUrl: "",
@@ -487,8 +488,8 @@ export default {
487
488
  this.bindUrl = getContainerPropsValue(container,"content.bind_url",{value: ""}).value;
488
489
  this.detailUrl = getContainerPropsValue(container,"content.detail_url",{value: ""}).value;
489
490
  this.confirmUrl = getContainerPropsValue(container,"content.confirm_url",{value: ""}).value;
490
- //this.allEntryPath = getContainerPropsValue(container,"content.allEntryPath",{value: ""}).value;
491
491
  this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
492
+ this.isShowCode = getContainerPropsValue(container, "content.isShowCode", "N");
492
493
  },
493
494
 
494
495
  handleToLink(path) {
@@ -572,7 +573,7 @@ export default {
572
573
  * @param item
573
574
  */
574
575
  handleBindLogin(item , entry) {
575
- //卡券登陆
576
+ //卡券登录
576
577
  if (this.tabIndex === 1) {
577
578
  if (item["is_valid"] !== "Y") {
578
579
  return;
@@ -674,7 +675,7 @@ export default {
674
675
  }
675
676
  }
676
677
 
677
- //登陆成功调整地址优先级
678
+ //登录成功调整地址优先级
678
679
  this.inCallback = inCallback || this.allEntryPath || this.settings.index;
679
680
  this.getContent();
680
681
 
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-card-entry {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  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
- }
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-base-card-entry {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -5,9 +5,10 @@ export default {
5
5
  advanced: [],
6
6
  content: [
7
7
  {
8
- label: '卡绑定成功回跳地址:', //label
9
- ele: 'xd-select-pages-path', //package 名称
10
- valueKey: 'back_url', //form[valueKey]
8
+ label: '卡绑定成功回跳地址:',
9
+ ele: 'xd-select-pages-path',
10
+ valueKey: 'back_url',
11
+ groupKey:'advanced',
11
12
  placeholder: '请选择卡绑定成功回跳地址',
12
13
  value: null,
13
14
  setting: {
@@ -16,9 +17,10 @@ export default {
16
17
  inline: false,
17
18
  },
18
19
  {
19
- label: '我的票券跳转地址:', //label
20
- ele: 'xd-select-pages-path', //package 名称
21
- valueKey: 'my_card_url', //form[valueKey]
20
+ label: '我的票券跳转地址:',
21
+ ele: 'xd-select-pages-path',
22
+ valueKey: 'my_card_url',
23
+ groupKey:'advanced',
22
24
  placeholder: '请选择我的票券跳转地址',
23
25
  value: null,
24
26
  setting: {
@@ -26,12 +28,24 @@ export default {
26
28
  },
27
29
  inline: false,
28
30
  },
31
+ {
32
+ label: "票券过期是否展示余额",
33
+ ele: "xd-radio",
34
+ valueKey: "is_show_balance",
35
+ groupKey:'content',
36
+ value: "N",
37
+ list: [
38
+ {label: "是", value: "Y"},
39
+ {label: "否", value: "N"},
40
+ ]
41
+ },
29
42
  {
30
43
  label: '券号框自定义文案:',
31
44
  ele: 'el-input',
32
45
  type: 'text',
33
46
  valueKey: 'card_num_placeholder',
34
47
  value: '',
48
+ groupKey:'content',
35
49
  placeholder: '请输入券号框自定义文案',
36
50
  className: 'input80'
37
51
  },
@@ -39,20 +53,12 @@ export default {
39
53
  label: '密码框自定义文案:',
40
54
  ele: 'el-input',
41
55
  type: 'text',
56
+ groupKey:'content',
42
57
  valueKey: 'card_pwd_placeholder',
43
58
  value: '',
44
59
  placeholder: '请输入密码框自定义文案',
45
60
  className: 'input80'
46
61
  },
47
- {
48
- label: "票券过期是否展示余额",
49
- ele: "xd-radio",
50
- valueKey: "is_show_balance",
51
- value: "N",
52
- list: [
53
- {label: "是", value: "Y"},
54
- {label: "否", value: "N"},
55
- ]
56
- }
62
+
57
63
  ],
58
64
  };
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-card-info {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  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
- }
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-base-card-info {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -5,10 +5,11 @@ export default {
5
5
  advanced: [],
6
6
  content: [
7
7
  {
8
- label: '卡绑定成功回跳地址:', //label
9
- ele: 'xd-select-pages-path', //package 名称
10
- valueKey: 'back_url', //form[valueKey]
11
- placeholder: '请选择卡绑定成功回跳地址',
8
+ label: '票券绑定成功回跳地址:',
9
+ ele: 'xd-select-pages-path',
10
+ valueKey: 'back_url',
11
+ groupKey:'advanced',
12
+ placeholder: '请选择票券绑定成功回跳地址',
12
13
  value: null,
13
14
  setting: {
14
15
  router: XdBus.getParentApi('getPagesTree'),
@@ -16,9 +17,10 @@ export default {
16
17
  inline: false,
17
18
  },
18
19
  {
19
- label: '我的票券跳转地址:', //label
20
- ele: 'xd-select-pages-path', //package 名称
21
- valueKey: 'my_card_url', //form[valueKey]
20
+ label: '我的票券跳转地址:',
21
+ ele: 'xd-select-pages-path',
22
+ valueKey: 'my_card_url',
23
+ groupKey:'advanced',
22
24
  placeholder: '请选择我的票券跳转地址',
23
25
  value: null,
24
26
  setting: {
@@ -27,27 +29,30 @@ export default {
27
29
  inline: false,
28
30
  },
29
31
  {
30
- label: '券号框自定义文案:',
32
+ label: '票券号码框自定义文案:',
31
33
  ele: 'el-input',
32
34
  type: 'text',
33
35
  valueKey: 'card_num_placeholder',
36
+ groupKey:'content',
34
37
  value: '',
35
- placeholder: '请输入券号框自定义文案',
38
+ placeholder: '请输入票券号码框自定义文案',
36
39
  className: 'input80'
37
40
  },
38
41
  {
39
- label: '密码框自定义文案:',
42
+ label: '票券密码框自定义文案:',
40
43
  ele: 'el-input',
41
44
  type: 'text',
42
45
  valueKey: 'card_pwd_placeholder',
46
+ groupKey:'content',
43
47
  value: '',
44
- placeholder: '请输入密码框自定义文案',
48
+ placeholder: '票券请输入密码框自定义文案',
45
49
  className: 'input80'
46
50
  },
47
51
  {
48
52
  label: "票券过期是否展示余额",
49
53
  ele: "xd-radio",
50
54
  valueKey: "is_show_balance",
55
+ groupKey:'content',
51
56
  value: "N",
52
57
  list: [
53
58
  {label: "是", value: "Y"},
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-card-info-entry {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
17
+ min-height: unit(100, rpx);
19
18
 
20
19
  &__body{
21
20
  position: relative;
@@ -23,21 +22,21 @@
23
22
  z-index: 2
24
23
  }
25
24
 
26
- &.editx {
25
+ &.editx,&:hover {
27
26
  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
- }
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-base-card-info-entry {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/