jufubao-base 1.0.224 → 1.0.226

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.224",
3
+ "version": "1.0.226",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -36,7 +36,7 @@
36
36
  v-for="(item,index) in info"
37
37
  :key="index"
38
38
  >
39
- <image :src="item.image_url" mode="aspectFill"></image>
39
+ <image :src="item.image_url" mode="widthFix" ></image>
40
40
  </view>
41
41
  </view>
42
42
  <view
@@ -71,7 +71,7 @@
71
71
  @change="handleChange"
72
72
  >
73
73
  <swiper-item v-for="(item,index) in info" :key="index" @click.stop="handleClick(item,index)">
74
- <image :style="{width: getOneWidth + 'rpx', height: getOneHeight + 'rpx'}" :src="item['image_url']" mode="aspectFill"></image>
74
+ <image :style="{width: getOneWidth + 'rpx', height: getOneHeight + 'rpx'}" :src="item['image_url']" mode="widthFix"></image>
75
75
  </swiper-item>
76
76
  </swiper>
77
77
  <!--#endif-->
@@ -88,7 +88,7 @@
88
88
  @animationfinish="handleAnimationfinish"
89
89
  >
90
90
  <template slot-scope="{ item, index}">
91
- <image :src="item['image_url']" mode="aspectFill"></image>
91
+ <image :src="item['image_url']" mode="widthFix"></image>
92
92
  </template>
93
93
  </xd-swiper>
94
94
  <!--#endif-->
@@ -65,7 +65,7 @@
65
65
  marginTop: indext < config.cell ? 0 : config.padding + 'rpx',
66
66
  }"
67
67
  >
68
- <image :style="{ width: width + 'px', height: height + 'px'}" :src="it.image_url"></image>
68
+ <image mode="widthFix" :style="{ width: width + 'px', height: height + 'px'}" :src="it.image_url"></image>
69
69
  </view>
70
70
  </view>
71
71
  </swiper-item>
@@ -102,7 +102,7 @@
102
102
  }"
103
103
  @click="handleClick(it)"
104
104
  >
105
- <image :style="{ width: width + 'px', height: height + 'px'}" :src="it.image_url"></image>
105
+ <image mode="widthFix" :style="{ width: width + 'px', height: height + 'px'}" :src="it.image_url"></image>
106
106
  </view>
107
107
  </view>
108
108
  </template>
@@ -38,7 +38,7 @@
38
38
  borderRadius: radius + 'rpx',
39
39
  }"
40
40
  :src="bigList[0].image_url"
41
- mode="scaleToFill"
41
+ mode="widthFix"
42
42
  ></image>
43
43
  </view>
44
44
  </view>
@@ -89,7 +89,7 @@
89
89
  @animationfinish="handleBigAnimationfinish"
90
90
  >
91
91
  <template slot-scope="{ item, index }">
92
- <image :style="{borderRadius: radius + 'rpx',}" :src="item['image_url']" mode="scaleToFill"></image>
92
+ <image :style="{borderRadius: radius + 'rpx',}" :src="item['image_url']" mode="widthFix"></image>
93
93
  </template>
94
94
  </xd-swiper>
95
95
  <!--#endif-->
@@ -126,7 +126,7 @@
126
126
  borderRadius: topRadius + 'rpx',
127
127
  }"
128
128
  :src="topList[0].image_url"
129
- mode="scaleToFill"
129
+ mode="widthFix"
130
130
  ></image></view
131
131
  ></view>
132
132
  <view
@@ -159,7 +159,7 @@
159
159
  <image
160
160
  :style="{borderRadius: radius + 'rpx',width: bigWidth + 'rpx',height: smallHeight + 'rpx',}"
161
161
  :src="item['image_url']"
162
- mode="scaleToFill"></image>
162
+ mode="widthFix"></image>
163
163
  </swiper-item>
164
164
  </swiper>
165
165
  <!--#endif-->
@@ -175,7 +175,7 @@
175
175
  @animationfinish="handleTopAnimationfinish"
176
176
  >
177
177
  <template slot-scope="{ item, index }">
178
- <image :style="{borderRadius: topRadius + 'rpx',}" :src="item['image_url']" mode="scaleToFill"></image>
178
+ <image :style="{borderRadius: topRadius + 'rpx',}" :src="item['image_url']" mode="widthFix"></image>
179
179
  </template>
180
180
  </xd-swiper>
181
181
  <!--#endif-->
@@ -204,7 +204,7 @@
204
204
  borderRadius: bottomRadius + 'rpx',
205
205
  }"
206
206
  :src="bottomList[0].image_url"
207
- mode="scaleToFill"
207
+ mode="widthFix"
208
208
  ></image> </view
209
209
  ></view>
210
210
  <view
@@ -237,7 +237,7 @@
237
237
  <image
238
238
  :style="{borderRadius: radius + 'rpx',width: bigWidth + 'rpx',height: smallHeight + 'rpx',}"
239
239
  :src="item['image_url']"
240
- mode="scaleToFill"></image>
240
+ mode="widthFix"></image>
241
241
  </swiper-item>
242
242
  </swiper>
243
243
  <!--#endif-->
@@ -258,7 +258,7 @@
258
258
  borderRadius: bottomRadius + 'rpx',
259
259
  }"
260
260
  :src="item['image_url']"
261
- mode="scaleToFill"
261
+ mode="widthFix"
262
262
  ></image>
263
263
  </template>
264
264
  </xd-swiper>