Commit 4168d3cc authored by zhangyanni's avatar zhangyanni

首页英文行业报告快速登录

parent 124737de
......@@ -1579,6 +1579,8 @@ module.exports = {
projectName:'Ex. Self-driving robot (Do not put the company name)',
Reminder:'Tips: The mobile version only displays part of the product profile, please log in to the web version for details. www.techbook.co',
requireReminder:'Tips: The mobile version only displays part of the request profile, please log in to the web version for details. www.techbook.co',
helloTitle:"Hello,",
welcomeTitle: "Welcome To TechBook"
},
......
......@@ -1676,6 +1676,8 @@ module.exports = {
projectName:'如:自动驾驶机器人研发,请勿填写公司简称',
Reminder:'温馨提示:手机版只展示部分项目内容,详细内容请登录Web版查看 www.techbook.co',
requireReminder:'温馨提示:手机版只展示部分需求内容,详细内容请登录Web版查看 www.techbook.co',
helloTitle:"您好,",
welcomeTitle:"欢迎来到TechBook",
},
saleResponsibleUser: {
......
......@@ -8,20 +8,20 @@
:close-on-click-modal="false"
center>
<span slot="title" class="dialog-title">
<p>您好,</p>
<p>欢迎来到TechBook</p>
<p>{{$t("mobile.helloTitle")}}</p>
<p>{{$t("mobile.welcomeTitle")}}</p>
</span>
<div>
<el-form :model="yzCodeForm" :label-position="labelPosition" :rules="rules" ref="yzCodeForm" @keyup.enter.native="handleLogin(2,'yzCodeForm')"
class="demo-loginForm applyLogin">
<el-form-item prop="phone" label="帐号">
<el-form-item prop="phone" :label="$t('personalAuth.account')">
<el-input @blur.prevent="handleToParent" @focus="handleFocus(1)" v-model="yzCodeForm.phone" @input="isTruePhone" :placeholder="$t('errorValidate.errorNoAccount')" autocomplete></el-input>
</el-form-item>
<el-form-item prop="code" class="yzcodeItem" label="验证码">
<el-form-item prop="code" class="yzcodeItem" :label="$t('personalAuth.code')">
<el-input @blur.prevent="handleToParent" type="text" class="applyLoginItem" @focus="handleFocus(2)" v-model="yzCodeForm.code" :placeholder="$t('commonTips.placeholderAccountCode')" style="float: left;" maxlength="6"
autocomplete></el-input>
<span class="getyzcodeBtn" @click="handleGetCode" v-if="showCount">{{$t("commonTips."+codehtml)}}</span>
<!--<span class="getdyzcodeBtn" v-if="!showCount&&lang==2">{{$t("commonTips.resendCode")}}{{count}}s</span>-->
<span class="getdyzcodeBtn" v-if="!showCount&&lang==2">{{$t("commonTips.resendCode")}}{{count}}s</span>
<span class="getdyzcodeBtn" v-if="!showCount&&lang==1">{{count}}{{$t("commonTips.resendCode")}}</span>
<div class="clearFix"></div>
</el-form-item>
......@@ -36,7 +36,7 @@
</div>
<span slot="footer" class="dialog-footer applyLoginFooter">
<el-button type="primary" :disabled="flag>0" class="loginButton" @click="handleLogin(2,'yzCodeForm')" v-loading.fullscreen="fullscreenLoading">登录
<el-button type="primary" :disabled="flag>0" class="loginButton" @click="handleLogin(2,'yzCodeForm')" v-loading.fullscreen="fullscreenLoading">{{$t("topNav.login")}}
</el-button>
</span>
</el-dialog>
......
......@@ -460,6 +460,8 @@
<img src="../../../assets/jiantou.png" alt="" v-if="lang==1">
<img src="../../../assets/jiantouEn.png" alt="" v-if="lang==2">
</div>
<applyLoginCmpt v-if="isLogin" @isShowLoginDialogFunc="isShowLoginDialogFunc" :registerType="101" :visible="isLogin"></applyLoginCmpt>
</div>
</template>
......@@ -474,6 +476,7 @@
import industryApi from '../industryReport/api'
import commonApi from '../../../common/commonApi'
import shareCmpt from '../../../components/shareIndustryCmpt'
import applyLoginCmpt from '../../../components/mobile/applyLogin';
export default {
name: "mobileindex",
components: {
......@@ -481,7 +484,8 @@
marqueeLeft,
PageBottom,
applyProCmpt,
shareCmpt
shareCmpt,
applyLoginCmpt
},
data() {
const that = this;
......@@ -606,7 +610,8 @@
configVal:{},
allDataInfo:null,
activityData:[],
industryData:[]
industryData:[],
isLogin:false
}
},
methods: {
......@@ -631,6 +636,7 @@
})
},
handleToProject(data) {
this.$router.push('/projectdetails?id=' + data.projectId)
},
......@@ -671,6 +677,7 @@
this.tabMaiDianFunc(name);
}
},
//去合作案例
handleToCooperation(item) {
this.$router.push({path: '/casedetailsed', query: {entid: item.id}})
......@@ -1483,7 +1490,13 @@
}).catch((err)=>{
this.$toast(err);
})
}
},
//是否显示登录
isShowLoginDialogFunc(data,data1){
this.isLogin = data;
this.userInfo = this.publicFun.getCookie("userInfo") ? JSON.parse(this.Base64.decode(this.publicFun.getCookie("userInfo"))) : null;
},
},
mounted() {
this.getSliderList(3);
......
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