Compare commits
12 Commits
2fb1a3b23d
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 5e3d3708c6 | |||
| 5ba58bafa6 | |||
| 25e9fac1b9 | |||
| b8626db4dd | |||
| 519d955679 | |||
| 7f6cf8797d | |||
| e0ef7f9788 | |||
| c8715d2b74 | |||
| 8b82f479c4 | |||
| bce3f26424 | |||
| 4b06c16ff5 | |||
| 3be949f95b |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -45,3 +45,4 @@ src/manifest.json
|
||||
|
||||
# 更新 uni-app 官方版本
|
||||
# npx @dcloudio/uvm@latest
|
||||
src/pages.json
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# 应结账款页面交互流程图
|
||||
|
||||
navigationStyle: 'custom',
|
||||
## 用户操作流程
|
||||
|
||||
```mermaid
|
||||
|
||||
@@ -18,7 +18,7 @@ const pages = {
|
||||
type: 'home',
|
||||
style: {
|
||||
navigationStyle: 'custom',
|
||||
navigationBarTitleText: '首页',
|
||||
navigationBarTitleText: '数字广东',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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: [],
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -11,7 +11,7 @@ import { useCartStore } from '@/store/cart'
|
||||
|
||||
definePage({
|
||||
style: {
|
||||
navigationBarTitleText: '首页',
|
||||
navigationBarTitleText: '数字广东',
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
@@ -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> </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;
|
||||
|
||||
@@ -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
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
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
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
BIN
src/static/logo4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.2 KiB |
@@ -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 获取或关联
|
||||
|
||||
@@ -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,15 +43,15 @@ 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',
|
||||
navigationStyle: 'custom',
|
||||
},
|
||||
{
|
||||
pagePath: 'pages/sort/index',
|
||||
|
||||
Reference in New Issue
Block a user