jufubao-base 1.0.239-beta2 → 1.0.240

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 (129) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseFastLink/Attr.js +1 -12
  3. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +0 -66
  4. package/src/components/JfbBaseHeader/Attr.js +0 -82
  5. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +1 -47
  6. package/src/components/JfbBaseHeaderColumn/Attr.js +0 -82
  7. package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +2 -48
  8. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +16 -15
  9. package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
  10. package/src/components/JfbBaseNoticeDialog/Attr.js +0 -26
  11. package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +9 -28
  12. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +18 -174
  13. package/src/components/JfbBasePay/Attr.js +0 -52
  14. package/src/components/JfbBasePay/JfbBasePay.vue +6 -30
  15. package/src/components/JfbBasePay/Mock.js +9 -0
  16. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +2 -1
  17. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +19 -11
  18. package/src/components/JfbBasePoster/Attr.js +1 -1
  19. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
  20. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +2 -7
  21. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +22 -12
  22. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +1 -12
  23. package/src/components/JfbBaseTfkSearch/Mock.js +3 -51
  24. package/src/components/JfbBaseTfkSearch/listMixins.js +1 -2
  25. package/src/components/JfbBaseUserInfo/Attr.js +11 -175
  26. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +115 -337
  27. package/src/components/JfbBaseUserOrder/Attr.js +0 -16
  28. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +2 -11
  29. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +0 -10
  30. package/src/components/JfbBaseBalance/Api.js +0 -46
  31. package/src/components/JfbBaseBalance/Attr.js +0 -316
  32. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +0 -334
  33. package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +0 -79
  34. package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +0 -30
  35. package/src/components/JfbBaseBalance/Mock.js +0 -9
  36. package/src/components/JfbBaseCodeOpenVip/Api.js +0 -35
  37. package/src/components/JfbBaseCodeOpenVip/Attr.js +0 -281
  38. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +0 -251
  39. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +0 -79
  40. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +0 -30
  41. package/src/components/JfbBaseCodeOpenVip/Mock.js +0 -13
  42. package/src/components/JfbBaseConsumpCode/Api.js +0 -133
  43. package/src/components/JfbBaseConsumpCode/Attr.js +0 -61
  44. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +0 -1048
  45. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +0 -79
  46. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +0 -30
  47. package/src/components/JfbBaseConsumpCode/Mock.js +0 -22
  48. package/src/components/JfbBaseNoticeGroup/Api.js +0 -23
  49. package/src/components/JfbBaseNoticeGroup/Attr.js +0 -237
  50. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +0 -174
  51. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less +0 -79
  52. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js +0 -30
  53. package/src/components/JfbBaseNoticeGroup/Mock.js +0 -13
  54. package/src/components/JfbBaseOpenVip/Api.js +0 -39
  55. package/src/components/JfbBaseOpenVip/Attr.js +0 -331
  56. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +0 -457
  57. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +0 -79
  58. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +0 -30
  59. package/src/components/JfbBaseOpenVip/Mock.js +0 -7
  60. package/src/components/JfbBaseOpenVip/XdVipList.vue +0 -131
  61. package/src/components/JfbBaseOpenVipCard/Api.js +0 -58
  62. package/src/components/JfbBaseOpenVipCard/Attr.js +0 -48
  63. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +0 -111
  64. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +0 -79
  65. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +0 -30
  66. package/src/components/JfbBaseOpenVipCard/Mock.js +0 -13
  67. package/src/components/JfbBaseOpenVipDetail/Api.js +0 -35
  68. package/src/components/JfbBaseOpenVipDetail/Attr.js +0 -37
  69. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +0 -234
  70. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +0 -79
  71. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +0 -30
  72. package/src/components/JfbBaseOpenVipDetail/Mock.js +0 -15
  73. package/src/components/JfbBasePersonalData/Api.js +0 -26
  74. package/src/components/JfbBasePersonalData/Attr.js +0 -13
  75. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +0 -200
  76. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +0 -79
  77. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +0 -30
  78. package/src/components/JfbBasePersonalData/Mock.js +0 -13
  79. package/src/components/JfbBasePointsCard/Api.js +0 -18
  80. package/src/components/JfbBasePointsCard/Attr.js +0 -187
  81. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +0 -212
  82. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +0 -79
  83. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +0 -30
  84. package/src/components/JfbBasePointsCard/Mock.js +0 -5
  85. package/src/components/JfbBasePointsDetail/Api.js +0 -48
  86. package/src/components/JfbBasePointsDetail/Attr.js +0 -305
  87. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +0 -267
  88. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +0 -79
  89. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +0 -30
  90. package/src/components/JfbBasePointsDetail/Mock.js +0 -6
  91. package/src/components/JfbBasePosterGroup/Api.js +0 -22
  92. package/src/components/JfbBasePosterGroup/Attr.js +0 -156
  93. package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +0 -268
  94. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +0 -79
  95. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +0 -30
  96. package/src/components/JfbBasePosterGroup/Mock.js +0 -13
  97. package/src/components/JfbBaseSavingDetail/Api.js +0 -41
  98. package/src/components/JfbBaseSavingDetail/Attr.js +0 -70
  99. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +0 -710
  100. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +0 -79
  101. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +0 -30
  102. package/src/components/JfbBaseSavingDetail/Mock.js +0 -10
  103. package/src/components/JfbBaseSavingDetail/components/echarts.min.js +0 -26
  104. package/src/components/JfbBaseSavingDetail/components/echarts.vue +0 -254
  105. package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +0 -105
  106. package/src/components/JfbBaseShare/Api.js +0 -20
  107. package/src/components/JfbBaseShare/Attr.js +0 -59
  108. package/src/components/JfbBaseShare/JfbBaseShare.vue +0 -276
  109. package/src/components/JfbBaseShare/JfbBaseShareLess.less +0 -79
  110. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +0 -30
  111. package/src/components/JfbBaseShare/Mock.js +0 -16
  112. package/src/components/JfbBaseWithDrawAgain/Api.js +0 -41
  113. package/src/components/JfbBaseWithDrawAgain/Attr.js +0 -92
  114. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +0 -354
  115. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +0 -79
  116. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +0 -30
  117. package/src/components/JfbBaseWithDrawAgain/Mock.js +0 -10
  118. package/src/components/JfbBaseWithDrawRecord/Api.js +0 -19
  119. package/src/components/JfbBaseWithDrawRecord/Attr.js +0 -79
  120. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +0 -233
  121. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +0 -79
  122. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +0 -30
  123. package/src/components/JfbBaseWithDrawRecord/Mock.js +0 -7
  124. package/src/components/JfbBaseWithdraw/Api.js +0 -48
  125. package/src/components/JfbBaseWithdraw/Attr.js +0 -328
  126. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +0 -272
  127. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +0 -79
  128. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +0 -30
  129. package/src/components/JfbBaseWithdraw/Mock.js +0 -7
