feat: title

This commit is contained in:
steven
2023-03-02 13:56:22 +08:00
parent b798f55745
commit e24da886ec
3 changed files with 10 additions and 11 deletions

View File

@@ -32,7 +32,7 @@
<i class="iconfont icon-yulan"></i> <i class="iconfont icon-yulan"></i>
<span style="margin-left: 6px;width: 29px;">预览</span> <span style="margin-left: 6px;width: 29px;">预览</span>
</div> </div>
<a-button <a-button
class="publish-btn share-button" class="publish-btn share-button"
style="display: flex;align-items: center;" style="display: flex;align-items: center;"
@click.stop="clickEntrance"> @click.stop="clickEntrance">
@@ -50,7 +50,7 @@
<span style="margin-left: 10px;width: 90px;">正在保存中...</span> <span style="margin-left: 10px;width: 90px;">正在保存中...</span>
</div> </div>
</template> </template>
<a-button v-show="!showPublish && isRenderBtn" <a-button v-show="!showPublish && isRenderBtn"
v-if="!showLoading" v-if="!showLoading"
type="primary" type="primary"
@@ -80,7 +80,7 @@
</div> </div>
<div class="right" <div class="right"
v-if="!showPreview && !isRenderBtn && !showShare"> v-if="!showPreview && !isRenderBtn && !showShare">
<a-button <a-button
class="publish-btn share-button" class="publish-btn share-button"
style="display: flex;align-items: center;" style="display: flex;align-items: center;"
@click.stop="clickEntrance"> @click.stop="clickEntrance">
@@ -330,7 +330,7 @@ const handlePublish = () => {
const backHome = () => { const backHome = () => {
router.push("/home"); router.push("/home");
document.title = "智能调研工具"; document.title = "智能洞察工具";
}; };
const fetchInfo = () => { const fetchInfo = () => {
@@ -392,10 +392,10 @@ onMounted(() => {
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
color: #434343; color: #434343;
width: 150px; width: 150px;
overflow:hidden; overflow:hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
} }
.icon-xiangzuo-moren { .icon-xiangzuo-moren {
cursor: pointer; cursor: pointer;

View File

@@ -45,7 +45,7 @@ const constantRoutes = [
component: () => import(/* webpackChunkName: 'home' */ '@views/Home/Index.vue'), component: () => import(/* webpackChunkName: 'home' */ '@views/Home/Index.vue'),
children: [...ProjectManage, ...TemplateMarket, ...Contact, ...DocumentLibrary, ...DataStatistics, ...Creative] children: [...ProjectManage, ...TemplateMarket, ...Contact, ...DocumentLibrary, ...DataStatistics, ...Creative]
}, },
{ {
path: '/edit-creative-scene', path: '/edit-creative-scene',
name: 'editCreativeScene', name: 'editCreativeScene',
@@ -456,7 +456,6 @@ router.beforeEach(async (to, from, next) => {
if (!router.options.history.state.back) { if (!router.options.history.state.back) {
await getToken(); await getToken();
} }
console.log(2);
if (!to.meta.noRedirectLogin) { if (!to.meta.noRedirectLogin) {
if (window.self === window.top) { if (window.self === window.top) {
// window.parent.location.href = 'https://yip-uat.dctest.digitalyili.com/login'; // window.parent.location.href = 'https://yip-uat.dctest.digitalyili.com/login';

View File

@@ -67,7 +67,7 @@ module.exports = {
} }
}, },
scss: { scss: {
prependData: prependData:
`@import "~@/style/whole/whole.scss";$baseOss:"${baseOss}";` `@import "~@/style/whole/whole.scss";$baseOss:"${baseOss}";`
} }
}, },
@@ -87,7 +87,7 @@ module.exports = {
.end(); .end();
config.plugin("loadshReplace").use(new LodashModuleReplacementPlugin()); config.plugin("loadshReplace").use(new LodashModuleReplacementPlugin());
config.plugin('html').tap(args => { config.plugin('html').tap(args => {
args[0].title = "智能调研工具"; args[0].title = "智能洞察工具";
return args; return args;
}); });
// config.module // config.module