2025-10-17

合并页面缺失
This commit is contained in:
2025-10-17 14:45:21 +08:00
parent 980555212b
commit da61a7955b
2 changed files with 47 additions and 95 deletions

View File

@@ -45,8 +45,8 @@
} }
}, },
{ {
"path":"pages/finance/production", "path": "pages/finance/production",
"style": { "style": {
"navigationBarTitleText": "金融产品详情", "navigationBarTitleText": "金融产品详情",
"navigationStyle": "custom" "navigationStyle": "custom"
@@ -54,12 +54,12 @@
}, },
{ {
"path":"pages/finance/service", "path": "pages/finance/service",
"style": { "style": {
"navigationBarTitleText": "客服中心", "navigationBarTitleText": "客服中心",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path": "pages/register/register", "path": "pages/register/register",
@@ -76,18 +76,16 @@
} }
}, },
{ {
"path" : "pages/mall/mall", "path": "pages/mall/mall",
"style" : "style": {
{ "navigationBarTitleText": "商城",
"navigationBarTitleText" : "商城",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path" : "pages/message/chat", "path": "pages/message/chat",
"style" : "style": {
{ "navigationBarTitleText": "聊天页面",
"navigationBarTitleText" : "聊天页面",
"navigationStyle": "custom", "navigationStyle": "custom",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
@@ -100,24 +98,43 @@
} }
}, },
{ {
"path" : "pages/message/systemMessage", "path": "pages/message/systemMessage",
"style" : "style": {
{ "navigationBarTitleText": "系统通知",
"navigationBarTitleText" : "系统通知",
"navigationBarBackgroundColor": "#F0F3FF", "navigationBarBackgroundColor": "#F0F3FF",
"navigationBarTextStyle": "#000", "navigationBarTextStyle": "#000",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"buttons": [ "buttons": [{
{
"type": "menu", "type": "menu",
"color": "#000" "color": "#000"
} }
] ]
} }
} }
} }
},
{
"path": "pages/my/shippingAddress",
"style": {
"navigationBarTitleText": "收货地址",
"navigationStyle": "custom"
}
},
{
"path": "pages/home/mallCategory",
"style": {
"navigationBarTitleText": "商品分类",
"navigationStyle": "custom"
}
},
{
"path": "pages/home/mallDetail",
"style": {
"navigationBarTitleText": "商品详情",
"navigationStyle": "custom"
}
} }
], ],
"globalStyle": { "globalStyle": {

View File

@@ -55,6 +55,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { computed, getCurrentInstance, onMounted, ref } from 'vue' import { computed, getCurrentInstance, onMounted, ref } from 'vue'
import { addressAPI } from '../../api/address'
const navBarTitle = { const navBarTitle = {
fontWeight: '510', fontWeight: '510',
@@ -100,80 +101,14 @@
}) })
const status = ref('loadmore') const status = ref('loadmore')
const maxPage = ref() const maxPage = ref()
const dataList = ref([ const dataList = ref([])
{
id: 1,
receiver_name: '张三',
receiver_phone: '13800138000',
province: '广东省',
city: '深圳市',
district: '南山区',
detailed_address: '科技园南区1栋101室',
label: '家',
is_default: true,
created_at: '2023-10-01 12:00:00'
},
{
id: 2,
receiver_name: '李四',
receiver_phone: '13900139000',
province: '北京市',
city: '北京市',
district: '朝阳区',
detailed_address: '建国门外大街1号',
label: '公司',
is_default: false,
created_at: '2023-10-02 14:30:00'
},
{
id: 3,
receiver_name: '王五',
receiver_phone: '13700137000',
province: '上海市',
city: '上海市',
district: '浦东新区',
detailed_address: '陆家嘴环路1000号',
label: '公司',
is_default: false,
created_at: '2023-10-03 09:15:00'
},
{
id: 4,
receiver_name: '赵六',
receiver_phone: '13600136000',
province: '浙江省',
city: '杭州市',
district: '西湖区',
detailed_address: '文三路100号',
label: '学校',
is_default: false,
created_at: '2023-10-04 16:45:00'
},
{
id: 5,
receiver_name: '钱七',
receiver_phone: '13500135000',
province: '江苏省',
city: '南京市',
district: '鼓楼区',
detailed_address: '中山路1号',
label: '家',
is_default: false,
created_at: '2023-10-05 11:20:00'
}
])
const loadData = () => { const loadData = () => {
if (status.value == 'nomore') return if (status.value == 'nomore') return
// programAPI.getList(params.value).then(res => { addressAPI.getList(params.value).then(res => {
// programList.value = programList.value.concat(res.data.list) console.log(res);
// maxPage.value = res.data.pages }).finally(() => {
// params.value.page++ uni.stopPullDownRefresh()
// if (params.value.page > maxPage.value) { })
// status.value = 'nomore'
// }
// }).finally(() => {
// uni.stopPullDownRefresh()
// })
} }
const ids = ref([]) const ids = ref([])