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 @@