Commit bde2b102 by Lin

Merge branch 'saas+v5.8.3' of http://192.168.3.233:8090/glsx/gl_tape into saas+v5.8.3

2 parents 3d76bac9 263c9c6d
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -409,12 +409,12 @@ export default { ...@@ -409,12 +409,12 @@ export default {
} }
.claimed-bg { .claimed-bg {
background: url(../../../../assets//images/boutique/coupon-1.png) no-repeat; background: url(../../../../assets//images/boutique/coupon-1.webp) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
.unclaimed-bg { .unclaimed-bg {
background: url(../../../../assets//images/boutique/coupon-2.png) no-repeat; background: url(../../../../assets//images/boutique/coupon-2.webp) no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
} }
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<image <image
v-else v-else
class="image-box photo" class="image-box photo"
src="../../assets/images/boutique/photos.png" src="../../assets/images/boutique/photos.webp"
/> />
<view class="gradient-overlay"></view> <view class="gradient-overlay"></view>
<view class="box-desc"> <view class="box-desc">
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
v-if="goodsInfo.isMainPush == 1" v-if="goodsInfo.isMainPush == 1"
class="prelearn-entrance" class="prelearn-entrance"
:style="prelearnButtonStyle" :style="prelearnButtonStyle"
:src="require('@/assets/images/common/icon-prestudy-entrance.png')" :src="require('@/assets/images/common/icon-prestudy-entrance.webp')"
mode="aspectFit" mode="aspectFit"
@click.stop="handlePrelearnClick" @click.stop="handlePrelearnClick"
/> />
......
...@@ -11,8 +11,7 @@ const spritesmithFunction = data => { ...@@ -11,8 +11,7 @@ const spritesmithFunction = data => {
.map(sprite => { .map(sprite => {
let { name, width, height, offset_x, offset_y } = sprite let { name, width, height, offset_x, offset_y } = sprite
;((width = toRpx(width)), (height = toRpx(height)), (offset_x = toRpx(offset_x)), (offset_y = toRpx(offset_y))) ;((width = toRpx(width)), (height = toRpx(height)), (offset_x = toRpx(offset_x)), (offset_y = toRpx(offset_y)))
return `.icon-${name} { width: ${width}; height: ${height}; return `.icon-${name} { width: ${width}; height: ${height};background-position: ${offset_x} ${offset_y};}`
background-position: ${offset_x} ${offset_y};}`
}) })
.join('\n') .join('\n')
// let shared = `.sprite-icon { background-image: url(${ // let shared = `.sprite-icon { background-image: url(${
...@@ -117,7 +116,7 @@ module.exports = { ...@@ -117,7 +116,7 @@ module.exports = {
}, },
// 每个图片间距 // 每个图片间距
spritesmithOptions: { spritesmithOptions: {
padding: 10 padding: 20
} }
}) })
] ]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!