chao 4 лет назад
Родитель
Сommit
0c7b56a517

+ 2 - 2
src/main/resources/templates/product/detail.html

@@ -131,8 +131,8 @@
                                         <p class="c"><a class="close" @click="hideThisLadder($event)" href="JavaScript:void(0);">了解</a></p>
                                     </div>
                                     <div v-else>
-                                        <p v-if="priceObj.ladderPriceFlag==1"><em @click="toLogin">升级会员</em>,享受阶梯价格优惠</p>
-                                        <p v-if="priceObj.actStatus==1"><em @click="toLogin">升级会员</em>,参与促销活动</p>
+                                        <p v-if="priceObj.ladderPriceFlag==1 && priceObj.userIdentity==4"><em @click="toLogin">升级会员</em>,享受阶梯价格优惠</p>
+                                        <p v-if="priceObj.actStatus==1 && priceObj.userIdentity==4"><em @click="toLogin">升级会员</em>,参与促销活动</p>
                                         <p class="c"><a class="close" @click="hideThisLadder($event)" href="JavaScript:void(0);">了解</a></p>
                                     </div>
                                 </div>

+ 3 - 3
src/main/resources/templates/supplier/list.html

@@ -28,10 +28,10 @@
     <ul v-else class="supplierList">
         <li class="supplierItem clear" v-for="shop in listData">
             <div class="left">
-                <a :href="'/supplier-'+shop.id+'.html'" target="_blank" class="logo">
+                <a :href="'/supplier-'+shop.shopId+'.html'" target="_blank" class="logo">
                     <img :src="shop.logo" onerror="javascript:this.src='/img/default/suppliver.jpg';">
                 </a>
-                <h5><a :href="'/supplier-'+shop.id+'.html'" :title="shop.name" target="_blank">
+                <h5><a :href="'/supplier-'+shop.shopId+'.html'" :title="shop.name" target="_blank">
                     <span v-html="shop.name"></span>
                 </a>
                 <a v-if="shop.license" :href="shop.license" target="_blank" class="icon mIcon shop"></a>
@@ -55,7 +55,7 @@
                     </template>
                     <li v-else-if="isPC" v-for="i in 3"></li>
                 </ul>
-                <a v-if="isPC" :href="'/supplier-'+shop.id+'.html'" target="_blank" class="four">进入本店铺>>></a>
+                <a v-if="isPC" :href="'/supplier-'+shop.shopId+'.html'" target="_blank" class="four">进入本店铺>>></a>
             </div>
         </li>
     </ul>

BIN
target/www-0.0.1-SNAPSHOT.jar