xiebaomin 2 년 전
부모
커밋
139e57d2b2
2개의 변경된 파일12개의 추가작업 그리고 13개의 파일을 삭제
  1. 11 12
      src/main/resources/templates/components/header.html
  2. 1 1
      src/main/resources/templates/supplier_login/index.html

+ 11 - 12
src/main/resources/templates/components/header.html

@@ -45,13 +45,13 @@
                     <div class="cShow" v-if="userIdentity == 4 || userIdentity == 2">
                         <a href="/user/dashboard.html" rel="nofollow">我的采美</a>
                         <a href="/user/setting/information.html" rel="nofollow">机构资料</a>
-<!--                        <a @click="goMsgLinkFn('/user/message/list.html')" href="javascript:void(0);">我的消息<span>({{noticeNum}})</span></a>-->
+                        <a v-if="!isPC" @click="goMsgLinkFn('/user/message/list.html')" href="javascript:void(0);">我的消息<span>({{noticeNum}})</span></a>
                         <a href="javascript:void(0);" @click="userLogOut()">退出登录</a>
                     </div>
                     <div class="cShow" v-if="userIdentity == 3">
                         <a href="/supplier/dashboard.html" rel="nofollow">我的采美</a>
                         <a href="javascript:void(0);" @click="pageLinkSupplier()">店铺管理</a>
-<!--                        <a @click="goMsgLinkFn('/supplier/message/list.html')" href="javascript:void(0);">我的消息<span>({{noticeNum}})</span></a>-->
+                        <a v-if="!isPC" @click="goMsgLinkFn('/supplier/message/list.html')" href="javascript:void(0);">我的消息<span>({{noticeNum}})</span></a>
                         <a href="javascript:void(0);" @click="userLogOut()">退出登录</a>
                     </div>
                 </li>
@@ -72,21 +72,20 @@
             </a>
             <div class="mf h5Only mUserCenter">
                 <template v-if="loginStatus">
-<!--                    <a class="mUserIcon mIcon toLogin" href="/user/member.html" v-if="!isPC && userIdentity != 3" title="超级会员" rel="nofollow"></a>-->
+                    <a class="mUserIcon mIcon superVip" href="/user/member.html" v-if="!isPC && userIdentity != 3" title="超级会员" rel="nofollow"></a>
                     <a href="/shopping/cart.html" :class="loginStatus?'mAddCart mIcon':'mAddCart mIcon toLogin'" v-if="!isPC && userIdentity != 3" title="购物车" rel="nofollow"></a>
-                    <a v-if="userIdentity===3" style="background-position: " @click="goMsgLinkFn('/supplier/message/list.html')" href="javascript:void(0);" :class="loginStatus?'mNotice H5-icon':'mNotice H5-icon toLogin'" title="消息" rel="nofollow"></a>
-                    <a v-else @click="goMsgLinkFn('/user/message/list.html')" href="javascript:void(0);" :class="loginStatus?'mNotice H5-icon':'mNotice H5-icon toLogin'" title="消息" rel="nofollow"></a>
+<!--                    <a v-if="userIdentity===3" style="background-position: " @click="goMsgLinkFn('/supplier/message/list.html')" href="javascript:void(0);" :class="loginStatus?'mNotice H5-icon':'mNotice H5-icon toLogin'" title="消息" rel="nofollow"></a>-->
+<!--                    <a v-else @click="goMsgLinkFn('/user/message/list.html')" href="javascript:void(0);" :class="loginStatus?'mNotice H5-icon':'mNotice H5-icon toLogin'" title="消息" rel="nofollow"></a>-->
                     <a @click="showGlobalMenu()" class="mUserIcon mIcon" href="javascript:void(0);" title="个人中心" rel="nofollow"></a>
                 </template>
                 <template v-else>
-<!--                    <a class="mUserIcon mIcon superVip" :href="GLOBAL_USER_ID === 0 ? '/login.html' : '/user/member.html'" title="超级会员" rel="nofollow"></a>-->
-<!--                    <a href="/login.html" :class="loginStatus?'mAddCart mIcon':'mAddCart mIcon toLogin'" title="购物车" rel="nofollow"></a>-->
+                    <a class="mUserIcon mIcon superVip" :href="GLOBAL_USER_ID === 0 ? '/login.html' : '/user/member.html'" title="超级会员" rel="nofollow"></a>
+                    <a href="/login.html" :class="loginStatus?'mAddCart mIcon':'mAddCart mIcon toLogin'" title="购物车" rel="nofollow"></a>
                     <a class="mUserIcon mIcon toLogin" href="javascript:void(0);" title="个人中心" rel="nofollow"></a>
                 </template>
             </div>
             <div class="searchBox" id="topSearch">
-<!--                :style="{float: (userIdentity !== 3 && loginStatus) ? 'none' : '', margin: (userIdentity !== 3 && loginStatus) ? '0 auto' : '' }"-->
-                <div class="search auto-input" :style="{width: !isPC ? '95.4vw' : ''}" id="autoInput">
+                <div class="search auto-input" :style="{float: (userIdentity !== 3 && loginStatus) ? 'none' : '', margin: (userIdentity !== 3 && loginStatus) ? '0 auto' : '', width: userIdentity == 4 || userIdentity == 2 ? '95.4vw' : '' }" id="autoInput">
                     <div class="jqSelect">
                         <div class="pc">
                             <span data-select="0">产品</span>
@@ -101,9 +100,9 @@
                     <input class="keyword" type="text" placeholder="请输入搜索关键词" maxlength="30"/>
                     <a class="searchBtn icon mIcon" href="javascript:void(0);" onclick="_czc.push(['_trackEvent','顶部导航','搜索按钮','点击','','Um_Event_SearchButton'])"></a>
                 </div>
-<!--                <div class="supplierH5" v-if="!isPC && (userIdentity !== 4 && userIdentity !== 2)">-->
-<!--                    <a class="mIcon supplier_H5" href="/supplier-login/index.html" title="供应商服务" rel="nofollow"></a>-->
-<!--                </div>-->
+                <div class="supplierH5" v-if="!isPC && (userIdentity !== 4 && userIdentity !== 2)">
+                    <a class="mIcon supplier_H5" href="/supplier-login/index.html" title="供应商服务" rel="nofollow"></a>
+                </div>
                 <!-- 热门搜索关键词 -->
                 <div class="hotKey">
                     <span th:each="word,wordStat: ${searchHotWord}">

+ 1 - 1
src/main/resources/templates/supplier_login/index.html

@@ -297,7 +297,7 @@
                 </div>
                 <div class="operationa" v-else>
                     <div class="H5_opera">
-                        <div class="author" @click="tipAuthor" :style="{'z-index': isAthord ? '1' : '0','background-position': isAthord ? 'center' : 'bottom' }"></div>
+                        <div class="author" @click="tipAuthor" :style="{'z-index': isAthord ? '1' : '0','background-position': isAthord ? 'inherit' : 'bottom' }"></div>
                         <div class="online_store" @click="tipOnline" :style="{'z-index': isAthord ? '0' : '1','background-position': isAthord ? 'bottom' : 'center' }"></div>
                     </div>
                 </div>