gxd-uni-library-editx 1.0.17 → 1.0.19

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": "gxd-uni-library-editx",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "private": false,
5
5
  "description": "聚福宝基础插件专用库",
6
6
  "main": "index.js",
@@ -186,7 +186,7 @@
186
186
  });
187
187
 
188
188
  this.$xdRoot.$on('setLayoutPageBg', (bg)=>{
189
- this.customBg = bg;
189
+ this.customBg = bg || null;
190
190
  });
191
191
 
192
192
  },
@@ -136,7 +136,7 @@
136
136
  >
137
137
  <view class="flex align-center">
138
138
  <xd-form-input
139
- placeholder="请输入票券号码"
139
+ placeholder="电子码无需输入券号"
140
140
  v-model="cardForm.card_number"
141
141
  />
142
142
  <view
@@ -51,6 +51,7 @@
51
51
  top: (navBarHeight + statusBarHeight) + 'rpx',
52
52
  zIndex: (wiewType ? 1490: 1000),
53
53
  backgroundImage: customBg === null ? getNavBackImage:(this.scrollDetail > 5 ?getNavBackImage : 'none') ,
54
+ backgroundColor: (customBg === null && getNavBackImage==='none' || getNavBackImage==='url()' && this.scrollDetail > 5 ) ? '#fff': 'rgba(0,0,0,0)' ,
54
55
  backgroundPosition: getBodyTopImagePosition,
55
56
  backgroundSize: '100%'
56
57
  }"
@@ -349,7 +350,7 @@
349
350
 
350
351
  getBodyBackImage(){
351
352
  //设置自定义背景
352
- if(this.customBg !== null) {
353
+ if(!!this.customBg) {
353
354
  return `url("${this.customBg}")`;
354
355
  }
355
356
 
@@ -414,6 +415,7 @@
414
415
  return bgImg
415
416
  },
416
417
 
418
+
417
419
  getBottom(){
418
420
  return this.footerHeight
419
421
  },
@@ -579,7 +581,7 @@
579
581
  //设置背景
580
582
  this.$xdRoot.$on('setLayoutPageBg', (bg)=>{
581
583
  console.warn(`${bg}:setLayoutPageBg`);
582
- this.customBg = bg;
584
+ this.customBg = bg || null;
583
585
  });
584
586
  },
585
587