wl-design-mobile 0.8.1 → 0.8.3

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.
@@ -4,7 +4,7 @@
4
4
  <van-grid :border="false" :column-num="5" :gutter="0">
5
5
  <van-grid-item v-for="(item, index) in data" :key="index" @click="imgMore(item)">
6
6
  <div class="img-cell-div">
7
- <van-image :src="fileGetUrl() + item.fileId"/>
7
+ <van-image class="img-cell-content" :src="fileGetUrl() + item.fileId"/>
8
8
  <span v-if="ifDelete" class="remove-x" @click.stop="deleteImg(item, index)">×</span>
9
9
  </div>
10
10
  </van-grid-item>
@@ -81,6 +81,11 @@ export default {
81
81
  border-radius: 3px;
82
82
  }
83
83
 
84
+ .img-cell-content {
85
+ width: 100%;
86
+ height: 100%;
87
+ }
88
+
84
89
  .remove-x {
85
90
  position: absolute;
86
91
  top: -2px; /* 图标距离顶部的距离 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wl-design-mobile",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "finch",
@@ -42,7 +42,7 @@ function configWx() {
42
42
  getSczyJsConfig().then((resp) => {
43
43
  wx.config({
44
44
  beta: true,
45
- debug: true,
45
+ debug: false,
46
46
  appId: resp.appId,
47
47
  timestamp: resp.timestamp,
48
48
  nonceStr: resp.nonceStr,
@@ -94,7 +94,6 @@ function scanQRCode() {
94
94
  }
95
95
  })
96
96
  }).catch((error) => {
97
- configPromise = null
98
97
  reject('企业微信扫码失败:' + error)
99
98
  })
100
99
  })