Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
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
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
罗超
bigwood
Commits
0270e134
Commit
0270e134
authored
Dec 12, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ed3b388f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
1 deletion
+32
-1
index.ts
src/i18n/zh-TW/index.ts
+20
-0
routes.ts
src/router/routes.ts
+1
-0
index.ts
src/store/index.ts
+10
-0
menus.ts
src/utils/menus.ts
+1
-1
No files found.
src/i18n/zh-TW/index.ts
View file @
0270e134
...
...
@@ -545,6 +545,26 @@ export default {
HotelConcept22
:
'租賃滑板'
,
HotelConcept23
:
'有車接送'
,
jiudianName
:
'酒店名稱'
,
anrenqi
:
'按人氣排序'
,
anjiage
:
'按价格排序'
,
titleHeard1
:
'酒店名稱'
,
titleHeard2
:
'酒店評分'
,
titleHeard3
:
'價格'
,
titleHeard4
:
'商標'
,
titleHeard5
:
'主题'
,
titleHeard6
:
'酒店地址'
,
titleHeard7
:
'操作'
,
qi
:
'起'
,
ziying
:
'自營'
,
jalan
:
'jalan'
,
zhutifea1
:
'從車站步行5分鐘'
,
zhutifea2
:
'有溫泉'
,
zhutifea3
:
'離海灘5分鐘'
,
zhutifea4
:
'退房11點以後'
,
xiangqing
:
'查看详情'
},
scatteredDetails
:{
xiangqing
:
'酒店详情'
}
}
//#endregion
...
...
src/router/routes.ts
View file @
0270e134
...
...
@@ -12,6 +12,7 @@ const routes: RouteRecordRaw[] = [
{
path
:
'/hotel/offer/:orderId'
,
component
:
()
=>
import
(
'pages/hotel/ListOfQuotation.vue'
)
},
{
path
:
'/personal'
,
component
:
()
=>
import
(
'pages/personal/personal.vue'
)},
{
path
:
'/scattered'
,
component
:
()
=>
import
(
'pages/scattered/HotelList.vue'
)},
{
path
:
'/scattered/hotelDetails/:hotelId'
,
component
:
()
=>
import
(
'pages/scattered/hotelDetails.vue'
)},
{
path
:
'/comingsoon'
,
component
:
()
=>
import
(
'pages/ComingSoon.vue'
)}
]
},
...
...
src/store/index.ts
View file @
0270e134
...
...
@@ -7,6 +7,8 @@ import createPersistedState from 'vuex-persistedstate'
import
mutations
from
'./mutations'
import
modules
from
'./modules'
import
{
StateType
}
from
'../@types'
import
SecureLS
from
"secure-ls"
;
var
ls
=
new
SecureLS
({
isCompression
:
false
});
// provide typings for `this.$store`
declare
module
'@vue/runtime-core'
{
...
...
@@ -34,6 +36,14 @@ const store: VuexStore<StateType> = createStore<StateType>({
createPersistedState
({
paths
:
[
'app'
,
'user'
]
})
// createPersistedState({
// key: "vuex",
// storage: {
// getItem: (key) => ls.get(key),
// setItem: (key, value) => ls.set(key, value),
// removeItem: (key) => ls.remove(key),
// },
// })
]
})
...
...
src/utils/menus.ts
View file @
0270e134
...
...
@@ -44,7 +44,7 @@ const useMenus={
url
:
'/scattered'
,
id
:
14
,
parentId
:
13
,
}
,
}
]
})
menus
.
push
({
...
...
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