更改首页
@ -4,6 +4,19 @@ body{
|
|||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
color: #666;
|
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 {
|
img, picture {
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 100%;
|
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>
|
</div>
|
||||||
</a>
|
</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 class="rc-screen-reader-text">
|
||||||
登录
|
登录
|
||||||
</span>
|
</span>
|
||||||
|
<em class="rc-screen-reader" v-show="loginornot">
|
||||||
|
|
||||||
|
</em>
|
||||||
|
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
@ -59,7 +63,7 @@
|
|||||||
translations.feature.headerbar.pin
|
translations.feature.headerbar.pin
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</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>
|
<span class="rc-screen-reader-text">translations.feature.headerbar.search</span>
|
||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
@ -375,22 +379,62 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
headerScroll:false
|
headerScroll:false,
|
||||||
|
loginornot:true,//用户是否登录提示点
|
||||||
|
usermessage:null,//存储用户信息
|
||||||
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
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: {
|
methods: {
|
||||||
|
|
||||||
bindTracking: function(){
|
bindTracking: function(){
|
||||||
console.log('bindTracking');
|
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>
|
|
||||||
|
|
||||||
|
</script>
|
||||||
|
<style lang="less" scoped>
|
||||||
|
@import url("../assets/css/global.less");
|
||||||
|
|
||||||
|
</style>
|
@ -1105,9 +1105,6 @@ vm=this;
|
|||||||
// }, 500);
|
// }, 500);
|
||||||
|
|
||||||
// }
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
this.usermessage= JSON.parse(localStorage.getItem("userInfo"));
|
this.usermessage= JSON.parse(localStorage.getItem("userInfo"));
|
||||||
|
|
||||||
if(this.usermessage==null ||this.usermessage==undefined){
|
if(this.usermessage==null ||this.usermessage==undefined){
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<Myheader></Myheader>
|
<Myheader></Myheader>
|
||||||
<div class="online" style="height:3px;width:93%;background:#DDDDDD;margin:0 auto"></div>
|
<div class="online"></div>
|
||||||
<div class="rc-header">
|
|
||||||
<div class="rc-main" v-for="(item,index) in goldmedal" :key="index" >
|
<div class="rc-main" v-for="(item,index) in goldmedal" :key="index" >
|
||||||
<div class="rc-border"></div>
|
<div class="rc-border"></div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="mypersonal"
|
class="mypersonal"
|
||||||
v-for="(dataaddress, index) in useraddress"
|
v-for="(dataaddress, index) in useraddress"
|
||||||
@ -91,7 +89,7 @@
|
|||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="rc-button">
|
<div class="rc-button">
|
||||||
<div class="rc-left">
|
<div class="rc-left">
|
||||||
<span>总计:</span>
|
<span>总计:</span>
|
||||||
@ -164,7 +162,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
jiesuan(){
|
jiesuan(){
|
||||||
let userdata=this.$route.query.wxdata
|
// let userdata=this.$route.query.wxdata
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
path: "/personal/userpay",
|
path: "/personal/userpay",
|
||||||
query: {
|
query: {
|
||||||
|
@ -183,7 +183,9 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
components: {},
|
components: {},
|
||||||
mounted() {},
|
mounted() {
|
||||||
|
console.log(this.$route.params);
|
||||||
|
},
|
||||||
// watch: function () {
|
// watch: function () {
|
||||||
// console.log(this.inRank);
|
// console.log(this.inRank);
|
||||||
// },
|
// },
|
||||||
|