jufubao-mall 2.0.16-beta53 → 2.0.16-beta54

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-mall",
3
- "version": "2.0.16-beta53",
3
+ "version": "2.0.16-beta54",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -2,6 +2,7 @@
2
2
  <view
3
3
  class="jfb-mall-resource-shop-list"
4
4
  @click="handleEditxSelect"
5
+ :style="[bodyStyle]"
5
6
  :class="{ editx : isEditx && active }"
6
7
  >
7
8
  <!--#ifdef H5-->
@@ -60,7 +61,7 @@
60
61
  </swiper-item>
61
62
  </swiper>
62
63
  </view>
63
- <view class="query_filter" :style="[queryFilterStyle]">
64
+ <view class="query_filter" :style="[queryFilterStyle]" v-if="showQuery === 'Y'">
64
65
  <view v-if="filterItemsComp.length===1">店铺列表</view>
65
66
  <!-- <template>
66
67
  <view class="query_filter_r" @click="switchQueryModal('city')" v-if="filterModeData.includes('city_code')">
@@ -99,12 +100,13 @@
99
100
  :filter-type="curQueryTab"
100
101
  :collapse-num="6"
101
102
  :padding="bodyPadding"
103
+ :height="filterHeight.height"
102
104
  :filter-selected="searchFilterParams"
103
105
  @onConfirm="handleQueryFilter"></xd-query-filter>
104
106
  </view>
105
107
  </view>
106
108
  <view class="query_filter_copy" :style="[queryCopyStyle]"></view>
107
- <view v-show="showQueryModal" class="modal" @click="closeQueryModal" @touchmove.stop.prevent="moveHandle"></view>
109
+ <view v-show="showQueryModal" class="modal" @click="closeQueryModal" @touchmove.stop.prevent="moveHandle" :style="[modelStyle]"></view>
108
110
  <view v-if="initAttr" :style="[shopListStyle]">
109
111
  <cus-shops
110
112
  :layout="layout"
@@ -120,50 +122,14 @@
120
122
  @on-event="handleToClick"
121
123
  ></cus-shops>
122
124
  </view>
123
- <!-- <view v-if="shopList.length" class="shop_list">
124
- <view class="shop_item"
125
- v-for="item in shopList" :key="item.resource_shop_id"
126
- :style="[cardItemBoxStyle]"
127
- @click="handleToShopDetail(item)"
128
- >
129
- <view class="shop_image">
130
- <image v-if="item.errorStatus" :src="errorImage" :alt="item['resource_shop_name']" ></image>
131
- <image v-else :src="item.shop_icon" mode="aspectFit" @error="handleError(item)"></image>
132
- </view>
133
- <view class="shop_info">
134
- <view class="shop_name">
135
- <view class="_name">{{item.resource_shop_name}}</view>
136
- <view v-if="item.distance" class="distance">{{item.distance}}</view>
137
- </view>
138
- <view class="shop_address">{{ item.address }}</view>
139
- <view class="shop_foot">
140
- <view class="l_tags">
141
- <template v-if="showQuickEntry!=='Y'">
142
- <view v-if="item.consume_mode.includes('SELL')" class="shop_tag">支持核销</view>
143
- <view v-if="item.consume_mode.includes('SEAT')" class="shop_tag">在线选座</view>
144
- </template>
145
- </view>
146
- <view v-if="showQuickEntry==='Y'" class="r_btns">
147
- <template v-if="item.consume_mode.includes('SELL')">
148
- <view v-if="item.default_consume_type === 'WB'" class="change_btn"
149
- @click.stop="handleToScan(item)">{{ scanName }}</view>
150
- <view v-else-if="item.default_consume_type === 'QP'" class="change_btn"
151
- @click.stop="handleToEasyPay(item)">{{ takeGoodsName }}</view>
152
- <view v-else-if="item.default_consume_type === 'JHD'" class="change_btn"
153
- @click.stop="handleToExchange(item)"
154
- >{{ jhdName }}</view>
155
- </template>
156
- <template v-if="item.consume_mode.includes('SEAT')">
157
- <view class="change_btn" @click.stop="toSchedulePath(item)">{{ buyTicketName }}</view>
158
- </template>
159
- </view>
160
- </view>
161
- </view>
162
- </view>
163
- </view>
164
- <view v-else>
125
+ <xd-more
126
+ v-if="($configProject['isPreview'] || !hasNextPage) && (shopList && shopList.length > 0)"
127
+ :color="footerColor"
128
+ :background="footerColor"
129
+ ><text>我是有底线的</text></xd-more>
130
+ <!-- <view v-else>
165
131
  <xd-no-data></xd-no-data>
