jufubao-base 1.0.130-beta5 → 1.0.131

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 +3 -4
  2. package/src/components/JfbBaseAddress/Attr.js +5 -11
  3. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
  4. package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +19 -18
  5. package/src/components/JfbBaseAfterOrderDetail/Attr.js +7 -19
  6. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +4 -6
  7. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +19 -18
  8. package/src/components/JfbBaseAfterOrderList/Attr.js +16 -25
  9. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +9 -6
  10. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +19 -18
  11. package/src/components/JfbBaseBack/JfbBaseBackLess.less +19 -18
  12. package/src/components/JfbBaseBackground/Attr.js +8 -9
  13. package/src/components/JfbBaseBackground/JfbBaseBackground.vue +3 -0
  14. package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +19 -18
  15. package/src/components/JfbBaseBlock/Attr.js +2 -12
  16. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +8 -1
  17. package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +19 -18
  18. package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +19 -18
  19. package/src/components/JfbBaseCard/Attr.js +34 -76
  20. package/src/components/JfbBaseCard/JfbBaseCardLess.less +19 -18
  21. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +19 -18
  22. package/src/components/JfbBaseCardBindV2/Attr.js +4 -5
  23. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +19 -18
  24. package/src/components/JfbBaseCardDetail/Attr.js +3 -4
  25. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +19 -18
  26. package/src/components/JfbBaseCardDetailEntry/Attr.js +8 -10
  27. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +19 -18
  28. package/src/components/JfbBaseCardDisabled/Attr.js +3 -1
  29. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +19 -18
  30. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +19 -18
  31. package/src/components/JfbBaseCardEntry/Attr.js +67 -86
  32. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +2 -3
  33. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +19 -18
  34. package/src/components/JfbBaseCardInfo/Attr.js +16 -22
  35. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +19 -18
  36. package/src/components/JfbBaseCardInfoEntry/Attr.js +11 -16
  37. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +19 -18
  38. package/src/components/JfbBaseCardMerge/Attr.js +8 -21
  39. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +30 -15
  40. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +19 -18
  41. package/src/components/JfbBaseCardMergeEntry/Attr.js +6 -20
  42. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +25 -28
  43. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +19 -18
  44. package/src/components/JfbBaseCardShift/Attr.js +4 -18
  45. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +11 -26
  46. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +19 -18
  47. package/src/components/JfbBaseCardShiftEntry/Attr.js +26 -34
  48. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +257 -294
  49. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +19 -18
  50. package/src/components/JfbBaseCardShiftEntry/Mock.js +1 -2
  51. package/src/components/JfbBaseCardSweepInfo/Attr.js +3 -5
  52. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +19 -18
  53. package/src/components/JfbBaseCardV2/Attr.js +15 -19
  54. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +5 -3
  55. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +19 -18
  56. package/src/components/JfbBaseCardV3/Attr.js +12 -16
  57. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  58. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +19 -18
  59. package/src/components/JfbBaseCity/Attr.js +4 -2
  60. package/src/components/JfbBaseCity/JfbBaseCityLess.less +19 -18
  61. package/src/components/JfbBaseClear/JfbBaseClearLess.less +19 -18
  62. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +0 -12
  63. package/src/components/JfbBaseConDialog/Api.js +1 -1
  64. package/src/components/JfbBaseConDialog/Attr.js +20 -30
  65. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +26 -45
  66. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +19 -18
  67. package/src/components/JfbBaseConDialog/Mock.js +1 -20
  68. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +9 -15
  69. package/src/components/JfbBaseConList/Attr.js +224 -149
  70. package/src/components/JfbBaseConList/JfbBaseConList.vue +133 -150
  71. package/src/components/JfbBaseConList/JfbBaseConListLess.less +19 -18
  72. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +19 -18
  73. package/src/components/JfbBaseEntry/Attr.js +21 -33
  74. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +23 -34
  75. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +19 -18
  76. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +19 -18
  77. package/src/components/JfbBaseFastLink/Api.js +54 -1
  78. package/src/components/JfbBaseFastLink/Attr.js +116 -168
  79. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +16 -12
  80. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +19 -18
  81. package/src/components/JfbBaseFooter/Attr.js +22 -28
  82. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +15 -19
  83. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +19 -18
  84. package/src/components/JfbBaseHeader/Attr.js +91 -89
  85. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +29 -28
  86. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +19 -18
  87. package/src/components/JfbBaseLine/Attr.js +59 -0
  88. package/src/components/JfbBaseLine/JfbBaseLine.vue +105 -0
  89. package/src/components/JfbBaseLine/JfbBaseLineLess.less +80 -0
  90. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +30 -0
  91. package/src/components/JfbBaseLogin/Attr.js +88 -111
  92. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +1 -0
  93. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +19 -18
  94. package/src/components/JfbBaseLoginForgetPwd/Attr.js +45 -52
  95. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  96. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +19 -18
  97. package/src/components/JfbBaseLoginSetPwd/Attr.js +4 -6
  98. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +19 -18
  99. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +19 -18
  100. package/src/components/JfbBaseMapSearch/Attr.js +15 -0
  101. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +25 -1
  102. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +19 -18
  103. package/src/components/JfbBaseMergeUserCard/Attr.js +3 -4
  104. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +19 -18
  105. package/src/components/JfbBaseMultipleExpress/Attr.js +3 -4
  106. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +19 -18
  107. package/src/components/JfbBaseMy/JfbBaseMyLess.less +19 -18
  108. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  109. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +19 -18
  110. package/src/components/JfbBaseNotice/Attr.js +56 -97
  111. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +52 -70
  112. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +19 -18
  113. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +19 -18
  114. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +19 -18
  115. package/src/components/JfbBaseOrderDetail/Attr.js +193 -210
  116. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +6 -8
  117. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +19 -18
  118. package/src/components/JfbBaseOrderList/Attr.js +43 -55
  119. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +3 -5
  120. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +19 -18
  121. package/src/components/JfbBasePay/Attr.js +13 -2
  122. package/src/components/JfbBasePay/JfbBasePay.vue +6 -7
  123. package/src/components/JfbBasePay/JfbBasePayLess.less +19 -18
  124. package/src/components/JfbBasePay/Mock.js +1 -2
  125. package/src/components/JfbBasePhoneCollect/Attr.js +2 -27
  126. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  127. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +19 -18
  128. package/src/components/JfbBasePhoneLogin/Attr.js +2 -27
  129. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +19 -18
  130. package/src/components/JfbBasePoster/Attr.js +83 -103
  131. package/src/components/JfbBasePoster/JfbBasePoster.vue +141 -134
  132. package/src/components/JfbBasePoster/JfbBasePosterLess.less +19 -18
  133. package/src/components/JfbBasePosterBigSmall/Attr.js +76 -93
  134. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +7 -3
  135. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +19 -18
  136. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  137. package/src/components/JfbBasePosterEntry/Attr.js +33 -44
  138. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +49 -44
  139. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +19 -18
  140. package/src/components/JfbBasePosterType/Attr.js +48 -82
  141. package/src/components/JfbBasePosterType/FourScreen.vue +2 -8
  142. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +59 -36
  143. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +19 -18
  144. package/src/components/JfbBasePosterType/Screen.vue +284 -0
  145. package/src/components/JfbBaseRecharge/Attr.js +23 -35
  146. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +8 -54
  147. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +19 -18
  148. package/src/components/JfbBaseRechargeOrder/Attr.js +22 -32
  149. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +7 -12
  150. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +19 -18
  151. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +19 -18
  152. package/src/components/JfbBaseRechargeSuccess/Attr.js +8 -10
  153. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +19 -18
  154. package/src/components/JfbBaseSearch/Api.js +60 -0
  155. package/src/components/JfbBaseSearch/Attr.js +148 -6
  156. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +37 -8
  157. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +19 -18
  158. package/src/components/JfbBaseSearch/Mock.js +5 -0
  159. package/src/components/JfbBaseSetPwd/Attr.js +147 -6
  160. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +19 -18
  161. package/src/components/JfbBaseSuccess/Attr.js +17 -78
  162. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +3 -2
  163. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +19 -18
  164. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +19 -18
  165. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +19 -18
  166. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +19 -18
  167. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +19 -18
  168. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +19 -18
  169. package/src/components/JfbBaseUserCenter/Attr.js +53 -72
  170. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +27 -40
  171. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +19 -18
  172. package/src/components/JfbBaseUserInfo/Attr.js +45 -54
  173. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  174. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +19 -18
  175. package/src/components/JfbBaseUserOrder/Attr.js +92 -118
  176. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +7 -21
  177. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +19 -18
  178. package/src/components/JfbBaseVideo/Attr.js +19 -72
  179. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +28 -69
  180. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +19 -18
  181. package/src/components/JfbBaseVideo/XdVideo.vue +44 -6
  182. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +19 -18
  183. package/src/components/{JfbBaseClear → JfbBaseWalletDetail}/Attr.js +0 -1
  184. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +19 -18
  185. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +12 -0
  186. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +19 -18
  187. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +19 -18
  188. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +19 -18
  189. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +19 -18
  190. package/src/components/JfbBaseWxAuthorize/Attr.js +3 -31
  191. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +26 -32
  192. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +19 -18
  193. package/src/components/JfbBaseWxAuthorizeError/Attr.js +17 -21
  194. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +19 -18
  195. package/src/components/JfbBaseCardShift/Mock.js +0 -21
