From e3f64ddd64f1e6f03d280e8462e65a4d0a071e21 Mon Sep 17 00:00:00 2001
From: wangxiaowei <1121133807@qq.com>
Date: Fri, 15 Nov 2024 15:47:51 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=BD=91=E7=BB=9C=E5=9B=BE?=
=?UTF-8?q?=E7=89=87=E8=B7=AF=E5=BE=84?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/local_store.js | 4 +
bundle_b/pages/local_shop/local_pay.vue | 5 +-
components/active-area/active-area.vue | 4 +-
components/ad-swipers/ad-swipers.vue | 1 -
.../after-sales-list/after-sales-list.vue | 2 +-
components/bargain-list/bargain-list.vue | 2 +-
components/cate-home/cate-home.vue | 2 +-
components/cate-list/cate-list.vue | 2 +-
.../collection-list/collection-list.vue | 2 +-
components/comment-list/comment-list.vue | 2 +-
.../community-recommend.vue | 2 +-
components/coupon-list/coupon-list.vue | 2 +-
components/coupon-order/coupon-order.vue | 4 +-
.../exchange-order-list.vue | 2 +-
components/goods-column/goods-column.vue | 2 +-
components/group-list/group-list.vue | 2 +-
components/home-seckill/home-seckill.vue | 2 +-
components/index-home/index-home.vue | 2 +-
components/mall-news/mall-news.vue | 2 +-
components/my-coupons/my-coupons.vue | 2 +-
components/order-list/order-list.vue | 2 +-
components/product-swiper/product-swiper.vue | 78 ++++++++++++++++---
components/shop-recommend/shop-recommend.vue | 4 +-
components/spread-order/spread-order.vue | 2 +-
config/app.js | 2 +-
main.js | 1 +
pages/active_list/active_list.vue | 2 +-
pages/get_coupon/get_coupon.vue | 2 +-
pages/goods_details/goods_details.vue | 12 ++-
pages/goods_search/goods_search.vue | 2 +-
pages/index/index.vue | 3 +-
pages/local_life/local_life.vue | 12 +--
pages/new_goods/index.vue | 2 +-
pages/news_list/news_list.vue | 2 +-
pages/notice/notice.vue | 2 +-
pages/shop_street/shop_street.vue | 2 +-
pages/store_index/store_index.vue | 2 +-
pages/user/user.vue | 7 +-
uni.scss | 2 +
39 files changed, 120 insertions(+), 69 deletions(-)
diff --git a/api/local_store.js b/api/local_store.js
index 6aa8e6d..e47015b 100644
--- a/api/local_store.js
+++ b/api/local_store.js
@@ -104,3 +104,7 @@ export function gh(data) {
return request.post("gh/pay", data)
}
+export function wxPay(data) {
+ return request.post("gt/wxPay", data)
+}
+
diff --git a/bundle_b/pages/local_shop/local_pay.vue b/bundle_b/pages/local_shop/local_pay.vue
index 4f6c5e0..0dafe91 100644
--- a/bundle_b/pages/local_shop/local_pay.vue
+++ b/bundle_b/pages/local_shop/local_pay.vue
@@ -175,7 +175,8 @@
} from '@/api/user.js'
import {
payTest,
- huifu
+ huifu,
+ wxPay
} from '@/api/local_store.js'
import {
getLocalShopById
@@ -425,7 +426,7 @@
// this.handleWechatPay(pay);
// }
// })
- payTest({
+ wxPay({
money: this.money,
lid: this.lstore_id,
user_id: this.user_id,
diff --git a/components/active-area/active-area.vue b/components/active-area/active-area.vue
index 3b331c4..9945807 100644
--- a/components/active-area/active-area.vue
+++ b/components/active-area/active-area.vue
@@ -52,11 +52,11 @@
overflow: hidden;
&.new {
- background-image: url(https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/index_new_bg.png);
+ background-image: url(#{$aliOSS-path}uniapp/index_new_bg.png);
}
&.hot {
- background-image: url(https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/index_hot_bg.png);
+ background-image: url(#{$aliOSS-path}uniapp/index_hot_bg.png);
}
.active-hd {
diff --git a/components/ad-swipers/ad-swipers.vue b/components/ad-swipers/ad-swipers.vue
index 7672057..3ff3849 100644
--- a/components/ad-swipers/ad-swipers.vue
+++ b/components/ad-swipers/ad-swipers.vue
@@ -8,7 +8,6 @@
-
diff --git a/components/after-sales-list/after-sales-list.vue b/components/after-sales-list/after-sales-list.vue
index ec3ad85..7f7b822 100644
--- a/components/after-sales-list/after-sales-list.vue
+++ b/components/after-sales-list/after-sales-list.vue
@@ -172,7 +172,7 @@
auto: false,
noMoreSize: 4,
empty: {
- icon: 'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/order_null.png',
+ icon: `${this.$aliOSS}uniapp/order_null.png`,
tip: '暂无售后~',
fixed: true
}
diff --git a/components/bargain-list/bargain-list.vue b/components/bargain-list/bargain-list.vue
index 75ea2c0..10702ce 100644
--- a/components/bargain-list/bargain-list.vue
+++ b/components/bargain-list/bargain-list.vue
@@ -63,7 +63,7 @@
auto: true,
noMoreSize: 4,
empty: {
- icon: 'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/goods_null.png',
+ icon: `${this.$aliOSS}uniapp/goods_null.png`,
tip: '暂无砍价记录~',
fixed: true
}
diff --git a/components/cate-home/cate-home.vue b/components/cate-home/cate-home.vue
index 04ed4f6..bf4832b 100644
--- a/components/cate-home/cate-home.vue
+++ b/components/cate-home/cate-home.vue
@@ -55,7 +55,7 @@
auto: false,
noMoreSize: 1,
empty: {
- icon: 'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/goods_null.png',
+ icon: `${this.$aliOSS}uniapp/goods_null.png`,
tip: '暂无商品~',
}
},
diff --git a/components/cate-list/cate-list.vue b/components/cate-list/cate-list.vue
index 6846214..a5a1f9d 100644
--- a/components/cate-list/cate-list.vue
+++ b/components/cate-list/cate-list.vue
@@ -56,7 +56,7 @@
auto: false,
noMoreSize: 1,
empty: {
- icon: 'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/goods_null.png',
+ icon: `${this.$aliOSS}uniapp/goods_null.png`,
tip: '暂无商品~',
}
},
diff --git a/components/collection-list/collection-list.vue b/components/collection-list/collection-list.vue
index 5604bd1..3af74c3 100644
--- a/components/collection-list/collection-list.vue
+++ b/components/collection-list/collection-list.vue
@@ -85,7 +85,7 @@
auto: false,
noMoreSize: 4,
empty: {
- icon: 'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/goods_null.png',
+ icon: `${this.$aliOSS}uniapp/goods_null.png`,
tip: '暂无收藏~',
fixed: true
}
diff --git a/components/comment-list/comment-list.vue b/components/comment-list/comment-list.vue
index 5baefd7..b7e5b18 100644
--- a/components/comment-list/comment-list.vue
+++ b/components/comment-list/comment-list.vue
@@ -84,7 +84,7 @@
auto: false,
noMoreSize: 4,
empty: {
- icon: 'https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/goods_null.png',
+ icon: `${this.$aliOSS}uniapp/goods_null.png`,
tip: '暂无评价~',
fixed: true
}
diff --git a/components/community-recommend/community-recommend.vue b/components/community-recommend/community-recommend.vue
index 4e194b9..32078a3 100644
--- a/components/community-recommend/community-recommend.vue
+++ b/components/community-recommend/community-recommend.vue
@@ -36,7 +36,7 @@
background-repeat: no-repeat;
border-radius: 14rpx;
overflow: hidden;
- background-image: url(https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/index_community_bg.png);
+ background-image: url(#{$aliOSS-path}uniapp/index_community_bg.png);
.active-hd {
padding: 24rpx 20rpx;
diff --git a/components/coupon-list/coupon-list.vue b/components/coupon-list/coupon-list.vue
index 843a0d6..e2c6bd6 100644
--- a/components/coupon-list/coupon-list.vue
+++ b/components/coupon-list/coupon-list.vue
@@ -146,7 +146,7 @@
background-size: 100% 100%;
&.gray {
- background-image: url(https://zjeloong.oss-cn-hangzhou.aliyuncs.com/uniapp/coupon_bg_grey.png);
+ background-image: url(#{$aliOSS-path}uniapp/coupon_bg_grey.png);
.btn {
&.plain {
diff --git a/components/coupon-order/coupon-order.vue b/components/coupon-order/coupon-order.vue
index 1594be7..6b78741 100644
--- a/components/coupon-order/coupon-order.vue
+++ b/components/coupon-order/coupon-order.vue
@@ -89,7 +89,7 @@
}
};
-
+
+ .txt {
+ background-color: #FF2C3C;
+ width: 80rpx;
+ height: 80rpx;
+ text-align: center;
+ line-height: 80rpx;
+ border-radius: 50%;
+ position: absolute;
+ top: 180rpx;
+ left: 20rpx;
+ color: #fff;
+ box-shadow: 0 0 24rpx 0 #d59797;
+ z-index: 2;
+ font-size: 32rpx;
+ font-weight: bold;
+ }
+
+ .con {
+ background-color: rgb(255 44 60);
+ box-shadow: 0 0 12px 0 #ea6f6f;
+ transition: all 0.5s ease;
+ transform: translateX(26rpx);
+ position: absolute;
+ top: 192rpx;
+ color: #fff;
+ z-index: 1;
+ opacity: 0;
+ padding: 10rpx 20rpx;
+ border-radius: 10rpx;
+ }
+
+ .active {
+ opacity: 1;
+ transform: translateX(84rpx);
+ }
+
\ No newline at end of file
diff --git a/components/shop-recommend/shop-recommend.vue b/components/shop-recommend/shop-recommend.vue
index d6f867f..1ba58bc 100644
--- a/components/shop-recommend/shop-recommend.vue
+++ b/components/shop-recommend/shop-recommend.vue
@@ -88,10 +88,10 @@