166
- </view> -->
132
+ </view> -->
167
133
  <!-- CV:店员核销(小蜜蜂);WB:用户扫水牌;CR:收银机;POS:POS机;JHD:聚好兑;QP:快捷支付 -->
168
134
  </view>
169
135
  </view>
@@ -181,6 +147,7 @@
181
147
  import getServiceUrl from "@/common/getServiceUrl";
182
148
  import XdNoData from "@/components/XdNoData/XdNoData.vue"
183
149
  import CusShops from "@/components/CusShops/CusShops.vue"
150
+ import XdMore from "@/components/XdMore/XdMore.vue";
184
151
  let $vm = null;
185
152
  export default {
186
153
  // #ifdef MP-WEIXIN
@@ -192,6 +159,7 @@
192
159
  XdQueryFilter,
193
160
  XdNoData,
194
161
  CusShops,
162
+ XdMore,
195
163
  },
196
164
  mixins: [
197
165
  componentsMixins, extsMixins, JfbMallResourceShopListMixin
@@ -223,7 +191,7 @@
223
191
  consume_mode: '',
224
192
 
225
193
  next_page_token: "",
226
- hasNext: true,
194
+ hasNextPage: true,
227
195
  shopList: [],
228
196
 
229
197
  errorImage:'https://img0.jufubao.cn/common/empty/shop.png?v1=1',
@@ -239,7 +207,7 @@
239
207
  buyTicketName: "",
240
208
 
241
209
  bodyBgColor: "",
242
- defBodyBgColor:"rgba(245, 245, 245, 1)",
210
+ defBodyBgColor:"#f8f8f8",
243
211
  bodyPadding: {},
244
212
  listPadding: {bottom:20,left:20,right:20,top:20},
245
213
  cardItemBgColor: "",
@@ -291,6 +259,10 @@
291
259
  queryGreater:'N',
292
260
  isMore:'N',
293
261
  loading: false, //是否正在加载
262
+ modelTop:0,
263
+ popId:null,
264
+ footerColor:'#ddd',
265
+ searchFilterList:[],
294
266
  }
295
267
  },
296
268
  filters:{
@@ -369,8 +341,26 @@
369
341
  tabs.push({value: 'filter', label: '筛选', icon: 'iconshaixuanbiaoji_mian',size: 24});
370
342
  }
371
343
  return tabs
372
- }
373
-
344
+ },
345
+ bodyStyle(){
346
+ return {
347
+ overflow:this.showQueryModal?'hidden':'auto',
348
+ }
349
+ },
350
+ modelStyle(){
351
+ return {
352
+ top:this.modelTop-this.scrollTop+'px',
353
+ }
354
+ },
355
+ filterHeight(){
356
+ console.log(this.listPadding.top,'pppp')
357
+ let height = this.modelTop-this.scrollTop-this.listPadding.top*this.$rpxNum;
358
+ // let height = 0
359
+ console.log(this.modelTop,this.scrollTop,height,'hhhh')
360
+ return{
361
+ height
362
+ }
363
+ },
374
364
  },
375
365
  watch: {
376
366
  container(value, oldValue) {
@@ -445,9 +435,36 @@
445
435
  }
446
436
  }
447
437
  }
