首页 常用功能图标太大,改为一行4个

编辑完常用功能,提交后直接返回业务中心,
并设定首页需要刷新
This commit is contained in:
xuli3099
2025-09-10 16:20:53 +08:00
parent d244f20aac
commit 612de69d7b
3 changed files with 9 additions and 5 deletions

View File

@@ -157,6 +157,7 @@ const handleSubmit= async()=>{
await bizFavoriteSetting({bizIds:bizIds.value.join(",")});
showAlert("操作成功")
hideLoading();
uni.navigateBack();
} catch (error) {
hideLoading();
}

View File

@@ -142,7 +142,7 @@
<script setup>
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 MescrollUni from 'mescroll-uni/mescroll-uni.vue';
import customSteps from '@/components/customSteps.vue'
@@ -185,6 +185,9 @@ onLoad(async(opt) => {
uni.setStorageSync('page_cache',true);
// initLoad();
})
onShow(()=>{
initLoad();
})
// 初始化调用方法
const initLoad =()=>{
@@ -517,7 +520,7 @@ const formatDateStr =(times)=>{
margin-top:10rpx;
}
.white-bg .logo-list{
/* .white-bg .logo-list{
margin-left:-25rpx;
margin-right:-25rpx;
padding:0 20rpx;
@@ -535,5 +538,5 @@ const formatDateStr =(times)=>{
.white-bg .logo-list .l-l-item img{
width:110rpx;
height:110rpx;
}
} */
</style>

View File

@@ -264,9 +264,9 @@ const submitForm = () => {
// #ifdef H5
//h5测试用 内网-sn123456
//公司外网 'd5aa6eaf-fff7-4009-bf7e-60e4b3dc4f40'
//公司外网 'f3fca83f-bf56-47f4-a98b-a602ed8bddee'
//友晟外网 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2'
param.uniqCode = 'b97527c8-2ad4-493c-a01c-5f9d0aabaff2';
param.uniqCode = 'f3fca83f-bf56-47f4-a98b-a602ed8bddee';
let res = await login(param);
userStore.login(res);
uni.switchTab({ url: '/pages/home/home' })