jufubao-base 1.0.133 → 1.0.134-beta1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/package.json +4 -3
  2. package/src/components/JfbBaseAddress/Attr.js +11 -5
  3. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +3 -3
  4. package/src/components/JfbBaseAddress/JfbBaseAddressLess.less +18 -19
  5. package/src/components/JfbBaseAfterOrderDetail/Attr.js +19 -7
  6. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +6 -4
  7. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetailLess.less +18 -19
  8. package/src/components/JfbBaseAfterOrderList/Attr.js +25 -16
  9. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +6 -9
  10. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderListLess.less +18 -19
  11. package/src/components/JfbBaseBack/JfbBaseBackLess.less +18 -19
  12. package/src/components/JfbBaseBackground/Attr.js +9 -8
  13. package/src/components/JfbBaseBackground/JfbBaseBackground.vue +0 -3
  14. package/src/components/JfbBaseBackground/JfbBaseBackgroundLess.less +18 -19
  15. package/src/components/JfbBaseBlock/Attr.js +12 -2
  16. package/src/components/JfbBaseBlock/JfbBaseBlock.vue +1 -8
  17. package/src/components/JfbBaseBlock/JfbBaseBlockLess.less +18 -19
  18. package/src/components/JfbBaseBottomNotice/JfbBaseBottomNoticeLess.less +18 -19
  19. package/src/components/JfbBaseCard/Attr.js +78 -36
  20. package/src/components/JfbBaseCard/JfbBaseCard.vue +2 -2
  21. package/src/components/JfbBaseCard/JfbBaseCardLess.less +18 -19
  22. package/src/components/JfbBaseCardBind/JfbBaseCardBindLess.less +18 -19
  23. package/src/components/JfbBaseCardBindV2/Attr.js +5 -4
  24. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +7 -1
  25. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2Less.less +18 -19
  26. package/src/components/JfbBaseCardDetail/Attr.js +4 -3
  27. package/src/components/JfbBaseCardDetail/JfbBaseCardDetailLess.less +18 -19
  28. package/src/components/JfbBaseCardDetailEntry/Attr.js +10 -8
  29. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +4 -13
  30. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntryLess.less +18 -19
  31. package/src/components/JfbBaseCardDisabled/Attr.js +1 -3
  32. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabledLess.less +18 -19
  33. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntryLess.less +18 -19
  34. package/src/components/JfbBaseCardEntry/Api.js +1 -1
  35. package/src/components/JfbBaseCardEntry/Attr.js +86 -67
  36. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +6 -5
  37. package/src/components/JfbBaseCardEntry/JfbBaseCardEntryLess.less +18 -19
  38. package/src/components/JfbBaseCardInfo/Attr.js +22 -16
  39. package/src/components/JfbBaseCardInfo/JfbBaseCardInfoLess.less +18 -19
  40. package/src/components/JfbBaseCardInfoEntry/Attr.js +16 -11
  41. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntryLess.less +18 -19
  42. package/src/components/JfbBaseCardMerge/Attr.js +21 -8
  43. package/src/components/JfbBaseCardMerge/JfbBaseCardMerge.vue +15 -30
  44. package/src/components/JfbBaseCardMerge/JfbBaseCardMergeLess.less +18 -19
  45. package/src/components/JfbBaseCardMergeEntry/Attr.js +20 -6
  46. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntry.vue +28 -25
  47. package/src/components/JfbBaseCardMergeEntry/JfbBaseCardMergeEntryLess.less +18 -19
  48. package/src/components/JfbBaseCardShift/Attr.js +18 -4
  49. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +26 -11
  50. package/src/components/JfbBaseCardShift/JfbBaseCardShiftLess.less +18 -19
  51. package/src/components/JfbBaseCardShift/Mock.js +21 -0
  52. package/src/components/JfbBaseCardShiftEntry/Attr.js +34 -26
  53. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntry.vue +294 -257
  54. package/src/components/JfbBaseCardShiftEntry/JfbBaseCardShiftEntryLess.less +18 -19
  55. package/src/components/JfbBaseCardShiftEntry/Mock.js +2 -1
  56. package/src/components/JfbBaseCardSweepInfo/Attr.js +5 -3
  57. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfoLess.less +18 -19
  58. package/src/components/JfbBaseCardV2/Attr.js +21 -17
  59. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +3 -5
  60. package/src/components/JfbBaseCardV2/JfbBaseCardV2Less.less +18 -19
  61. package/src/components/JfbBaseCardV3/Attr.js +18 -14
  62. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +1 -1
  63. package/src/components/JfbBaseCardV3/JfbBaseCardV3Less.less +18 -19
  64. package/src/components/JfbBaseCity/Attr.js +2 -4
  65. package/src/components/JfbBaseCity/JfbBaseCityLess.less +18 -19
  66. package/src/components/{JfbBaseWalletDetail → JfbBaseClear}/Attr.js +1 -0
  67. package/src/components/JfbBaseClear/JfbBaseClear.vue +9 -9
  68. package/src/components/JfbBaseClear/JfbBaseClearLess.less +18 -19
  69. package/src/components/JfbBaseClear/JfbBaseClearMixin.js +12 -0
  70. package/src/components/JfbBaseConDialog/Api.js +2 -2
  71. package/src/components/JfbBaseConDialog/Attr.js +30 -20
  72. package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +45 -26
  73. package/src/components/JfbBaseConDialog/JfbBaseConDialogLess.less +18 -19
  74. package/src/components/JfbBaseConDialog/Mock.js +20 -1
  75. package/src/components/JfbBaseConDialog/XdCouCardBind.vue +15 -9
  76. package/src/components/JfbBaseConList/Api.js +1 -1
  77. package/src/components/JfbBaseConList/Attr.js +149 -224
  78. package/src/components/JfbBaseConList/JfbBaseConList.vue +150 -133
  79. package/src/components/JfbBaseConList/JfbBaseConListLess.less +18 -19
  80. package/src/components/JfbBaseConPhone/JfbBaseConPhoneLess.less +18 -19
  81. package/src/components/JfbBaseEntry/Attr.js +33 -21
  82. package/src/components/JfbBaseEntry/JfbBaseEntry.vue +34 -23
  83. package/src/components/JfbBaseEntry/JfbBaseEntryLess.less +18 -19
  84. package/src/components/JfbBaseExpressDetail/JfbBaseExpressDetailLess.less +18 -19
  85. package/src/components/JfbBaseFastLink/Api.js +1 -54
  86. package/src/components/JfbBaseFastLink/Attr.js +168 -116
  87. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +12 -16
  88. package/src/components/JfbBaseFastLink/JfbBaseFastLinkLess.less +18 -19
  89. package/src/components/JfbBaseFooter/Attr.js +28 -22
  90. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +19 -15
  91. package/src/components/JfbBaseFooter/JfbBaseFooterLess.less +18 -19
  92. package/src/components/JfbBaseHeader/Attr.js +89 -91
  93. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +28 -29
  94. package/src/components/JfbBaseHeader/JfbBaseHeaderLess.less +18 -19
  95. package/src/components/JfbBaseLogin/Api.js +1 -1
  96. package/src/components/JfbBaseLogin/Attr.js +111 -88
  97. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +4 -5
  98. package/src/components/JfbBaseLogin/JfbBaseLoginLess.less +18 -19
  99. package/src/components/JfbBaseLoginForgetPwd/Attr.js +52 -45
  100. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +14 -14
  101. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwdLess.less +18 -19
  102. package/src/components/JfbBaseLoginSetPwd/Attr.js +6 -4
  103. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwdLess.less +18 -19
  104. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlayLess.less +18 -19
  105. package/src/components/JfbBaseMapSearch/Attr.js +0 -15
  106. package/src/components/JfbBaseMapSearch/JfbBaseMapSearch.vue +1 -25
  107. package/src/components/JfbBaseMapSearch/JfbBaseMapSearchLess.less +18 -19
  108. package/src/components/JfbBaseMergeUserCard/Attr.js +4 -3
  109. package/src/components/JfbBaseMergeUserCard/JfbBaseMergeUserCardLess.less +18 -19
  110. package/src/components/JfbBaseMultipleExpress/Attr.js +4 -3
  111. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpressLess.less +18 -19
  112. package/src/components/JfbBaseMy/JfbBaseMyLess.less +18 -19
  113. package/src/components/JfbBaseMySetting/Attr.js +1 -1
  114. package/src/components/JfbBaseMySetting/JfbBaseMySettingLess.less +18 -19
  115. package/src/components/JfbBaseNotice/Attr.js +97 -56
  116. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +70 -52
  117. package/src/components/JfbBaseNotice/JfbBaseNoticeLess.less +18 -19
  118. package/src/components/JfbBaseNoticeBottom/JfbBaseNoticeBottomLess.less +18 -19
  119. package/src/components/JfbBaseNoticeTop/JfbBaseNoticeTopLess.less +18 -19
  120. package/src/components/JfbBaseOrderDetail/Attr.js +210 -193
  121. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +5 -3
  122. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetailLess.less +18 -19
  123. package/src/components/JfbBaseOrderList/Attr.js +56 -44
  124. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +5 -3
  125. package/src/components/JfbBaseOrderList/JfbBaseOrderListLess.less +18 -19
  126. package/src/components/JfbBasePay/Attr.js +2 -13
  127. package/src/components/JfbBasePay/JfbBasePay.vue +7 -6
  128. package/src/components/JfbBasePay/JfbBasePayLess.less +18 -19
  129. package/src/components/JfbBasePay/Mock.js +2 -1
  130. package/src/components/JfbBasePhoneCollect/Attr.js +27 -2
  131. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +1 -1
  132. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollectLess.less +18 -19
  133. package/src/components/JfbBasePhoneLogin/Attr.js +27 -2
  134. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLoginLess.less +18 -19
  135. package/src/components/JfbBasePoster/Attr.js +103 -83
  136. package/src/components/JfbBasePoster/JfbBasePoster.vue +134 -141
  137. package/src/components/JfbBasePoster/JfbBasePosterLess.less +18 -19
  138. package/src/components/JfbBasePosterBigSmall/Attr.js +93 -76
  139. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +3 -7
  140. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmallLess.less +18 -19
  141. package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +2 -2
  142. package/src/components/JfbBasePosterEntry/Attr.js +47 -34
  143. package/src/components/JfbBasePosterEntry/JfbBasePosterEntry.vue +44 -49
  144. package/src/components/JfbBasePosterEntry/JfbBasePosterEntryLess.less +18 -19
  145. package/src/components/JfbBasePosterType/Attr.js +82 -48
  146. package/src/components/JfbBasePosterType/FourScreen.vue +8 -2
  147. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +36 -59
  148. package/src/components/JfbBasePosterType/JfbBasePosterTypeLess.less +18 -19
  149. package/src/components/JfbBaseRecharge/Attr.js +35 -23
  150. package/src/components/JfbBaseRecharge/JfbBaseRecharge.vue +54 -8
  151. package/src/components/JfbBaseRecharge/JfbBaseRechargeLess.less +18 -19
  152. package/src/components/JfbBaseRechargeOrder/Attr.js +32 -22
  153. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +12 -7
  154. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrderLess.less +18 -19
  155. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetailLess.less +18 -19
  156. package/src/components/JfbBaseRechargeSuccess/Attr.js +10 -8
  157. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccessLess.less +18 -19
  158. package/src/components/JfbBaseSearch/Attr.js +6 -148
  159. package/src/components/JfbBaseSearch/JfbBaseSearch.vue +8 -37
  160. package/src/components/JfbBaseSearch/JfbBaseSearchLess.less +18 -19
  161. package/src/components/JfbBaseSetPwd/Attr.js +6 -147
  162. package/src/components/JfbBaseSetPwd/JfbBaseSetPwdLess.less +18 -19
  163. package/src/components/JfbBaseSuccess/Attr.js +89 -19
  164. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +38 -18
  165. package/src/components/JfbBaseSuccess/JfbBaseSuccessLess.less +18 -19
  166. package/src/components/JfbBaseTestApi/JfbBaseTestApi.vue +9 -9
  167. package/src/components/JfbBaseTestApi/JfbBaseTestApiLess.less +18 -19
  168. package/src/components/JfbBaseTestBody/JfbBaseTestBodyLess.less +18 -19
  169. package/src/components/JfbBaseTestBottom/JfbBaseTestBottomLess.less +18 -19
  170. package/src/components/JfbBaseTestNotice/JfbBaseTestNoticeLess.less +18 -19
  171. package/src/components/JfbBaseTestTop/JfbBaseTestTopLess.less +18 -19
  172. package/src/components/JfbBaseUserCenter/Attr.js +72 -53
  173. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +40 -27
  174. package/src/components/JfbBaseUserCenter/JfbBaseUserCenterLess.less +18 -19
  175. package/src/components/JfbBaseUserInfo/Attr.js +54 -45
  176. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +21 -21
  177. package/src/components/JfbBaseUserInfo/JfbBaseUserInfoLess.less +18 -19
  178. package/src/components/JfbBaseUserOrder/Attr.js +119 -94
  179. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +21 -7
  180. package/src/components/JfbBaseUserOrder/JfbBaseUserOrderLess.less +18 -19
  181. package/src/components/JfbBaseVideo/Attr.js +72 -19
  182. package/src/components/JfbBaseVideo/JfbBaseVideo.vue +69 -28
  183. package/src/components/JfbBaseVideo/JfbBaseVideoLess.less +18 -19
  184. package/src/components/JfbBaseVideo/XdVideo.vue +6 -44
  185. package/src/components/JfbBaseWallet/JfbBaseWalletLess.less +18 -19
  186. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailLess.less +18 -19
  187. package/src/components/JfbBaseWalletDetail/JfbBaseWalletDetailMixin.js +0 -12
  188. package/src/components/JfbBaseWalletEffective/JfbBaseWalletEffectiveLess.less +18 -19
  189. package/src/components/JfbBaseWalletIndex/JfbBaseWalletIndexLess.less +18 -19
  190. package/src/components/JfbBaseWalletItem/JfbBaseWalletItemLess.less +18 -19
  191. package/src/components/JfbBaseWebview/JfbBaseWebviewLess.less +18 -19
  192. package/src/components/JfbBaseWxAuthorize/Api.js +3 -3
  193. package/src/components/JfbBaseWxAuthorize/Attr.js +31 -3
  194. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +34 -28
  195. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorizeLess.less +18 -19
  196. package/src/components/JfbBaseWxAuthorizeError/Attr.js +21 -17
  197. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeError.vue +4 -4
  198. package/src/components/JfbBaseWxAuthorizeError/JfbBaseWxAuthorizeErrorLess.less +18 -19
  199. package/src/components/JfbBaseLine/Attr.js +0 -59
  200. package/src/components/JfbBaseLine/JfbBaseLine.vue +0 -105
  201. package/src/components/JfbBaseLine/JfbBaseLineLess.less +0 -80
  202. package/src/components/JfbBaseLine/JfbBaseLineMixin.js +0 -30
  203. package/src/components/JfbBasePosterType/Screen.vue +0 -284
  204. package/src/components/JfbBaseSearch/Api.js +0 -60
  205. package/src/components/JfbBaseSearch/Mock.js +0 -5
