[更新]变更联通业务提示信息

This commit is contained in:
唐明明
2021-05-27 16:55:16 +08:00
parent 37c4adb623
commit 62f62ac51a
3 changed files with 12 additions and 9 deletions

View File

@@ -47,10 +47,9 @@
<image class="grid-icon" mode="aspectFill" src="../../lib/icon/index_icon_05.png"/> <image class="grid-icon" mode="aspectFill" src="../../lib/icon/index_icon_05.png"/>
<view class="grid-title nowrap">联通专项业务</view> <view class="grid-title nowrap">联通专项业务</view>
</navigator> </navigator>
<navigator class="grid-item" url="../zhima/zhima" a:if="{{permissions.zhima == 1}}"> <!-- <navigator class="grid-item" url="../zhima/zhima" a:if="{{permissions.zhima == 1}}">
<image class="grid-icon" mode="aspectFill" src="../../lib/icon/index_icon_05.png"/> <image class="grid-icon" mode="aspectFill" src="../../lib/icon/index_icon_05.png"/>
<view class="grid-title nowrap">芝麻GO</view> <view class="grid-title nowrap">芝麻GO</view>
</navigator> </navigator> -->
</view> </view>

View File

@@ -118,7 +118,6 @@ Page({
my.showToast({ my.showToast({
content: err.data.message content: err.data.message
}) })
my.hideLoading();
}) })
}else{ }else{
my.showToast({ my.showToast({
@@ -147,11 +146,15 @@ Page({
channel : "DEFAULT" channel : "DEFAULT"
} }
}).then(res=>{ }).then(res=>{
my.showToast({ my.alert({
content: '办理成功' title: '提示',
}); content: '办理成功',
my.navigateTo({ buttonText: '知道了',
url: '../unicom/unicom' success: () => {
my.navigateTo({
url: '../unicom/unicom'
});
}
}); });
my.hideLoading() my.hideLoading()
}).catch(err=>{ }).catch(err=>{

View File

@@ -4,6 +4,7 @@ const app = getApp()
Page({ Page({
onLoad() { onLoad() {
console.log('1111')
let userToken = my.getStorageSync({key:"userToken"}).data || null, let userToken = my.getStorageSync({key:"userToken"}).data || null,
atTime = Math.round(new Date() / 1000) atTime = Math.round(new Date() / 1000)