jufubao-base 1.0.61-beta5 → 1.0.62

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.
@@ -34,7 +34,7 @@
34
34
  size="45"
35
35
  icon="iconsaoma"
36
36
  ></xd-font-icon>
37
-
37
+
38
38
  </view>
39
39
  <view
40
40
  class="jfb-base-card-entry__body-cut-item"
@@ -51,7 +51,7 @@
51
51
  size="45"
52
52
  icon="iconyuechi"
53
53
  ></xd-font-icon>
54
-
54
+
55
55
  </view>
56
56
  </template>
57
57
  <template v-else>
@@ -70,34 +70,36 @@
70
70
  </template>
71
71
  </view>
72
72
  <view class="jfb-base-card-entry__body-line" v-if="!notice"></view>
73
- <view
74
- class="jfb-base-card-entry__body-notice"
75
- :style="{ background: noticeBackgroundColor }"
76
- v-if="notice"
77
- >
78
- <xd-notice-bar
79
- :showIcon="true"
80
- :scrollable="true"
81
- :speed="20"
82
- :fontSize="24"
83
- :height="70"
84
- :is-no-bgc="false"
73
+ <view class="jfb-base-card-entry__body-notice" v-if="notice">
74
+ <view
75
+ class="jfb-base-card-entry__body-notice-in"
76
+ :style="{ background: noticeBackgroundColor }"
85
77
  >
86
- <template>
87
- <view v-html="notice"></view>
88
- </template>
89
- </xd-notice-bar>
78
+ <xd-notice-bar
79
+ :showIcon="true"
80
+ :scrollable="true"
81
+ :speed="20"
82
+ :fontSize="24"
83
+ :height="70"
84
+ :is-no-bgc="false"
85
+ >
86
+ <template>
87
+ <view v-html="notice"></view>
88
+ </template>
89
+ </xd-notice-bar>
90
+ </view>
90
91
  </view>
91
- <view
92
- v-if="noticeStatus && isPreview && notice === ''"
93
- class="jfb-base-card-entry__body-notice"
94
- :style="{
92
+ <view class="jfb-base-card-entry__body-notice" v-if="noticeStatus && isPreview && notice === ''">
93
+ <view
94
+ class="jfb-base-card-entry__body-notice-in"
95
+ :style="{
95
96
  background: noticeBackgroundColor,
96
97
  textAlign: 'center',
97
98
  color: dangerColor,
98
99
  fontSize: 26 + 'rpx',
99
100
  }"
100
- >该组件未配置数据,因此改模块在正式环境将不显示</view>
101
+ >该组件未配置数据,因此改模块在正式环境将不显示</view>
102
+ </view>
101
103
  <view class="jfb-base-card-entry__body-tab">
102
104
  <view
103
105
  @click="tabIndex = 1"
@@ -107,7 +109,7 @@
107
109
  }"
108
110
  >已绑定票券</view>
109
111
  <view
110
- v-if="changeList.length > 0"
112
+ v-if="hasChangeStatus"
111
113
  @click="tabIndex = 2"
112
114
  :style="{
113
115
  color: tabIndex === 2 ? '#fff' : '#B8B7BE',
@@ -120,16 +122,145 @@
120
122
  :style="{ color: warningColor }"
121
123
  v-if="tabIndex === 2"
122
124
  >* 目前仅支持电影票兑换券进行转换</view>