@@ -21,56 +21,58 @@
21
21
  v-if="info !== null"
22
22
  :style="{minHeight: layoutInfo.bodyMinHeightRpx + 'rpx'}"
23
23
  >
24
- <view class="card-list" :style="{
25
- background: headerBg['color'],
24
+ <view
25
+ class="card-list"
26
+ :style="{
27
+ background: headerBg['color'],
26
28
  backgroundSize: '100%'
27
29
  }">
28
- <view class="card-list-warp" :style="{backgroundImage: `url(${headerBg['image']})`}">
29
- <view class="card-list__title">
30
- <view style="display:flex;align-items:center">
30
+ <view class="card-list-warp" :style="{backgroundImage: `url(${headerBg['image']})`}">
31
+ <view class="card-list__title">
32
+ <view style="display:flex;align-items:center">
31
33
  <xd-font-icon
32
34
  size="40"
33
35
  color="#fff"
34
36
  icon="iconzhuanhuanshitu"
35
37
  style="margin-right:10rpx"
36
- ></xd-font-icon>
37
- <text>转换的票券</text>
38
- </view>
39
- </view>
40
- <div class="card-list__content">
41
- <view>
42
- <text>券号:</text>
43
- <text>{{info.card_number}}</text>
44
- </view>
45
- </div>
46
- <view class="card-list__date">
47
- <text>有效期:</text>
48
- <text>{{info.end_time}}</text>
49
- </view>
50
- <view class="card-list__yue">
51
- <text>余额:</text>
52
- <text>{{info.card_point}} {{ info.unit }}</text>
38
+ ></xd-font-icon>
39
+ <text>转换的票券</text>
53
40
  </view>
