jufubao-base 1.0.135 → 1.0.136

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 (209) 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 -41
  20. package/src/components/JfbBaseCard/JfbBaseCard.vue +12 -23
  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 +3 -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/JfbBaseClear/Attr.js +17 -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 +23 -14
  72. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +63 -35
  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 +109 -58
  116. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +81 -54
  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 +14 -7
  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 +43 -8
  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 +48 -26
  165. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
  166. package/src/components/JfbBaseSuccess/Mock.js +8 -0
  167. package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
  168. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
  169. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
  170. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
  171. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
  172. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
  173. package/src/components/JfbBaseUserCenter/Attr.js +72 -53
  174. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
  175. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
  176. package/src/components/JfbBaseUserInfo/Attr.js +54 -45
  177. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  178. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
  179. package/src/components/JfbBaseUserOrder/Attr.js +119 -94
  180. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
  181. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
  182. package/src/components/JfbBaseVideo/Attr.js +72 -19
  183. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
  184. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
  185. package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
  186. package/src/components/JfbBaseWallet/Attr.js +27 -19
  187. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
  188. package/src/components/JfbBaseWalletDetail/Attr.js +2 -6
  189. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
  190. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
  191. package/src/components/JfbBaseWalletIndex/Attr.js +3 -1
  192. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
  193. package/src/components/JfbBaseWalletItem/Attr.js +3 -1
  194. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
  195. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
  196. package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
  197. package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
  198. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +34 -28
  199. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
  200. package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
  201. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
  202. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
  203. package/src/components/JfbBaseLine/Attr.js +0 -59
  204. package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
  205. package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
  206. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
  207. package/src/components/JfbBasePosterType/Screen.vue +0 -284
  208. package/src/components/JfbBaseSearch/Api.js +0 -60
  209. package/src/components/JfbBaseSearch/Mock.js +0 -5
@@ -16,92 +16,102 @@
16
16
  <view class="jfb-base-con-list__edit-icon" @click="delEdit">删除</view>
17
17
  </view>
18
18
  <!-- #endif -->
19
- <view class="jfb-base-con-list__body" v-if="done" :style="{
20
- backgroundImage: `url(${background})`,
21
- backgroundSize: '100%',
22
- backgroundRepeat: 'no-repeat',
23
- minHeight: `${layoutInfo.bodyMinHeightRpx}rpx`,
24
- }">
19
+ <view class="jfb-base-con-list__body">
25
20
  <view
26
- v-if="couponList&&couponList.length > 0"
21
+ v-if="done"
22
+ :style="{
23
+ backgroundImage: `url(${background})`,
24
+ backgroundSize: '100%',
25
+ backgroundRepeat: 'no-repeat',
26
+ minHeight: `${layoutInfo.bodyMinHeightRpx}rpx`,
27
+ }"
27
28
  >
28
- <view class="jfb-base-con-list__body-content">
29
- <view class="jfb-base-con-list__body-content-header">
30
- <view class="jfb-base-con-list__body-content-header-left">
31
- <view :style="{ backgroundColor: '#FF4D4A' }"></view>
32
- <view>赠送优惠券</view>
33
- </view>
34
- <view
35
- :style="{ color: '#FA2125', backgroundColor: contentBackground }"
36
- class="jfb-base-con-list__body-content-header-right"
37
- @click="showRule = true"
38
- >
39
- <text>领券规则</text>
40
- <xd-font-icon size="20" icon="iconxiangyou_xian"></xd-font-icon>
41
- </view>
42
- </view>
43
- <view v-if="can_take === 'Y' && has_times === 'Y'" class="jfb-base-con-list__body-content-list">
44
- <view v-for="(item, index) in couponList" :key="index">
29
+ <view v-if="couponList&&couponList.length > 0" >
30
+ <view class="jfb-base-con-list__body-content">
31
+ <view class="jfb-base-con-list__body-content-header">
32
+ <view class="jfb-base-con-list__body-content-header-left">
33
+ <view :style="{ backgroundColor: '#FF4D4A' }"></view>
34
+ <view>赠送优惠券</view>
35
+ </view>
45
36
  <view
46
- class="jfb-base-con-list__body-content-list-item"
47
- :class="'status_' + item.can_take_num"
48
- :style="{
49
- backgroundColor: item.can_take_num==='Y'||item.can_take_num==='P'? contentBackground:'#F3F3F3',
50
- }"
37
+ :style="{ color: '#FA2125', backgroundColor: contentBackground }"
38
+ class="jfb-base-con-list__body-content-header-right"
39
+ @click="showRule = true"
51
40
  >