123
- <view v-if="showList.length>0">
125
+ <view class="card-content">
126
+ <view
127
+ v-if="tabIndex === 2 || tabIndex === 1 && (cardList && cardList.length > 0)"
128
+ class="jfb-base-card-entry__body-card"
129
+ >
130
+ <view
131
+ v-for="(item,index) in cardList"
132
+ :data-index="item.card_number"
133
+ :data-idx="index"
134
+ :data-top="item.top"
135
+ class="card-list"
136
+ :key="item.card_number"
137
+ @click="toDetail(item)"
138
+ v-if="setCardItemShow(item,index)"
139
+ :style="{
140
+ background: item['theme']['color'],
141
+ backgroundSize: '100%',
142
+ height: item.height + 'px'
143
+ }"
144
+ >
145
+ <view class="card-list-warp" :style="{backgroundImage: 'url('+ item['theme']['image'] +')'}">
146
+ <view class="card-list__title"><view>{{item['card_type_name']}}</view></view>
147
+ <view class="card-list__content">
148
+ <view>
149
+ <text>券号:</text>
150
+ <text>{{item.card_number}}</text>
151
+ </view>
152
+ <view @click.stop="toDetail(item)" v-if="0">
153
+ <view>
154
+ <xd-font-icon icon="iconerweima" width="56" height="56" size="50" color="#fff"></xd-font-icon>
155
+ </view>
156
+ <view>点击查看</view>
157
+ </view>
158
+ </view>
159
+ <view class="card-list__date">
160
+ <text>有效期:</text>
161
+ <text>{{item.end_time}}</text>
162
+ </view>
163
+ <view class="card-list__yue">
164
+ <text>余额:</text>
165
+ <text>{{item.card_point}} {{ item.unit }}</text>
166
+ </view>
167
+ <view class="card-list__other" v-if="item.other_card_point && item.card_point_type === 2">
168
+ <view><text>购买其他物品可抵:</text><text>{{item.other_card_point}} {{ item.unit }}</text></view>
169
+ </view>
170
+ <template v-if="tabIndex === 1">
171
+ <view class="card-list__entry" v-if="item.entries.length === 1">
172
+ <view
173
+ @click.stop="handleBindLogin(item,item['entries'][0])"
174
+ :style="{color: item['theme']['color']}"
175
+ >进入{{item['entries'][0]['entry_name']}}</view>
176
+ </view>
177
+ <view class="card-list__nodata" v-if="item.entries.length === 0">暂无支持服务列表</view>
178
+ <view class="card-list__entrys" v-if="item.entries.length > 1" @click.stop>
179
+ <view class="card-list__entrys-title">
180
+ <view>可兑换权益</view>
181
+ <view @click.stop="toDetail(item, false)">
182
+ <text>查看详情</text>
183
+ <xd-font-icon icon="iconxiangyou_xian" color="#999" size="20"></xd-font-icon>
184
+ </view>
185
+ </view>
186
+ <view class="card-list__entrys-list">
187
+ <scroll-view scroll-x class="card-list__entrys-scroll">
188
+ <view class="card-list__entrys-item">
189
+ <view
190
+ v-for="(entry,idx) in item.entries"
191
+ :key="idx"
192
+ @click.stop="handleBindLogin(item, entry)"
193
+ >
194
+ <view><image :src="entry.image_url"></image></view>
195
+ <view>{{entry|cutstr}}</view>
196
+ <view>
197
+ <text>去兑换</text>
198
+ <xd-font-icon icon="iconxiangyou_xian" color="#999" size="20"></xd-font-icon>
199
+ </view>
200
+ </view>
201
+ </view>
202
+ </scroll-view>
203
+ </view>
204
+ </view>
205
+ </template>
206
+ <view class="card-list__entry" v-else>
207
+ <view
208
+ @click.stop="handleBindLogin(item,item['entries'][0])"
209
+ :style="{color: item['theme']['color']}"
210
+ >票券转换</view>
211
+ </view>
212
+ </view>
213
+ </view>
214
+ <view
215
+ class="card-content-empty card-list"
216
+ :data-index="item.card_number"
217
+ :data-idx="index"
218
+ :data-top="item.top"
219
+ v-else
220
+ :style="{
221
+ height: item.height + 'px',
222
+ backgroundImage: 'url('+ (tabIndex===2 || item.entries.length <= 1 ? cardItem: cardItemEntry) +')'
223
+ }"
224
+ ></view>
225
+ </view>
226
+ <view v-else-if="cardList !== null && cardList.length === 0">
227
+ <view class="jfb-base-card-entry__body-empty">
228
+ <view class="jfb-base-card-entry__body-empty-wrap">
229
+ <image :src="emptyBg"></image>
230
+ 暂无票券
231
+ </view>
232
+ </view>
233
+ </view>
124
234
  <view
125
- v-if="tabIndex === 2 || tabIndex === 1"
126
- class="jfb-base-card-entry__body-card"
127
- >
235
+ v-if="showDisabled==='Y'"
236
+ @click="handleToDisabled"
237
+ class="jfb-base-card-entry__body-disabled"
238
+ >已失效票券>>></view>
239
+ </view>
240
+ <view class="jfb-base-card-entry__body-dialog" v-if="dialogEvent">
241
+ <view class="jfb-base-card-entry__body-dialog-content">
242
+ <image
243
+ class="jfb-base-card-entry__body-dialog-content-img"
244
+ alt=""
245
+ :src="popup"
246
+ ></image>
247
+ <xd-font-icon
248
+ icon="icondanchuangguanbi_xian"
249
+ width="52"
250
+ height="52"
251
+ size="26"
252
+ color="#fff"
253
+ class="jfb-base-card-entry-entry__body-dialog-content-close"
254
+ @click="dialogEvent = false"
255
+ ></xd-font-icon>
256
+ </view>
257
+ </view>
258
+ <view class="computed-height" >
128
259
  <view