54
- <view class="card-list__other" v-if="info.other_card_point && info.card_point_type === 2">
55
- <view><text>购买其他物品可抵:</text><text>{{info.other_card_point}} {{ info.unit }}</text></view>
41
+ </view>
42
+ <div class="card-list__content">
43
+ <view>
44
+ <text>券号:</text>
45
+ <text>{{info.card_number}}</text>
56
46
  </view>
47
+ </div>
48
+ <view class="card-list__date">
49
+ <text>有效期:</text>
50
+ <text>{{info.end_time}}</text>
51
+ </view>
52
+ <view class="card-list__yue">
53
+ <text>余额:</text>
54
+ <text>{{info.card_point}} {{ info.unit }}</text>
55
+ </view>
56
+ <view class="card-list__other" v-if="info.other_card_point && info.card_point_type === 2">
57
+ <view><text>购买其他物品可抵:</text><text>{{info.other_card_point}} {{ info.unit }}</text></view>
57
58
  </view>
58
59
  </view>
60
+ </view>
59
61
  <!-- 转换剩余 -->
60
62
  <view>
61
63
  <xd-font-icon
62
- size="32"
63
- color="#bbb"
64
- icon="iconrepository-xialaxuanxiangdown"
65
- ></xd-font-icon>
64
+ size="32"
65
+ color="#bbb"
66
+ icon="iconrepository-xialaxuanxiangdown"
67
+ ></xd-font-icon>
66
68
  </view>
