chao 4 år sedan
förälder
incheckning
96b14fc981

+ 1 - 6
src/main/resources/static/js/index.js

@@ -224,7 +224,7 @@ var homeData = new Vue({
                         // priceFlag: 0公开价格 1不公开价格 2仅对会员机构公开
                         var parent = $(".main_price_text.product_"+ price.productId);
                         var priceFlag = parent.find(".main_price_login").attr('data-id')*1;
-                        if (userIdentity===2 || (priceFlag === 0 && userIdentity===4 ) || (userIdentity===3 && shopId === price.shopId*1)) {
+                        if (priceFlag===3 || userIdentity===2 || (priceFlag === 0 && userIdentity===4 ) || (userIdentity===3 && shopId === price.shopId*1)) {
                             parent.find(".price_o_num").text(Number(price.originalPrice).toFixed(2));
                             parent.find(".price_num").text(Number(price.price).toFixed(2));
                             if(price.promotions && price.promotions.type*1===1 && price.promotions.mode*1===1){
@@ -238,11 +238,6 @@ var homeData = new Vue({
                             parent.find(".main_price_show").hide();
                             parent.find(".price_grade_shop").show();
                         }
-                        // 二手商品供应商显示等级
-                        // if (priceFlag === 3 && userIdentity===3) {
-                        //     parent.find(".main_price_show").hide();
-                        //     parent.find(".price_grade_shop").show();
-                        // }
                     });
                 }
             });

+ 0 - 2
src/main/resources/templates/index.html

@@ -180,8 +180,6 @@
                                                                 <div class="price_text_tag"></div>
                                                                 <div th:if="*{detailTalkFlag}==2" class="main_price_show">¥价格祥聊</div>
                                                                 <div th:if="*{detailTalkFlag}!=2" class="main_price_show">¥<span class="price_num"></span></div>
-                                                                <!--供应商显示价格等级-->
-                                                                <em class="price_grade_shop"><span class="bold">¥</span><i th:attr="class=*{'icon mIcon price_grade_'+priceGrade}"></i></em>
                                                             </div>
                                                         </th:block>
                                                     </div>

BIN
target/www-0.0.1-SNAPSHOT.jar