129
- v-for="(item) in showList"
130
- class="card-list"
260
+ v-for="(item,index) in cardComputedList"
261
+ :data-card="item.card_number"
262
+ class="card-list computed-box"
131
263
  :key="item.card_number"
132
- @click="toDetail(item)"
133
264
  :style="{
134
265
  background: item['theme']['color'],
135
266
  backgroundSize: '100%'
@@ -205,40 +336,8 @@
205
336
  </view>
206
337
  </view>
207
338
  </view>
208
- </view>
209
- <view v-else>
210
- <view class="jfb-base-card-entry__body-empty">
211
- <view class="jfb-base-card-entry__body-empty-wrap">
212
- <image :src="emptyBg"></image>
213
- 暂无票券
214
- </view>
215
- </view>
216
- </view>
217
- <view
218
- v-if="showDisabled==='Y'"
219
- @click="handleToDisabled"
220
- class="jfb-base-card-entry__body-disabled"
221
- >已失效票券>>></view>
222
- </view>
223
- <view class="jfb-base-card-entry__body-dialog" v-if="dialogEvent">
224
- <view class="jfb-base-card-entry__body-dialog-content">
225
- <image
226
- class="jfb-base-card-entry__body-dialog-content-img"
227
- alt=""
228
- :src="popup"
229
- ></image>
230
- <xd-font-icon
231
- icon="icondanchuangguanbi_xian"
232
- width="52"
233
- height="52"
234
- size="26"
235
- color="#fff"
236
- class="jfb-base-card-entry-entry__body-dialog-content-close"
237
- @click="dialogEvent = false"
238
- ></xd-font-icon>
239
- </view>
240
- </view>
241
339
  </view>
340
+ </view>
242
341
  </template>
243
342
 
244
343
  <script>
@@ -250,6 +349,7 @@ import JfbBaseCardEntryMixin from "./JfbBaseCardEntryMixin";
250
349
  import componentsMixins from "@/mixins/componentsMixins";
251
350
  import extsMixins from "@/mixins/extsMixins";
252
351
  import colorCardMixins from "@/mixins/colorCardMixins";
352
+ import cardListMixins from "@/mixins/cardListMixins";
253
353
  import { mapState, mapActions } from "vuex";
254
354
  import { getContainerPropsValue, isWechat } from "@/utils/xd.base";
255
355
  import XdNoticeBar from "@/components/XdNoticeBar/XdNoticeBar";
@@ -264,15 +364,12 @@ export default {
264
364
  XdNoticeBar,
265
365
  XdCardV2
266
366
  },
