Parcourir la source

申请证书修改首页客服显示

zhengjinyi il y a 4 ans
Parent
commit
77660d5539
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/main/resources/templates/index.html

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

@@ -140,13 +140,13 @@
                                                 </th:block>
                                                 <span th:text="${pros.get('name')}"></span>
                                             </div>
-                                            <div class="page_main_price" th:if="*{listType}==1">
+                                            <div class="page_main_price" th:if="*{listType}==1" v-if="userId>0">
                                                 <th:block th:if="${pros.get('product')}!=null" th:object="${pros.get('product')}">
                                                     <!-- 商品价格 -->
                                                     <div th:attr="class=*{'main_price_text product_'+productId}, data-id=*{productId}">
                                                         <!-- 正常商品 -->
                                                         <th:block th:if="*{productCategory}==1">
-                                                            <div class="price_text_tag" v-if="userId>0" th:if="${pros.get('product').containsKey('actStatus')}">
+                                                            <div class="price_text_tag" th:if="${pros.get('product').containsKey('actStatus')}">
                                                                 <p class="listTag" th:if="*{actStatus}==1 and ${pros.get('product').get('promotions')}!=null">
                                                                     <template th:text="*{promotions.name}"></template>
                                                                     <th:block th:if="*{promotions.type}==1 and *{promotions.mode}==1">