448
- }
438
+ },
439
+ showQueryModal:{
440
+ handler(n,o){
441
+ if(n){
442
+ this.setHasPopStatus({popId: this.popId, action: 'add'});
443
+ }else{
444
+ this.setHasPopStatus({popId: this.popId, action: 'del'});
445
+ }
446
+ },
447
+ immediate:true,
448
+ deep:true,
449
+ },
450
+ // showAllBusinessLine:{
451
+ // handler(n,o){
452
+ // console.log(n,o,this.namespace,'lllll111')
453
+ // if(n == 'Y'){
454
+ // this.namespaceList = [{label: "全部", value: "all"}].concat(this.namespaceList);
455
+ // }else{
456
+ // this.namespaceList = this.namespaceList.filter(item => item.value!=='all');
457
+ // }
458
+ // if(this.namespaceList.length){
459
+ // this.namespace = this.xnamespace||this.namespaceList[0].value;
460
+ // }
461
+ // },
462
+ // immediate:true,
463
+ // deep:true,
464
+ // },
449
465
  },
450
466
  created() {
467
+ this.popId = this.$xdUniHelper.randomChar(20);
451
468
  this.init(this.container);
452
469
  $vm= this;
453
470
  //todo
@@ -458,9 +475,9 @@
458
475
 
459
476
  },