267
- mixins: [componentsMixins, extsMixins, JfbBaseCardEntryMixin, colorCardMixins],
367
+ mixins: [componentsMixins, extsMixins, JfbBaseCardEntryMixin, colorCardMixins, cardListMixins],
268
368
  computed: {
269
369
  ...mapState({
270
370
  jwxSDK: (state) => state.jwxSDK,
271
371
  jfbAuthorize: (state) => state.jfbAuthorize,
272
372
  }),
273
- showList(){
274
- return this.tabIndex === 1 ? this.cardList: this.changeList
275
- },
276
373
  emptyBg() {
277
374
  return this.getNoData();
278
375
  },
@@ -286,6 +383,10 @@ export default {
286
383
  watch: {
287
384
  container(value) {
288
385
  this.init(value)
386
+ },
387
+ tabIndex(){
388
+ this.clearDefault();
389
+ this.handleCardInit(this.ajaxCardList, this.tabIndex === 1);
289
390
  }
290
391
  },
291
392
  data() {
@@ -300,11 +401,9 @@ export default {
300
401
  cutIndex: 1,
301
402
  tabIndex: 1,
302
403
  isBack: null, //是否使用返回键
303
- cardList: [],
304
- changeList: [],
305
- disableList: [],
306
404
  inCallback: null, //内部跳转地址
307
405
 
406
+
308
407
  //页面跳转地址
309
408
  login_name:'',//登陆文案
310
409
  changeUrl: "",
@@ -325,7 +424,6 @@ export default {
325
424
  this.init(this.container);
326
425
  this.noticeBackgroundColor = Color(this.warningColor).alpha(0.2).toString();
327
426
  this.isPreview = this.$configProject.isPreview;
328
-
329
427
 
330
428
  //#ifdef H5
331
429
  this.isWx = this.isPreview || isWechat();
@@ -345,7 +443,7 @@ export default {
345
443
 
346
444
  },
347
445
  methods: {
348
-
446
+
349
447
  init(container){
350
448
  //设置
351
449
  this.cardLayout = getContainerPropsValue(container,"content.cardLayout","1");
@@ -357,7 +455,7 @@ export default {
357
455
  //this.allEntryPath = getContainerPropsValue(container,"content.allEntryPath",{value: ""}).value;
358
456
  this.login_name = getContainerPropsValue(container, "content.login_name", "登录");
359
457
  },
360
-
458
+
361
459
  handleToLink(path) {
362
460
  this.$xdUniHelper.navigateTo({
363
461
  url: path,
@@ -443,7 +541,7 @@ export default {
443
541
  if (item["is_valid"] !== "Y") {
444
542
  return;
445
543
  }
446
-
544
+
447
545
  this.$xdShowLoading({});
448
546
  jfbRootExec("loginEntryCardBind", {
449
547
  vm: this,
@@ -462,7 +560,7 @@ export default {
462
560
  if (this.$configProject.isPreview) {
463
561
  console.log("handleBindLogin", "预览模式不跳转", this.inCallback);
464
562
  }
465
-
563
+
466
564
  else {
467
565
  this.handleToApp(entry);
468
566
  }
@@ -471,7 +569,7 @@ export default {
471
569
  this.$xdHideLoading();
472
570
  });
473
571
  }
474
-
572
+
475
573
  //转换卡跳转
476
574
  else {
477
575
  this.$xdUniHelper.navigateTo({
@@ -493,7 +591,7 @@ export default {
493
591
  }
494
592
  const {dir, path, host} = item;
495
593
  let nsp = Base64.encodeURI(JSON.stringify({business_code: entry['business_code']}));
496
-
594
+
497
595
  //外站配置地址
498
596
  if (entry.redirect_type === 'URL') {
499
597
  if (item['path'].indexOf('?') === -1) {
@@ -502,13 +600,13 @@ export default {
502
600
  this.toApp(redirectUrl);
503
601
  return;
504
602
  }
505
-
603
+
506
604
  //站内转换
507
605
  let jumpUrl = item.path;
508
606
  //#ifdef H5
509
607
  jumpUrl = `//${host}/${dir}${path}`;
510
608
  //#endif
511
-
609
+
512
610
  if (item['fixed_business_code'] === '') {
513
611
  redirectUrl = `${jumpUrl}?x-common=${nsp}&vs=${new Date().getTime()}`
514
612
  }
@@ -517,21 +615,11 @@ export default {
517
615
  }
518
616
  this.toApp(redirectUrl);
519
617
  },
520
-
618
+
521
619
  toDetail(item, out=true) {
522
- if(out) {
523
- if(item.entries.length === 1) {
524
- this.$xdUniHelper.navigateTo({
525
- url: `${this.detailUrl}?card_number=${item["card_number"]}`,
526
- }, false);
527
- }
528
- }
529
- else{
530
- this.$xdUniHelper.navigateTo({
531
- url: `${this.detailUrl}?card_number=${item["card_number"]}`,
532
- }, false);
533
- }
534
-
620
+ this.$xdUniHelper.navigateTo({
621
+ url: `${this.detailUrl}?card_number=${item["card_number"]}`,
622
+ }, false);
535
623
  },
536
624
 
537
625
  onJfbLoad(options) {
@@ -578,24 +666,19 @@ export default {
578
666
  ),
579
667
  };
580
668
  });
581
-
582
- this.cardList = this.getCardGroupItem(res.list.filter((item) => {
583
- return item["is_valid"] === "Y";
584
- }), res['site_entry_settings']);
585
-
586
- this.changeList = this.getCardGroupItem(this.cardList.filter((item) => {
669
+ this.ajaxCardList = res;
670
+ this.handleCardInit(this.ajaxCardList, this.tabIndex === 1);
671
+
672
+
673
+ this.hasChangeStatus = this.getCardGroupItem(this.ajaxCardList.list.filter((item) => {
587
674
  return item["is_exchange"] === "Y";
588
- }), res['site_entry_settings']);
589
-
675
+ }), res['site_entry_settings']).length > 0;
676
+
590
677
  this.$xdHideLoading();
591
678
  })
592
679
  .catch(() => this.$xdHideLoading());
593
680
  },
594
681
 
595
- onShow(options) {
596
- this.onJfbLoad(options);
597
- },
598
-
599
682
  onJfbUpdate(data) {
600
683
  this.getContent();
601
684
  },
@@ -674,7 +757,7 @@ export default {
674
757
  }
675
758
  }
676
759
  }
677
-
760
+
678
761
  &-line {
679
762
  height: 1px;
680
763
  background: #eee;
@@ -686,7 +769,7 @@ export default {
686
769
  display: flex;
687
770
  align-items: center;
688
771
  justify-content: space-between;
689
-
772
+
690
773
 
691
774
  &-item {
692
775
  border: unit(6, rpx) solid;
@@ -699,15 +782,27 @@ export default {
699
782
  align-items: center;
700
783
  justify-content: center;
701
784
  box-sizing: border-box;
702
-
785
+
703
786
  }
704
787
  }
705
788
 
706
789
  &-notice {
707
- margin: unit(30, rpx) unit(-35, rpx) 0 unit(-35, rpx);
708
-
709
- padding: unit(22, rpx) unit(35, rpx);
710
- line-height: unit(70, rpx);
790
+ width: 100%;
791
+ margin-top: unit(30, rpx);
792
+ height: unit(80, rpx);
793
+ position: relative;
794
+ &-in {
795
+ position: absolute;
796
+ left: unit(-30, rpx);
797
+ top: unit(0, rpx);
798
+ right: unit(-30, rpx);
799
+ bottom: 0;
800
+ display: flex;
801
+ padding: 0 unit(30, rpx);
802
+ overflow: hidden;
803
+ align-items: center;
804
+ }
805
+
711
806
  }
712
807
 
713
808
  &-tab {
@@ -746,18 +841,18 @@ export default {
746
841
  overflow: hidden;
747
842
  border-radius: unit(16, rpx);
748
843
  margin-bottom: unit(30, rpx);
749
-
844
+
750
845
  &:last-child {
751
846
  margin-bottom: 0;
752
847
  }
753
-
754
-
848
+
849
+
755
850
  &__title {
756
851
  height: unit(56, rpx);
757
852
  display: flex;
758
853
  justify-content: flex-start;
759
854
  align-items: center;
760
-
855
+
761
856
  & > view {
762
857
  padding: 0 unit(80, rpx);
763
858
  font-size: unit(24, rpx);
@@ -766,23 +861,23 @@ export default {
766
861
  color: #fff;
767
862
  border-radius: 0 0 unit(16, rpx) 0;
768
863
  }
769
-
864
+
770
865
  }
771
-
866
+
772
867
  &__content {
773
868
  padding: unit(10, rpx) unit(40, rpx) 0;
774
869
  height: unit(86, rpx);
775
870
  display: flex;
776
871
  justify-content: space-between;
777
872
  align-items: center;
778
-
873
+
779
874
  & > view:first-child {
780
875
  font-size: unit(36, rpx);
781
876
  line-height: unit(86, rpx);
782
877
  color: #fff;
783
878
  font-weight: 700;
784
879
  }
785
-
880
+
786
881
  & > view:nth-child(2) {
787
882
  font-size: unit(24, rpx);
788
883
  display: flex;
@@ -793,32 +888,32 @@ export default {
793
888
  color: #fff;
794
889
  }
795
890
  }
796
-
891
+
797
892
  &__date {
798
893
  padding: 0 unit(40, rpx);
799
894
  font-size: unit(28, rpx);
800
895
  line-height: unit(32, rpx);
801
896
  color: #fff;
802
897
  }
803
-
898
+
804
899
  &__yue {
805
900
  padding: unit(10, rpx) unit(40, rpx) 0;
806
901
  font-size: unit(28, rpx);
807
902
  line-height: unit(32, rpx);
808
903
  color: #fff;
809
-
904
+
810
905
  & > text:nth-child(2) {
811
906
  font-weight: 700;
812
907
  }
813
908
  }
814
-
909
+
815
910
  &__other {
816
911
  display: flex;
817
912
  justify-content: flex-start;
818
913
  align-items: center;
819
914
  padding: unit(20, rpx) unit(40, rpx) 0;
820
915
  margin-top: unit(0, rpx);
821
-
916
+
822
917
  & > view {
823
918
  border-radius:unit(8, rpx);
824
919
  background: rgba(255, 255, 255, 0.2);
@@ -832,17 +927,17 @@ export default {
832
927
  padding: 0 unit(20, rpx);
833
928
  color: #fff;
834
929
  }
835
-
836
-
930
+
931
+
837
932
  }
838
-
933
+
839
934
  &__nodata {
840
935
  padding: unit(20, rpx) unit(40, rpx) 0;
841
936
  margin-top: unit(0, rpx);
842
937
  color: #fff;
843
938
  font-size: unit(28, rpx);
844
939
  }
845
-
940
+
846
941
  &__entry {
847
942
  padding: unit(20, rpx) unit(40, rpx) 0;
848
943
  & > view {
@@ -855,26 +950,26 @@ export default {
855
950
  font-weight: 500;
856
951
  }
857
952
  }
858
-
953
+
859
954
  &__entrys {
860
955
  margin: unit(20, rpx) unit(20, rpx) 0;
861
956
  padding: unit(30, rpx);
862
957
  border-radius: unit(16, rpx);
863
958
  background: rgba(255, 255, 255, 1);
864
959
  box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
865
-
960
+
866
961
  &-title {
867
962
  display: flex;
868
963
  justify-content: space-between;
869
964
  align-items: center;
870
-
871
-
965
+
966
+
872
967
  & > view:first-child {
873
968
  font-size: unit(28, rpx);
874
969
  font-weight: 500;
875
970
  flex: 1;
876
971
  }
877
-
972
+
878
973
  & > view:nth-child(2) {
879
974
  display: flex;
880
975
  justify-content: flex-start;
@@ -884,11 +979,11 @@ export default {
884
979
  color: #999;
885
980
  }
886
981
  }
887
-
982
+
888
983
  &-scroll {
889
-
984
+
890
985
  }
891
-
986
+
892
987
  &-item {
893
988
  display: flex;
894
989
  justify-content: flex-start;
@@ -896,7 +991,7 @@ export default {
896
991
  flex-flow: nowrap;
897
992
  margin-left: unit(-14, rpx);
898
993
  padding-top: unit(20, rpx);
899
-
994
+
900
995
  & > view {
901
996
  width: unit(120, rpx);
902
997
  margin-right: unit(10, rpx);
@@ -905,25 +1000,29 @@ export default {
905
1000
  justify-content: center;
906
1001
  flex-direction: column;
907
1002
  align-items: center;
908
-
1003
+ padding-bottom: unit(10,rpx);
1004
+
909
1005
  & > view:first-child {
910
1006
  width: unit(76, rpx);
911
1007
  height: unit(76, rpx);
912
1008
  overflow: hidden;
913
-
1009
+ display: flex;
1010
+ justify-content: center;
1011
+ align-items: center;
1012
+
914
1013
  & > image {
915
1014
  height: 100%;
916
1015
  width: 100%;
917
1016
  }
918
1017
  }
919
-
1018
+
920
1019
  & > view:nth-child(2) {
921
1020
  margin-top: unit(10, rpx);
922
1021
  font-size: unit(24, rpx);
923
1022
  line-height: unit(36, rpx);
924
1023
  margin-bottom: unit(10, rpx);
925
1024
  }
926
-
1025
+
927
1026
  & > view:nth-child(3) {
928
1027
  display: flex;
929
1028
  justify-content: flex-start;
@@ -932,20 +1031,19 @@ export default {
932
1031
  font-size: unit(20, rpx);
933
1032
  color: #999;
934
1033
  }
935
-
1034
+
936
1035
  &:last-child {
937
1036
  margin-right: 0;
938
1037
  }
939
-
1038
+
940
1039
  }
941
-
942
-
1040
+
1041
+
943
1042
  }
944
1043
  }
945
-
946
-
1044
+
1045
+
947
1046
  &-warp {
948
- width: unit(700, rpx);
949
1047
  min-height: unit(310, rpx);
950
1048
  position: relative;
951
1049
  border-radius: unit(16, rpx);
@@ -953,4 +1051,22 @@ export default {
953
1051
  padding-bottom: unit(20, rpx);
954
1052
  }
955
1053
  }
1054
+
1055
+ .computed-height {
1056
+ position: fixed;
1057
+ top:-999999px;
1058
+ width: 100%;
1059
+ z-index: 99999;
1060
+ }
1061
+
1062
+ .card-content-empty {
1063
+ background-size: 100%;
1064
+ background-repeat: no-repeat;
1065
+ background-position: top center;
1066
+
1067
+ & > image {
1068
+ width: 100%;
1069
+ height: 100%;
1070
+ }
1071
+ }
956
1072
  </style>