67
69
  <view
68
70
  class="jfb-base-card-shift-entry__body-content"
69
71
  :style="{background:changeBg}"
70
72
  >
71
- <view class="jfb-base-card-shift-entry__body-content-title">
73
+ <view class="jfb-base-card-shift-entry__body-content-title">
72
74
  <view>转换后预估票券额度</view>
73
- </view>
75
+ </view>
74
76
  <view
75
77
  :class="
76
78
  item.key === 'other_card_point'
@@ -80,7 +82,7 @@
80
82
  v-for="(item, index) in changeValueKey"
81
83
  :key="index"
82
84
  >
83
- <view> {{ item.label }}: </view>
85
+ <view> {{ item.label }}: </view>
84
86
  <view :style="{color:mainColor,fontWeight:500}" v-if="item.type === 'price'">
85
87
  {{ info[item.key] }}
86
88
  <text>点</text>
@@ -94,18 +96,23 @@
94
96
  <!-- 注意事项 -->
95
97
  <view class="jfb-base-card-shift-entry__body-tips" v-if="notice">
96
98
  <view style="text-align:center;padding-bottom:24rpx;color:#333;font-weight:500">注意事项</view>
97
- <xd-content-xss :html="notice"></xd-content-xss>
99
+ <xd-content-xss :html="notice"></xd-content-xss>
98
100
  </view>
