新增保存二维码成功提示,更改个人中心样式
parent
6b83051dfe
commit
35a6df9620
|
@ -4,7 +4,7 @@
|
|||
<view @tap="chooseGe(item.url,index)" class="disjcac fc pad-s30" :style="{width:['50%','50%','50%','33.3%','25%','20%'][rowNum],paddingTop:itemTop}">
|
||||
<view class="disjcac icon-box posir" :style="{width:iconwh,height:iconwh}" :class="ifShadow ? 'haveShadow' : ''">
|
||||
<image :src="item.iconsrc" mode="aspectFill" :style="{width: item.iconWidth +'rpx',height: item.iconHeight +'rpx'}"></image>
|
||||
<view class="posia fon24 textc bacf" v-if="item.num" style="right: -20rpx;top: -20rpx;border-radius: 100%;">{{item.num}}</view>
|
||||
<view class="posia fon24 textc bacf" v-if="item.num" style="right: -54rpx;bottom: -39rpx;border-radius: 100%; color: #666;">({{item.num}})</view>
|
||||
</view>
|
||||
<view class="clips1" :style="{color:titlec,fontSize:fonts,marginTop:titleTop}">{{item.title}}</view>
|
||||
</view>
|
||||
|
|
|
@ -75,7 +75,7 @@
|
|||
methods:{
|
||||
// 图片点击事件
|
||||
chooseImg(index,url){
|
||||
// console.log('当前banner图',index);
|
||||
console.log('当前banner图',index,url);
|
||||
this.bcurrent = index
|
||||
if(this.browseP){
|
||||
let imgList = []
|
||||
|
@ -105,10 +105,13 @@
|
|||
sources:imgList
|
||||
})
|
||||
} else {
|
||||
// 有链接,跳转链接
|
||||
uni.navigateTo({
|
||||
url:`/${url}`
|
||||
})
|
||||
if(url){
|
||||
// 有链接,跳转链接
|
||||
uni.navigateTo({
|
||||
url:`/${url}`
|
||||
})
|
||||
console.log('跳转链接');
|
||||
}
|
||||
}
|
||||
},
|
||||
// 切换后获取当前索引
|
||||
|
|
|
@ -578,7 +578,9 @@ const tools = {
|
|||
success: (res) => {
|
||||
uni.saveImageToPhotosAlbum({
|
||||
filePath: res.tempFilePath,
|
||||
success: ()=> {},
|
||||
success: ()=> {
|
||||
uni.showToast({title:'保存成功',icon:'error'})
|
||||
},
|
||||
fail: () => {
|
||||
uni.showToast({title:'保存失败',icon:'error'})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue