首页 常用功能图标太大,改为一行4个
编辑完常用功能,提交后直接返回业务中心, 并设定首页需要刷新
This commit is contained in:
@@ -157,6 +157,7 @@ const handleSubmit= async()=>{
|
|||||||
await bizFavoriteSetting({bizIds:bizIds.value.join(",")});
|
await bizFavoriteSetting({bizIds:bizIds.value.join(",")});
|
||||||
showAlert("操作成功")
|
showAlert("操作成功")
|
||||||
hideLoading();
|
hideLoading();
|
||||||
|
uni.navigateBack();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
hideLoading();
|
hideLoading();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -142,7 +142,7 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref,onMounted } from 'vue';
|
import { ref,onMounted } from 'vue';
|
||||||
import { onLoad } from '@dcloudio/uni-app';
|
import { onLoad,onShow } from '@dcloudio/uni-app';
|
||||||
import customHeader from '@/components/customHeader.vue'
|
import customHeader from '@/components/customHeader.vue'
|
||||||
import MescrollUni from 'mescroll-uni/mescroll-uni.vue';
|
import MescrollUni from 'mescroll-uni/mescroll-uni.vue';
|
||||||
import customSteps from '@/components/customSteps.vue'
|
import customSteps from '@/components/customSteps.vue'
|
||||||
@@ -185,6 +185,9 @@ onLoad(async(opt) => {
|
|||||||
uni.setStorageSync('page_cache',true);
|
uni.setStorageSync('page_cache',true);
|
||||||
// initLoad();
|
// initLoad();
|
||||||
})
|
})
|
||||||
|
onShow(()=>{
|
||||||
|
initLoad();
|
||||||
|
})
|
||||||
|
|
||||||
// 初始化调用方法
|
// 初始化调用方法
|
||||||
const initLoad =()=>{
|
const initLoad =()=>{
|
||||||
@@ -517,7 +520,7 @@ const formatDateStr =(times)=>{
|
|||||||
margin-top:10rpx;
|
margin-top:10rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.white-bg .logo-list{
|
/* .white-bg .logo-list{
|
||||||
margin-left:-25rpx;
|
margin-left:-25rpx;
|
||||||
margin-right:-25rpx;
|
margin-right:-25rpx;
|
||||||
padding:0 20rpx;
|
padding:0 20rpx;
|
||||||
@@ -535,5 +538,5 @@ const formatDateStr =(times)=>{
|
|||||||
.white-bg .logo-list .l-l-item img{
|
.white-bg .logo-list .l-l-item img{
|
||||||
width:110rpx;
|
width:110rpx;
|
||||||
height:110rpx;
|
height:110rpx;
|
||||||
}
|
} */
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -264,9 +264,9 @@ const submitForm = () => {
|
|||||||
|
|
||||||
// #ifdef H5
|
// #ifdef H5
|
||||||
//h5测试用 内网-sn123456
|
//h5测试用 内网-sn123456
|
||||||
//公司外网 'd5aa6eaf-fff7-4009-bf7e-60e4b3dc4f40'
|
//公司外网 'f3fca83f-bf56-47f4-a98b-a602ed8bddee'
|
||||||
//友晟外网 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2'
|
//友晟外网 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2'
|
||||||
param.uniqCode = 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2';
|
param.uniqCode = 'f3fca83f-bf56-47f4-a98b-a602ed8bddee';
|
||||||
let res = await login(param);
|
let res = await login(param);
|
||||||
userStore.login(res);
|
userStore.login(res);
|
||||||
uni.switchTab({ url: '/pages/home/home' })
|
uni.switchTab({ url: '/pages/home/home' })
|
||||||
|
|||||||
Reference in New Issue
Block a user