第三方登陆联系方式调整
This commit is contained in:
parent
8528475bcb
commit
95882eeeef
@ -115,7 +115,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.thirdLogin = getSessionStorage('thirdLogin');
|
this.thirdLogin = getSessionStorage('project') == 'richor';
|
||||||
this.routes = this.$router.options.routes;
|
this.routes = this.$router.options.routes;
|
||||||
if (this.$route.fullPath.indexOf('design/usermap') >= 0) {
|
if (this.$route.fullPath.indexOf('design/usermap') >= 0) {
|
||||||
this.activePath = '/design/usermap/home';
|
this.activePath = '/design/usermap/home';
|
||||||
|
@ -5,14 +5,28 @@
|
|||||||
width="400px"
|
width="400px"
|
||||||
:before-close="handleClose"
|
:before-close="handleClose"
|
||||||
>
|
>
|
||||||
<div><span class="el-icon-user" style="font-size:15px;margin-right:8px;" />联系人:小九</div>
|
<div v-if="thirdLogin">
|
||||||
<div class="eachInfo"><span class="el-icon-mobile-phone" style="font-size:15px;margin-right:7px;" />手 机:13289398171</div>
|
<div><span class="el-icon-user" style="font-size:15px;margin-right:8px;" />联系人:欧阳炜椿</div>
|
||||||
<div class="eachInfo"><span class="el-icon-message" style="font-size:15px;margin-right:7px;" />邮 箱:ServiceEmail@joylink.club</div>
|
<div class="eachInfo"><span class="el-icon-mobile-phone" style="font-size:15px;margin-right:7px;" />电 话:4000500081</div>
|
||||||
<div class="eachInfo">
|
<div class="eachInfo"><span class="el-icon-message" style="font-size:15px;margin-right:7px;" />邮 箱:zhrc@richortech.com</div>
|
||||||
<span class="el-icon-chat-round" style="font-size:15px;margin-right:3px;vertical-align:top;" />
|
<div class="eachInfo"><span class="el-icon-connection" style="font-size:15px;margin-right:7px;" />网 址:www.richortech.com</div>
|
||||||
<span style="vertical-align: top;">微 信:</span>
|
<!-- <div class="eachInfo">
|
||||||
<img :src="wchatImg" width="80" height="80">
|
<span class="el-icon-chat-round" style="font-size:15px;margin-right:3px;vertical-align:top;" />
|
||||||
|
<span style="vertical-align: top;">微 信:</span>
|
||||||
|
<img :src="wchatImg" width="80" height="80">
|
||||||
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
|
<div v-else>
|
||||||
|
<div><span class="el-icon-user" style="font-size:15px;margin-right:8px;" />联系人:小九</div>
|
||||||
|
<div class="eachInfo"><span class="el-icon-mobile-phone" style="font-size:15px;margin-right:7px;" />手 机:13289398171</div>
|
||||||
|
<div class="eachInfo"><span class="el-icon-message" style="font-size:15px;margin-right:7px;" />邮 箱:ServiceEmail@joylink.club</div>
|
||||||
|
<div class="eachInfo">
|
||||||
|
<span class="el-icon-chat-round" style="font-size:15px;margin-right:3px;vertical-align:top;" />
|
||||||
|
<span style="vertical-align: top;">微 信:</span>
|
||||||
|
<img :src="wchatImg" width="80" height="80">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<span slot="footer" class="dialog-footer">
|
<span slot="footer" class="dialog-footer">
|
||||||
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
<el-button type="primary" @click="dialogVisible = false">确 定</el-button>
|
||||||
</span>
|
</span>
|
||||||
@ -20,6 +34,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import wchat from '@/assets/wchat.png';
|
import wchat from '@/assets/wchat.png';
|
||||||
|
import { getSessionStorage } from '@/utils/auth';
|
||||||
export default {
|
export default {
|
||||||
name:'',
|
name:'',
|
||||||
data() {
|
data() {
|
||||||
@ -28,6 +43,11 @@ export default {
|
|||||||
wchatImg: wchat
|
wchatImg: wchat
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
computed:{
|
||||||
|
thirdLogin() {
|
||||||
|
return getSessionStorage('project') == 'richor';
|
||||||
|
}
|
||||||
|
},
|
||||||
methods:{
|
methods:{
|
||||||
handleClose() {
|
handleClose() {
|
||||||
this.dialogVisible = false;
|
this.dialogVisible = false;
|
||||||
|
@ -62,7 +62,7 @@ export default {
|
|||||||
this.$store.dispatch('setToken', token);
|
this.$store.dispatch('setToken', token);
|
||||||
this.$store.dispatch('subscribe', {header, type:'class'});
|
this.$store.dispatch('subscribe', {header, type:'class'});
|
||||||
this.$router.replace({path:'/trainingPlatform'});
|
this.$router.replace({path:'/trainingPlatform'});
|
||||||
setSessionStorage('thirdLogin', true);
|
// setSessionStorage('thirdLogin', true);
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
this.message = '参数有误,请检查';
|
this.message = '参数有误,请检查';
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user