101
+ <view
102
+ v-if="isPreview && statusNotice && notice === '' "
103
+ class="xd-notice"
104
+ :style="{ color: dangerColor,fontSize: 24 + 'rpx',backgroundColor:noticeBgc}"
105
+ >注意事项未配置数据,因此改模块在正式环境将不显示</view>
99
106
  <view :style="{height: '100rpx'}"></view>
100
- <!-- 靠底支付 -->
101
- <view class="fixe_bottom" :style="prod_bottom">
102
- <xd-button
107
+ <!-- 靠底支付 -->
108
+ <view class="fixe_bottom" :style="prod_bottom">
109
+ <xd-button
103
110
  @click="handleChange"
104
111
  width="500rpx"
105
112
  type="primary">
106
113
  转换
107
114
  </xd-button>
108
- </view>
115
+ </view>
109
116
  <xd-dailog
110
117
  class="dialog"
111
118
  title=""
@@ -118,18 +125,18 @@
118
125
  <view class="jfb-base-card-shift-entry__body-success">
119
126
  <view class="jfb-base-card-shift-entry__body-success-title">
120
127
  <xd-font-icon
121
- size="48"
122
- :color="mainColor"
123
- icon="icondui-01"
124
- ></xd-font-icon>
125
- <text :style="{color:mainColor,marginLeft:'20rpx'}">转换成功</text>
128
+ size="48"
129
+ :color="mainColor"
130
+ icon="icondui-01"
131
+ ></xd-font-icon>
132
+ <text :style="{color:mainColor,marginLeft:'20rpx'}">转换成功</text>
126
133
  </view>
127
134
  <view class="jfb-base-card-shift-entry__body-success-content">
128
135
  已成功将 <text style="color:#333;padding: 0 16rpx">{{ card_number }}</text> 转换成为
129
136
  <text style="color:#333;padding: 0 16rpx">{{ changeNumber }}</text>可在券包中查看
130
137
  </view>
131
138
  <xd-button type="primarys" width="360rpx" @click="handleToLink"
132
- >返回列表</xd-button
139
+ >返回列表</xd-button
133
140
  >
134
141
  </view>
135
142
  </xd-dailog>
@@ -179,7 +186,12 @@ export default {
179
186
  card_number: "",
180
187
  changeNumber: "",
181
188
  success: false,
189
+
190
+ //提示文案
182
191
  notice: "",
192
+ isPreview: false,
193
+ statusNotice: false,
194
+ noticeBgc:'',
183
195
 
184
196
  //页面跳转地址
185
197
  backUrl: "",
@@ -193,24 +205,40 @@ export default {
193
205
  },
194
206
  },
195
207
  created() {
208
+ this.isPreview = this.$configProject.isPreview;
196
209
  this.changeBg = Color(this.warningColor).alpha(0.2).toString();
197
- this.backUrl = getContainerPropsValue(this.container, "content.back_url", {
198
- value: "",
199
- }).value;
210
+ this.noticeBgc = Color(this.dangerColor).alpha(0.1).toString();
211
+ this.backUrl = getContainerPropsValue(this.container, "content.back_url", {value: "",}).value;
200
212
  },
