jufubao-base 1.0.134 → 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
@@ -221,6 +221,7 @@
221
221
  class="jfb-base-order-detail__body-delivery-content-info-form"
222
222
  v-for="(Fitem, Findex) in Sitem.product_form_data"
223
223
  :key="Findex"
224
+ :style="{backgroundColor:noticeBgc,color: warningColor,borderRadius: radius + 'rpx',}"
224
225
  >
225
226
  <view> {{ Fitem.label }}: </view>
226
227
  <view> {{ Fitem.value }} </view>
@@ -791,6 +792,7 @@ import { getContainerPropsValue } from "@/utils/xd.base";
791
792
  import getServiceUrl from "@/common/getServiceUrl";
792
793
  import { mapState } from "vuex";
793
794
  import bizMock from "./bizMock";
795
+ import Color from "color";
794
796
 
795
797
  export default {
796
798
  name: "JfbBaseOrderDetail",
@@ -849,7 +851,9 @@ export default {
849
851
  bottom: 0,
850
852
  },
851
853
  is_hot: "Y",
852
- logo: ""
854
+ logo: "",
855
+
856
+ noticeBgc:'',
853
857
  };
854
858
  },
855
859
  watch: {
@@ -875,9 +879,11 @@ export default {
875
879
  },
876
880
  ...mapState(["brandInfo"]),
877
881
  outMargin() {
878
- return `${this.margin.top || 20}rpx ${this.margin.right || 20}rpx ${
879
- this.margin.bottom || 20
880
- }rpx ${this.margin.left || 20}rpx`;
882
+ let str = `${this.checkValue(this.margin.top, 20)}rpx`;
883
+ str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
884
+ str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
885
+ str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
886
+ return str
881
887
  },
882
888
  shadowBox() {
883
889
  if (this.is_shadow === "Y")
@@ -891,7 +897,7 @@ export default {
891
897
  },
892
898
  },
893
899
  created() {
894
- console.log(this.brandInfo, "settings");
900
+ this.noticeBgc = Color(this.warningColor).alpha(0.2).toString();
895
901
  this.isPreview = this.$configProject.isPreview;
896
902
  if (this.isPreview) {
897
903
  this.showPayCard = true;
@@ -1457,6 +1463,7 @@ export default {
1457
1463
  &-sku {
1458
1464
  color: #999999;
1459
1465
  font-size: unit(28, rpx);
1466
+ .uni-max-cut(2, 80);
1460
1467
  }
1461
1468
 
1462
1469
  &-price {
@@ -1468,9 +1475,9 @@ export default {
1468
1475
  &-form {
1469
1476
  display: flex;
1470
1477
  align-items: center;
1471
- color: #666666;
1472
1478
  font-size: unit(24, rpx);
1473
1479
  margin-bottom: unit(32, rpx);
1480
+ padding: 10rpx 32rpx;
1474
1481
  }
1475
1482
  }
1476
1483
  }
@@ -1729,7 +1736,7 @@ export default {
1729
1736
  font-size: @xd-font-size-lg;
1730
1737
  }
1731
1738
  }
1732
-
1739
+
1733
1740
  }
1734
1741
  .dialog_password{
1735
1742
  text-align: center;
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-order-detail {
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-order-detail {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -5,22 +5,49 @@ export default {
5
5
  content: (data)=>{
6
6
  return [
7
7
  {
8
- label: '外边距:',
8
+ label: '设置订单状态:',
9
+ ele: 'xd-order-setting',
10
+ valueKey: 'orderTypeList',
11
+ value: data['orderTypeList'] || null,
12
+ groupKey:'content',
13
+ setting: {
14
+ router: XdBus.getParentApi('getPagesTree'),
15
+ },
16
+ handleCustom({action, data}) {
17
+ if (action === 'number') {
18
+ data.cb([
19
+ {"label": "全部", "value": 'all'},
20
+ {"label": "待付款", "value": 'unpaid'},
21
+ {"label": "待收货", "value": 'unreceived'},
22
+ {"label": "已取消", "value": 'cancel'},
23
+ {"label": "已完成", "value": 'com'},
24
+ ])
25
+ }
26
+ },
27
+ inline: false,
28
+ notice: '设置订单状态, ICON图标(<a href="https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=3378319&keyword=&project_type=&page=" style="color: blue" target="_blank">ICONFONT库</a>)、ICON大小(单位:<sapn style="color: red">像素</sapn>)同一个订单状态不可<sapn style="color: red">重复配置</sapn>',
29
+ rules: [
30
+ {required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
31
+ ],
32
+ },
33
+ {
34
+ label: '外填充:',
9
35
  ele: 'xd-margin-padding',
10
36
  valueKey: 'margin',
11
37
  value: data['margin'] || null,
12
- disabled: false,
38
+ groupKey:'style',
13
39
  setting: {
14
- type: 'margin',
40
+ type: 'padding',
15
41
  },
16
- placeholder: '请设置外边距',
42
+ placeholder: '请设置外填充',
17
43
  inline: false,
18
- notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:0像素',
44
+ notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
19
45
  },
20
46
  {
21
47
  label: '背景颜色:',
22
48
  ele: 'xd-color',
23
49
  valueKey: 'backgroundColor',
50
+ groupKey:'style',
24
51
  value: data['backgroundColor'] || null,
25
52
  placeholder: '请选择背景颜色',
26
53
  classNmae: 'input80',
@@ -30,19 +57,24 @@ export default {
30
57
  ele: 'el-input',
31
58
  type: 'number',
32
59
  valueKey: 'padding',
60
+ groupKey:'style',
33
61
  value: data.padding || '',
34
62
  placeholder: '请输入间距',
35
63
  className: 'input80',
64
+ inline: false,
65
+ notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
36
66
  },
37
67
  {
38
68
  ele: 'title',
39
69
  label: '投影设置',
40
- size: 'small', //default/mini/small
70
+ size: 'small',
71
+ groupKey:'style',
41
72
  },
42
73
  {
43
74
  label: '是否有投影:',
44
75
  ele: 'xd-radio',
45
76
  valueKey: 'is_shadow',
77
+ groupKey:'style',
46
78
  value: data['is_shadow'] || 'N',
47
79
  placeholder: '请选择是否投影',
48
80
  multiple: false,
@@ -55,6 +87,7 @@ export default {
55
87
  data['is_shadow'] === 'Y' && {
56
88
  label: '投影颜色:',
57
89
  ele: 'xd-color',
90
+ groupKey:'style',
58
91
  valueKey: 'is_shadow_bg',
59
92
  value: data['is_shadow_bg'] || '',
60
93
  placeholder: '请选择投影颜色',
@@ -62,6 +95,7 @@ export default {
62
95
  },
63
96
  data['is_shadow'] === 'Y' && {
64
97
  label: '投影范围:',
98
+ groupKey:'style',
65
99
  ele: 'xd-site-select-list',
66
100
  valueKey: 'is_shadow_w',
67
101
  value: data['is_shadow_w'] || '10',
@@ -84,10 +118,12 @@ export default {
84
118
  {
85
119
  ele: 'title',
86
120
  label: '边框设置',
87
- size: 'small', //default/mini/small
121
+ size: 'small',
122
+ groupKey:'style',
88
123
  },
89
124
  {
90
125
  label: '是否有边框:',
126
+ groupKey:'style',
91
127
  ele: 'xd-radio',
92
128
  valueKey: 'is_border',
93
129
  value: data['is_border'] || 'N',
@@ -102,6 +138,7 @@ export default {
102
138
  data['is_border'] === 'Y' && {
103
139
  label: '边框颜色:',
104
140
  ele: 'xd-color',
141
+ groupKey:'style',
105
142
  valueKey: 'is_border_c',
106
143
  value: data['is_border_c'] || '',
107
144
  placeholder: '请选择边框颜色',
@@ -111,15 +148,17 @@ export default {
111
148
  label: '边框大小:',
112
149
  ele: 'el-input',
113
150
  type: 'number',
151
+ groupKey:'style',
114
152
  valueKey: 'is_border_w',
115
153
  value: data['is_border_w'] || '',
116
- placeholder: '请输入边框颜色',
154
+ placeholder: '请输入边框大小',
117
155
  className: 'input80',
118
156
  },
119
157
  {
120
158
  label: '内容圆角设置:',
121
159
  ele: 'xd-site-select-list',
122
160
  valueKey: 'radius',
161
+ groupKey:'style',
123
162
  value: data['radius'] || '',
124
163
  placeholder: '请选择内容圆角设置',
125
164
  multiple: false,
@@ -134,40 +173,12 @@ export default {
134
173
  });
135
174
  },
136
175
  },
176
+
137
177
  {
138
- ele: 'title',
139
- label: '其他',
140
- size: 'small', //default/mini/small
141
- },
142
- {
143
- label: '设置订单状态:', //label
144
- ele: 'xd-order-setting', //package 名称
145
- valueKey: 'orderTypeList', //form[valueKey]
146
- value: data['orderTypeList'] || null,
147
- setting: {
148
- router: XdBus.getParentApi('getPagesTree'),
149
- },
150
- handleCustom({action, data}) {
151
- if (action === 'number') {
152
- data.cb([
153
- {"label": "全部", "value": 'all'},
154
- {"label": "待付款", "value": 'unpaid'},
155
- {"label": "待收货", "value": 'unreceived'},
156
- {"label": "已取消", "value": 'cancel'},
157
- {"label": "已完成", "value": 'com'},
158
- ])
159
- }
160
- },
161
- inline: false,
162
- notice: '设置订单状态, ICON图标(<a href="https://www.iconfont.cn/manage/index?spm=a313x.7781069.1998910419.db775f1f3&manage_type=myprojects&projectId=3378319&keyword=&project_type=&page=" style="color: blue" target="_blank">ICONFONT库</a>)、ICON大小(单位:<sapn style="color: red">像素</sapn>)同一个订单状态不可<sapn style="color: red">重复配置</sapn>',
163
- rules: [
164
- {required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
165
- ],
166
- },
167
- {
168
- label: '订单详情路径:', //label
169
- ele: 'xd-select-pages-path', //package 名称
170
- valueKey: 'detailPath', //form[valueKey]
178
+ label: '订单详情路径:',
179
+ ele: 'xd-select-pages-path',
180
+ valueKey: 'detailPath',
181
+ groupKey:'advanced',
171
182
  placeholder: '请选择订单详情路径',
172
183
  value: data['detailPath'] || null,
173
184
  setting: {
@@ -176,9 +187,10 @@ export default {
176
187
  inline: false,
177
188
  },
178
189
  {
179
- label: '去支付路径:', //label
180
- ele: 'xd-select-pages-path', //package 名称
181
- valueKey: 'payPath', //form[valueKey]
190
+ label: '去支付路径:',
191
+ ele: 'xd-select-pages-path',
192
+ valueKey: 'payPath',
193
+ groupKey:'advanced',
182
194
  placeholder: '请选择去支付路径',
183
195
  value: data['payPath'] || null,
184
196
  setting: {
@@ -19,7 +19,7 @@
19
19
  <view
20
20
  class="jfb-base-order-list__body"
21
21
  >
22
- <view class="fixed_top" :style="{top: (layoutInfo.top-2)+'rpx'}">
22
+ <view class="fixed_top" :style="{top: (layoutInfo.top - 2)+'rpx'}">
23
23
  <xd-tab
24
24
  v-if="initStatus"
25
25
  :tabIndex="tabIndex"
@@ -158,6 +158,18 @@
158
158
  :fontSize="28"
159
159
  ></xd-unit>
160
160
  </view>
161
+ <view style="color:#999" v-if="item['main_user_server_amount'] !== undefined && item['main_user_server_amount'] >= 0">
162
+ <text>(平台服务费:</text>
163
+ <xd-unit
164
+ :isOld="false"
165
+ :price="item['main_user_server_amount']"
166
+ :fontSize="24"
167
+ :is-gray="true"
168
+ color="#999"
169
+ :icon-size=".25"
170
+ ></xd-unit>
171
+ <text>)</text>
172
+ </view>
161
173
  </view>
162
174
  <view
163
175
  class="jfb-base-order-list__body-order-item-pay"
@@ -199,6 +211,7 @@ import componentsMixins from "@/mixins/componentsMixins";
199
211
  import extsMixins from "@/mixins/extsMixins";
200
212
  import { getContainerPropsValue } from "@/utils/xd.base";
201
213
  import getServiceUrl from "@/common/getServiceUrl";
214
+ import Color from "color";
202
215
 
203
216
  export default {
204
217
  name: "JfbBaseOrderList",
@@ -247,14 +260,18 @@ export default {
247
260
  right: 0,
248
261
  bottom: 0,
249
262
  },
263
+
264
+ noticeBgc:'',
250
265
  };
251
266
  },
252
267
 
253
268
  computed: {
254
269
  outMargin() {
255
- return `${this.margin.top || 20}rpx ${this.margin.right || 20}rpx ${
256
- this.margin.bottom || 20
257
- }rpx ${this.margin.left || 20}rpx`;
270
+ let str = `${this.checkValue(this.margin.top, 20)}rpx`;
271
+ str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
272
+ str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
273
+ str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
274
+ return str
258
275
  },
259
276
  shadowBox() {
260
277
  if (this.is_shadow === "Y")
@@ -273,6 +290,7 @@ export default {
273
290
  },
274
291
  },
275
292
  created() {
293
+ this.noticeBgc = Color(this.warningColor).alpha(0.2).toString();
276
294
  this.init(this.container);
277
295
  },
278
296
  methods: {
@@ -481,10 +499,16 @@ export default {
481
499
  },
482
500
 
483
501
  handleToLink(path, item) {
484
- console.log("path", path);
485
- this.$xdUniHelper.navigateTo({
486
- url: `${path}?id=${item.main_order_id}`,
487
- });
502
+ //跳转到第三方订单详情
503
+ if(item['third_order_detail_url']) {
504
+ this.$xdUniHelper.navigateTo({
505
+ url: item['third_order_detail_url'],
506
+ });
507
+ }else{
508
+ this.$xdUniHelper.navigateTo({
509
+ url: `${path}?id=${item.main_order_id}`,
510
+ });
511
+ }
488
512
  },
489
513
 
490
514
  onJfbReachBottom(options) {
@@ -661,6 +685,7 @@ export default {
661
685
  border-top: unit(2, rpx) solid #eee;
662
686
  padding: 0 unit(40, rpx);
663
687
  height: unit(90, rpx);
688
+ flex-flow: wrap;
664
689
 
665
690
  & > view:first-child {
666
691
  color: #999;
@@ -679,6 +704,16 @@ export default {
679
704
  .skeleton-item(300rpx, 28rpx);
680
705
  }
681
706
  }
707
+
708
+ & >view:nth-child(3){
709
+ text-align: right;
710
+ display: flex;
711
+ width: 100%;
712
+ flex-shrink: 0;
713
+ align-items: center;
714
+ justify-content: flex-end;
715
+ padding-bottom: 10rpx;
716
+ }
682
717
  }
683
718
 
684
719
  &-pay {
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-order-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-order-list {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  import StyleForm from "@/utils/StyleForm";
4
- let styleForm = new StyleForm({bgColor: ''}, null, 'pay');
4
+ let styleForm = new StyleForm({bgColor: ''}, null, 'pay', true);
5
5
 
6
6
  export default {
7
7
  style: [],
@@ -15,23 +15,12 @@ export default {
15
15
  valueKey: 'pay_success_path', //form[valueKey]
16
16
  placeholder: '请选择支付成功路径',
17
17
  value: data.pay_success_path || null,
18
+ groupKey:'advanced',
18
19
  setting: {
19
20
  router: XdBus.getParentApi('getPagesTree'),
20
21
  },
21
22
  inline: false,
22
23
  },
23
- // {
24
- // label: '充值成功跳转路径:', //label
25
- // ele: 'xd-select-pages-path', //package 名称
26
- // valueKey: 'rechargeSuccessPath', //form[valueKey]
27
- // placeholder: '请选择充值成功路径',
28
- // value: data.rechargeSuccessPath || null,
29
- // setting: {
30
- // router: XdBus.getParentApi('getPagesTree'),
31
- //
32
- // },
33
- // inline: false,
34
- // },
35
24
  ].filter(i=>i)
36
25
  },
37
26
  }
@@ -72,7 +72,7 @@
72
72
  <view>ID:{{ ticket.card_number }}</view>
73
73
  <view>有效期至:{{ ticket.end_time }}</view>
74
74
  </view>
75
- <view class="_footer">
75
+ <view class="_footer" :style="{borderTop:'1px solid ' + borderColor }">
76
76
  <view class="_item">
77
77
  <text>剩余:</text>
78
78
  <xd-unit
@@ -180,8 +180,9 @@ import XdRadio from "@/components/XdRadio/XdRadio";
180
180
  import XdUnit from "@/components/XdUnit/XdUnit";
181
181
  import StyleForm from "@/utils/StyleForm";
182
182
  import {isWechat,isWechatTools} from "@/utils/xd.base";
183
-
184
- let styleForm = new StyleForm({bgColor: '#fafafa'}, getContainerPropsValue, 'pay');
183
+ import color from "color";
184
+ const Color = require('color');
185
+ let styleForm = new StyleForm({bgColor: '#fafafa'}, getContainerPropsValue, 'pay', true);
185
186
 
186
187
  export default {
187
188
  name: "JfbBasePay",
@@ -219,6 +220,7 @@ export default {
219
220
  paySuccessPath: "", //支付成功
220
221
  rechargeSuccessPath: "", //充值成功
221
222
  ...styleForm.getDataItem(),
223
+ borderColor:'rgba(0,0,0,0)',
222
224
  options:{}
223
225
  };
224
226
  },
@@ -278,8 +280,8 @@ export default {
278
280
  "content.rechargeSuccessPath",
279
281
  { value: "" }
280
282
  ).value;
281
-
282
- styleForm.getInitItem(this, container)
283
+ styleForm.getInitItem(this, container);
284
+ this.borderColor = color(this.jfbPayBgColor).lighten(0.5).hex();
283
285
  },
284
286
  getTimeFormat(time) {
285
287
  let date = null;
@@ -575,7 +577,6 @@ export default {
575
577
  justify-content: space-between;
576
578
  font-size: 24rpx;
577
579
  padding: 20rpx 30rpx;
578
- border-top: unit(2, rpx) solid #eee;
579
580
  ._item {
580
581
  display: flex;
581
582
  align-items: center;
@@ -13,9 +13,7 @@
13
13
 
14
14
  //start
15
15
  .jfb-base-pay {
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-pay {
75
- &:before {
76
- content: " ";
77
- display: table;
78
- }
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
79
78
  }
80
79
  /**endNotPreview**/
@@ -34,5 +34,6 @@ module.exports = {
34
34
  "use_card_point": "5000"
35
35
  },
36
36
  ],
37
- }
37
+ },
38
+ getBaseOrderStatus:{},
38
39
  }