feat:性能优化
@@ -31,7 +31,7 @@ export default {
|
||||
if (paymentLink && paymentLink !== "null") {
|
||||
this.paymentLink = paymentLink; // 解码并设置支付链接
|
||||
uni.navigateTo({
|
||||
url: `/pages/other_package/zfb_payment/zfb_payment?link=${paymentLink}` // 假设有一个专门的支付页面来处理支付链接
|
||||
url: `/pages/other_package/alipay_payment/alipay_payment?link=${paymentLink}` // 假设有一个专门的支付页面来处理支付链接
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
>
|
||||
</up-swiper>
|
||||
<view class="preference_title">
|
||||
<up-image src="/static/product/bk_l.png" width="60" height="2" bgColor="#f1f6ff00"></up-image>
|
||||
<up-image src="/pages/other_package/static/product/bk_l.png" width="60" height="2" bgColor="#f1f6ff00"></up-image>
|
||||
<view class="msg">信任桥积分</view>
|
||||
<up-image src="/static/product/bk_r.png" width="60" height="2" bgColor="#f1f6ff00"></up-image>
|
||||
<up-image src="/pages/other_package/static/product/bk_r.png" width="60" height="2" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
<view class="preference_product">
|
||||
<up-loading-page :loading="productListLoading"></up-loading-page>
|
||||
|
||||
@@ -113,11 +113,11 @@
|
||||
<view class="concrete_item_title">购物保障</view>
|
||||
<view class="concrete_item_value concrete_item_bz">
|
||||
<view class="concrete_item_bz concrete_item_bz_item">
|
||||
<up-image src="/static/product/product_b.png" width="10" height="12" bgColor="#f1f6ff00"></up-image>
|
||||
<up-image src="/pages/other_package/static/product/product_b.png" width="10" height="12" bgColor="#f1f6ff00"></up-image>
|
||||
<view class="concrete_item_bz_item_left">品质严保</view>
|
||||
</view>
|
||||
<view class="concrete_item_bz">
|
||||
<up-image src="/static/product/product_js.png" width="10" height="10" bgColor="#f1f6ff00"></up-image>
|
||||
<up-image src="/pages/other_package/static/product/product_js.png" width="10" height="10" bgColor="#f1f6ff00"></up-image>
|
||||
<view class="concrete_item_bz_item_left">极速退款</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -149,17 +149,17 @@
|
||||
<view class="product_but_warp">
|
||||
<view class="product_but_left">
|
||||
<view class="left_item">
|
||||
<up-image src="/static/product/home_1.png" width="20" height="20" bgColor="#f1f6ff00"
|
||||
<up-image src="/pages/other_package/static/product/home_1.png" width="20" height="20" bgColor="#f1f6ff00"
|
||||
@click="jumpOther('home')"></up-image>
|
||||
<view>首页</view>
|
||||
</view>
|
||||
<view class="left_item">
|
||||
<up-image src="/static/product/kefu.png" width="20" height="20" bgColor="#f1f6ff00"
|
||||
<up-image src="/pages/other_package/static/product/kefu.png" width="20" height="20" bgColor="#f1f6ff00"
|
||||
@click="onZiXun"></up-image>
|
||||
<view>咨询</view>
|
||||
</view>
|
||||
<view class="left_item">
|
||||
<up-image src="/static/product/cart.png" width="24" height="20" bgColor="#f1f6ff00"
|
||||
<up-image src="/pages/other_package/static/product/cart.png" width="24" height="20" bgColor="#f1f6ff00"
|
||||
@click="jumpOther('cart')"></up-image>
|
||||
<view>购物车</view>
|
||||
</view>
|
||||
@@ -363,9 +363,7 @@ import SharePopup from "@/pages/other_package/components/share-popup.vue";
|
||||
import MyBtn from "@/components/common/my-btn.vue";
|
||||
import { getPostageQuery } from "@/api/cart.js";
|
||||
import { assembleAddress } from "@/utils/index.js";
|
||||
// const QSCanvas = require('qs-canvas')
|
||||
import QSCanvas from "qs-canvas";
|
||||
// import {getSharePoster} from "@/components/QuShe-SharerPoster/QS-SharePoster/QS-SharePoster.js";
|
||||
import func from "@/utils/func.js";
|
||||
import Address from "@/components/address.vue";
|
||||
import {
|
||||
@@ -997,7 +995,7 @@ export default {
|
||||
this.orderInfo = data;
|
||||
this.detailRich = this.orderInfo.detailInfo.replace(
|
||||
/<img([^>]*?)>/gi,
|
||||
'<img$1 style="max-width:100%;height:auto;display:block;">'
|
||||
'<img$1 style="max-width:100%;height:auto;display:block;" loading="lazy">'
|
||||
);
|
||||
}
|
||||
},
|
||||
@@ -1044,6 +1042,10 @@ export default {
|
||||
}
|
||||
this.swiperList = [currentThumb]; // 封面图
|
||||
this.calcSwiperHeight();
|
||||
this.detailRich = content.replace(
|
||||
/<img([^>]*?)>/gi,
|
||||
'<img$1 style="max-width:100%;height:auto;display:block;" loading="lazy">'
|
||||
);
|
||||
this.orderInfo = orderInfo;
|
||||
}
|
||||
},
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view v-else class="not_order_warp">
|
||||
<view class="not_order_warp_img"><up-image src="/static/common/not_search.png" width="100" height="100" bgColor="#f1f6ff00"></up-image></view>
|
||||
<view class="not_order_warp_img"><up-image src="/pages/other_package/static/not_search.png" width="100" height="100" bgColor="#f1f6ff00"></up-image></view>
|
||||
<view class="not_order_msg_warp">暂无搜索记录</view>
|
||||
</view>
|
||||
</view> -->
|
||||
@@ -86,7 +86,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view v-else class="not_order_warp">
|
||||
<view class="not_order_warp_img"><up-image src="/static/common/not_search.png" width="100" height="100" bgColor="#f1f6ff00"></up-image></view>
|
||||
<view class="not_order_warp_img"><up-image src="/pages/other_package/static/not_search.png" width="100" height="100" bgColor="#f1f6ff00"></up-image></view>
|
||||
<view class="not_order_msg_warp">抱歉没有搜索此类商品~</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
After Width: | Height: | Size: 6.7 KiB |
|
After Width: | Height: | Size: 767 B |
|
After Width: | Height: | Size: 798 B |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
After Width: | Height: | Size: 833 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
@@ -57,7 +57,7 @@
|
||||
<!-- 中奖记录 -->
|
||||
<view class="winning_record" @click="jumpWinningRecord">
|
||||
<view style="margin-top: 10rpx;">
|
||||
<up-image src="/static/turntable/record.png" width="14" height="14" bgColor="#f1f6ff00"></up-image>
|
||||
<up-image src="/pages/other_package/static/turntable/record.png" width="14" height="14" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
<view style="margin-left: 10rpx;">中奖记录</view>
|
||||
</view>
|
||||
|
||||