Forráskód Böngészése

商品详情-优惠说明字段调整

Xiao_123 1 hónapja
szülő
commit
fd5532114b
2 módosított fájl, 1 hozzáadás és 11 törlés
  1. 0 3
      components.d.ts
  2. 1 8
      src/views/mall/components/details.vue

+ 0 - 3
components.d.ts

@@ -74,7 +74,4 @@ declare module 'vue' {
     VerifySlide: typeof import('./src/components/Verifition/Verify/VerifySlide.vue')['default']
     WangEditor: typeof import('./src/components/FormUI/wangEditor/index.vue')['default']
   }
-  export interface ComponentCustomProperties {
-    vLoading: typeof import('element-plus/es')['ElLoadingDirective']
-  }
 }

+ 1 - 8
src/views/mall/components/details.vue

@@ -38,14 +38,7 @@
               <div class="price mr-5"><span>¥</span>{{ selectedSkuPrice}}</div>
               <div class="marketPrice" v-if="selectedSkuMarketPrice && selectedSkuMarketPrice !== selectedSkuPrice">优惠前¥{{ selectedSkuMarketPrice}}</div>
             </div>
-            <div v-if="showActivePrices" :class="{'activePrices': showActivePrices}" class="right pa-3 mt-3">
-              <div>优惠大赠送!</div>
-              <div>购买一份人力资源薪酬报告,可获赠一张超值酒店住宿房券!!!先到先得,赠完为止。</div>
-              <!-- <div class="cursor-pointer">
-                <v-icon>mdi-help-circle-outline</v-icon>
-                <span class="text-decoration-underline">查看赠送活动详情</span>
-              </div> -->
-            </div>
+            <div v-if="state.goodsInfo?.activeIntroduction" class="activePrices right pa-3 mt-3" v-html="state.goodsInfo?.activeIntroduction"></div>
           </div>
           <!-- 销量 -->
           <div class="salesCount mb-5 parameterColor"><span class="l-s-10">已售</span>:{{ state.goodsInfo?.salesCount || 0 }}</div>