Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟
cust-app
Commits
fe1bf400
Commit
fe1bf400
authored
Dec 18, 2024
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了公告跳转包结构
parent
ab134d27
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
17 deletions
+23
-17
pages.json
pages.json
+18
-12
index.vue
pages/tab/index.vue
+5
-5
detail.vue
pagesAnnouncement/announcement/detail.vue
+0
-0
list.vue
pagesAnnouncement/announcement/list.vue
+0
-0
No files found.
pages.json
View file @
fe1bf400
...
...
@@ -66,21 +66,27 @@
"onReachBottomDistance"
:
50
,
"disableScroll"
:
true
}
},
}
],
"subPackages"
:
[
{
"path"
:
"pages/announcement/list"
,
"style"
:
{
"navigationBarTitleText"
:
"园区公告"
}
"root"
:
"pagesAnnouncement"
,
"pages"
:
[
{
"path"
:
"announcement/list"
,
"style"
:
{
"navigationBarTitleText"
:
"园区公告"
}
},
{
"path"
:
"announcement/detail"
,
"style"
:
{
"navigationBarTitleText"
:
"公告详情"
}
}
]
},
{
"path"
:
"pages/announcement/detail"
,
"style"
:
{
"navigationBarTitleText"
:
"公告详情"
}
}
],
"subPackages"
:
[{
"root"
:
"pageslogin"
,
"pages"
:
[{
"path"
:
"index/index"
,
...
...
pages/tab/index.vue
View file @
fe1bf400
...
...
@@ -19,7 +19,7 @@
</view>
</view>
<!-- 公告-->
<view
class=
"notice"
@
click=
"gotopage('/pages/announcement/list')"
>
<view
class=
"notice"
@
click=
"gotopage('/pages
Announcement
/announcement/list')"
>
<view>
<image
src=
"/static/images/home/gonggao.png"
class=
"notice-image"
/>
</view>
...
...
@@ -355,14 +355,14 @@
methods
:
{
// 页面跳转
gotopage
(
url
)
{
uni
.
navigateTo
({
uni
.
reLaunch
({
url
:
url
})
})
;
},
//热门推荐 跳转
gotodetail
(){
gotodetail
(
item
){
uni
.
navigateTo
({
url
:
'/pages2/business/business
'
url
:
'/pages2/business/business
/id='
+
item
.
businessId
})
},
async
getUnRead
()
{
...
...
pages/announcement/detail.vue
→
pages
Announcement
/announcement/detail.vue
View file @
fe1bf400
File moved
pages/announcement/list.vue
→
pages
Announcement
/announcement/list.vue
View file @
fe1bf400
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment