Compare commits

...

12 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
bce3f26424 Merge branch 'master' of https://git.mmlizi.com/lizi/shop-toy 2025-11-30 00:32:51 +08:00
4b06c16ff5 优化 2025-11-30 00:32:24 +08:00
3be949f95b 优化 2025-11-30 00:32:09 +08:00
15 changed files with 37 additions and 29 deletions

1
.gitignore vendored
View File

@@ -45,3 +45,4 @@ src/manifest.json
# 更新 uni-app 官方版本 # 更新 uni-app 官方版本
# npx @dcloudio/uvm@latest # npx @dcloudio/uvm@latest
src/pages.json

View File

@@ -1,5 +1,5 @@
# 应结账款页面交互流程图 # 应结账款页面交互流程图
navigationStyle: 'custom',
## 用户操作流程 ## 用户操作流程
```mermaid ```mermaid

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -205,16 +205,16 @@ function handleLogout() {
<!-- 常用功能 --> <!-- 常用功能 -->
<view class="section-card"> <view class="section-card">
<view class="cell-group"> <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')"> <view class="cell" @click="navigateTo('/pages/member/index')">
<text class="i-carbon-user-favorite icon"></text> <text class="i-carbon-user-favorite icon"></text>
<text class="label">会员中心</text> <text class="label">会员中心</text>
<text class="i-carbon-chevron-right arrow"></text> <text class="i-carbon-chevron-right arrow"></text>
</view> </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"> <view class="cell">
<text class="i-carbon-location icon"></text> <text class="i-carbon-location icon"></text>
<text class="label">地址管理</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: { userInfo: {
id: 'user_001', id: 'user_001',
username: 'admin', username: 'admin',
nickname: '测试用户', nickname: '王明阳',
avatar: '/static/images/avatar.jpg', avatar: '/static/images/avatar.jpg',
phone: '13800138000', phone: '13800138000',
creditLimits: [], // 实际应从 financeStore 获取或关联 creditLimits: [], // 实际应从 financeStore 获取或关联

View File

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