新增保存二维码成功提示,更改个人中心样式

static-project
chen 2022-06-07 15:25:01 +08:00
parent 6b83051dfe
commit 35a6df9620
3 changed files with 12 additions and 7 deletions

View File

@ -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>

View File

@ -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('跳转链接');
}
}
},
//

View File

@ -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'})
}