@@ -16,102 +16,92 @@
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">
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
+ }">
20
25
  <view
21
- v-if="done"
22
- :style="{
23
- backgroundImage: `url(${background})`,
24
- backgroundSize: '100%',
25
- backgroundRepeat: 'no-repeat',
26
- minHeight: `${layoutInfo.bodyMinHeightRpx}rpx`,
27
- }"
26
+ v-if="couponList&&couponList.length > 0"
28
27
  >
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>
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">
36
45
  <view
37
- :style="{ color: '#FA2125', backgroundColor: contentBackground }"
38
- class="jfb-base-con-list__body-content-header-right"
39
- @click="showRule = true"
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
+ }"
40
51
  >
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"
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"
50
59
  :style="{
51
- backgroundColor: item.can_take_num==='Y'||item.can_take_num==='P'? contentBackground:'#F3F3F3',
60
+ color: item.iconColor,
61
+ position: 'absolute',
62
+ right: '0rpx',
63
+ top: '0rpx',
52
64
  }"
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>
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>
80
77
  </view>
81
78
  </view>
82
79
  </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>
86
80
  </view>
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>
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>
97
83
  </view>
98
84
  </view>
99
- <view
100
- v-else
101
- class="empty_data"
85
+ <view class="jfb-base-con-list__body-content-foot"
86
+ @click="toCoupon"
87
+ >查看已领票券</view
102
88
  >
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>
114
89
  </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>
