jufubao-base 1.0.314 → 1.0.316

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-base",
3
- "version": "1.0.314",
3
+ "version": "1.0.316",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -99,7 +99,7 @@
99
99
  height="50vh"
100
100
  >
101
101
  <template>
102
- <view class="top_title">请务必先关联,否则影响此卡使用</view>
102
+ <view class="top_title">需到店付功能请先关联,不需要忽略不影响使用</view>
103
103
  <view class="method_item">
104
104
  <view class="method_item_top">
105
105
  <view class="method_title">方法一</view>
@@ -692,8 +692,9 @@ export default {
692
692
  }
693
693
  }
694
694
  .method_item{
695
- padding: unit(32, rpx);
696
- border-bottom: 1px solid #F8F8F8;
695
+ padding: unit(32, rpx) 0;
696
+ margin: 0 unit(32, rpx);
697
+ border-bottom: 1px dashed #FF8D1A;
697
698
  color: #333333;
698
699
  font-size: unit(28,rpx);
699
700
  &_top{
@@ -726,6 +727,9 @@ export default {
726
727
  }
727
728
 
728
729
  }
730
+ .method_item:last-child{
731
+ border: none;
732
+ }
729
733
  .method_title{
730
734
  color: #fff;
731
735
  background-color: #FF8D1A;
@@ -742,7 +746,7 @@ export default {
742
746
  text-align: center;
743
747
  line-height:unit(100,rpx);
744
748
  color:#333333;
745
- font-size:unit(32,rpx);
749
+ font-size:unit(30,rpx);
746
750
  border-bottom: 1px solid #F8F8F8;
747
751
  }
748
752
  .code_box{
@@ -113,7 +113,7 @@
113
113
  height="50vh"
114
114
  >
115
115
  <template>
116
- <view class="top_title">请务必先关联,否则影响此卡使用</view>
116
+ <view class="top_title">需到店付功能请先关联,不需要忽略不影响使用</view>
117
117
  <view class="method_item">
118
118
  <view class="method_item_top">
119
119
  <view class="method_title">方法一</view>
@@ -1104,8 +1104,9 @@ export default {
1104
1104
  }
1105
1105
  }
1106
1106
  .method_item{
1107
- padding: unit(32, rpx);
1108
- border-bottom: 1px solid #F8F8F8;
1107
+ padding: unit(32, rpx) 0;
1108
+ margin: 0 unit(32, rpx);
1109
+ border-bottom: 1px dashed #FF8D1A;
1109
1110
  color: #333333;
1110
1111
  font-size: unit(28,rpx);
1111
1112
  &_top{
@@ -1138,6 +1139,9 @@ export default {
1138
1139
  }
1139
1140
 
1140
1141
  }
1142
+ .method_item:last-child{
1143
+ border: none;
1144
+ }
1141
1145
  .method_title{
1142
1146
  color: #fff;
1143
1147
  background-color: #FF8D1A;
@@ -1154,7 +1158,7 @@ export default {
1154
1158
  text-align: center;
1155
1159
  line-height:unit(100,rpx);
1156
1160
  color:#333333;
1157
- font-size:unit(32,rpx);
1161
+ font-size:unit(30,rpx);
1158
1162
  border-bottom: 1px solid #F8F8F8;
1159
1163
  }
1160
1164
  .code_box{
@@ -198,7 +198,7 @@
198
198
  </view>
199
199
  </view>
200
200
  <CusVipOpenDialog
201
- v-if="is_vip==='N'"
201
+ v-if="showVipOpenDialog"
202
202
  :bgImg="openVipBgImg"
203
203
  :btnBgImg="openVipBtnBgImg"
204
204
  @onOpen="handleToOpen"
@@ -296,6 +296,7 @@
296
296
  QPImg: "",
297
297
  openVipBtnBgImg: "",
298
298
  openVipBgImg: "",
299
+ is_plus_site: false
299
300
  }
300
301
  },
301
302
  watch: {
@@ -326,10 +327,14 @@
326
327
  backgroundSize: '100% 100%'
327
328
  }
328
329
  },
330
+ showVipOpenDialog() {
331
+ return this.is_plus_site && this.is_vip === 'N';
332
+ }
329
333
  },
330
334
  created() {
331
335
  this.isPreview = this.$configProject['isPreview']
332
336
  this.is_vip = this.getTokenForKey('user_level') && this.getTokenForKey('user_level') === 'VIP' ? 'Y' : 'N'
337
+ this.is_plus_site = this.$configProject.headers['X-Site-Group']==="vip";
333
338
  if (this.$configProject['isPreview']) {
334
339
  this.is_vip='Y'
335
340
  }