Commit d71c8ad7 by 肖康

Merge branch 'XK_USER_INDEX_UPDATE20190613' into Development

parents a494fd29 0cd763a9
<template>
<div class="navigator">
<ul class="boxsiz">
<li class="curr">
<li :class="{'curr':(typeVal==1)}">
<a href="/v3?ptag=index-bottomnav">
<i class="iconfont icon-shouye-1"></i>
<p>首页</p>
</a>
</li>
<li>
<li :class="{'curr':(typeVal==2)}">
<a href="/h5/view/#/xianhuo?ptag=selfshop-bottomnav">
<i class="iconfont icon-ziying"></i>
<p>自营商城</p>
</a>
</li>
<li>
<li :class="{'curr':(typeVal==3)}">
<a href="/h5/view/#/lxshop?ptag=lxshop-bottomnav">
<i class="iconfont icon-lianying"></i>
<p>联营商城</p>
</a>
</li>
<li>
<li :class="{'curr':(typeVal==4)}">
<a href="/h5/view/#/joincart?ptag=shopcar-bottomnav">
<i class="iconfont icon-gouwuche2"></i>
<p>购物车</p>
<span class="cart boxsiz">{{cartCount>99 ?'99+': cartCount}}</span>
</a>
</li>
<li>
<li :class="{'curr':(typeVal==5)}">
<a href="/v3/user?ptag=index-bottomnav">
<i class="iconfont icon-huiyuanzhongxin1"></i>
<p>会员中心</p>
......@@ -41,6 +41,12 @@
export default {
name: 'navigator',
props: {
typeVal: {
type: Number,
default: 1
},
},
computed: mapState({
cartCount: state => state.common.cartCount
}),
......
......@@ -54,7 +54,7 @@
</ul>
<a href="javascript:void('0')" class="loginLayoutx" v-if="ismini" @click="goOut">退出登录</a>
<Navigator></Navigator>
<Navigator :typeVal="typeVal"></Navigator>
<van-loading type="spinner" color="#000" class="loading-background" v-if="loading"/>
</section>
</template>
......@@ -71,6 +71,7 @@
data() {
return {
qqurl_:productionUrlApi+'login/qq',
typeVal:5,
ismini:true
}
},
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
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 sign in to comment