52
- <view class="item_head">
53
- <image class="t_icon" mode="widthFix" :src="item.headIcon"></image>
54
- <view>{{ item.prize_type }}</view>
55
- </view>
56
- <view class="item_sub">{{ item.prize_name }}</view>
57
- <xd-font-icon
58
- size="100"
41
+ <text>领券规则</text>
42
+ <xd-font-icon size="20" icon="iconxiangyou_xian"></xd-font-icon>
43
+ </view>
44
+ </view>
45
+ <view v-if="can_take === 'Y' && has_times === 'Y'" class="jfb-base-con-list__body-content-list">
46
+ <view v-for="(item, index) in couponList" :key="index">
47
+ <view
48
+ class="jfb-base-con-list__body-content-list-item"
49
+ :class="'status_' + item.can_take_num"
59
50
  :style="{
60
- color: item.iconColor,
61
- position: 'absolute',
62
- right: '0rpx',
63
- top: '0rpx',
51
+ backgroundColor: item.can_take_num==='Y'||item.can_take_num==='P'? contentBackground:'#F3F3F3',
64
52
  }"
65
- :icon="item.icon"
66
- ></xd-font-icon>
67
- <view class="btn_wrap">
68
- <xd-button
69
- size="small"
70
- :disabled="item.can_take_num !=='Y' && item.remain_card_count == 0"
71
- @click="getCoupont(item)"
72
- type="primary"
73
- style="width: 170rpx;height: 60rpx;"
74
- :style="item.btn"
75
- :color="item.infoColor"
76
- >{{ item.btn_txt }}</xd-button>
53
+ >
54
+ <view class="item_head">
55
+ <image class="t_icon" mode="widthFix" :src="item.headIcon" ></image>
56
+ <view>{{ item.prize_type }}</view>
57
+ </view>
58
+ <view class="item_sub">{{ item.prize_name }}</view>
59
+ <xd-font-icon
60
+ size="100"
61
+ :style="{
62
+ color: item.iconColor,
63
+ position: 'absolute',
64
+ right: '0rpx',
65
+ top: '0rpx',
66
+ }"
67
+ :icon="item.icon"
68
+ ></xd-font-icon>
69
+ <view class="btn_wrap">
70
+ <xd-button
71
+ size="small"
72
+ :disabled="item.can_take_num !=='Y' && item.remain_card_count == 0"
73
+ @click="getCoupont(item)"
74
+ type="primary"
75
+ style="width: 170rpx;height: 60rpx;"
76
+ :style="item.btn"
77
+ :color="item.infoColor"
78
+ >{{ item.btn_txt }}</xd-button>
79
+ </view>
77
80
  </view>
78
81
  </view>
79
82
  </view>
83
+ <view v-else class="jfb-base-con-list__body-content-list" style="padding-bottom: 60rpx;">
84
+ <image mode="widthFix" :src="used_up_url"></image>
85
+ </view>
80
86
  </view>
81
- <view v-else class="jfb-base-con-list__body-content-list" style="padding-bottom: 60rpx;">
82
- <image mode="widthFix" :src="used_up_url"></image>
87
+ <view class="jfb-base-con-list__body-content-foot" @click="toCoupon" >
88
+ <view
89
+ :style="{
90
+ padding:outPadding,
91
+ border:border,
92
+ borderRadius:radius + 'rpx',
93
+ color: btnTextColor,
94
+ backgroundColor: btnBgColor,
95
+ boxShadow:shadow
96
+ }">查看已领票券</view>
83
97
  </view>
84
98
  </view>
85
- <view class="jfb-base-con-list__body-content-foot"
86
- @click="toCoupon"
87
- >查看已领票券</view
99
+ <view
100
+ v-else
101
+ class="empty_data"
88
102
  >
103
+ <image :src="emptyBg"></image>
104
+ {{ message }}
105
+ </view>
106
+ <xd-dailog
107
+ :cancel="false"
108
+ :confirm="false"
109
+ title="活动规则说明"
110
+ :show.sync="showRule"
111
+ >
112
+ <xd-content-xss style="text-align:left" :html="notice"></xd-content-xss>
113
+ </xd-dailog>
89
114
  </view>
