Browse Source

修改数字人以及云筑在线小程序

newStyle
风继续吹 1 year ago
parent
commit
62e932b174
9 changed files with 32 additions and 32 deletions
  1. +1
    -1
      public/index.html
  2. +1
    -1
      src/mixins/color.js
  3. +1
    -1
      src/page/check/chose.vue
  4. +3
    -3
      src/page/check/index.vue
  5. +4
    -4
      src/page/index/logo.vue
  6. +1
    -1
      src/page/index/sidebar/index.vue
  7. +2
    -2
      src/page/login/index.vue
  8. +18
    -18
      src/page/wel.vue
  9. +1
    -1
      src/router/avue-router.js

+ 1
- 1
public/index.html View File

@@ -72,7 +72,7 @@
let url = document.domain let url = document.domain
if (url == 'focus.hfju.com' || url == 'focus.aihxz.com') { if (url == 'focus.hfju.com' || url == 'focus.aihxz.com') {
document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>sh.png') document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>sh.png')
} else if (url == 'zh.aihxz.com' || url == '127.0.0.1') {
} else if (url == 'zh.aihxz.com' || url == '39.97.244.65') {
document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>img/logoIcon.jpg') document.querySelector('link[rel="icon"]').setAttribute('href', '<%= BASE_URL %>img/logoIcon.jpg')
document.title = '云筑在线' document.title = '云筑在线'
} else { } else {


+ 1
- 1
src/mixins/color.js View File

@@ -22,7 +22,7 @@ export default function() {


created() { created() {
// 修改主题色 // 修改主题色
if (this.$domain == '127.0.0.1' || this.$domain == 'zh.aihxz.com') {
if (this.$domain == '39.97.244.65' || this.$domain == 'zh.aihxz.com') {
this.themeVal = '#3E50E8' this.themeVal = '#3E50E8'
} }
}, },


+ 1
- 1
src/page/check/chose.vue View File

@@ -1,7 +1,7 @@
<template> <template>
<div class="box-center"> <div class="box-center">
<div class="head"> <div class="head">
<div v-if="url == 'zh.aihxz.com' || url == '127.0.0.1'">云筑在线后台管理系统</div>
<div v-if="url == 'zh.aihxz.com' || url == '39.97.244.65'">云筑在线后台管理系统</div>
<div v-else>AI销讲助手管理系统</div> <div v-else>AI销讲助手管理系统</div>
<div class="callback" @click="goback" style="cursor: pointer">返回</div> <div class="callback" @click="goback" style="cursor: pointer">返回</div>
</div> </div>


+ 3
- 3
src/page/check/index.vue View File

@@ -1,7 +1,7 @@
<template> <template>
<div class="box-center"> <div class="box-center">
<div class="head"> <div class="head">
<div v-if="url == 'zh.aihxz.com' || url == '127.0.0.1'">云筑在线后台管理系统</div>
<div v-if="url == 'zh.aihxz.com' || url == '39.97.244.65'">云筑在线后台管理系统</div>
<div v-else>AI销讲助手管理系统</div> <div v-else>AI销讲助手管理系统</div>
<div class="callback" @click="goloign" style="cursor: pointer"> <div class="callback" @click="goloign" style="cursor: pointer">
{{ backFlag ? "返回" : "退出" }} {{ backFlag ? "返回" : "退出" }}
@@ -13,10 +13,10 @@
<div class="tab" @click="goindex(0)" v-if="tabFlag1"> <div class="tab" @click="goindex(0)" v-if="tabFlag1">
<div> <div>
<img class="imgs" v-if="url == 'focus.hfju.com' || url == 'focus.aihxz.com'" src="/img/sohu.png" alt="" style="padding: 8px 0;"/> <img class="imgs" v-if="url == 'focus.hfju.com' || url == 'focus.aihxz.com'" src="/img/sohu.png" alt="" style="padding: 8px 0;"/>
<img class="imgs" v-else-if="url == 'zh.aihxz.com' || url == '127.0.0.1'" src="/img/logoIcon.jpg" alt="" style="padding: 8px 0;"/>
<img class="imgs" v-else-if="url == 'zh.aihxz.com' || url == '39.97.244.65'" src="/img/logoIcon.jpg" alt="" style="padding: 8px 0;"/>
<img v-else src="/logoPng.png" alt="" style="padding: 8px 0;"/> <img v-else src="/logoPng.png" alt="" style="padding: 8px 0;"/>
</div> </div>
<div class="text" v-if="url == 'zh.aihxz.com' || url == '127.0.0.1'">云筑在线后台</div>
<div class="text" v-if="url == 'zh.aihxz.com' || url == '39.97.244.65'">云筑在线后台</div>
<div class="text" v-else>AI销讲助手后台</div> <div class="text" v-else>AI销讲助手后台</div>
</div> </div>
<div class="tab" @click="goindex(1)" v-if="tabFlag2"> <div class="tab" @click="goindex(1)" v-if="tabFlag2">


+ 4
- 4
src/page/index/logo.vue View File

@@ -14,7 +14,7 @@
style="width: 44px" style="width: 44px"
></i> ></i>
<i <i
v-else-if="url == 'zh.aihxz.com' || url == '127.0.0.1'"
v-else-if="url == 'zh.aihxz.com' || url == '39.97.244.65'"
class="logoIconss" class="logoIconss"
></i> ></i>
<i v-else class="logoIcon" style="width: 44px"></i> <i v-else class="logoIcon" style="width: 44px"></i>
@@ -30,18 +30,18 @@
> >
<div <div
class="logo" class="logo"
v-if="$domain != 'zh.aihxz.com' || $domain != '127.0.0.1'"
v-if="$domain != 'zh.aihxz.com' || $domain != '39.97.244.65'"
> >
<i <i
v-if="url == 'focus.hfju.com' || url == 'focus.aihxz.com'" v-if="url == 'focus.hfju.com' || url == 'focus.aihxz.com'"
class="logoIcons" class="logoIcons"
></i> ></i>
<i <i
v-else-if="url == 'zh.aihxz.com' || url == '127.0.0.1'"
v-else-if="url == 'zh.aihxz.com' || url == '39.97.244.65'"
class="logo-Iconss" class="logo-Iconss"
></i> ></i>
<i v-else class="logoIcon" style="width: 44px"></i> <i v-else class="logoIcon" style="width: 44px"></i>
<span v-if="url != 'zh.aihxz.com' && url != '127.0.0.1'">{{
<span v-if="url != 'zh.aihxz.com' && url != '39.97.244.65'">{{
website.title website.title
}}</span> }}</span>
</div> </div>


+ 1
- 1
src/page/index/sidebar/index.vue View File

@@ -43,7 +43,7 @@ export default {
}; };
}, },
created() { created() {
if (this.$domain == 'zh.aihxz.com' || this.$domain == '127.0.0.1') {
if (this.$domain == 'zh.aihxz.com' || this.$domain == '39.97.244.65') {
this.bgColor = '#FFFFFF' this.bgColor = '#FFFFFF'
this.textColor = '#333' this.textColor = '#333'
document.documentElement.style.setProperty(`--leftBgColor`, '#FFFFFF'); document.documentElement.style.setProperty(`--leftBgColor`, '#FFFFFF');


+ 2
- 2
src/page/login/index.vue View File

@@ -10,7 +10,7 @@
/> />
<img <img
v-if=" v-if="
url == 'zh.aihxz.com' || url == '127.0.0.1'
url == 'zh.aihxz.com' || url == '39.97.244.65'
" "
src="/img/logoIcon.jpg" src="/img/logoIcon.jpg"
/> />
@@ -21,7 +21,7 @@
style="margin: 10px auto" style="margin: 10px auto"
/> />
</div> </div>
<p v-if="$domain == 'zh.aihxz.com' || url == '127.0.0.1'" class="login-tip" style="color: var(--theme)">云筑在线</p>
<p v-if="$domain == 'zh.aihxz.com' || url == '39.97.244.65'" class="login-tip" style="color: var(--theme)">云筑在线</p>
<p v-else class="login-tip" style="color: var(--theme)">{{ website.title }}</p> <p v-else class="login-tip" style="color: var(--theme)">{{ website.title }}</p>
<div class="login-border" style="padding-top: 0.6rem"> <div class="login-border" style="padding-top: 0.6rem">
<div class="login-main"> <div class="login-main">


+ 18
- 18
src/page/wel.vue View File

@@ -119,7 +119,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon14.png" src="/img/indexIcon/indexCardIcon14.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon14s.png" /> <img v-else src="/img/indexIcon/indexCardIcon14s.png" />
@@ -151,7 +151,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon4.png" src="/img/indexIcon/indexCardIcon4.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon4s.png" /> <img v-else src="/img/indexIcon/indexCardIcon4s.png" />
@@ -218,7 +218,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon5.png" src="/img/indexIcon/indexCardIcon5.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon5s.png" /> <img v-else src="/img/indexIcon/indexCardIcon5s.png" />
@@ -283,7 +283,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon11.png" src="/img/indexIcon/indexCardIcon11.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon11s.png" /> <img v-else src="/img/indexIcon/indexCardIcon11s.png" />
@@ -345,7 +345,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon11.png" src="/img/indexIcon/indexCardIcon11.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon114s.png" /> <img v-else src="/img/indexIcon/indexCardIcon114s.png" />
@@ -413,7 +413,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon7.png" src="/img/indexIcon/indexCardIcon7.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon7s.png" /> <img v-else src="/img/indexIcon/indexCardIcon7s.png" />
@@ -476,7 +476,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon6.png" src="/img/indexIcon/indexCardIcon6.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon6s.png" /> <img v-else src="/img/indexIcon/indexCardIcon6s.png" />
@@ -543,7 +543,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon20.png" src="/img/indexIcon/indexCardIcon20.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon20s.png" /> <img v-else src="/img/indexIcon/indexCardIcon20s.png" />
@@ -605,7 +605,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon11.png" src="/img/indexIcon/indexCardIcon11.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon115s.png" /> <img v-else src="/img/indexIcon/indexCardIcon115s.png" />
@@ -672,7 +672,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon11.png" src="/img/indexIcon/indexCardIcon11.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon116s.png" /> <img v-else src="/img/indexIcon/indexCardIcon116s.png" />
@@ -1077,7 +1077,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon8.png" src="/img/indexIcon/indexCardIcon8.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon8s.png" /> <img v-else src="/img/indexIcon/indexCardIcon8s.png" />
@@ -1125,7 +1125,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon1.png" src="/img/indexIcon/indexCardIcon1.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon1s.png" /> <img v-else src="/img/indexIcon/indexCardIcon1s.png" />
@@ -1183,7 +1183,7 @@
</div> </div>
<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon2.png" src="/img/indexIcon/indexCardIcon2.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon2s.png" /> <img v-else src="/img/indexIcon/indexCardIcon2s.png" />
@@ -1237,7 +1237,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon19.png" src="/img/indexIcon/indexCardIcon19.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon19s.png" /> <img v-else src="/img/indexIcon/indexCardIcon19s.png" />
@@ -1295,7 +1295,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon4.png" src="/img/indexIcon/indexCardIcon4.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon4s.png" /> <img v-else src="/img/indexIcon/indexCardIcon4s.png" />
@@ -1354,7 +1354,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon5.png" src="/img/indexIcon/indexCardIcon5.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon5s.png" /> <img v-else src="/img/indexIcon/indexCardIcon5s.png" />
@@ -1417,7 +1417,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon6.png" src="/img/indexIcon/indexCardIcon6.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon6s.png" /> <img v-else src="/img/indexIcon/indexCardIcon6s.png" />
@@ -1478,7 +1478,7 @@


<div class="cardicon"> <div class="cardicon">
<img <img
v-if="$domain != '127.0.0.1' && $domain != 'zh.aihxz.com'"
v-if="$domain != '39.97.244.65' && $domain != 'zh.aihxz.com'"
src="/img/indexIcon/indexCardIcon7.png" src="/img/indexIcon/indexCardIcon7.png"
/> />
<img v-else src="/img/indexIcon/indexCardIcon7s.png" /> <img v-else src="/img/indexIcon/indexCardIcon7s.png" />


+ 1
- 1
src/router/avue-router.js View File

@@ -23,7 +23,7 @@ RouterPlugin.install = function (router, store) {
safe: this, safe: this,
// 设置标题 // 设置标题
setTitle: function (title) { setTitle: function (title) {
if (document.domain == '127.0.0.1' || document.domain == 'zh.aihxz.com') {
if (document.domain == '39.97.244.65' || document.domain == 'zh.aihxz.com') {
title = title ? `${title}——云筑在线` : '云筑在线' title = title ? `${title}——云筑在线` : '云筑在线'
} else { } else {
title = title ? `${title}——${this.$website.title}` : this.$website.title title = title ? `${title}——${this.$website.title}` : this.$website.title


Loading…
Cancel
Save