Просмотр исходного кода

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

Xiao_123 1 месяц назад
Родитель
Сommit
c0dd9e6355
2 измененных файлов с 2 добавлено и 13 удалено
  1. 1 5
      components.d.ts
  2. 1 8
      src/views/mall/components/details.vue

+ 1 - 5
components.d.ts

@@ -33,7 +33,6 @@ declare module 'vue' {
     Echarts: typeof import('./src/components/Echarts/index.vue')['default']
     ElCascader: typeof import('element-plus/es')['ElCascader']
     ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
-    ElTree: typeof import('element-plus/es')['ElTree']
     Empty: typeof import('./src/components/Empty/index.vue')['default']
     File: typeof import('./src/components/Upload/file.vue')['default']
     HeadSearch: typeof import('./src/components/headSearch/index.vue')['default']
@@ -54,7 +53,7 @@ declare module 'vue' {
     LongCompany: typeof import('./src/components/Position/longCompany.vue')['default']
     LongStrip: typeof import('./src/components/Position/longStrip.vue')['default']
     NestedListGroup: typeof import('./src/components/FormUI/nestedListGroup/index.vue')['default']
-    Pay: typeof import('./src/components/pay/index.vue')['default']
+    Pay: typeof import('./src/components/personalRecharge/pay.vue')['default']
     PersonalRecharge: typeof import('./src/components/personalRecharge/index.vue')['default']
     PreviewImage: typeof import('./src/components/PreviewImg/previewImage.vue')['default']
     PreviewImg: typeof import('./src/components/PreviewImg/index.vue')['default']
@@ -77,7 +76,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>