90
- <view
91
- v-else
92
- class="empty_data"
93
- >
94
- <image :src="emptyBg"></image>
95
- {{ message }}
96
- </view>
97
- <xd-dailog
98
- :cancel="false"
99
- :confirm="false"
100
- title="活动规则说明"
101
- :show.sync="showRule"
102
- >
103
- <xd-content-xss style="text-align:left" :html="notice"></xd-content-xss>
104
- </xd-dailog>
105
115
  </view>
106
116
  </view>
107
117
  </template>
@@ -154,8 +164,21 @@ export default {
154
164
  message: "",
155
165
  options: {},
156
166
  next_url: "",
157
-
158
167
  collectedPath: "",
168
+
169
+ //按钮设置
170
+ btnBgColor:'',
171
+ btnTextColor:'',
172
+ padding:{},
173
+ radius: 0,
174
+ //边框
175
+ is_border:'N',
176
+ is_border_c:'',
177
+ is_border_w:'',
178
+ //投影
179
+ is_shadow: 'Y',
180
+ is_shadow_bg: 0,
181
+ is_shadow_w: 0,
159
182
  };
160
183
  },
161
184
  computed: {
@@ -163,6 +186,21 @@ export default {
163
186
  emptyBg() {
164
187
  return this.getNoData();
165
188
  },
189
+ outPadding() {
190
+ let str = `${this.checkValue(this.padding.top, 0)}rpx`;
191
+ str = `${str} ${this.checkValue(this.padding.right, 0)}rpx`;
192
+ str = `${str} ${this.checkValue(this.padding.bottom, 0)}rpx`;
193
+ str = `${str} ${this.checkValue(this.padding.left, 0)}rpx`;
194
+ return str
195
+ },
196
+ border() {
197
+ if (this.is_border === 'Y') return `${this.is_border_w}rpx solid ${this.is_border_c}`;
198
+ else return '0';
199
+ },
200
+ shadow(){
201
+ if(this.is_shadow === 'Y') return `0 0 ${this.is_shadow_w}rpx ${this.is_shadow_bg}`;
202
+ else return '0 0 0 rgba(0,0,0,0)';
203
+ },
166
204
  },
167
205
  watch: {
168
206
  container(value) {
@@ -182,7 +220,21 @@ export default {
182
220
  this.contentBackground = '#FFF8F8';
183
221
  this.iconColor = '#FF4D4A';
184
222
  this.collectedPath = getContainerPropsValue(value, "content.collectedPath", {value: ''}).value;
223
+
224
+ this.padding = getContainerPropsValue(value, "content.padding", {});
225
+ this.btnBgColor = getContainerPropsValue(value, "content.btnBgColor", 'rgba(0,0,0,0)');
226
+ this.btnTextColor = getContainerPropsValue(value, "content.btnTextColor", '#666');
227
+ this.radius = getContainerPropsValue(value, "content.radius", '0');
228
+
229
+ this.is_border = getContainerPropsValue(value, "content.is_border", 'N');
230
+ this.is_border_c = getContainerPropsValue(value, "content.is_border_c", '#e5e5e5');
231
+ this.is_border_w = getContainerPropsValue(value, "content.is_border_w", 1);
232
+
233
+ this.is_shadow = getContainerPropsValue(value, 'content.is_shadow', 'N');
234
+ this.is_shadow_bg = getContainerPropsValue(value, 'content.is_shadow_bg', '#fff');
235
+ this.is_shadow_w = getContainerPropsValue(value, 'content.is_shadow_w', '10');
185
236
  },
237
+
186
238
  getList() {
187
239
  jfbRootExec("getCouponList", {
188
240
  vm: this,
@@ -199,7 +251,7 @@ export default {
199
251
  this.can_take = res.can_take;
200
252
  this.has_times = res.has_times;
201
253
  this.next_url = res.next_url;
202
-
254
+
203
255
  this.couponList =
204
256
  res.list &&
205
257
  res.list.length > 0 &&
@@ -267,11 +319,13 @@ export default {
267
319
  console.log(err, "err");
268
320
  });
269
321
  },
322
+
270
323
  toCoupon(){
271
324
  this.$xdUniHelper.navigateTo({
272
325
  url: this.next_url || this.collectedPath,
273
326
  });
274
327
  },
328
+
275
329
  getCoupont(item) {
276
330
  if(item.can_take_num === "Y") {
277
331
  this.toCoupon();
@@ -309,6 +363,7 @@ export default {
309
363
  console.log(err, "err");
310
364
  });
311
365
  },
366
+
312
367
  getResult() {
313
368
  jfbRootExec("getCouponResult", {
314
369
  vm: this,
@@ -368,25 +423,7 @@ export default {
368
423
  console.log(err, "err");
369
424
  });
370
425
  },
371
- // getContent() {
372
- // jfbRootExec("getListBaseNewsContentCoupon", {
373
- // vm: this,
374
- // data: {
375
- // page_id: this.pageAttr["page_id"], //页面ID
376
- // container_id: this.containerId, //组件ID
377
- // limit: 1,
378
- // },
379
- // })
380
- // .then((res) => {
381
- // console.log(res, "ajajajajaj");
382
- // if (res.list&&res.list.length > 0) {
383
- // this.notice = res.list[0].content;
384
- // }
385
- // })
386
- // .catch((error) => {
387
- // console.error(error);
388
- // });
389
- // },
426
+
390
427
  onJfbLoad(options) {
391
428
  console.log(this.pageBusinessCode, "pageNamespace");
392
429
  this.options = options;
@@ -428,11 +465,14 @@ export default {
428
465
 
429
466
  .jfb-base-con-list {
430
467
  &__body {
431
- position: relative;
432
- overflow-y: auto;
433
- padding-top: 220rpx;
434
- box-sizing: border-box;
435
- background-color: #FAFAFA;
468
+ & > view {
469
+ position: relative;
470
+ overflow-y: auto;
471
+ padding-top: 220rpx;
472
+ box-sizing: border-box;
473
+ background-color: #FAFAFA;
474
+ }
475
+
436
476
  .empty_data {
437
477
  text-align: center;
438
478
  color: #999999;
@@ -446,6 +486,7 @@ export default {
446
486
  height: unit(400, rpx);
447
487
  }
448
488
  }
489
+
449
490
  &-content {
450
491
  border-radius: unit(20, rpx);
451
492
  background: #fff;
@@ -503,16 +544,18 @@ export default {
503
544
  right: 30rpx;
504
545
  bottom: 40rpx;
505
546
  }
506
-
547
+
507
548
  .item_head{
508
549
  display: flex;
509
550
  align-items: center;
510
551
  font-size: 40rpx;
511
552
  color: #000000;
512
553
  font-weight: 500;
554
+
513
555
  .t_icon{
514
556
  width: 44rpx;
515
557
  margin-right: 20rpx;
558
+ max-height: 80rpx;
516
559
  }
517
560
  }
518
561
  .item_sub{
@@ -521,44 +564,18 @@ export default {
521
564
  font-size: 36rpx;
522
565
  font-weight: 400;
523
566
  }
524
- // &-left {
525
- // display: flex;
526
- // &-info {
527
- // padding: unit(20, rpx) unit(36, rpx);
528
- // & > view:first-child {
529
- // font-size: unit(44, rpx);
530
- // font-weight: 500;
531
- // margin-bottom: unit(36, rpx);
532
- // }
533
- // & > view:nth-child(2) {
534
- // font-size: unit(28, rpx);
535
- // color: #fff;
536
- // }
537
- // }
538
- // }
539
- // &-right {
540
- // margin-left: unit(24, rpx);
541
- // flex: 1;
542
- // &-name {
543
- // font-size: unit(40, rpx);
544
- // color: #000;
545
- // display: flex;
546
- // align-items: center;
547
- // justify-content: space-between;
548
- // }
549
- // &-num {
550
- // margin-top: unit(40, rpx);
551
- // display: flex;
552
- // justify-content: space-between;
553
- // }
554
- // }
567
+
555
568
  }
556
569
  }
557
570
  &-foot {
558
- color: #a6a6a6;
559
- font-size: unit(24, rpx);
560
- text-align: center;
561
571
  margin: unit(40, rpx) 0;
572
+ display: flex;
573
+ justify-items: center;
574
+ align-items: center;
575
+ flex-flow: column;
576
+ & > view {
577
+ flex-shrink: 0;
578
+ }
562
579
  }
563
580
  }
564
581
  }
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-con-list {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
19
17
 
20
18
  &__body{
21
19
  position: relative;
@@ -23,21 +21,22 @@
23
21
  z-index: 2
24
22
  }
25
23
 
26
- &.editx {
24
+ &.editx,&.editx:hover {
27
25
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
26
+ min-height: unit(100, rpx);
27
+ z-index: 3;
28
+ &::after {
29
+ border: 2rpx dashed blue;
30
+ content: " ";
31
+ position: absolute;
32
+ top:0;
33
+ left:0;
34
+ bottom:0;
35
+ right:0;
36
+ z-index: 4;
37
+ cursor: pointer;
38
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-con-list {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-con-phone {
16
- border: 1px dashed rgba(0, 0, 0, 0);
17
16
  box-sizing: border-box;
18
- min-height: unit(50, rpx);
19
17
 
20
18
  &__body{
21
19
  position: relative;
@@ -23,21 +21,22 @@
23
21
  z-index: 2
24
22
  }
25
23
 
26
- &.editx {
24
+ &.editx,&.editx:hover {
27
25
  position: relative;
28
- border: 1px dashed blue;
29
- box-sizing: border-box;
30
- z-index: 3
31
-
32
- }
33
-
34
- &:hover {
35
- border: 1px dashed blue;
36
- }
26
+ min-height: unit(100, rpx);
27
+ z-index: 3;
28
+ &::after {
29
+ border: 2rpx dashed blue;
30
+ content: " ";
31
+ position: absolute;
32
+ top:0;
33
+ left:0;
34
+ bottom:0;
35
+ right:0;
36
+ z-index: 4;
37
+ cursor: pointer;
38
+ }
37
39
 
38
- &.noBorder {
39
- border-color: rgba(0,0,0,0);
40
- border-width: 0;
41
40
  }
42
41
 
43
42
 
@@ -72,9 +71,9 @@
72
71
 
73
72
  /**notPreview**/
74
73
  .jfb-base-con-phone {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -8,25 +8,11 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '背景颜色:', //label
12
- ele: 'xd-color', //package 名称
13
- valueKey: 'bgcolor', //form[valueKey]
14
- value: data.bgcolor || '', //v-model
15
- placeholder: '请输入占位框背景颜色',
16
- classNmae: 'input80', //样式名称 //input100,input80,input70,input60,input50,input40,input30,input20,
17
- rules: [
18
- {
19
- required: true,
20
- message: '请输入占位框背景颜色',
21
- trigger: 'blur'
22
- },
23
- ]
24
- },
25
- {
26
- label: '每行显示数量', //label
27
- ele: 'xd-radio', //package 名称
28
- valueKey: 'rowNum', //form[valueKey]
29
- value: data.rowNum || 1, //v-model
11
+ label: '每行显示数量',
12
+ ele: 'xd-radio',
13
+ valueKey: 'rowNum',
14
+ groupKey: 'content',
15
+ value: data.rowNum || 1,
30
16
  rules: [
31
17
  {required: true, message: '请选择', trigger: ['blur', 'change']}
32
18
  ],
@@ -36,14 +22,40 @@ export default {
36
22
  {"label": "一行三列", "value": 3},
37
23
  ]
38
24
  },
25
+ {
26
+ label: '背景颜色:',
27
+ ele: 'xd-color',
28
+ valueKey: 'bgcolor',
29
+ value: data.bgcolor || '',
30
+ groupKey: 'style',
31
+ placeholder: '请输入背景颜色',
32
+ classNmae: 'input80',
33
+ },
39
34
  {
40
35
  label: '间隔边距',
41
36
  ele: 'el-input',
42
37
  type: 'number',
43
38
  valueKey: "paddingInput",
44
- value: data.paddingInput || '20',
39
+ groupKey: 'style',
40
+ value: data.paddingInput || '',
45
41
  placeholder: '请输入间隔边距',
46
- }
42
+ inline: false,
43
+ className:'input60',
44
+ notice: '设置间隔边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
45
+ },
46
+ {
47
+ label: '边距设置:',
48
+ ele: 'xd-margin-padding',
49
+ valueKey: 'margin',
50
+ groupKey:'style',
51
+ value: data.margin || null,
52
+ setting: {
53
+ type: 'margin',
54
+ },
55
+ placeholder: '请设置边距设置',
56
+ inline: false,
57
+ notice: '设置边距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">0</span> 像素',
58
+ },
47
59
  ].filter(i=>i)
48
60
  },
49
61
  advanced: [