更新:我的课程

This commit is contained in:
2025-12-26 11:41:27 +08:00
parent 89e77864a3
commit e2d6523347
6 changed files with 18 additions and 3 deletions

View File

@@ -236,7 +236,8 @@
"hufenRecord": "Lake division record",
"hufen": "Hufen",
"backEnd" : "Back-end recharge",
"cannotView" : "The recharge in the background cannot be viewed"
"cannotView" : "The recharge in the background cannot be viewed",
"myCourses": "My courses"
},
"book": {
"title": "My Books",

View File

@@ -237,7 +237,8 @@
"hufenRecord": "湖分记录",
"hufen": "湖分",
"backEnd" : "后台充值",
"cannotView" : "后台充值无法查看"
"cannotView" : "后台充值无法查看",
"myCourses": "我的课程"
},
"book": {
"title": "我的书单",

View File

@@ -109,6 +109,12 @@
"navigationStyle": "custom",
"navigationBarTitleText": "%book.title%"
}
}, {
"path": "pages/user/myCourses/index",
"style": {
"navigationStyle": "custom",
"navigationBarTitleText": "%book.title%"
}
}, {
"path": "pages/book/index",
"style": {

View File

@@ -1,7 +1,7 @@
<template>
<view class="recharge-page">
<nav-bar :title="$t('user.iHufen')"></nav-bar>
<view class="menu-section" v-if="hufenList.list.length > 0">
<view class="menu-section" v-if="hufenList.list?.length > 0">
<wd-cell-group border class="menu-list">
<wd-cell v-for="item in hufenList.list" :key="item.type" :title="item.dict_value" is-link
@click="handleMenuClick(item)">

View File

@@ -132,6 +132,12 @@
url: '/pages/user/myBook/index',
type: 'pageJump'
},
{
id: 9,
name: t('user.myCourses'),
url: '/pages/user/myCourses/index',
type: 'pageJump'
},
{
id: 8,
name: t('user.iHufen'),

View File

@@ -104,6 +104,7 @@
@include when(active) {
font-weight: 600;
font-size: 30rpx;
}
@include when(disabled) {