Compare commits

..

9 Commits

Author SHA1 Message Date
5e3d3708c6 修改logo 2025-12-01 20:35:21 +08:00
5ba58bafa6 修改所有首页为数字广东 2025-12-01 17:38:37 +08:00
25e9fac1b9 修改数广LOGO 2025-12-01 16:51:04 +08:00
b8626db4dd 修改信息 2025-12-01 16:25:50 +08:00
519d955679 添加提示 2025-12-01 11:43:29 +08:00
7f6cf8797d 改:助贷申请进度 2025-12-01 11:07:28 +08:00
e0ef7f9788 修改 2025-12-01 09:28:30 +08:00
c8715d2b74 样式问题 2025-11-30 00:41:26 +08:00
8b82f479c4 改位置 2025-11-30 00:39:14 +08:00
13 changed files with 35 additions and 27 deletions

View File

@@ -18,7 +18,7 @@ const pages = {
type: 'home',
style: {
navigationStyle: 'custom',
navigationBarTitleText: '首页',
navigationBarTitleText: '数字广东',
},
},
{

View File

@@ -13,7 +13,7 @@ export function login(data: { phone: string, code?: string, password?: string })
const user: User = {
id: 'user_001',
username: data.phone,
nickname: `测试${data.phone.slice(-4)}`,
nickname: `王明阳`, // ${data.phone.slice(-4)}
avatar: '/static/images/avatar.jpg',
phone: data.phone,
creditLimits: [],

View File

@@ -93,12 +93,12 @@ function goToDetail() {
// border-radius: 16rpx;
border-bottom: 1rpx solid #f5f5f5;
margin-bottom: 0;
position: relative; // 移到嵌套规则之前
&:last-child {
border-bottom: none;
padding-bottom: 0;
}
position: relative;
}
.checkbox {

View File

@@ -11,7 +11,7 @@ import { useCartStore } from '@/store/cart'
definePage({
style: {
navigationBarTitleText: '首页',
navigationBarTitleText: '数字广东',
},
})

View File

@@ -88,9 +88,10 @@ onUnload(() => {
<view class="login-page">
<view class="logo-wrapper">
<view class="logo">
<text class="i-carbon-store icon"></text>
<image src="/static/logo4.png" class="logo-image"></image>
<!-- <text class="i-carbon-store icon"></text> -->
</view>
<text class="app-name">商城+金融</text>
<!-- <text class="app-name">商城+金融</text> -->
</view>
<view class="form">
@@ -101,7 +102,7 @@ onUnload(() => {
class="input"
type="number"
placeholder="请输入手机号"
maxlength="11"
:maxlength="11"
/>
</view>
@@ -112,7 +113,7 @@ onUnload(() => {
class="input"
type="number"
placeholder="请输入验证码"
maxlength="6"
:maxlength="6"
/>
<view
class="code-btn"
@@ -122,7 +123,7 @@ onUnload(() => {
{{ countdown > 0 ? `${countdown}s后重发` : '获取验证码' }}
</view>
</view>
<wd-notice-bar text="演示使用,直接点击登录~" prefix="warn-bold" custom-class="space" color="#34D19D" background-color="#f0f9eb" />
<view class="submit-btn" @click="handleLogin">
<text v-if="!loading">登录</text>
<text v-else>登录中...</text>
@@ -130,12 +131,18 @@ onUnload(() => {
<view class="tips">
<text>未注册手机号验证后自动创建账号</text>
<p>&nbsp;</p>
<p><text>©2025 数字广东网络建设有限公司</text></p>
</view>
</view>
</view>
</template>
<style lang="scss" scoped>
.logo-image {
width: 80px;
height: 78px;
}
.login-page {
min-height: 100vh;
background: #fff;
@@ -148,19 +155,19 @@ onUnload(() => {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 100rpx;
margin-bottom: 100rpx;
margin-top: 120rpx;
margin-bottom: 116rpx;
.logo {
width: 160rpx;
height: 160rpx;
background: linear-gradient(135deg, #ff6b6b 0%, #ff4d4f 100%);
width: 320rpx;
height: 116rpx;
// background: linear-gradient(135deg, #ff6b6b 0%, #ff4d4f 100%);
border-radius: 40rpx;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 24rpx;
box-shadow: 0 8rpx 24rpx rgba(255, 77, 79, 0.3);
// box-shadow: 0 8rpx 24rpx rgba(255, 77, 79, 0.3);
.icon {
font-size: 80rpx;
@@ -199,7 +206,7 @@ onUnload(() => {
.code-btn {
font-size: 26rpx;
color: #ff4d4f;
color: #008ef7;
padding-left: 20rpx;
border-left: 1rpx solid #ddd;
line-height: 1;
@@ -212,7 +219,7 @@ onUnload(() => {
.submit-btn {
height: 100rpx;
background: linear-gradient(135deg, #ff6b6b 0%, #ff4d4f 100%);
background: linear-gradient(135deg, #0060ef 0%, #0060ef 100%);
border-radius: 50rpx;
display: flex;
align-items: center;

View File

@@ -205,16 +205,16 @@ function handleLogout() {
<!-- 常用功能 -->
<view class="section-card">
<view class="cell-group">
<view class="cell" @click="navigateTo('/pages/me/loan-application-records')">
<text class="i-carbon-document-attachment icon"></text>
<text class="label">助贷申请进度</text>
<text class="i-carbon-chevron-right arrow"></text>
</view>
<view class="cell" @click="navigateTo('/pages/member/index')">
<text class="i-carbon-user-favorite icon"></text>
<text class="label">会员中心</text>
<text class="i-carbon-chevron-right arrow"></text>
</view>
<view class="cell" @click="navigateTo('/pages/me/loan-application-records')">
<text class="i-carbon-document-attachment icon"></text>
<text class="label">助贷申请记录</text>
<text class="i-carbon-chevron-right arrow"></text>
</view>
<view class="cell">
<text class="i-carbon-location icon"></text>
<text class="label">地址管理</text>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 127 KiB

After

Width:  |  Height:  |  Size: 263 KiB

BIN
src/static/logo1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

BIN
src/static/logo2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
src/static/logo3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

BIN
src/static/logo4.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

View File

@@ -7,7 +7,7 @@ export const useUserStore = defineStore('user', {
userInfo: {
id: 'user_001',
username: 'admin',
nickname: '测试用户',
nickname: '王明阳',
avatar: '/static/images/avatar.jpg',
phone: '13800138000',
creditLimits: [], // 实际应从 financeStore 获取或关联

View File

@@ -29,7 +29,7 @@ export const nativeTabbarList: NativeTabBarItem[] = [
iconPath: 'static/tabbar/home.png',
selectedIconPath: 'static/tabbar/homeHL.png',
pagePath: 'pages/index/index',
text: '首页',
text: '数字广东',
},
{
iconPath: 'static/tabbar/personal.png',
@@ -43,13 +43,14 @@ export const nativeTabbarList: NativeTabBarItem[] = [
// 如果需要配置鼓包,需要在 'tabbar/store.ts' 里面设置,最后在 `tabbar/index.vue` 里面更改鼓包的图片
export const customTabbarList: CustomTabBarItem[] = [
{
text: '首页',
text: '数字广东',
pagePath: 'pages/index/index',
// 注意 unocss 图标需要如下处理:(二选一)
// 1在fg-tabbar.vue页面上引入一下并注释掉见tabbar/index.vue代码第2行
// 2配置到 unocss.config.ts 的 safelist 中
iconType: 'unocss',
icon: 'i-carbon-home',
iconType: 'image',
icon: '/static/logo2.png',
iconActive: '/static/logo1.png',
// badge: 'dot',
},
{