201
213
  methods: {
202
214
  handleChange() {
203
- jfbRootExec("changeCardBindEntry", {
204
- vm: this,
205
- data: {
206
- card_number: this.card_number,
207
- },
208
- })
209
- .then((res) => {
210
- this.success = true;
211
- this.changeNumber = res["to_card_number"];
212
- })
213
- .catch();
215
+ debugger
216
+ let card_number = this.card_number;
217
+ if(this.$configProject.isPreview) card_number = '101001000005193';
218
+ let content = `您要将<view style="color:red">【${card_number}】</view>进行转换操作吗?`;
219
+ this.$xdConfirm({
220
+ title: "是否确认转换",
221
+ isHtml: true,
222
+ $vm: this,
223
+ content:content,
224
+ success:(action)=>{
225
+ if(action.confirm) {
226
+ jfbRootExec("changeCardBindEntry", {
227
+ vm: this,
228
+ data: {
229
+ card_number: this.card_number,
230
+ },
231
+ })
232
+ .then((res) => {
233
+ this.success = true;
234
+ this.changeNumber = res["to_card_number"];
235
+ })
236
+ .catch();
237
+ }
238
+ }
239
+ });
240
+
241
+
214
242
  },
215
243
  handleToLink() {
216
244
  this.$xdUniHelper.navigateTo({
@@ -227,7 +255,10 @@ export default {
227
255
  },
228
256
  })
229
257
  .then((res) => {
230
- this.notice = res.list[0].content;
258
+ if(res.list && res.list.length > 0) {
259
+ this.notice = res.list[0].content;
260
+ }
261
+ this.statusNotice = true;
231
262
  })
232
263
  .catch((error) => {
233
264
  console.error(error);
@@ -277,220 +308,226 @@ export default {
277
308
  border: 1px dashed rgba(0, 0, 0, 0);
278
309
  box-sizing: border-box;
279
310
 
311
+ .xd-notice {
312
+ margin-top: unit(20, rpx);
313
+ padding: unit(40, rpx);
314
+ border-radius: unit(15, rpx)
315
+ }
316
+
280
317
  &__body {
281
318
  position: relative;
282
319
  color: #333;
283
320
  padding: unit(26, rpx);
284
321
  .card-list {
285
- overflow: hidden;
286
- border-radius: unit(16, rpx);
287
- margin-bottom: unit(30, rpx);
288
-
289
- &:last-child {
290
- margin-bottom: 0;
291
- }
292
-
293
-
294
- &__title {
295
- height: unit(56, rpx);
296
- display: flex;
297
- justify-content: flex-start;
298
- align-items: center;
299
-
300
- & > view {
301
- padding: 0 unit(80, rpx);
302
- font-size: unit(24, rpx);
303
- line-height: unit(56, rpx);
304
- background: rgba(102, 102, 102, 0.4);
305
- color: #fff;
306
- border-radius: 0 0 unit(16, rpx) 0;
307
- }
308
-
309
- }
310
-
311
- &__content {
312
- padding: unit(10, rpx) unit(40, rpx) 0;
313
- height: unit(86, rpx);
314
- display: flex;
315
- justify-content: space-between;
316
- align-items: center;
317
-
318
- & > view:first-child {
319
- font-size: unit(36, rpx);
320
- line-height: unit(86, rpx);
321
- color: #fff;
322
- font-weight: 700;
323
- }
324
-
325
- & > view:nth-child(2) {
326
- font-size: unit(24, rpx);
327
- display: flex;
328
- justify-content: space-between;
329
- align-items: center;
330
- flex-flow: wrap;
331
- flex-direction: column;
332
- color: #fff;
333
- }
334
- }
335
-
336
- &__date {
337
- padding: 0 unit(40, rpx);
338
- font-size: unit(28, rpx);
339
- line-height: unit(32, rpx);
340
- color: #fff;
341
- }
342
-
343
- &__yue {
344
- padding: unit(10, rpx) unit(40, rpx) 0;
345
- font-size: unit(28, rpx);
346
- line-height: unit(32, rpx);
347
- color: #fff;
348
-
349
- & > text:nth-child(2) {
350
- font-weight: 700;
351
- }
352
- }
353
-
354
- &__other {
355
- display: flex;
356
- justify-content: flex-start;
357
- align-items: center;
358
- padding: unit(20, rpx) unit(40, rpx) 0;
359
- margin-top: unit(0, rpx);
360
-
361
- & > view {
362
- border-radius:unit(8, rpx);
363
- background: rgba(255, 255, 255, 0.2);
364
- height: unit(48, rpx);
365
- line-height: unit(48, rpx);
366
- display: flex;
367
- justify-content: flex-start;
368
- align-items: center;
369
- font-weight: 400;
370
- font-size: unit(24, rpx);
371
- padding: 0 unit(20, rpx);
372
- color: #fff;
373
- }
374
-
375
-
376
- }
377
-
378
- &__nodata {
379
- padding: unit(20, rpx) unit(40, rpx) 0;
380
- margin-top: unit(0, rpx);
381
- color: #fff;
382
- font-size: unit(28, rpx);
383
- }
384
-
385
- &__entry {
386
- padding: unit(20, rpx) unit(40, rpx) 0;
387
- & > view {
388
- line-height: unit(64, rpx);
389
- text-align: center;
390
- font-size: unit(26, rpx);
391
- border-radius: unit(32, rpx);
392
- background: rgba(255, 255, 255, 1);
393
- box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
394
- font-weight: 500;
395
- }
396
- }
397
-
398
- &__entrys {
399
- margin: unit(20, rpx) unit(20, rpx) 0;
400
- padding: unit(30, rpx);
401
- border-radius: unit(16, rpx);
402
- background: rgba(255, 255, 255, 1);
403
- box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
404
-
405
- &-title {
406
- display: flex;
407
- justify-content: space-between;
408
- align-items: center;
409
-
410
-
411
- & > view:first-child {
412
- font-size: unit(28, rpx);
413
- font-weight: 500;
414
- flex: 1;
322
+ overflow: hidden;
323
+ border-radius: unit(16, rpx);
324
+ margin-bottom: unit(30, rpx);
325
+
326
+ &:last-child {
327
+ margin-bottom: 0;
415
328
  }
416
-
417
- & > view:nth-child(2) {
329
+
330
+
331
+ &__title {
332
+ height: unit(56, rpx);
418
333
  display: flex;
419
334
  justify-content: flex-start;
420
335
  align-items: center;
421
- flex-shrink: 0;
422
- font-size: unit(20, rpx);
423
- color: #999;
336
+
337
+ & > view {
338
+ padding: 0 unit(80, rpx);
339
+ font-size: unit(24, rpx);
340
+ line-height: unit(56, rpx);
341
+ background: rgba(102, 102, 102, 0.4);
342
+ color: #fff;
343
+ border-radius: 0 0 unit(16, rpx) 0;
344
+ }
345
+
424
346
  }
425
- }
426
-
427
- &-scroll {
428
-
429
- }
430
-
431
- &-item {
432
- display: flex;
433
- justify-content: flex-start;
434
- align-items: center;
435
- flex-flow: nowrap;
436
- margin-left: unit(-14, rpx);
437
- padding-top: unit(20, rpx);
438
-
439
- & > view {
440
- width: unit(120, rpx);
441
- margin-right: unit(10, rpx);
442
- flex-shrink: 0;
347
+
348
+ &__content {
349
+ padding: unit(10, rpx) unit(40, rpx) 0;
350
+ height: unit(86, rpx);
443
351
  display: flex;
444
- justify-content: center;
445
- flex-direction: column;
352
+ justify-content: space-between;
446
353
  align-items: center;
447
-
354
+
448
355
  & > view:first-child {
449
- width: unit(76, rpx);
450
- height: unit(76, rpx);
451
- overflow: hidden;
452
-
453
- & > image {
454
- height: 100%;
455
- width: 100%;
456
- }
356
+ font-size: unit(36, rpx);
357
+ line-height: unit(86, rpx);
358
+ color: #fff;
359
+ font-weight: 700;
457
360
  }
458
-
361
+
459
362
  & > view:nth-child(2) {
460
- margin-top: unit(10, rpx);
461
363
  font-size: unit(24, rpx);
462
- line-height: unit(36, rpx);
463
- margin-bottom: unit(10, rpx);
364
+ display: flex;
365
+ justify-content: space-between;
366
+ align-items: center;
367
+ flex-flow: wrap;
368
+ flex-direction: column;
369
+ color: #fff;
464
370
  }
465
-
466
- & > view:nth-child(3) {
371
+ }
372
+
373
+ &__date {
374
+ padding: 0 unit(40, rpx);
375
+ font-size: unit(28, rpx);
376
+ line-height: unit(32, rpx);
377
+ color: #fff;
378
+ }
379
+
380
+ &__yue {
381
+ padding: unit(10, rpx) unit(40, rpx) 0;
382
+ font-size: unit(28, rpx);
383
+ line-height: unit(32, rpx);
384
+ color: #fff;
385
+
386
+ & > text:nth-child(2) {
387
+ font-weight: 700;
388
+ }
389
+ }
390
+
391
+ &__other {
392
+ display: flex;
393
+ justify-content: flex-start;
394
+ align-items: center;
395
+ padding: unit(20, rpx) unit(40, rpx) 0;
396
+ margin-top: unit(0, rpx);
397
+
398
+ & > view {
399
+ border-radius:unit(8, rpx);
400
+ background: rgba(255, 255, 255, 0.2);
401
+ height: unit(48, rpx);
402
+ line-height: unit(48, rpx);
467
403
  display: flex;
468
404
  justify-content: flex-start;
469
405
  align-items: center;
470
- flex-shrink: 0;
471
- font-size: unit(20, rpx);
472
- color: #999;
406
+ font-weight: 400;
407
+ font-size: unit(24, rpx);
408
+ padding: 0 unit(20, rpx);
409
+ color: #fff;
410
+ }
411
+
412
+
413
+ }
414
+
415
+ &__nodata {
416
+ padding: unit(20, rpx) unit(40, rpx) 0;
417
+ margin-top: unit(0, rpx);
418
+ color: #fff;
419
+ font-size: unit(28, rpx);
420
+ }
421
+
422
+ &__entry {
423
+ padding: unit(20, rpx) unit(40, rpx) 0;
424
+ & > view {
425
+ line-height: unit(64, rpx);
426
+ text-align: center;
427
+ font-size: unit(26, rpx);
428
+ border-radius: unit(32, rpx);
429
+ background: rgba(255, 255, 255, 1);
430
+ box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
431
+ font-weight: 500;
432
+ }
433
+ }
434
+
435
+ &__entrys {
436
+ margin: unit(20, rpx) unit(20, rpx) 0;
437
+ padding: unit(30, rpx);
438
+ border-radius: unit(16, rpx);
439
+ background: rgba(255, 255, 255, 1);
440
+ box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
441
+
442
+ &-title {
443
+ display: flex;
444
+ justify-content: space-between;
445
+ align-items: center;
446
+
447
+
448
+ & > view:first-child {
449
+ font-size: unit(28, rpx);
450
+ font-weight: 500;
451
+ flex: 1;
452
+ }
453
+
454
+ & > view:nth-child(2) {
455
+ display: flex;
456
+ justify-content: flex-start;
457
+ align-items: center;
458
+ flex-shrink: 0;
459
+ font-size: unit(20, rpx);
460
+ color: #999;
461
+ }
473
462
  }
474
-
475
- &:last-child {
476
- margin-right: 0;
463
+
464
+ &-scroll {
465
+
466
+ }
467
+
468
+ &-item {
469
+ display: flex;
470
+ justify-content: flex-start;
471
+ align-items: center;
472
+ flex-flow: nowrap;
473
+ margin-left: unit(-14, rpx);
474
+ padding-top: unit(20, rpx);
475
+
476
+ & > view {
477
+ width: unit(120, rpx);
478
+ margin-right: unit(10, rpx);
479
+ flex-shrink: 0;
480
+ display: flex;
481
+ justify-content: center;
482
+ flex-direction: column;
483
+ align-items: center;
484
+
485
+ & > view:first-child {
486
+ width: unit(76, rpx);
487
+ height: unit(76, rpx);
488
+ overflow: hidden;
489
+
490
+ & > image {
491
+ height: 100%;
492
+ width: 100%;
493
+ }
494
+ }
495
+
496
+ & > view:nth-child(2) {
497
+ margin-top: unit(10, rpx);
498
+ font-size: unit(24, rpx);
499
+ line-height: unit(36, rpx);
500
+ margin-bottom: unit(10, rpx);
501
+ }
502
+
503
+ & > view:nth-child(3) {
504
+ display: flex;
505
+ justify-content: flex-start;
506
+ align-items: center;
507
+ flex-shrink: 0;
508
+ font-size: unit(20, rpx);
509
+ color: #999;
510
+ }
511
+
512
+ &:last-child {
513
+ margin-right: 0;
514
+ }
515
+
516
+ }
517
+
518
+
477
519
  }
478
-
479
520
  }
480
-
481
-
521
+
522
+ &-warp {
523
+ width: unit(700, rpx);
524
+ // min-height: unit(290, rpx);
525
+ position: relative;
526
+ border-radius: unit(16, rpx);
527
+ background-size: 100%;
528
+ padding-bottom: unit(20, rpx);
529
+ }
482
530
  }
483
- }
484
-
485
- &-warp {
486
- width: unit(700, rpx);
487
- // min-height: unit(290, rpx);
488
- position: relative;
489
- border-radius: unit(16, rpx);
490
- background-size: 100%;
491
- padding-bottom: unit(20, rpx);
492
- }
493
- }
494
531
  &-content {
495
532
  background: #fff;
496
533
  border-radius: unit(16, rpx);
@@ -552,19 +589,19 @@ export default {
552
589
  }
553
590
 
554
591
  .fixe_bottom{
592
+ display: flex;
593
+ align-items: center;
594
+ justify-content: space-between;
595
+ height: unit(100, rpx);
596
+ padding: 0 unit(40, rpx);
597
+ background: #FFF;
598
+ box-shadow: 0 0 unit(16, rpx) rgba(0,0,0,.05);
599
+ .flex_l{
555
600
  display: flex;
556
601
  align-items: center;
557
- justify-content: space-between;
558
- height: unit(100, rpx);
559
- padding: 0 unit(40, rpx);
560
- background: #FFF;
561
- box-shadow: 0 0 unit(16, rpx) rgba(0,0,0,.05);
562
- .flex_l{
563
- display: flex;
564
- align-items: center;
565
- font-size: unit(32,rpx);
566
- }
602
+ font-size: unit(32,rpx);
567
603
  }
604
+ }
568
605
 
569
606
  &-success {
570
607
  padding: unit(70, rpx);