460
477
  methods: {
461
- ...mapActions(['getCustomList']),
478
+ ...mapActions(['getCustomList','setHasPopStatus']),
462
479
  watchScroll(scrollTop){
463
- console.log(this.layoutInfo,'this.layoutInfo')
480
+ console.log(this.layoutInfo,scrollTop,'this.layoutInfo')
464
481
  this.scrollTop = scrollTop;
465
482
  this.$nextTick(() => {
466
483
  // console.log(Math.floor(scrollTop / this.$rpxNum),Math.floor(this.num-this.menuWrapNum),this.num,this.menuWrapNum,'asaaaaaaa')
@@ -491,6 +508,10 @@
491
508
  console.log('options', options)
492
509
  //设置业务请求代码
493
510
  this.setNameSpace(options);
511
+ console.log(this.xnamespace,'options','mmmmmm')
512
+ if(this.xnamespace){
513
+ this.namespace = this.xnamespace;
514
+ }
494
515
  //地址参数传入过滤条件选中
495
516
  if(options['brand_ids']){
496
517
  this.$set(this.searchFilterParams, 'brand', options['brand_ids'].split(','));
@@ -524,6 +545,8 @@
524
545
  //门店布局
525
546
  this.layout = gCPVal(container, 'layout', 'v2');
526
547
  this.showBusinessLine = gCPVal(container, 'showBusinessLine', '');
548
+ this.dimension = gCPVal(container, 'dimension', 'business');
549
+ console.log(this.dimension+'b',this.showBusinessLine+'s','this.dimension')
527
550
  // this.showAllBusinessLine = getContainerPropsValue(container, 'content.showAllBusinessLine', "");
528
551
  this.showAllBusinessLine = gCPVal(container, 'showAllBusinessLine', '');
529
552
  // this.showQuickEntry = getContainerPropsValue(container, 'content.showQuickEntry', "Y");
@@ -553,7 +576,7 @@
553
576
  // this.cardItemBgColor = getContainerPropsValue(container, 'content.cardItemBgColor', "");
554
577
  this.distanceColor = gCPVal(container,'distanceColor', '#999999', {sKey:'distanceColorStatus',fields:['distanceColor']});
555
578
  //item背景色
556
- this.cardItemBgColor = gCPVal(container,'cardItemBgColor', '', {sKey:'cardItemBgColorStatus',fields:['cardItemBgColor']});
579
+ this.cardItemBgColor = gCPVal(container,'cardItemBgColor', '#f8f8f8', {sKey:'cardItemBgColorStatus',fields:['cardItemBgColor']});
557
580
  //投影
558
581
  // this.cardItemShadow = this.getXdShadow({width:20, color:'rgba(0,0,0,0)'},getContainerPropsValue(container, 'content.cardItemShadow', {}))
559
582
  this.cardItemShadow = gCPVal(container, 'cardItemShadow', [this.gStyleValue.shadow, {color:'',width:'0',}],{isShadow: true});
@@ -568,7 +591,7 @@
568
591
  this.takeGoodsPath = gCPVal(container, 'takeGoodsPath', {value: ""}).value;
569
592
  this.buyTicketPath = gCPVal(container, 'buyTicketPath', {value: ""}).value;
570
593
  this.codePath = gCPVal(container, 'codePath', {value: ""}).value;
571
- this.dimension = gCPVal(container, 'dimension', "");
594
+
572
595
  this.isAutoJump = gCPVal(container, 'isAutoJump', []);
573
596
 
574
597
  //图片 描边
@@ -605,7 +628,8 @@
605
628
  let showQuery = gCPVal(container,'showQuery', 'Y');
606
629
  if(showQuery === 'Y') this.filterMode = gCPVal(container, 'filterMode', ['filter'])
607
630
  else this.filterMode = [];
608
- console.log(this.filterMode,'filterMode')
631
+ this.showQuery = showQuery;
632
+ console.log(this.filterMode,'filterMode')
609
633
  // let styleOptions = await this.getCustomList({layout_ids:'lbiqpGJWACZc86KmuiXhw',action: true,value:sValue});
610
634
  // console.log(styleOptions,'styleOptions')
611
635
  //门店样式
@@ -667,10 +691,38 @@
667
691
  'color': this.distanceColor,
668
692
  }
669
693
  }
694
+ console.log(this.$configProject['isPreview'],'cscscsc')
670
695
  if(this.$configProject['isPreview']){
671
696
  this.p_getSearchFilter();
672
697
  }
673
698
  this.initAttr = true;
699
+ //过滤筛选条件
700
+ // debugger
701
+ this.filterSearchMap();
702
+ },
703
+ filterSearchMap(){
704
+ if(this.styleLayout==2){
705
+ this.searchFilterList = this.searchFilterList.filter(item=>{
706
+ return item.value!=='area'
707
+ })
708
+ }
709
+ if(this.styleLayout==3){
710
+ this.searchFilterList = this.searchFilterList.filter(item=>{
711
+ return item.value!=='brand'
712
+ })
713
+ }
714
+ if(this.showBusinessLine==='Y'){
715
+ if(this.dimension==='business'){
716
+ this.searchFilterList = this.searchFilterList.filter(item=>{
717
+ return item.value!=='business_line'
718
+ })
719
+ }else if(this.dimension==='store'){
720
+ this.searchFilterList = this.searchFilterList.filter(item=>{
721
+ return item.value!=='shop_category'
722
+ })
723
+ }
724
+ console.log(this.searchFilterList,'searchFilterList')
725
+ }
674
726
  },
675
727
  switchQueryModal(curQueryTab){
676
728
  console.log(curQueryTab,'curQueryTab')
@@ -738,7 +790,8 @@
738
790
  },
739
791
  getList(){
740
792
  let data = this.getParams();
741
- console.log(data,'dddddd')
793
+ console.log(data,this.namespace,'dddddd')
794
+ // debugger
742
795
  data = {
743
796
  ...data,
744
797
  page_token: this.page_token,
@@ -747,6 +800,7 @@
747
800
  consume_mode: this.consume_mode,
748
801
  keyword: this.keyword
749
802
  }
803
+
750
804
  if(this.dimension==='business'){
751
805
  data.namespace = this.namespace
752
806
  } else {
@@ -766,6 +820,7 @@
766
820
  item.shop_icon = getServiceUrl(item.shop_icon, 'size2');
767
821
  return item;
768
822
  });
823
+ this.filterSearchMap();
769
824
  console.log(list,'list')
770
825
  // debugger
771
826
  if(this.page_token == '1'){
@@ -774,7 +829,8 @@
774
829
  this.shopList = this.shopList.concat(res.list);
775
830
  }
776
831
  this.next_page_token = res.next_page_token;
777
- this.hasNext = res.next_page_token !== "";
832
+ this.hasNextPage = res.next_page_token !== "";
833
+
778
834
  // if(this.page_token == 1){
779
835
  // uni.pageScrollTo({
780
836
  // scrollTop: 0,
@@ -846,6 +902,7 @@
846
902
  data = {
847
903
  ...data,
848
904
  }
905
+ // debugger
849
906
  if(this.dimension==='business'){
850
907
  data.namespace = this.namespace
851
908
  } else {
@@ -863,7 +920,7 @@
863
920
  item.icon = getServiceUrl(item.icon, 'size2');
864
921
  return item;
865
922
  });
866
- if(this.showBusinessLine == 'Y' && this.namespaceList.length == 0){
923
+ if(this.showBusinessLine == 'Y'){
867
924
  if(this.dimension==='business'){
868
925
  this.namespaceList = res.namespaces;
869
926
  } else if(this.dimension==='store'){
@@ -873,7 +930,10 @@
873
930
  if(this.showAllBusinessLine == 'Y'){
874
931
  this.namespaceList = [{label: "全部", value: "all"}].concat(this.namespaceList);
875
932
  }else{
876
- this.namespace = this.namespaceList[0].value;
933
+ this.namespaceList = this.namespaceList.filter(item => item.value!=='all');
934
+ }
935
+ if(this.namespaceList.length){
936
+ this.namespace = this.xnamespace||this.namespaceList[0].value;
877
937
  }
878
938
  }
879
939
  // setTimeout(()=>{
@@ -881,27 +941,35 @@
881
941
  this.$xdUniHelper.getWindowHeight(['.menu_wrap','.business_wrap','addr_wrap','.brand_wrap','.query_filter'], this)
882
942
  .then(res => {
883
943
  console.log(res,'res')
884
- let num = 0;let menuWrapNum;
944
+ let num = 0;let menuWrapNum;let modelTop=0;
885
945
  if(res['.business_wrap']&&res['.business_wrap']['height']){
886
946
  num+=res['.business_wrap']['height']/this.$rpxNum;
887
947
  }
888
948
  if(res['.addr_wrap']&&res['.addr_wrap']['height']){
889
949
  num+=res['.addr_wrap']['height']/this.$rpxNum;
950
+ modelTop+=res['.addr_wrap']['height'];
890
951
  }
891
952
  if(res['.brand_wrap']&&res['.brand_wrap']['height']){
892
953
  num+=res['.brand_wrap']['height']/this.$rpxNum;
954
+ modelTop+=res['.brand_wrap']['height'];
893
955
  }
894
956
  // num = num+this.bodyPadding.top;
895
- console.log(this.bodyPadding.top/this.$rpxNum,'bodyBoxStyle.paddingTop1')
957
+ console.log(this.bodyPadding.top*this.$rpxNum,this.layoutInfo.top/this.$rpxNum,this.layoutInfo.top*this.$rpxNum,'bodyBoxStyle.paddingTop1')
896
958
  if(res['.menu_wrap']&&res['.menu_wrap']['height']){
897
959
  menuWrapNum = res['.menu_wrap']['height']/this.$rpxNum;
960
+ modelTop += res['.menu_wrap']['height'];
898
961
  }
899
962
  this.num = num;
900
963
  console.log(this.num,num,'num')
901
964
  this.menuWrapNum = menuWrapNum;
902
965
  if(res['.query_filter']&&res['.query_filter']['height']){
903
966
  this.queryFilterHight = res['.query_filter']['height']/this.$rpxNum;
967
+ modelTop += res['.query_filter']['height'];
904
968
  }
969
+ modelTop += this.bodyPadding.top*this.$rpxNum;
970
+ modelTop +=this.layoutInfo.top*this.$rpxNum;
971
+ this.modelTop = modelTop;
972
+ console.log(this.modelTop,'modelTop')
905
973
  })
906
974
  })
907
975
  // },50)
@@ -1166,6 +1234,8 @@
1166
1234
  //==evnet===
1167
1235
  handleQueryFilter({items, ids, labels}){
1168
1236
  this.page_token = '1';
1237
+ // this.brand_id = '';
1238
+ // this.area_code = "";
1169
1239
  console.log(items, ids, labels,'handleQueryFilter')
1170
1240
  Object.keys(items).map(key=>{
1171
1241
  this.$set(this.searchFilterParams,key,ids[key])
@@ -1196,7 +1266,7 @@
1196
1266
  border-bottom: 1px solid #EEEEEE;
1197
1267
  width: 100%;
1198
1268
  left: 0;
1199
- z-index: 99;
1269
+ z-index: 999;
1200
1270
  position: fixed;
1201
1271
  width: 100%;
1202
1272
 
@@ -1231,6 +1301,8 @@
1231
1301
  }
1232
1302
  .addr_wrap{
1233
1303
  background-color: #FFFFFF;
1304
+ // position: relative;
1305
+ // z-index: 997;
1234
1306
  }
1235
1307
  .addr_list{
1236
1308
  display: flex;
@@ -1438,4 +1510,8 @@
1438
1510
  .query_wrap_selected{
1439
1511
  font-weight: 500;
1440
1512
  }
1513
+ .brand_wrap{
1514
+ // position: relative;
1515
+ // z-index: 997;
1516
+ }
1441
1517
  </style>
@@ -81,6 +81,10 @@ export default {
81
81
  return {}
82
82
  }
83
83
  },
84
+ height:{
85
+ type:Number,
86
+ default: 0
87
+ }
84
88
  },
85
89
  computed:{
86
90
  itemStyleComp(){
@@ -99,11 +103,13 @@ export default {
99
103
  };
100
104
  },
101
105
  boxListComp(){
102
- let maxHeight = this.$root.layoutInfo['bodyMinHeightRpx'] - 180;
106
+ // console.log(this.height/this.$rpxNum,this.height,this.$root.layoutInfo['bodyMinHeightRpx'],'rrrrr')
107
+ let maxHeight = this.$root.layoutInfo['bodyMinHeightRpx'] - this.height/this.$rpxNum + 'rpx';
108
+ console.log(maxHeight,'maxHeight')
103
109
  if(this.$configProject.isPreview) maxHeight = 800;
104
110
  return {
105
111
  backgroundColor: this.filterStyle['filterListColor'] || '#f8f8f8',
106
- maxHeight: maxHeight + 'rpx',
112
+ maxHeight: maxHeight,
107
113
  borderTop: this.filterStyle.filterTopBorder|| '2rpx solid #f8f8f8'
108
114
  }
109
115
  },
@@ -140,6 +146,7 @@ export default {
140
146
  selectedLabels:{},
141
147
  selectedIds:{},
142
148
  filterTabs: [],
149
+ btnHeight:0,
143
150
  }
144
151
  },
145
152
  watch: {
@@ -152,6 +159,14 @@ export default {
152
159
  },
153
160
  created(){
154
161
  console.log(this.padding, this.list,'sssssaaaaa')
162
+ this.$nextTick(()=>{
163
+ this.$xdUniHelper.getWindowHeight(['.bottom_btn'], this)
164
+ .then(res => {
165
+ console.log(res,'aaadddd')
166
+ this.btnHeight = res['bottom_btn']['height'];
167
+ })
168
+ .catch(err => {})
169
+ })
155
170
  this.initData();
156
171
  },
157
172
  methods: {
@@ -293,7 +308,7 @@ export default {
293
308
  <style lang="less" scoped>
294
309
  .filter_wrap{
295
310
  overflow: auto;
296
- max-height: 30vh!important;
311
+ // max-height: 50vh!important;
297
312
 
298
313
  .filter_item{
299
314
  &:last-child {
@@ -17,7 +17,7 @@ export default (data, gValue, gColor, oldData) => {
17
17
  ele: 'xd-select-pages-path',
18
18
  valueKey: 'shopInfoPath',
19
19
  groupKey:'advanced',
20
- placeholder: '请选择门店详情跳转地址',
20
+ placeholder: '请选择门店详情跳转页面',
21
21
  value: data.shopInfoPath || null,
22
22
  className: 'input100',
23
23
  setting: {
@@ -46,7 +46,7 @@ export default (data, gValue, gColor, oldData) => {
46
46
  label: '聚好兑:',
47
47
  ele: 'xd-select-pages-path',
48
48
  valueKey: 'exchangePath',
49
- placeholder: '请选择聚好兑跳转地址',
49
+ placeholder: '请选择聚好兑跳转页面',
50
50
  groupKey:'advanced',
51
51
  className: 'input100',
52
52
  value: data['exchangePath'] || null,
@@ -62,7 +62,7 @@ export default (data, gValue, gColor, oldData) => {
62
62
  label: '扫一扫:',
63
63
  ele: 'xd-select-pages-path',
64
64
  valueKey: 'scanPath',
65
- placeholder: '请选择扫一扫跳转地址',
65
+ placeholder: '请选择扫一扫跳转页面',
66
66
  groupKey:'advanced',
67
67
  className: 'input100',
68
68
  value: data['scanPath'] || null,
@@ -78,7 +78,7 @@ export default (data, gValue, gColor, oldData) => {
78
78
  label: '快捷码:',
79
79
  ele: 'xd-select-pages-path',
80
80
  valueKey: 'takeGoodsPath',
81
- placeholder: '请选择展快捷码跳转地址',
81
+ placeholder: '请选择展快捷码跳转页面',
82
82
  groupKey:'advanced',
83
83
  className: 'input100',
84
84
  value: data['takeGoodsPath'] || null,
@@ -94,7 +94,7 @@ export default (data, gValue, gColor, oldData) => {
94
94
  label: '在线选座:',
95
95
  ele: 'xd-select-pages-path',
96
96
  valueKey: 'buyTicketPath',
97
- placeholder: '请选择在线选座跳转地址',
97
+ placeholder: '请选择在线选座跳转页面',
98
98
  groupKey:'advanced',
99
99
  className: 'input100',
100
100
  value: data['buyTicketPath'] || null,
@@ -11,6 +11,7 @@ import {
11
11
  } from "@/utils/AttrTools";
12
12
 
13
13
  export default (data, gValue, gColor, oldData) => {
14
+ console.log(data,'dddddsss')
14
15
  let showStoreImg = 'Y'
15
16
  let showStoreAddress = 'Y'
16
17
  //变化的时候
@@ -206,10 +207,10 @@ export default (data, gValue, gColor, oldData) => {
206
207
  valueKey: "filterMode",
207
208
  value: dataVal({data, key:'filterMode', dValue:[['filter']], gValue}),
208
209
  list:[
209
- {"label": "区域", "value": 'area'},
210
- {"label": "品牌", "value": 'brand'},
211
- {"label": "业务线", "value": 'business_line'},
212
- {"label": "门店分类", "value": 'shop_category'},
210
+ {"label": "区域", "value": 'area',disabled:data.styleLayout==2?true:false},
211
+ {"label": "品牌", "value": 'brand',disabled:data.styleLayout==3?true:false},
212
+ {"label": "业务线", "value": 'business_line',disabled:data.showBusinessLine==='Y'&&data.dimension==='business'?true:false},
213
+ {"label": "门店分类", "value": 'shop_category',disabled:data.showBusinessLine==='Y'&&data.dimension==='store'?true:false},
213
214
  {"label": "筛选", "value": 'filter'},
214
215
  ],
215
216
  labelInline: true,
@@ -140,7 +140,7 @@ export default function (data, gValue, gColor, oldData) {
140
140
  groupKey:'style',
141
141
  valueKey: 'cardItemBgColor',
142
142
  labelInline:true,
143
- value: dataVal({data, key:'cardItemBgColor', dValue:'#FFF', gValue}),
143
+ value: dataVal({data, key:'cardItemBgColor', dValue:'#f8f8f8', gValue}),
144
144
  hidden: !statusShow({data, key: 'cardItemBgColorStatus', fields:['cardItemBgColor'], gValue}),
145
145
  placeholder: '请选择背景颜色',
146
146
  classNmae: 'input80',