mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2026-06-24 02:40:13 +08:00
refactor:项目升级Vue3+uView Plus
- 改造入口文件、全量替换组件引入 - 过滤器迁移混入,更新忽略配置,新增迁移文档
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="page">
|
||||
<u-navbar :border-bottom="false" title="积分商品"></u-navbar>
|
||||
<u-navbar :border="false" title="积分商品"></u-navbar>
|
||||
|
||||
<div class="wrapper">
|
||||
<!-- 积分商品列表 -->
|
||||
@@ -16,9 +16,9 @@
|
||||
{{goodsData.goodsName}}
|
||||
</div>
|
||||
<div class="flex price-box">
|
||||
<div class="purchase-price">积分:<span>{{ pointDetail.points | unitPrice }}</span>
|
||||
<div class="purchase-price">积分:<span>{{unitPrice(pointDetail.points) }}</span>
|
||||
</div>
|
||||
<div class="max-price">原价:<span>¥{{ goodsData.price | unitPrice}}</span>
|
||||
<div class="max-price">原价:<span>¥{{unitPrice(goodsData.price)}}</span>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -37,7 +37,7 @@
|
||||
<div class="bargain">
|
||||
<div class="row-title">商品详情</div>
|
||||
<view class="u-content">
|
||||
<u-parse :html="goodsData.mobileIntro" :tag-style="style"></u-parse>
|
||||
<u-parse :content="goodsData.mobileIntro" :tag-style="style"></u-parse>
|
||||
</view>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
<view class="index-item" v-for="(item, key) in nav.goods" :key="key" @click="toGoods(item)">
|
||||
<view class="index-item-img">
|
||||
<u-image :src="item.thumbnail" mode="aspectFit">
|
||||
<u-loading slot="loading"></u-loading>
|
||||
<template #loading><u-loading></u-loading></template>
|
||||
</u-image>
|
||||
<view class="index-item-title">{{ item.goodsName }}</view>
|
||||
<view class="index-item-price flex flex-a-c flex-j-sb">
|
||||
<div class="point"><span>{{ item.points }}</span>积分</div>
|
||||
<span class="tipsMkt">¥{{ item.originalPrice | unitPrice }}</span>
|
||||
<span class="tipsMkt">¥{{unitPrice(item.originalPrice) }}</span>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user