Browse Source

update

ctt_ywq
HolyKnightIX 2 years ago
parent
commit
ef8b2345c3
3 changed files with 16 additions and 9 deletions
  1. +5
    -4
      src/components/common/top.vue
  2. +7
    -3
      src/components/home/home.vue
  3. +4
    -2
      src/components/views/turing.vue

+ 5
- 4
src/components/common/top.vue View File

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


<div class="categoryBox"> <div class="categoryBox">
<div class="categoryitem"> <div class="categoryitem">
<el-dropdown trigger="click" @command="handleCommand">
<el-dropdown @command="handleCommand">
<span class="el-dropdown-link"> <span class="el-dropdown-link">
{{ characters == 1 ? "产品能力" : "AllCases" {{ characters == 1 ? "产品能力" : "AllCases"
}}<i class="el-icon-arrow-down el-icon--right"></i> }}<i class="el-icon-arrow-down el-icon--right"></i>
@@ -20,10 +20,10 @@
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
<div class="categoryitem" @click="goView('Technology')">
<div class="categoryitem" @click="goPage('Technology')">
{{ characters == 1 ? "创新技术" : "Technology" }} {{ characters == 1 ? "创新技术" : "Technology" }}
</div> </div>
<div class="categoryitem" @click="goView('Solutions')">
<div class="categoryitem" @click="goPage('Solutions')">
{{ characters == 1 ? "解决方案" : "Solutions" }} {{ characters == 1 ? "解决方案" : "Solutions" }}
</div> </div>
<!-- <div class="categoryitem" @click="goView('Cases')"> <!-- <div class="categoryitem" @click="goView('Cases')">
@@ -112,7 +112,8 @@ export default {
// console.log(document.querySelector(id),); // console.log(document.querySelector(id),);
}, },
goPage(path) { goPage(path) {
this.$router.push(`${path}`);
this.$router.push(`/?goView=${path}`);
this.goView(path);
}, },
go(url) { go(url) {
this.$router.push(url); this.$router.push(url);


+ 7
- 3
src/components/home/home.vue View File

@@ -707,9 +707,13 @@ export default {
}); });
}, },
created() { created() {
this.$nextTick(() => {
this.goView("top");
});
const goView = this.$route.query.goView;
if (goView) {
console.log(true);
this.$nextTick(() => {
this.goView(goView);
});
}
}, },
}; };
</script> </script>


+ 4
- 2
src/components/views/turing.vue View File

@@ -21,14 +21,16 @@


<div class="title_item1_y" v-if="characters == 1">与李雷成为朋友</div> <div class="title_item1_y" v-if="characters == 1">与李雷成为朋友</div>
<div class="title_item1" v-if="characters != 1">邃图灵</div> <div class="title_item1" v-if="characters != 1">邃图灵</div>
<div class="title_item1_y" v-if="characters != 1">与李雷成为朋友</div>
<div class="title_item1_y" v-if="characters != 1">
Be friend with Lee
</div>


<!-- <div class="title_item3" v-if="characters != 1"> <!-- <div class="title_item3" v-if="characters != 1">
Easily create your unique digital IP Easily create your unique digital IP
</div> --> </div> -->


<div class="title_btn" @click="showBox"> <div class="title_btn" @click="showBox">
{{ characters == 1 ? "与xxx交谈" : "converse to xxx" }}
{{ characters == 1 ? "与李雷交谈" : "converse to Lee" }}
</div> </div>
</div> </div>
<div class="md1" id="md1"></div> <div class="md1" id="md1"></div>


Loading…
Cancel
Save