115
105
  </view>
116
106
  </view>
117
107
  </template>
@@ -164,21 +154,8 @@ export default {
164
154
  message: "",
165
155
  options: {},
166
156
  next_url: "",
167
- collectedPath: "",
168
157
 
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,
158
+ collectedPath: "",
182
159
  };
183
160
  },
184
161
  computed: {
@@ -186,21 +163,6 @@ export default {
186
163
  emptyBg() {
187
164
  return this.getNoData();
188
165
  },
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
- },
204
166
  },
205
167
  watch: {
206
168
  container(value) {
@@ -220,21 +182,7 @@ export default {
220
182
  this.contentBackground = '#FFF8F8';
221
183
  this.iconColor = '#FF4D4A';
222
184
  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');
236
185
  },
237
-
238
186
  getList() {
239
187
  jfbRootExec("getCouponList", {
240
188
  vm: this,
@@ -251,7 +199,7 @@ export default {
251
199
  this.can_take = res.can_take;
252
200
  this.has_times = res.has_times;
253
201
  this.next_url = res.next_url;
254
-
202
+
255
203
  this.couponList =
256
204
  res.list &&
257
205
  res.list.length > 0 &&
@@ -319,13 +267,11 @@ export default {
319
267
  console.log(err, "err");
320
268
  });
321
269
  },
322
-
323
270
  toCoupon(){
324
271
  this.$xdUniHelper.navigateTo({
325
272
  url: this.next_url || this.collectedPath,
326
273
  });
327
274
  },
328
-
329
275
  getCoupont(item) {
330
276
  if(item.can_take_num === "Y") {
331
277
  this.toCoupon();
@@ -363,7 +309,6 @@ export default {
363
309
  console.log(err, "err");
364
310
  });
365
311
  },
366
-
367
312
  getResult() {
368
313
  jfbRootExec("getCouponResult", {
369
314
  vm: this,
@@ -423,7 +368,25 @@ export default {
423
368
  console.log(err, "err");
424
369
  });
425
370
  },
426
-
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
+ // },
427
390
  onJfbLoad(options) {
428
391
  console.log(this.pageBusinessCode, "pageNamespace");
429
392
  this.options = options;
@@ -465,14 +428,11 @@ export default {
465
428
 
466
429
  .jfb-base-con-list {
467
430
  &__body {
468
- & > view {
469
- position: relative;
470
- overflow-y: auto;
471
- padding-top: 220rpx;
472
- box-sizing: border-box;
473
- background-color: #FAFAFA;
474
- }
475
-
431
+ position: relative;
432
+ overflow-y: auto;
433
+ padding-top: 220rpx;
434
+ box-sizing: border-box;
435
+ background-color: #FAFAFA;
476
436
  .empty_data {
477
437
  text-align: center;
478
438
  color: #999999;
@@ -486,7 +446,6 @@ export default {
486
446
  height: unit(400, rpx);
487
447
  }
488
448
  }
489
-
490
449
  &-content {
491
450
  border-radius: unit(20, rpx);
492
451
  background: #fff;
@@ -544,18 +503,16 @@ export default {
544
503
  right: 30rpx;
545
504
  bottom: 40rpx;
546
505
  }
547
-
506
+
548
507
  .item_head{
549
508
  display: flex;
550
509
  align-items: center;
551
510
  font-size: 40rpx;
552
511
  color: #000000;
553
512
  font-weight: 500;
554
-
555
513
  .t_icon{
556
514
  width: 44rpx;
557
515
  margin-right: 20rpx;
558
- max-height: 80rpx;
559
516
  }
560
517
  }
561
518
  .item_sub{
@@ -564,18 +521,44 @@ export default {
564
521
  font-size: 36rpx;
565
522
  font-weight: 400;
566
523
  }
567
-
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
+ // }
568
555
  }
569
556
  }
570
557
  &-foot {
558
+ color: #a6a6a6;
559
+ font-size: unit(24, rpx);
560
+ text-align: center;
571
561
  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
- }
579
562
  }
580
563
  }
581
564
  }
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-con-list {
16
+ border: 1px dashed rgba(0, 0, 0, 0);
16
17
  box-sizing: border-box;
17
- min-height: unit(100, rpx);
18
+ min-height: unit(50, rpx);
18
19
 
19
20
  &__body{
20
21
  position: relative;
@@ -22,21 +23,21 @@
22
23
  z-index: 2
23
24
  }
24
25
 
25
- &.editx,&:hover {
26
+ &.editx {
26
27
  position: relative;
27
- z-index: 3;
28
- &::after {
29
- border: 2rpx dashed blue;
30
- content: " ";
31
- position: absolute;
32
- top:0;
33
- left:0;
34
- bottom:0;
35
- right:0;
36
- z-index: 4;
37
- cursor: pointer;
38
- }
28
+ border: 1px dashed blue;
29
+ box-sizing: border-box;
30
+ z-index: 3
31
+
32
+ }
39
33
 
34
+ &:hover {
35
+ border: 1px dashed blue;
36
+ }
37
+
38
+ &.noBorder {
39
+ border-color: rgba(0,0,0,0);
40
+ border-width: 0;
40
41
  }
41
42
 
42
43
 
@@ -71,9 +72,9 @@
71
72
 
72
73
  /**notPreview**/
73
74
  .jfb-base-con-list {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -13,8 +13,9 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-con-phone {
16
+ border: 1px dashed rgba(0, 0, 0, 0);
16
17
  box-sizing: border-box;
17
- min-height: unit(100, rpx);
18
+ min-height: unit(50, rpx);
18
19
 
19
20
  &__body{
20
21
  position: relative;
@@ -22,21 +23,21 @@
22
23
  z-index: 2
23
24
  }
24
25
 
25
- &.editx,&:hover {
26
+ &.editx {
26
27
  position: relative;
27
- z-index: 3;
28
- &::after {
29
- border: 2rpx dashed blue;
30
- content: " ";
31
- position: absolute;
32
- top:0;
33
- left:0;
34
- bottom:0;
35
- right:0;
36
- z-index: 4;
37
- cursor: pointer;
38
- }
28
+ border: 1px dashed blue;
29
+ box-sizing: border-box;
30
+ z-index: 3
31
+
32
+ }
39
33
 
34
+ &:hover {
35
+ border: 1px dashed blue;
36
+ }
37
+
38
+ &.noBorder {
39
+ border-color: rgba(0,0,0,0);
40
+ border-width: 0;
40
41
  }
41
42
 
42
43
 
@@ -71,9 +72,9 @@
71
72
 
72
73
  /**notPreview**/
73
74
  .jfb-base-con-phone {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
75
+ &:before {
76
+ content: " ";
77
+ display: table;
78
+ }
78
79
  }
79
80
  /**endNotPreview**/
@@ -8,11 +8,25 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '每行显示数量',
12
- ele: 'xd-radio',
13
- valueKey: 'rowNum',
14
- groupKey: 'content',
15
- value: data.rowNum || 1,
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
16
30
  rules: [
17
31
  {required: true, message: '请选择', trigger: ['blur', 'change']}
18
32
  ],
@@ -22,40 +36,14 @@ export default {
22
36
  {"label": "一行三列", "value": 3},
23
37
  ]
24
38
  },
25
- {
26
- label: '背景颜色:',
27
- ele: 'xd-color',
28
- valueKey: 'bgcolor',
29
- value: data.bgcolor || '',
30
- groupKey: 'style',
31
- placeholder: '请输入背景颜色',
32
- classNmae: 'input80',
33
- },
34
39
  {
35
40
  label: '间隔边距',
36
41
  ele: 'el-input',
37
42
  type: 'number',
38
43
  valueKey: "paddingInput",
39
- groupKey: 'style',
40
- value: data.paddingInput || '',
44
+ value: data.paddingInput || '20',
41
45
  placeholder: '请输入间隔边距',
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
- },
46
+ }
59
47
  ].filter(i=>i)
60
48
  },
61
49
  advanced: [