Commit c2fd4474 authored by zhangyanni's avatar zhangyanni

静态页面中英文

parent c8d7cdcc
......@@ -5,6 +5,8 @@ module.exports = {
findCustomer:"Find Clients",
professionfocusing:"Focus",
cooperationcase:"Cases",
knowledge: "知识资源",
industryActive:"行业动态",
aboutUs:"About Us",
useHelp:"Frequent Questions",
workPlace:"Console",
......@@ -1081,6 +1083,16 @@ module.exports = {
caseson :'Focus',
professionfocusing:'Industry Focus',
cooperationcase:'Success Cases',
knowledgeTitle1:"聚焦行业资源",
knowledgeTitle2:"关注行业动态",
all:"全部",
knowledgeTab1:"创新创业",
knowledgeTab2:"工业互联网",
knowledgeTab3:"新材料",
knowledgeTab4:"新能源",
knowledgeTab5:"AI",
knowledgeTab6:"AIOT",
knowledgeTab7:"China",
dynamics:'Focus on Cooperation Progress',
Casedetails:'Case Details',
projectcontent:'Your product frofile has been changed. Click to confirm that the product profile will be resubmitted. After confirming, will the content be approved?',
......
......@@ -5,6 +5,8 @@ module.exports = {
findCustomer: "找客户",
professionfocusing: "行业聚焦",
cooperationcase: "合作案例",
knowledge: "知识资源",
industryActive:"行业动态",
aboutUs: "关于我们",
useHelp: "使用帮助",
workPlace: "我的工作台",
......@@ -1080,6 +1082,17 @@ module.exports = {
overseas:'海外',
cooperation:'合作案例详情',
caseson :'聚焦合作案例',
knowledgeTitle1:"聚焦行业资源",
knowledgeTitle2:"关注行业动态",
all:"全部",
knowledgeTab1:"创新创业",
knowledgeTab2:"工业互联网",
knowledgeTab3:"新材料",
knowledgeTab4:"新能源",
knowledgeTab5:"AI",
knowledgeTab6:"AIOT",
knowledgeTab7:"China",
dynamics:'关注合作动态',
professionfocusing:'行业聚焦',
cooperationcase:'合作案例',
......
......@@ -146,7 +146,7 @@ router.beforeEach((to, from, next) => {
}
}
if(window.sessionStorage.getItem("userInfo") ==null){
if(to.name == 'dashboard'||to.name=='indexView'|| to.name == 'login' || to.name == 'mobileLoginCmpt'|| to.name == 'emailLoginCmpt'|| to.name == 'mobileRegisterCmpt'|| to.name == 'emailRegisterCmpt'||to.name=='completeInfoCmpt'|| to.name == 'successCmpt'||to.name=='findPasswordCmpt'||to.name=='modifyPasswordCmpt'||to.name=='passSuccessCmpt'||to.name=='indexView'||to.name=="mobileIndex"||to.name=="mobileLogin"||to.name=="loginByPhone"||to.name=="loginByEmail"||to.name=="mobileRegister"||to.name=="registerComplete"||to.name=="shareRequire"||to.name=="shareProject"){
if(to.name == 'dashboard'||to.name=='indexView'|| to.name == 'login' || to.name == 'mobileLoginCmpt'|| to.name == 'emailLoginCmpt'|| to.name == 'mobileRegisterCmpt'|| to.name == 'emailRegisterCmpt'||to.name=='completeInfoCmpt'|| to.name == 'successCmpt'||to.name=='findPasswordCmpt'||to.name=='modifyPasswordCmpt'||to.name=='passSuccessCmpt'||to.name=='indexView'||to.name=="mobileIndex"||to.name=="mobileLogin"||to.name=="loginByPhone"||to.name=="loginByEmail"||to.name=="mobileRegister"||to.name=="registerComplete"||to.name=="shareRequire"||to.name=="shareProject"||to.name=="knowledgeList"){
} else{
if(to.path == '/termserviceed'||to.path == '/privacypolicyed'||to.path == '/contactused'||to.path == '/aboutused'||to.path == '/casedetailsed'||to.path == '/lndustryfocused'||to.path == '/successfulcaseed'||to.path == '/usehelped'||to.path == '/useHelp'||to.path == '/reminder'||to.path == '/contactus' ||to.path == '/privacypolicy' ||to.path == '/termservice' ||to.path == '/casedetails' ||to.path == '/successfulcase' ||to.path == '/lndustryfocus' ||to.path == '/aboutus' ){
......
......@@ -68,7 +68,7 @@ import phoneRequireDetail from './views/mobile/requirement/reqDetail';//需求
import mobileSearchResult from './views/mobile/searchRecord';//搜索结果页
import mobileSearchScreen from './views/mobile/selectScreen';//筛选香
import mobileLogined from './views/mobile/logined';//登录之后
import knowledgeList from './views/knowledge/mobile/list';//知识资源列表
Vue.use(Router)
export default new Router({
......@@ -595,6 +595,11 @@ export default new Router({
component: resolve => require(['./views/usehelpview/usehelp.vue'], resolve),
meta: {title: '使用帮助'}
},
{
path:"/knowledgeList",
name:"knowledgeList",
component:knowledgeList
}
]
},
{
......
<template>
</template>
<script>
export default {
name: "all"
}
</script>
<style scoped>
</style>
\ No newline at end of file
<template>
<div :class="showsd?'foutdivchild':'foutdiv'">
<div v-if="!showsd" style="height: 200px;">
<img src="../../assets/img/index/case@2x.png" alt="图片" style="width: 100%;height: 200px;">
<p style="margin-top: -150px;font-size: 34px;color: #ffffff">{{$t('topNav.knowledge')}}</p>
<p style="margin-top: 20px;font-size: 18px;color: #C8CBE0">{{$t('Otherjson.knowledgeTitle1')}}&nbsp;&nbsp;&nbsp;&nbsp;{{$t('Otherjson.knowledgeTitle2')}}</p>
</div>
<div :class="showsd?'divclasschild':'divclass'">
<div>
<div v-for="(item,index) in datajson" :key="index" @click="!showsd?$router.push({path:'/casedetails',query:{entid:item.id}}):$router.push({path:'/casedetailschild',query:{entid:item.id}})">
<img :src="item.images" alt="图片">
<p>{{item.pcontent}}</p>
<span>{{item.spancontent}}</span>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name : "successfulcase",
data() {
return {
showsd:false,
datajson:this.$t('successfulcasejson'),
}
},
methods:{
imgclk(val){
if(window.sessionStorage.getItem("userInfo") ==null || window.sessionStorage.getItem("userInfo") ==undefined){
this.$router.replace('/login');
}else{
if(val == 1){
this.$router.push({path:"/seeprojectlist",query:{checkboxGroupstate:[1],checkboxGroupchildstate:[12],implementIf:true}});
}else if(val == 2){
this.$router.push({path:"/seeprojectlist",query:{checkboxGroupstate:[2],checkboxGroupchildstate:[17],implementIf:true}});
}else if(val == 3){
this.$router.push({path:"/seeprojectlist",query:{checkboxGroupstate:[1],checkboxGroupchildstate:[9],implementIf:true}});
}else if(val == 4){
this.$router.push({path:"/seeprojectlist",query:{checkboxGroupstate:[5],checkboxGroupchildstate:[28],implementIf:true}});
}
}
},
},
props:['shows'],
mounted() {
if(this.shows){
this.showsd = true;
}
}
}
</script>
<style scoped lang="scss">
.foutdiv{
padding:60px 0;
min-height: 600px;
background: #ffffff;
}
.foutdivchild{
min-height: 600px;
background: #ffffff;
}
.divclasschild{
margin: 20px 20px 40px;
>div{
display: flex;
flex-wrap:wrap;
>div{
width: calc(25% - 20px);
margin:0 20px 45px 0;
>img{
width: 100%;
height: 150px;
border-radius: 3px;
}
>p{
color: #3F3F53;
font-weight: bold;
font-size: 14px;
padding: 17px 20px 0 10px;
text-align: left;
}
>span{
color: #9197B4;
font-size: 12px;
display: inline-block;
padding: 9px 20px 15px 10px;
text-align: left;
line-height: 20px;
}
}
>div:nth-child(4){
margin-right: 0px;
}
>div:nth-child(8){
margin-right: 0px;
}
>div:hover{
cursor: pointer;
box-shadow:0px 0px 5px 0px rgba(0,0,0,.1);
}
}
}
.divclass{
width: 80%;
margin: 0px auto 40px;
>div{
display: flex;
flex-wrap:wrap;
>div{
width: calc(25% - 20px);
margin:45px 20px 0 0;
>img{
width: 100%;
height: 150px;
border-radius: 3px;
}
>p{
color: #3F3F53;
font-weight: bold;
font-size: 14px;
padding: 17px 20px 0 10px;
text-align: left;
}
>span{
color: #9197B4;
font-size: 12px;
display: inline-block;
padding: 9px 20px 15px 10px;
text-align: left;
line-height: 20px;
}
}
>div:nth-child(4){
margin-right: 0px;
}
>div:nth-child(8){
margin-right: 0px;
}
>div:hover{
cursor: pointer;
box-shadow:0px 0px 5px 0px rgba(0,0,0,.1);
}
}
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment