jufubao-base 1.0.131 → 1.0.132-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 (195) 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 +76 -34
  20. package/src/components/JfbBaseCard/JfbBaseCardLess.less +18 -19
  21. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +18 -19
  22. package/src/components/JfbBaseCardBindV2/Attr.js +5 -4
  23. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +18 -19
  24. package/src/components/JfbBaseCardDetail/Attr.js +4 -3
  25. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +18 -19
  26. package/src/components/JfbBaseCardDetailEntry/Attr.js +10 -8
  27. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +18 -19
  28. package/src/components/JfbBaseCardDisabled/Attr.js +1 -3
  29. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +18 -19
  30. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +18 -19
  31. package/src/components/JfbBaseCardEntry/Attr.js +86 -67
  32. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +3 -2
  33. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +18 -19
  34. package/src/components/JfbBaseCardInfo/Attr.js +22 -16
  35. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +18 -19
  36. package/src/components/JfbBaseCardInfoEntry/Attr.js +16 -11
  37. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +18 -19
  38. package/src/components/JfbBaseCardMerge/Attr.js +21 -8
  39. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +15 -30
  40. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +18 -19
  41. package/src/components/JfbBaseCardMergeEntry/Attr.js +20 -6
  42. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +28 -25
  43. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +18 -19
  44. package/src/components/JfbBaseCardShift/Attr.js +18 -4
  45. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +26 -11
  46. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +18 -19
  47. package/src/components/JfbBaseCardShift/Mock.js +21 -0
  48. package/src/components/JfbBaseCardShiftEntry/Attr.js +34 -26
  49. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +294 -257
  50. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +18 -19
  51. package/src/components/JfbBaseCardShiftEntry/Mock.js +2 -1
  52. package/src/components/JfbBaseCardSweepInfo/Attr.js +5 -3
  53. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +18 -19
  54. package/src/components/JfbBaseCardV2/Attr.js +19 -15
  55. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
  56. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
  57. package/src/components/JfbBaseCardV3/Attr.js +16 -12
  58. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  59. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +18 -19
  60. package/src/components/JfbBaseCity/Attr.js +2 -4
  61. package/src/components/JfbBaseCity/JfbBaseCityLess.less +18 -19
  62. package/src/components/{JfbBaseWalletDetail → JfbBaseClear}/Attr.js +1 -0
  63. package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
  64. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
  65. package/src/components/JfbBaseConDialog/Api.js +1 -1
  66. package/src/components/JfbBaseConDialog/Attr.js +30 -20
  67. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +45 -26
  68. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +18 -19
  69. package/src/components/JfbBaseConDialog/Mock.js +20 -1
  70. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +15 -9
  71. package/src/components/JfbBaseConList/Attr.js +149 -224
  72. package/src/components/JfbBaseConList/JfbBaseConList.vue +150 -133
  73. package/src/components/JfbBaseConList/JfbBaseConListLess.less +18 -19
  74. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +18 -19
  75. package/src/components/JfbBaseEntry/Attr.js +33 -21
  76. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +34 -23
  77. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +18 -19
  78. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +18 -19
  79. package/src/components/JfbBaseFastLink/Api.js +1 -54
  80. package/src/components/JfbBaseFastLink/Attr.js +168 -116
  81. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -16
  82. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +18 -19
  83. package/src/components/JfbBaseFooter/Attr.js +28 -22
  84. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +19 -15
  85. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +18 -19
  86. package/src/components/JfbBaseHeader/Attr.js +89 -91
  87. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +28 -29
  88. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +18 -19
  89. package/src/components/JfbBaseLogin/Attr.js +111 -88
  90. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +0 -1
  91. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +18 -19
  92. package/src/components/JfbBaseLoginForgetPwd/Attr.js +52 -45
  93. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  94. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +18 -19
  95. package/src/components/JfbBaseLoginSetPwd/Attr.js +6 -4
  96. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +18 -19
  97. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +18 -19
  98. package/src/components/JfbBaseMapSearch/Attr.js +0 -15
  99. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +1 -25
  100. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +18 -19
  101. package/src/components/JfbBaseMergeUserCard/Attr.js +4 -3
  102. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +18 -19
  103. package/src/components/JfbBaseMultipleExpress/Attr.js +4 -3
  104. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +18 -19
  105. package/src/components/JfbBaseMy/JfbBaseMyLess.less +18 -19
  106. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  107. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +18 -19
  108. package/src/components/JfbBaseNotice/Attr.js +97 -56
  109. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +70 -52
  110. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +18 -19
  111. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +18 -19
  112. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +18 -19
  113. package/src/components/JfbBaseOrderDetail/Attr.js +210 -193
  114. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +37 -8
  115. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
  116. package/src/components/JfbBaseOrderList/Attr.js +55 -43
  117. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +5 -3
  118. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
  119. package/src/components/JfbBasePay/Attr.js +2 -13
  120. package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
  121. package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
  122. package/src/components/JfbBasePay/Mock.js +2 -1
  123. package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
  124. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  125. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
  126. package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
  127. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
  128. package/src/components/JfbBasePoster/Attr.js +103 -83
  129. package/src/components/JfbBasePoster/JfbBasePoster.vue +134 -141
  130. package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
  131. package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
  132. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
  133. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
  134. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  135. package/src/components/JfbBasePosterEntry/Attr.js +44 -33
  136. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
  137. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
  138. package/src/components/JfbBasePosterType/Attr.js +82 -48
  139. package/src/components/JfbBasePosterType/FourScreen.vue +8 -2
  140. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +36 -59
  141. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
  142. package/src/components/JfbBaseRecharge/Attr.js +35 -23
  143. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
  144. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
  145. package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
  146. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
  147. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
  148. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
  149. package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
  150. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
  151. package/src/components/JfbBaseSearch/Attr.js +6 -148
  152. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
  153. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
  154. package/src/components/JfbBaseSetPwd/Attr.js +6 -147
  155. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
  156. package/src/components/JfbBaseSuccess/Attr.js +78 -17
  157. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +29 -4
  158. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
  159. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
  160. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
  161. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
  162. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
  163. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
  164. package/src/components/JfbBaseUserCenter/Attr.js +72 -53
  165. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
  166. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
  167. package/src/components/JfbBaseUserInfo/Attr.js +54 -45
  168. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  169. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
  170. package/src/components/JfbBaseUserOrder/Attr.js +118 -92
  171. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
  172. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
  173. package/src/components/JfbBaseVideo/Attr.js +72 -19
  174. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
  175. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
  176. package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
  177. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
  178. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
  179. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
  180. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
  181. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
  182. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
  183. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
  184. package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
  185. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +32 -26
  186. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
  187. package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
  188. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
  189. package/src/components/JfbBaseLine/Attr.js +0 -59
  190. package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
  191. package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
  192. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
  193. package/src/components/JfbBasePosterType/Screen.vue +0 -284
  194. package/src/components/JfbBaseSearch/Api.js +0 -60
  195. package/src/components/JfbBaseSearch/Mock.js +0 -5
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-search {
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-search {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -1,150 +1,9 @@
1
1
  'use strict';
2
2
 
3
- export default [
4
- //文本信息
5
- {
6
- label: '标题名称:', //label
7
- ele: 'el-input', //package 名称
8
- type: 'text',
9
- valueKey: 'title', //form[valueKey]
10
- value: '', //v-model
11
- placeholder: '请输入标题名称',
12
- classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
13
- disabled: true,
14
- rules: [
15
- {
16
- required: true,
17
- type: 'url',
18
- message: '请输入域名地址',
19
- trigger: 'blur'
20
- },
21
- ]
22
- },
3
+ export default {
4
+ style: [],
5
+ advanced: [],
6
+ content: [
23
7
 
24
- //远程获取内容选择
25
- {
26
- label: '跳转路径:', //label
27
- ele: 'xd-select-list', //package 名称
28
- valueKey: 'jumpToLink', //form[valueKey]
29
- value: '', //v-model
30
- placeholder: '请选择加盟商',
31
- multiple: false, //多选
32
- collapseTags: false,
33
- remoteApi: '/api/editx/pages',
34
- remote: true,
35
- },
36
-
37
- //本地固定内容选择
38
- {
39
- label: '选择内容:', //label
40
- ele: 'xd-select-list', //package 名称
41
- valueKey: 'select', //form[valueKey]
42
- value: '', //v-model
43
- placeholder: '请选择选择内容',
44
- multiple: false, //多选
45
- remote: false,
46
- list: [
47
- {"label": "订单详情", "value": '/main/order/order'},
48
- {"label": "购物车详情", "value": '/main/cart/cart'},
49
- {"label": "商品详情", "value": '/main/product/product'},
50
- {"label": "商品分类", "value": '/main/producttype/producttype'},
51
- ],
52
- },
53
-
54
- //本地固定单选选择
55
- {
56
- label: '单选列表(固定):', //label
57
- ele: 'xd-radio', //package 名称
58
- valueKey: 'radio_status_list', //form[valueKey]
59
- value: 6, //v-model
60
- disabled: true,
61
- rules: [
62
- {required: true, message: '请选择', trigger: ['blur', 'change']}
63
- ],
64
- list: [
65
- {"label": "万利达集团", "value": 4},
66
- {"label": "中国联通", "value": 5},
67
- {"label": "中国移动", "value": 6},
68
- {"label": "味多美", "value": 7},
69
- ]
70
- },
71
-
72
- //远程固定单选选择
73
- {
74
- label: '单选列表(固定):', //label
75
- ele: 'xd-radio', //package 名称
76
- valueKey: 'radio_status_list', //form[valueKey]
77
- value: 6, //v-model
78
- disabled: false,
79
- remoteApi: '/api/editx/pages',
80
- remote: true,
81
- rules: [
82
- {required: true, message: '请选择', trigger: ['blur', 'change']}
83
- ],
84
- },
85
-
86
- //本地固定多选选择
87
- {
88
- label: '多选列表(固定):', //label
89
- ele: 'xd-check', //package 名称
90
- valueKey: 'xd-check_list', //form[valueKey]
91
- value: 6, //v-model
92
- disabled: true,
93
- rules: [
94
- {required: true, message: '请选择', trigger: ['blur', 'change']}
95
- ],
96
- list: [
97
- {"label": "万利达集团", "value": 4},
98
- {"label": "中国联通", "value": 5},
99
- {"label": "中国移动", "value": 6},
100
- {"label": "味多美", "value": 7},
101
- ]
102
- },
103
-
104
- //远程多选选选择
105
- {
106
- label: '多选列表:', //label
107
- ele: 'xd-check', //package 名称
108
- valueKey: 'xd-check_remote-list', //form[valueKey]
109
- value: 6, //v-model
110
- disabled: false,
111
- remoteApi: '/api/editx/pages',
112
- remote: true,
113
- rules: [
114
- {required: true, message: '请选择', trigger: ['blur', 'change']}
115
- ],
116
- },
117
-
118
- //状态(二选一)单选选择
119
- {
120
- label: '状态(二选一):', //label
121
- ele: 'xd-radio-status', //package 名称
122
- valueKey: 'radio_status', //form[valueKey]
123
- value: 'Y', //v-model
124
- isall: true,
125
- disabled: true,
126
- backValueType: '', //返回值类型 1=>返回(Y,N)2=> [true|false] 3=>[1,0] 4=>[1,2]
127
- placeholder: '请选择',
128
- list: 'status', //status=>状态 best=>推荐 associate=>关联 yes=>是否 open=> 是否开启 check=>审核
129
- },
130
-
131
- //文本信息
132
- {
133
- label: '标题名称:', //label
134
- ele: 'el-input', //package 名称
135
- type: 'text',
136
- valueKey: 'title', //form[valueKey]
137
- value: '', //v-model
138
- placeholder: '请输入标题名称',
139
- classNmae: 'input40', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
140
- disabled: true,
141
- rules: [
142
- {
143
- required: true,
144
- type: 'url',
145
- message: '请输入域名地址',
146
- trigger: 'blur'
147
- },
148
- ]
149
- },
150
- ]
8
+ ],
9
+ }
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-set-pwd {
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-set-pwd {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -1,6 +1,11 @@
1
1
  'use strict';
2
2
  import StyleForm from "@/utils/StyleForm";
3
- let styleForm = new StyleForm({border: null, shadow: null, spacing: '', bgColor:'', margin: null,radius:null}, null, 'list');
3
+ let styleForm = new StyleForm(
4
+ {border: null, shadow: null, spacing: '', margin: null,radius:null},
5
+ null,
6
+ 'list',
7
+ true
8
+ );
4
9
  export default {
5
10
  style: [],
6
11
  content: (data)=>{
@@ -10,24 +15,16 @@ export default {
10
15
  ele: 'el-input',
11
16
  type: 'text',
12
17
  valueKey: 'custom_btn_name',
18
+ groupKey:'content',
13
19
  value: data['custom_btn_name'] || '',
14
20
  placeholder: '请输入自定义按钮名称',
15
21
  className: 'input80'
16
22
  },
17
- {
18
- "label": "自定义按钮跳转地址:",
19
- "ele": "xd-select-pages-path",
20
- "valueKey": "custom_btn_path",
21
- "value": data['custom_btn_path'] || null,
22
- "setting": {
23
- router: XdBus.getParentApi('getPagesTree'),
24
- },
25
- "inline": false,
26
- },
27
23
  {
28
24
  label: '是否显示码:',
29
25
  ele: 'xd-radio',
30
26
  valueKey: 'is_show_code',
27
+ groupKey:'content',
31
28
  value:data['is_show_code']|| '',
32
29
  placeholder: '请选择',
33
30
  list: [
@@ -39,6 +36,7 @@ export default {
39
36
  label: '是否显示商品:',
40
37
  ele: 'xd-radio',
41
38
  valueKey: 'is_show_product',
39
+ groupKey:'content',
42
40
  value:data['is_show_product']|| '',
43
41
  placeholder: '请选择',
44
42
  list: [
@@ -47,8 +45,9 @@ export default {
47
45
  ],
48
46
  },
49
47
  {
50
- label: '自定义内容:',
48
+ label: '温馨提示配置:',
51
49
  ele: 'xd-site-news',
50
+ groupKey:'content',
52
51
  valueKey: 'notice',
53
52
  value: data['notice'] || null,
54
53
  className: 'input70',
@@ -70,11 +69,12 @@ export default {
70
69
  }
71
70
 
72
71
  //获取返回参数(场景类型名称为必填)
73
- let loading = XdBus.getParentApi('loading')({});
72
+ //获取返回参数(场景类型名称为必填)
73
+ let loading = { close(){}}
74
74
 
75
75
  //获取显示内容
76
76
  if (action === 'screen') {
77
- XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_bucket_content_tip' })
77
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_bucket_content_tip'})
78
78
  .then(res => {
79
79
  loading.close();
80
80
  data.cb(res['list'])
@@ -91,7 +91,7 @@ export default {
91
91
  XdBus.getParentApi('cmsGetPublishEditxContent')(data.params)
92
92
  .then(res => {
93
93
  loading.close()
94
- data.cb({ list: res.list, selectId: res.selected })
94
+ data.cb({list: res.list, selectId: res.selected})
95
95
  })
96
96
  .catch(error => {
97
97
  loading.close()
@@ -114,6 +114,7 @@ export default {
114
114
 
115
115
  //使用内容分类
116
116
  if (action === 'cmsPublishEditxContent') {
117
+ loading = XdBus.getParentApi('loading')({});
117
118
  XdBus.getParentApi('cmsPublishEditxContent')(data.params)
118
119
  .then(res => {
119
120
  console.log('cmsPublishEditxContent', res)
@@ -128,6 +129,7 @@ export default {
128
129
 
129
130
  //位置列表
130
131
  if (action === 'getListPostion') {
132
+ loading = XdBus.getParentApi('loading')({});
131
133
  XdBus.getParentApi('getListNewsPosition')(data.params)
132
134
  .then(res => {
133
135
  loading.close();
@@ -141,6 +143,7 @@ export default {
141
143
 
142
144
  //位置创建
143
145
  if (action === 'addPostion') {
146
+ loading = XdBus.getParentApi('loading')({});
144
147
  XdBus.getParentApi('addNewsPosition')(data.params)
145
148
  .then(res => {
146
149
  loading.close();
@@ -155,6 +158,7 @@ export default {
155
158
 
156
159
  //位置编辑
157
160
  if (action === 'editPostion') {
161
+ loading = XdBus.getParentApi('loading')({});
158
162
  XdBus.getParentApi('updateNewsPosition')(data.params)
159
163
  .then(res => {
160
164
  loading.close();
@@ -169,6 +173,7 @@ export default {
169
173
 
170
174
  //位置删除
171
175
  if (action === 'deleltePostion') {
176
+ loading = XdBus.getParentApi('loading')({});
172
177
  XdBus.getParentApi('deleteNewsPosition')(data.params)
173
178
  .then(res => {
174
179
  loading.close();
@@ -183,6 +188,7 @@ export default {
183
188
 
184
189
  //获取广告位内容列表
185
190
  if (action === 'getListContent') {
191
+ loading = XdBus.getParentApi('loading')({});
186
192
  XdBus.getParentApi('getListNewsContent')(data.params)
187
193
  .then(res => {
188
194
  loading.close();
@@ -196,6 +202,7 @@ export default {
196
202
 
197
203
  //广告内容创建
198
204
  if (action === 'addContent') {
205
+ loading = XdBus.getParentApi('loading')({});
199
206
  XdBus.getParentApi('addNewsContent')(data.params)
200
207
  .then(res => {
201
208
  loading.close();
@@ -210,6 +217,7 @@ export default {
210
217
 
211
218
  //广告内容编辑
212
219
  if (action === 'editContent') {
220
+ loading = XdBus.getParentApi('loading')({});
213
221
  XdBus.getParentApi('updateNewsContent')(data.params)
214
222
  .then(res => {
215
223
  loading.close();
@@ -224,6 +232,7 @@ export default {
224
232
 
225
233
  //广告内容删除
226
234
  if (action === 'deleteContent') {
235
+ loading = XdBus.getParentApi('loading')({});
227
236
  XdBus.getParentApi('deleteNewsContent')(data.params)
228
237
  .then(res => {
229
238
  loading.close();
@@ -238,6 +247,7 @@ export default {
238
247
 
239
248
  //内容发布
240
249
  if (action === 'publish') {
250
+ loading = XdBus.getParentApi('loading')({});
241
251
  console.log('publish', data.params)
242
252
  XdBus.getParentApi('cmsPublishContent')(data.params)
243
253
  .then(res => {
@@ -252,14 +262,65 @@ export default {
252
262
 
253
263
  //通知页面进行刷新
254
264
  if (action === 'update') {
265
+ loading = XdBus.getParentApi('loading')({});
255
266
  XdBus.getParentApi('getXdBusUpdateView')('onUpdateView', {});
256
267
  loading.close()
257
268
  }
258
269
  },
259
270
  inline: false,
260
- notice: '',
271
+ notice: '温馨提示内容配置选用后(组件预览将不做实时生效处理),将根据不同业务线展示对应提示内容。',
272
+ },
273
+ {
274
+ label: '背景颜色:',
275
+ ele: 'xd-color',
276
+ valueKey: 'listBgColor',
277
+ groupKey:'style',
278
+ value: data.listBgColor || '',
279
+ placeholder: '请选择背景颜色',
280
+ classNmae: 'input80',
281
+ },
282
+ ...styleForm.getForm(data, '二维码样式配置'),
283
+ {
284
+ ele: 'title',
285
+ label: '按钮样式设置',
286
+ size: 'small',
287
+ groupKey:'style',
288
+ },
289
+ {
290
+ label: '边框颜色:',
291
+ ele: 'xd-color',
292
+ valueKey: 'btnBorderColor',
293
+ groupKey:'style',
294
+ value: data['btnBorderColor'] || '',
295
+ classNmae: 'input80',
296
+ },
297
+ {
298
+ label: '背景颜色:',
299
+ ele: 'xd-color',
300
+ valueKey: 'btnBgColor',
301
+ groupKey:'style',
302
+ value: data.btnBgColor || '',
303
+ classNmae: 'input80',
304
+ },
305
+ {
306
+ label: '文字颜色:',
307
+ ele: 'xd-color',
308
+ valueKey: 'btnTextColor',
309
+ groupKey:'style',
310
+ value: data.btnTextColor || '',
311
+ classNmae: 'input80',
312
+ },
313
+ {
314
+ "label": "自定义按钮跳转地址:",
315
+ "ele": "xd-select-pages-path",
316
+ "valueKey": "custom_btn_path",
317
+ "value": data['custom_btn_path'] || null,
318
+ "groupKey":'advanced',
319
+ "setting": {
320
+ router: XdBus.getParentApi('getPagesTree'),
321
+ },
322
+ "inline": false,
261
323
  },
262
- ...styleForm.getForm(data, '内容配置')
263
324
  ].filter(i=>i)
264
325
  },
265
326
  advanced: [],
@@ -105,7 +105,9 @@
105
105
  ></image>
106
106
  <image v-if="info.codes[0].logo&&info.codes[0].show_type === 'qrcode'" class="logo-icon" :src="info.codes[0].logo"></image>
107
107
  </view>
108
- <view class="jfb-base-success__body-cashier-text">{{ info.codes[0].can_read_code }}</view>
108
+ <view v-if="info.codes[0].can_read_password" class="jfb-base-success__body-cashier-password" @click="showPassword = true">
109
+ {{ showPassword ? info.codes[0].can_read_code : "查看密码" }}
110
+ </view>
109
111
  <view v-if="info.codes[0].refund_tip_text" style="color:red;font-size:24rpx;text-align:center;margin-top:10rpx">{{info.codes[0].refund_tip_text}}</view>
110
112
  <view
111
113
  v-if="info.codes[0].code_end_time"
@@ -202,13 +204,14 @@
202
204
  v-if="item.show_type === 'qrcode'"
203
205
  >
204
206
  <view class="jfb-base-success__body-num">
205
- <view class="jfb-base-success__body-num-info">
207
+ <!-- <view class="jfb-base-success__body-num-info">
206
208
  <view>{{ item.can_read_code }}</view>
207
- </view>
209
+ </view> -->
208
210
  <view
209
211
  class="jfb-base-success__body-num-info-copy"
212
+ style="margin-top: 0;"
210
213
  @click="handleShowCode(item)"
211
- >查看二维码</view>
214
+ >查看二维码和密码</view>
212
215
  <view
213
216
  v-if="item['code_end_time']"
214
217
  class="jfb-base-success__body-cashier-code"
@@ -329,6 +332,9 @@
329
332
  </image>
330
333
  </view>
331
334
  </view>
335
+ <view v-if="dialogPassword" class="jfb-base-success__body-d_password">
336
+ {{ dialogPassword }}
337
+ </view>
332
338
  </xd-dailog>
333
339
  </view>
334
340
  </template>
@@ -398,6 +404,7 @@ export default {
398
404
  info: null,
399
405
  timeer: null,
400
406
  noUserLoding:null,
407
+ showPassword: false,
401
408
 
402
409
  //请求参数
403
410
  params: null,
@@ -405,6 +412,7 @@ export default {
405
412
  showCode: false,
406
413
  codeSrc: "",
407
414
  logo: "",
415
+ dialogPassword: "",
408
416
  ...styleForm.getDataItem(),
409
417
  };
410
418
  },
@@ -447,6 +455,7 @@ export default {
447
455
  this.codeSrc = item.code_url;
448
456
  this.showType = item.show_type;
449
457
  this.logo = item.logo;
458
+ this.dialogPassword = item.can_read_code;
450
459
  this.showCode = true;
451
460
  },
452
461
  /**
@@ -790,6 +799,14 @@ export default {
790
799
  font-size: unit(32, rpx);
791
800
  font-weight: 500;
792
801
  }
802
+ &-password{
803
+ text-align: center;
804
+ font-size: unit(32, rpx);
805
+ font-weight: 500;
806
+ background: #D3D3D3;
807
+ border-radius: unit(12, rpx);
808
+ padding: unit(14, rpx) unit(28, rpx);
809
+ }
793
810
 
794
811
  image {
795
812
  width: unit(272, rpx);
@@ -841,6 +858,14 @@ export default {
841
858
  max-width: 100%;
842
859
  }
843
860
  }
861
+ &-d_password{
862
+ text-align: center;
863
+ font-size: unit(32, rpx);
864
+ font-weight: 500;
865
+ background: #D3D3D3;
866
+ border-radius: unit(12, rpx);
867
+ padding: unit(14, rpx) unit(28, rpx);
868
+ }
844
869
 
845
870
  &-detail {
846
871
  &-html {
@@ -13,9 +13,8 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-success {
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-success {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/