更改首页
@ -4,6 +4,19 @@ body{
|
||||
line-height: 1.5;
|
||||
color: #666;
|
||||
}
|
||||
//用户光点
|
||||
.rc-screen-reader{
|
||||
width: 0.81rem;
|
||||
height: 0.81rem;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
background-color: red;
|
||||
top: 16%;
|
||||
left: 66%;
|
||||
display: block;
|
||||
width: 0.37rem;
|
||||
height: 0.37rem;
|
||||
}
|
||||
img, picture {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
|
BIN
rc-busness/assets/image/sub-nav-1.jpg
Normal file
After Width: | Height: | Size: 132 KiB |
BIN
rc-busness/assets/image/sub-nav-2.jpg
Normal file
After Width: | Height: | Size: 121 KiB |
BIN
rc-busness/assets/image/sub-nav-3.jpg
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
rc-busness/assets/image/sub-nav-4.jpg
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
rc-busness/assets/showimage/royalcanincn-qrcode.jpg
Normal file
After Width: | Height: | Size: 148 KiB |
BIN
rc-busness/assets/showimage/sub-nav-1.jpg
Normal file
After Width: | Height: | Size: 132 KiB |
BIN
rc-busness/assets/showimage/sub-nav-2.jpg
Normal file
After Width: | Height: | Size: 121 KiB |
BIN
rc-busness/assets/showimage/sub-nav-3.jpg
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
rc-busness/assets/showimage/sub-nav-4.jpg
Normal file
After Width: | Height: | Size: 37 KiB |
@ -41,10 +41,14 @@
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<a href="userlogin/login" class="rc-md-up rc-btn rc-btn--icon rc-icon ts-login--xs rc-iconography rc-interactive" aria-label="login">
|
||||
<a class="rc-md-up rc-btn rc-btn--icon rc-icon ts-login--xs rc-iconography rc-interactive" aria-label="login" @click="turnlogin">
|
||||
<span class="rc-screen-reader-text">
|
||||
登录
|
||||
</span>
|
||||
<em class="rc-screen-reader" v-show="loginornot">
|
||||
|
||||
</em>
|
||||
|
||||
</a>
|
||||
|
||||
<!--
|
||||
@ -59,7 +63,7 @@
|
||||
translations.feature.headerbar.pin
|
||||
</span>
|
||||
</a>
|
||||
<button data-js-trigger="search-bar" onclick='bindTracking(this)' evt-name='页内弹窗' evt-cat='headerBtnClick' evt-val='全文搜索' class="rc-btn rc-btn--icon rc-icon rc-search--xs rc-iconography rc-interactive" aria-label="Search" role="menuitem" data-click-modifier=".rc-hidden">
|
||||
<button data-js-trigger="search-bar" @click='searchturn' evt-name='页内弹窗' evt-cat='headerBtnClick' evt-val='全文搜索' class="rc-btn rc-btn--icon rc-icon rc-search--xs rc-iconography rc-interactive" aria-label="Search" role="menuitem" data-click-modifier=".rc-hidden">
|
||||
<span class="rc-screen-reader-text">translations.feature.headerbar.search</span>
|
||||
</button>
|
||||
</li>
|
||||
@ -375,22 +379,62 @@
|
||||
</template>
|
||||
<script>
|
||||
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
headerScroll:false
|
||||
headerScroll:false,
|
||||
loginornot:true,//用户是否登录提示点
|
||||
usermessage:null,//存储用户信息
|
||||
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
||||
//判断用户有无登录显示红点
|
||||
let usernot=JSON.parse(localStorage.getItem("userInfo"));
|
||||
console.log(usernot);
|
||||
if(usernot==null ||usernot==undefined){
|
||||
console.log(usernot);
|
||||
this.loginornot=true
|
||||
}else{
|
||||
this.loginornot=false
|
||||
this.usermessage=usernot;
|
||||
}
|
||||
console.log(this.loginornot);
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
bindTracking: function(){
|
||||
console.log('bindTracking');
|
||||
},
|
||||
|
||||
//
|
||||
//跳转搜索
|
||||
searchturn(){
|
||||
this.$router.push({ name: "usersearch-search",
|
||||
|
||||
})
|
||||
},
|
||||
//判断有无登录跳转不同页面
|
||||
turnlogin(){
|
||||
if(this.usermessage==null||this.usermessage==undefined){
|
||||
this.$router.push({ name: "userlogin-login",
|
||||
params:{id:12,key:'222'}
|
||||
})
|
||||
}else{
|
||||
this.$router.push({ name: "personal-mypersonal",
|
||||
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
@import url("../assets/css/global.less");
|
||||
|
||||
</style>
|
@ -1105,9 +1105,6 @@ vm=this;
|
||||
// }, 500);
|
||||
|
||||
// }
|
||||
|
||||
|
||||
|
||||
this.usermessage= JSON.parse(localStorage.getItem("userInfo"));
|
||||
|
||||
if(this.usermessage==null ||this.usermessage==undefined){
|
||||
|
@ -1,11 +1,9 @@
|
||||
<template>
|
||||
<div>
|
||||
<Myheader></Myheader>
|
||||
<div class="online" style="height:3px;width:93%;background:#DDDDDD;margin:0 auto"></div>
|
||||
<div class="rc-header">
|
||||
<div class="online"></div>
|
||||
<div class="rc-main" v-for="(item,index) in goldmedal" :key="index" >
|
||||
<div class="rc-border"></div>
|
||||
|
||||
<div
|
||||
class="mypersonal"
|
||||
v-for="(dataaddress, index) in useraddress"
|
||||
@ -91,7 +89,7 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="rc-button">
|
||||
<div class="rc-left">
|
||||
<span>总计:</span>
|
||||
@ -164,7 +162,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
jiesuan(){
|
||||
let userdata=this.$route.query.wxdata
|
||||
// let userdata=this.$route.query.wxdata
|
||||
this.$router.push({
|
||||
path: "/personal/userpay",
|
||||
query: {
|
||||
|
@ -183,7 +183,9 @@ export default {
|
||||
},
|
||||
|
||||
components: {},
|
||||
mounted() {},
|
||||
mounted() {
|
||||
console.log(this.$route.params);
|
||||
},
|
||||
// watch: function () {
|
||||
// console.log(this.inRank);
|
||||
// },
|
||||
|