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

@@ -12,17 +12,17 @@ const config = {
// 应用版本
version: "1.1.0",
// 应用logo
logo: "/static/intc.jpg",
logo: "/static/logo.jpg",
// 官方网站
site_url: "http://www.qdintc.com",
// 政策协议
agreements: [{
title: "隐私政策",
url: "https://ruoyi.vip/protocol.html"
url: "http://qdintc.com/static/protocol.html"
},
{
title: "用户服务协议",
url: "https://ruoyi.vip/protocol.html"
url: "http://qdintc.com/static/protocol.html"
}
]
}

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() {

View File

@@ -1,9 +1,9 @@
<template>
<view class="about-container">
<view class="header-section text-center">
<image style="width: 150rpx;height: 150rpx;" src="/static/intc.jpg" mode="widthFix">
<image style="width: 150rpx;height: 150rpx;" src="/static/logo.jpg" mode="widthFix">
</image>
<uni-title type="h2" title="智聪科技管理平台"></uni-title>
<uni-title type="h2" title="智聪网络科技"></uni-title>
</view>
<view class="content-section">
@@ -38,7 +38,7 @@
</view>
<view class="copyright">
<view>Copyright &copy; 2024 智聪科技 All Rights Reserved.</view>
<view>Copyright &copy; 2025 智聪网络科技 All Rights Reserved.</view>
</view>
</view>
</template>
@@ -47,7 +47,7 @@
import config from '@/config.js'
const url=config.appInfo.site_url;
const version=config.appInfo.version;
</script>
<style lang="scss">

View File

@@ -6,8 +6,9 @@
</view>
<view class="childList">
<view v-for="(child, zindex) in item.childList" :key="zindex" class="question" hover-class="hover"
@click="handleText(child)">
>
<view class="text-item">{{ child.title }}</view>
<view class="text-item">{{ child.content }}</view>
<view class="line" v-if="zindex !== item.childList.length - 1"></view>
</view>
</view>
@@ -19,17 +20,17 @@
import { ref } from "vue";
const list =ref([{
icon: 'iconfont icon-github',
title: '智聪科技问题',
icon: 'iconfont icon-user',
title: '智聪网络科技问题',
childList: [{
title: '智聪科技免费吗?',
title: '智聪网络科技平台免费吗?',
content: '免费'
}, {
title: '智聪科技官网地址多少',
title: '智聪网络科技官网地址',
content: 'http://www.qdintc.com'
}, {
title: '智聪科技文档地址多少',
content: 'http://www.qdintc.com/doc'
title: '智聪网络科技文档地址?',
content: 'http://www.qdintc.com/resource'
}]
},
{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

BIN
src/static/logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB