Commit 0270e134 authored by youjie's avatar youjie

no message

parent ed3b388f
...@@ -545,6 +545,26 @@ export default { ...@@ -545,6 +545,26 @@ export default {
HotelConcept22: '租賃滑板', HotelConcept22: '租賃滑板',
HotelConcept23: '有車接送', HotelConcept23: '有車接送',
jiudianName: '酒店名稱', 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 //#endregion
......
...@@ -12,6 +12,7 @@ const routes: RouteRecordRaw[] = [ ...@@ -12,6 +12,7 @@ const routes: RouteRecordRaw[] = [
{ path: '/hotel/offer/:orderId', component: () => import('pages/hotel/ListOfQuotation.vue') }, { path: '/hotel/offer/:orderId', component: () => import('pages/hotel/ListOfQuotation.vue') },
{ path: '/personal', component: () => import('pages/personal/personal.vue')}, { path: '/personal', component: () => import('pages/personal/personal.vue')},
{ path: '/scattered', component: () => import('pages/scattered/HotelList.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')} { path: '/comingsoon', component: () => import('pages/ComingSoon.vue')}
] ]
}, },
......
...@@ -7,6 +7,8 @@ import createPersistedState from 'vuex-persistedstate' ...@@ -7,6 +7,8 @@ import createPersistedState from 'vuex-persistedstate'
import mutations from './mutations' import mutations from './mutations'
import modules from './modules' import modules from './modules'
import { StateType } from '../@types' import { StateType } from '../@types'
import SecureLS from "secure-ls";
var ls = new SecureLS({ isCompression: false });
// provide typings for `this.$store` // provide typings for `this.$store`
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
...@@ -34,6 +36,14 @@ const store: VuexStore<StateType> = createStore<StateType>({ ...@@ -34,6 +36,14 @@ const store: VuexStore<StateType> = createStore<StateType>({
createPersistedState({ createPersistedState({
paths: ['app', 'user'] paths: ['app', 'user']
}) })
// createPersistedState({
// key: "vuex",
// storage: {
// getItem: (key) => ls.get(key),
// setItem: (key, value) => ls.set(key, value),
// removeItem: (key) => ls.remove(key),
// },
// })
] ]
}) })
......
...@@ -44,7 +44,7 @@ const useMenus={ ...@@ -44,7 +44,7 @@ const useMenus={
url:'/scattered', url:'/scattered',
id:14, id:14,
parentId:13, parentId:13,
}, }
] ]
}) })
menus.push({ menus.push({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment