Commit f4212d76 by 李伟康

commit

1 parent ae3a02e4
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<template v-if="$route.meta.isTab"> <template v-if="$route.meta.isTab">
<tab <tab
:list="['秒杀活动','直播活动']" :list="tabList"
@change="change" @change="change"
:index="tabIndex" :index="tabIndex"
sticky sticky
...@@ -91,7 +91,9 @@ export default { ...@@ -91,7 +91,9 @@ export default {
name: '', name: '',
mixins: [shareMixin, pageMixin], mixins: [shareMixin, pageMixin],
data() { data() {
return {} return {
tabList:['秒杀活动']
}
}, },
mounted() {}, mounted() {},
activated() {}, activated() {},
......
...@@ -50,10 +50,8 @@ const spritesmithFunction = data => { ...@@ -50,10 +50,8 @@ const spritesmithFunction = data => {
return `${shared}\n${perSprite}` return `${shared}\n${perSprite}`
} }
module.exports = { module.exports = {
publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main/', // 本地调试时需登录时使用 publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main/', // 本地调试时需登录时使用
// publicPath: './',
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-activity/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: '/dj-scrm-wx-work-attachment-activity/', // 署应用包时的基本 URL。 vue-router history模式使用 // publicPath: '/dj-scrm-wx-work-attachment-activity/', // 署应用包时的基本 URL。 vue-router history模式使用
outputDir: 'dist', // 生产环境构建文件的目录 outputDir: 'dist', // 生产环境构建文件的目录
assetsDir: 'static', // outputDir的静态资源(js、css、img、fonts)目录 assetsDir: 'static', // outputDir的静态资源(js、css、img、fonts)目录
...@@ -63,6 +61,7 @@ module.exports = { ...@@ -63,6 +61,7 @@ module.exports = {
disableHostCheck: true, disableHostCheck: true,
port: 9527, // 端口 port: 9527, // 端口
open: false, // 启动后打开浏览器 open: false, // 启动后打开浏览器
public:'http://scrm.dev.glsx.com.cn/dj-scrm-wx-work-main/#/',
overlay: { overlay: {
// 当出现编译器错误或警告时,在浏览器中显示全屏覆盖层 // 当出现编译器错误或警告时,在浏览器中显示全屏覆盖层
warnings: false, warnings: false,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!