@@ -63,10 +63,7 @@
63
63
  <view class="settle-item" v-for="(settle,index) in info.settleInfo" :key="index">
64
64
  <view>{{settle.label}}:</view>
65
65
  <view v-if="settle.type === 'price'">
66
- <xd-unit
67
- :largeZero="false"
68
- :colorNew="is_plus_site ? '#999':''"
69
- :price="settle.value" :is-old="false"></xd-unit>
66
+ <xd-unit :price="settle.value" :is-old="false"></xd-unit>
70
67
  </view>
71
68
  <view v-else v-html="settle.value"></view>
72
69
  </view>
@@ -432,7 +429,6 @@ export default {
432
429
  payBgColor:'',
433
430
  bgColor:'',
434
431
  ticket_method_msg:'', //取票提示文案
435
- is_plus_site: false,
436
432
 
437
433
  //按钮
438
434
  btnTextColor:'',
@@ -460,7 +456,7 @@ export default {
460
456
  },
461
457
  },
462
458
  computed: {
463
- ...mapState(["brandInfo", "siteInfo"]),
459
+ ...mapState(["brandInfo"]),
464
460
  ...styleForm.getComputedItem(),
465
461
  },
466
462
  created() {
@@ -468,7 +464,6 @@ export default {
468
464
  this.noUserLoding = !this.$root['isLogined']; //判断是否需要已登录
469
465
  if(this.isPreview) this.noUserLoding = false;
470
466
  this.init(this.container);
471
- this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
472
467
  },
473
468
  destroyed() {
474
469
  if (this.timeer) {
@@ -28,13 +28,25 @@
28
28
  </view>
29
29
  <view class="prodcut-content-btn" v-if="isBtn">
30
30
  <view :class="{onePrice: cell === 1}">
31
- <CusPrice
32
- v-if="productConfig.isPrice === 'Y'"
33
- type="two"
34
- :showPrice="item['show_prices']"
35
- :isShowIcon="productConfig.isShowIcon"
36
- :isPlus="productConfig.is_plus_site">
37
- </CusPrice>
31
+ <view v-if="productConfig.isPrice === 'Y'">
32
+ <xd-unit
33
+ :price="(item['promo_price'] || item['sale_price'])"
34
+ :isOld="false"
35
+ :iconSize="0.3"
36
+ :fontSize="36"
37
+ />
38
+ </view>
39
+ <view
40
+ v-if="productConfig.isShowDiscount==='Y' && checkDiscountPrice"
41
+ :style="{color:oldPriceColor}" class="oldPrice">
42
+ <xd-unit
43
+ :price="dividePrice"
44
+ :iconSize="0.21"
45
+ :fontSize="24"
46
+ delete-line
47
+ is-gray
48
+ />
49
+ </view>
38
50
  </view>
39
51
  <view>
40
52
  <view @click.stop="handleDetail()" v-if="productConfig.isAddCart === 'Y'">
@@ -56,15 +68,13 @@ import getServiceUrl from "@/common/getServiceUrl";
56
68
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon.vue";
57
69
  import XdProductStatus from "@/components/XdProductStatus/XdProductStatus";
58
70
  import XdUnit from "@/components/XdUnit/XdUnit.vue";
59
- import CusPrice from "@/components/CusPrice/CusPrice";
60
71
 
61
72
  export default {
62
73
  name: "ContentProduct",
63
74
  components:{
64
75
  XdFontIcon,
65
76
  XdUnit,
66
- XdProductStatus,
67
- CusPrice
77
+ XdProductStatus
68
78
  },
69
79
  props:{
70
80
  keyword:{
@@ -240,10 +250,10 @@ export default {
240
250
  & > view:first-child {
241
251
  flex: 1;
242
252
  & > view:first-child {
253
+ height: 40rpx;
243
254
  display: flex;
244
- flex-direction: column;
245
255
  justify-content: flex-start;
246
- align-items: flex-start;
256
+ align-items: center;
247
257
  overflow: hidden;
248
258
  }
249
259
  & > view:nth-child(2) {
@@ -73,7 +73,6 @@
73
73
  import listMixins from "./listMixins";
74
74
  import CustomList from "./CustomList.vue";
75
75
  import AllList from "./AllList.vue";
76
- import { mapState } from 'vuex';
77
76
 
78
77
  class EmitParent {
79
78
  constructor(options) {
@@ -87,7 +86,7 @@
87
86
  CustomList,
88
87
  XdFontIcon,
89
88
  AllList,
90
- XdSearchHistory,
89
+ XdSearchHistory
91
90
  },
92
91
  mixins: [
93
92
  componentsMixins, extsMixins, JfbBaseTfkSearchMixin,listMixins
@@ -128,13 +127,9 @@
128
127
  allModuleItemContRadius: 16,
129
128
  allModuleItemContBgColor: "#FFFFFF",
130
129
  emitParent:{},
131
- is_plus_site: false
132
130
  }
133
131
  },
134
132
  computed: {
135
- ...mapState({
136
- siteInfo: state => state.siteInfo,
137
- }),
138
133
  showMenuList(){
139
134
  return [{label: "全部", value: "all"}, ...this.menuList]
140
135
  },
@@ -236,7 +231,6 @@
236
231
  return this;
237
232
  }
238
233
  })
239
- this.is_plus_site = this.projectAttr.headers['X-Site-Group']==="vip";
240
234
  this.init(this.container);
241
235
  this.cusInit(this.container);
242
236
  },
@@ -252,11 +246,6 @@
252
246
  if(this.tabId === 'all'){
253
247
  data['search_range'] = this.searchScope.map(item => item.value.split("@")[0]).join(',');
254
248
  }
255
- if(this.productConfig.isShowDiscount==='Y'){
256
- data.is_show_uprice=this.$xdUniHelper.multiplyFloatNumber(this.productConfig.differ,100)
257
- } else {
258
- data.is_show_uprice=-1
259
- }
260
249
 
261
250
  jfbRootExec("getTfkSearchList", {
262
251
  vm: this,
@@ -28,18 +28,6 @@ module.exports = {
28
28
  sale_price: 3000,
29
29
  status: "ok",
30
30
  thumb: "/uploads/20231215/b2ce0235129aa592044f96343f25c338.jpeg",
31
- show_prices: [
32
- {
33
- "p": 6500,
34
- "n": "PLUS价",
35
- "t": "S"
36
- },
37
- {
38
- "p": 7500,
39
- "n": "原价",
40
- "t": "U"
41
- }
42
- ]
43
31
  },
44
32
  {
45
33
  brand_id: 30000,
@@ -55,19 +43,7 @@ module.exports = {
55
43
  sale_price: 2195,
56
44
  status: "ok",
57
45
  thumb:
58
- "https://img1.winxuancdn.com/1305/10251305_9.jpg?1530683968642",
59
- show_prices: [
60
- {
61
- "p": 8500,
62
- "n": "PLUS价",
63
- "t": "S"
64
- },
65
- {
66
- "p": 7500,
67
- "n": "原价",
68
- "t": "U"
69
- }
70
- ]
46
+ "https://img1.winxuancdn.com/1305/10251305_9.jpg?1530683968642"
71
47
  },
72
48
  {
73
49
  brand_id: 30000,
@@ -83,19 +59,7 @@ module.exports = {
83
59
  sale_price: 4219,
84
60
  status: "ok",
85
61
  thumb:
86
- "https://img2.winxuancdn.com/9564/10309564_9.jpg?1530754178039",
87
- show_prices: [
88
- {
89
- "p": 100,
90
- "n": "PLUS价",
91
- "t": "S"
92
- },
93
- {
94
- "p": 200,
95
- "n": "原价",
96
- "t": "U"
97
- }
98
- ]
62
+ "https://img2.winxuancdn.com/9564/10309564_9.jpg?1530754178039"
99
63
  },
100
64
  {
101
65
  brand_id: 30000,
@@ -111,19 +75,7 @@ module.exports = {
111
75
  sale_price: 4388,
112
76
  status: "ok",
113
77
  thumb:
114
- "https://img3.winxuancdn.com/9416/10309416_9.jpg?1530754178039",
115
- show_prices: [
116
- {
117
- "p": 100,
118
- "n": "PLUS价",
119
- "t": "S"
120
- },
121
- {
122
- "p": 200,
123
- "n": "原价",
124
- "t": "U"
125
- }
126
- ]
78
+ "https://img3.winxuancdn.com/9416/10309416_9.jpg?1530754178039"
127
79
  }
128
80
  ]
129
81
  },
@@ -24,8 +24,7 @@ export default {
24
24
  let differ = getContainerPropsValue(container, 'content.differ', 1);
25
25
  let showActivityPrice = getContainerPropsValue(container, 'content.showActivityPrice', 'N');
26
26
  let isShowExchange = getContainerPropsValue(container, 'content.isShowExchange', 'N');
27
- let isShowIcon = this.siteInfo && this.siteInfo.mapping.is_show_coin_icon==='Y'
28
- this.productConfig = {is_show_brand, isPrice, isShowTag, isShowDiscount, isAddCart, differ, showActivityPrice, isShowExchange,is_plus_site: this.is_plus_site,isShowIcon};
27
+ this.productConfig = {is_show_brand, isPrice, isShowTag, isShowDiscount, isAddCart, differ, showActivityPrice, isShowExchange};
29
28
 
30
29
  //内容
31
30
  let brandColor = getContainerPropsValue(container, 'content.brandColor', '#aaa');
@@ -20,34 +20,6 @@ export default {
20
20
 
21
21
  return [
22
22
  {
23
- label: '是否plus站点:',
24
- ele: 'xd-radio',
25
- valueKey: 'is_plus_site',
26
- value: data['is_plus_site'] || 'N',
27
- groupKey:'content',
28
- placeholder: '请选择是否plus',
29
- multiple: false,
30
- className: 'input80',
31
- list: [
32
- {label: '否', value: 'N'},
33
- {label: '是', value: 'Y'},
34
- ]
35
- },
36
- data['is_plus_site']==='Y'&&{
37
- label: '预览plus样式:',
38
- ele: 'xd-radio',
39
- valueKey: 'is_plus_preview',
40
- value: data['is_plus_preview'] || 'Y',
41
- groupKey:'content',
42
- placeholder: '请选择预览plus样式',
43
- multiple: false,
44
- className: 'input80',
45
- list: [
46
- {label: 'plus用户样式', value: 'Y'},
47
- {label: '普通用户样式', value: 'N'},
48
- ]
49
- },
50
- data['is_plus']==='N'&&{
51
23
  label: '内容排版:',
52
24
  ele: 'xd-radio',
53
25
  valueKey: 'text_type',
@@ -61,7 +33,7 @@ export default {
61
33
  {label: '垂直', value: 'Y'},
62
34
  ]
63
35
  },
64
- data['is_plus']==='N'&&{
36
+ {
65
37
  label: "头像右侧内容:",
66
38
  ele: "xd-radio-self",
67
39
  valueKey: "rightContent",
@@ -119,7 +91,7 @@ export default {
119
91
  inline: false,
120
92
  notice: '设置填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
121
93
  },
122
- data['is_plus_site']==='N'&&{
94
+ {
123
95
  label: '背景颜色:',
124
96
  ele: 'xd-color',
125
97
  valueKey: 'backgroundColor',
@@ -129,47 +101,7 @@ export default {
129
101
  placeholder: '请选择背景颜色',
130
102
  classNmae: 'input80',
131
103
  },
132
- data['is_plus_site']==='Y'&&{
133
- label: 'plus用户上半部分背景颜色:',
134
- ele: 'el-input',
135
- valueKey: 'plusTopBackgroundColor',
136
- groupKey:'style',
137
- value: data.plusTopBackgroundColor || '',
138
- labelInline:true,
139
- placeholder: '请输入背景颜色',
140
- classNmae: 'input80',
141
- },
142
- data['is_plus_site']==='Y'&&{
143
- label: 'plus用户下半部分背景颜色:',
144
- ele: 'el-input',
145
- valueKey: 'plusBottomBackgroundColor',
146
- groupKey:'style',
147
- value: data.plusBottomBackgroundColor || '',
148
- labelInline:true,
149
- placeholder: '请输入背景颜色',
150
- classNmae: 'input80',
151
- },
152
- data['is_plus_site']==='Y'&&{
153
- label: '普通用户上半部分背景颜色:',
154
- ele: 'el-input',
155
- valueKey: 'normalTopBackgroundColor',
156
- groupKey:'style',
157
- value: data.normalTopBackgroundColor || '',
158
- labelInline:true,
159
- placeholder: '请输入背景颜色',
160
- classNmae: 'input80',
161
- },
162
- data['is_plus_site']==='Y'&&{
163
- label: '普通用户下半部分背景颜色:',
164
- ele: 'el-input',
165
- valueKey: 'normalBottomBackgroundColor',
166
- groupKey:'style',
167
- value: data.normalBottomBackgroundColor || '',
168
- labelInline:true,
169
- placeholder: '请输入背景颜色',
170
- classNmae: 'input80',
171
- },
172
- data['is_plus_site']==='N'&&{
104
+ {
173
105
  label: '内容背景图片:', //label
174
106
  ele: 'xd-upload', //package 名称
175
107
  valueKey: 'bgImage', //form[valueKey]
@@ -193,7 +125,7 @@ export default {
193
125
  label: '圆角设置:',
194
126
  ele: 'xd-site-select-list',
195
127
  valueKey: 'radius',
196
- value: data['radius'] || '20',
128
+ value: data['radius'] || '0',
197
129
  labelInline:true,
198
130
  groupKey:'style',
199
131
  placeholder: '请选择圆角设置',
@@ -244,55 +176,7 @@ export default {
244
176
  selected:defContBorder.type
245
177
  },
246
178
  },
247
- data['is_plus_site']==='Y'&&{
248
- label: "plus用户昵称字体样式设置",
249
- ele: "xd-text-and-bgc",
250
- groupKey:'style',
251
- valueKey: 'plusNickStyle',
252
- value: data['plusNickStyle'] || null,
253
- setting: {
254
- fontSize: true,
255
- color: true,
256
- bgColor: false,
257
- weight: true,
258
- selected:false
259
- },
260
- handleCustom({action, data}) {
261
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
262
- .then(res => {
263
- data.cb(res.list)
264
- })
265
- .catch(error => {
266
- console.error(error);
267
- data.cb([])
268
- });
269
- },
270
- },
271
- data['is_plus_site']==='Y'&&{
272
- label: "普通用户昵称字体样式设置",
273
- ele: "xd-text-and-bgc",
274
- groupKey:'style',
275
- valueKey: 'normalNickStyle',
276
- value: data['normalNickStyle'] || null,
277
- setting: {
278
- fontSize: true,
279
- color: true,
280
- bgColor: false,
281
- weight: true,
282
- selected:false
283
- },
284
- handleCustom({action, data}) {
285
- XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
286
- .then(res => {
287
- data.cb(res.list)
288
- })
289
- .catch(error => {
290
- console.error(error);
291
- data.cb([])
292
- });
293
- },
294
- },
295
- data['is_plus_site']==='N'&&{
179
+ {
296
180
  label: "昵称字体样式设置",
297
181
  ele: "xd-text-and-bgc",
298
182
  groupKey:'style',
@@ -479,13 +363,13 @@ export default {
479
363
  {label: '显示', value: 'Y'},
480
364
  ]
481
365
  },
482
- data['is_plus_site']==='N'&&{
366
+ {
483
367
  label: "头像右侧内容配置",
484
368
  ele: "title",
485
369
  size: "small",
486
370
  groupKey: "style"
487
371
  },
488
- data['is_plus_site']==='N'&&{
372
+ {
489
373
  label: "头像右侧内容背景颜色:",
490
374
  ele: "xd-color",
491
375
  valueKey: "rightContentBgColor",
@@ -493,7 +377,7 @@ export default {
493
377
  placeholder: '请选择头像右侧内容背景颜色',
494
378
  groupKey: "style",
495
379
  },
496
- data['is_plus_site']==='N'&&{
380
+ {
497
381
  label: "头像右侧内容文字颜色",
498
382
  ele: "xd-text-and-bgc",
499
383
  groupKey:'style',
@@ -525,7 +409,7 @@ export default {
525
409
  // placeholder: '请选择头像右侧内容文字颜色',
526
410
  // groupKey: "style",
527
411
  // },
528
- data['is_plus_site']==='N'&&{
412
+ {
529
413
  label: "头像右侧内容内边距配置:",
530
414
  ele: 'xd-margin-padding',
531
415
  valueKey: 'rightContentPadding',
@@ -537,7 +421,7 @@ export default {
537
421
  inline: false,
538
422
  notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
539
423
  },
540
- data['is_plus_site']==='N'&&{
424
+ {
541
425
  label: "头像右侧内容圆角:",
542
426
  ele: 'xd-site-select-list',
543
427
  valueKey: 'rightContentRadius',
@@ -556,7 +440,7 @@ export default {
556
440
  });
557
441
  },
558
442
  },
559
- data['is_plus_site']==='N'&&{
443
+ {
560
444
  label: '编辑地址路径:',
561
445
  ele: 'xd-select-pages-path',
562
446
  valueKey: 'addressUrl',
@@ -568,54 +452,6 @@ export default {
568
452
  },
569
453
  inline: false,
570
454
  },
571
- data['is_plus_site']==='Y'&&{
572
- label: '开通vip路径:',
573
- ele: 'xd-select-pages-path',
574
- valueKey: 'openVipPath',
575
- groupKey:'advanced',
576
- placeholder: '请选择编辑地址路径',
577
- value: data['openVipPath'] || null,
578
- setting: {
579
- router: XdBus.getParentApi('getPagesTree'),
580
- },
581
- inline: false,
582
- },
583
- data['is_plus_site']==='Y'&&{
584
- label: '立即查看路径:',
585
- ele: 'xd-select-pages-path',
586
- valueKey: 'viewPath',
587
- groupKey:'advanced',
588
- placeholder: '请选择编辑地址路径',
589
- value: data['viewPath'] || null,
590
- setting: {
591
- router: XdBus.getParentApi('getPagesTree'),
592
- },
593
- inline: false,
594
- },
595
- data['is_plus_site']==='Y'&&{
596
- label: '二维码路径:',
597
- ele: 'xd-select-pages-path',
598
- valueKey: 'codePath',
599
- groupKey:'advanced',
600
- placeholder: '请选择二维码路径',
601
- value: data['codePath'] || null,
602
- setting: {
603
- router: XdBus.getParentApi('getPagesTree'),
604
- },
605
- inline: false,
606
- },
607
- data['is_plus_site']==='Y'&&{
608
- label: '个人资料路径:',
609
- ele: 'xd-select-pages-path',
610
- valueKey: 'profilePath',
611
- groupKey:'advanced',
612
- placeholder: '请选择二维码路径',
613
- value: data['profilePath'] || null,
614
- setting: {
615
- router: XdBus.getParentApi('getPagesTree'),
616
- },
617
- inline: false,
618
- },
619
455
  {
620
456
  label: '',
621
457
  ele: 'slot',