forked from angelo/web-retail-h5
Compare commits
No commits in common. "75388af82028facfe1d4802ae4b5ce3063cf5795" and "11938b224ccb3a998501c46b978aa29813262261" have entirely different histories.
75388af820
...
11938b224c
|
|
@ -9,7 +9,7 @@
|
|||
<view class="banner" v-if="isEmpty(banners) == false">
|
||||
<view class="uni-margin-wrap">
|
||||
<swiper
|
||||
class="swiper swiper-s"
|
||||
class="swiper"
|
||||
circular
|
||||
:indicator-dots="indicatorDots"
|
||||
:autoplay="autoplay"
|
||||
|
|
@ -17,7 +17,6 @@
|
|||
:duration="duration"
|
||||
>
|
||||
<swiper-item
|
||||
class="index-swiper-item"
|
||||
v-for="(item, index) in banners"
|
||||
:key="index"
|
||||
@click="bannerTap(item.link)"
|
||||
|
|
@ -318,12 +317,6 @@ export default {
|
|||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.uni-margin-wrap {
|
||||
:v-deep .uni-swiper-wrapper {
|
||||
border-radius: 10px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.content {
|
||||
// background: url('~@/static/images/fBgd.jpg') no-repeat;
|
||||
background-size: 100% 100%;
|
||||
|
|
@ -446,12 +439,8 @@ header {
|
|||
}
|
||||
}
|
||||
|
||||
.swiper {
|
||||
border-radius: 10px;
|
||||
}
|
||||
.swiper-s {
|
||||
// height: 495rpx;
|
||||
border-radius: 10px;
|
||||
height: 495rpx;
|
||||
}
|
||||
|
||||
.goods-lists {
|
||||
|
|
@ -544,10 +533,6 @@ header {
|
|||
margin-left: 15rpx;
|
||||
}
|
||||
}
|
||||
.swiper {
|
||||
border-radius: 10rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
:v-deep .swiper-s .swiper-items uni-image {
|
||||
height: 495rpx;
|
||||
|
|
@ -556,9 +541,8 @@ header {
|
|||
.swiper-items {
|
||||
// height: 495rpx;
|
||||
// width: 340rpx;
|
||||
border-radius: 30rpx;
|
||||
|
||||
image {
|
||||
border-radius: 10rpx;
|
||||
height: 450rpx;
|
||||
width: 340rpx;
|
||||
}
|
||||
|
|
@ -573,17 +557,16 @@ header {
|
|||
font-size: 0;
|
||||
image {
|
||||
height: 300rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 0;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.banner {
|
||||
padding: 10rpx 20rpx 0;
|
||||
// padding: 30rpx 0 0 0;
|
||||
text-align: center;
|
||||
// width: 100%;
|
||||
// margin-bottom: 10rpx;
|
||||
width: 100%;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
.changeLanguages {
|
||||
|
|
|
|||
|
|
@ -136,10 +136,10 @@
|
|||
<u-toast ref="uToast"></u-toast>
|
||||
|
||||
<!-- 提现引导弹窗 -->
|
||||
<!-- <WithdrawalGuide
|
||||
<WithdrawalGuide
|
||||
:show="showWithdrawalGuide"
|
||||
@confirm="onWithdrawalGuideConfirm"
|
||||
/> -->
|
||||
/>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -255,11 +255,10 @@ export default {
|
|||
message: res.msg,
|
||||
type: 'success',
|
||||
})
|
||||
uni.navigateBack()
|
||||
// 显示提现引导弹窗
|
||||
// setTimeout(() => {
|
||||
// this.showWithdrawalGuide = true
|
||||
// }, 300)
|
||||
setTimeout(() => {
|
||||
this.showWithdrawalGuide = true
|
||||
}, 300)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
|
|||
|
|
@ -21,7 +21,10 @@
|
|||
/>
|
||||
|
||||
<!-- 微信环境全屏图片显示 -->
|
||||
<view class="wechat-fullscreen-overlay" v-show="generatedImageUrl">
|
||||
<view
|
||||
class="wechat-fullscreen-overlay"
|
||||
v-show="(isWechat || userInfo.sharePosterImage) && generatedImageUrl"
|
||||
>
|
||||
<img class="fullscreen-image" :src="generatedImageUrl" @click.stop="" />
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -136,7 +139,16 @@ export default {
|
|||
})
|
||||
uni.hideLoading()
|
||||
|
||||
if (this.isWechat) {
|
||||
// 微信环境:设置图片供长按保存
|
||||
this.generatedImageUrl = dataUrl
|
||||
} else {
|
||||
// 普通浏览器环境
|
||||
if (this.isSpecialScene) {
|
||||
// 特殊场景:设置图片供长按保存(没有下载按钮)
|
||||
this.generatedImageUrl = dataUrl
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// 下载图片
|
||||
|
|
|
|||
Loading…
Reference in New Issue