格式优化 版本升级

This commit is contained in:
2025-07-07 16:30:35 +08:00
parent 8ba7eab0ef
commit 4034c908b2
4 changed files with 13 additions and 14 deletions

View File

@@ -499,11 +499,12 @@ function checkUpdate() {
} }
}); });
} else { } else {
uni.showToast({title: '当前已是最新版本'}); // uni.showToast({title: '当前已是最新版本'});
console.log('当前已是最新版本');
} }
}, },
fail: () => { fail: () => {
uni.showToast({title: '检查更新失败'}); uni.showToast({title: '网络异常,请稍后重试'});
} }
}); });
} }

View File

@@ -2,7 +2,7 @@
"name" : "德讯", "name" : "德讯",
"appid" : "__UNI__D705A34", "appid" : "__UNI__D705A34",
"description" : "", "description" : "",
"versionName" : "fad-im 3.4.5", "versionName" : "fad-im 4.0.0",
"versionCode" : 345, "versionCode" : 345,
"transformPx" : false, "transformPx" : false,
"app-plus" : { "app-plus" : {

View File

@@ -2,7 +2,7 @@
<view class="page_container"> <view class="page_container">
<view class="login"> <view class="login">
<view class="logo"> <view class="logo">
<img src="/static/logo.png" alt="" /> <image class="logo-img" src="/static/logo.png" alt="" />
<view class="title">欢迎使用德迅福安德信息科技有限公司内部交流平台</view> <view class="title">欢迎使用德迅福安德信息科技有限公司内部交流平台</view>
</view> </view>
<u-tabs :list="list" @click="click"></u-tabs> <u-tabs :list="list" @click="click"></u-tabs>
@@ -443,4 +443,12 @@ export default {
} }
} }
} }
.logo-img {
width: 120rpx;
height: 120rpx;
display: block;
margin: 0 auto 20rpx auto;
object-fit: contain;
}
</style> </style>

View File

@@ -10,16 +10,6 @@
<image class="entry-icon" src="/static/images/baogong.png" mode="aspectFit" /> <image class="entry-icon" src="/static/images/baogong.png" mode="aspectFit" />
<text class="entry-text">每日报工</text> <text class="entry-text">每日报工</text>
</view> </view>
<!-- <view class="divider"></view>
<view class="entry-item" @click="goReportWork">
<image class="entry-icon" src="/static/images/baogong.png" mode="aspectFit" />
<text class="entry-text">热更新</text>
</view>
<view class="entry-item" @click="goReportWork">
<image class="entry-icon" src="/static/images/baogong.png" mode="aspectFit" />
<text class="entry-text">成功与否</text>
</view> -->
<view class="divider"></view>
<view class="entry-item" @click="goConstruction"> <view class="entry-item" @click="goConstruction">
<image class="entry-icon" src="/static/images/shigong.png" mode="aspectFit" /> <image class="entry-icon" src="/static/images/shigong.png" mode="aspectFit" />
<text class="entry-text">施工进度</text> <text class="entry-text">施工进度</text>