fix: 登录页及我的功能部分调整优化。

This commit is contained in:
tianyongbao
2025-01-10 19:33:11 +08:00
parent e6fa03ed11
commit b2a63565a9
8 changed files with 28 additions and 25 deletions

View File

@@ -39,8 +39,10 @@
<view class="xieyi text-center">
<text @click="handleRegister" class="text-blue">立即注册 </text>
<text class="text-grey1">登录即代表同意</text>
<text @click="handlePrivacy" class="text-blue">隐私协议</text>
<text class="text-grey1">&nbsp;&nbsp;</text>
<text @click="handleWebsite" class="text-blue">官方网站</text>
<text class="text-grey1">&nbsp;&nbsp;</text>
<text @click="handleUserAgrement" class="text-blue">用户服务协议</text>
</view>
</view>
</template>
@@ -152,11 +154,11 @@ function rememberMeChange(){
rememberMe.value = !rememberMe.value;
}
// 隐私协议
function handlePrivacy() {
let site = globalConfig.value.appInfo.agreements[0];
// 官方网址
function handleWebsite() {
let site = globalConfig.value.appInfo.site_url;
uni.navigateTo({
url: `/pages/common/webview/index?title=${site.title}&url=${site.url}`
url: `/pages/common/webview/index?title=智聪网络科技官网&url=${site}`
});
};
// 用户协议

View File

@@ -29,7 +29,7 @@
<view class="mine-actions grid col-4 text-center">
<view class="action-item" @click="handleJiaoLiuQun">
<view class="iconfont icon-friendfill text-pink icon"></view>
<text class="text">企业微信</text>
<text class="text">官方公众号</text>
</view>
<view class="action-item" @click="handleService">
<view class="iconfont icon-service text-blue icon"></view>
@@ -152,10 +152,10 @@ function handleAbout() {
};
function handleJiaoLiuQun() {
uni.showToast({
title: '17753252359',
title: 'intc126',
mask: false,
icon: "none",
duration: 1000
duration: 5000
});
};
function handleBuilding() {
@@ -168,10 +168,10 @@ function handleBuilding() {
}
function handleService() {
uni.showToast({
title: '请电联17753252359~',
title: '请电联或加客服微信17753252359',
mask: false,
icon: "none",
duration: 1000
duration: 5000
});
}
function handleUs() {