|
|
@ -16,7 +16,6 @@ axios.get(config.host + api.detailsOfGoods + '?mallId=' + Cookie.get('admin-mall |
|
|
|
token: Cookie.get('admin-token') |
|
|
|
token: Cookie.get('admin-token') |
|
|
|
}, |
|
|
|
}, |
|
|
|
}).then(({ data }) => { |
|
|
|
}).then(({ data }) => { |
|
|
|
console.log(33, data.orderDetails.mall.themeId) |
|
|
|
|
|
|
|
const themeId = data.orderDetails.mall.themeId || 9 |
|
|
|
const themeId = data.orderDetails.mall.themeId || 9 |
|
|
|
Vue.prototype.$themeId = themeId |
|
|
|
Vue.prototype.$themeId = themeId |
|
|
|
// require(`@/styles/theme/theme${themeId}.scss`)
|
|
|
|
// require(`@/styles/theme/theme${themeId}.scss`)
|
|
|
@ -73,7 +72,7 @@ Vue.prototype.$config = config |
|
|
|
|
|
|
|
|
|
|
|
Vue.config.productionTip = false; |
|
|
|
Vue.config.productionTip = false; |
|
|
|
const curriculumName = util.getCookie('curriculumName') |
|
|
|
const curriculumName = util.getCookie('curriculumName') |
|
|
|
document.title = curriculumName ? unescape(curriculumName) : 'python' |
|
|
|
document.title = curriculumName ? decodeURIComponent(curriculumName) : 'python' |
|
|
|
router.beforeEach((to, from, next) => { |
|
|
|
router.beforeEach((to, from, next) => { |
|
|
|
next() |
|
|
|
next() |
|
|
|
}) |
|
|
|
}) |
|
|
|