From 7d72b178dc51ee0d1f6bc4b5013edce22ee13ee4 Mon Sep 17 00:00:00 2001
From: wangdong <1551135706@qq.com>
Date: Tue, 4 Jun 2024 21:50:26 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config.js | 4 ++--
pages/goods/detail.vue | 4 ++--
pages/goods/seckillDetail.vue | 4 ++--
pages/shopList/shopPage.vue | 39 ++++++++++++++++++++++++++++-------
4 files changed, 38 insertions(+), 13 deletions(-)
diff --git a/config.js b/config.js
index 0bf8ec8..eda9d75 100644
--- a/config.js
+++ b/config.js
@@ -7,9 +7,9 @@ export default {
* 后端api地址 (必填; 斜杠/结尾; 请确保能访问)
* 例如: https://www.你的域名.com/index.php?s=/api/
*/
- // apiUrl: "https://www.royaum.com.cn/index.php?s=/api/",
+ apiUrl: "https://www.royaum.com.cn/index.php?s=/api/",
- apiUrl: "https://test-www.royaum.com.cn/index.php?s=/api/",
+ // apiUrl: "https://test-www.royaum.com.cn/index.php?s=/api/",
picUrl:'https://www.royaum.com.cn',
/**
diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue
index ec2dabf..a9016ff 100644
--- a/pages/goods/detail.vue
+++ b/pages/goods/detail.vue
@@ -139,14 +139,14 @@
-
+
{{ goods.merchant.shop_name }}
- {{ goods.merchant.shop_label }}
+ {{ goods.merchant.shop_label }}
diff --git a/pages/goods/seckillDetail.vue b/pages/goods/seckillDetail.vue
index a98b790..44f15f7 100644
--- a/pages/goods/seckillDetail.vue
+++ b/pages/goods/seckillDetail.vue
@@ -120,14 +120,14 @@
-
+
{{ goods.merchant.shop_name }}
- {{ goods.merchant.shop_label }}
+ {{ goods.merchant.shop_label }}
diff --git a/pages/shopList/shopPage.vue b/pages/shopList/shopPage.vue
index bfc518c..68173a9 100644
--- a/pages/shopList/shopPage.vue
+++ b/pages/shopList/shopPage.vue
@@ -34,7 +34,7 @@
{{ shopDetail.shop_label }}
- 证书
+ 证照
@@ -54,7 +54,17 @@
-
+
{{ item.name }}
@@ -120,7 +130,7 @@
filterList: [
{ name: '综合', value: 'all' },
{ name: '价格', value: 'price' },
- { name: '折扣', value: 'discount' },
+ // { name: '折扣', value: 'discount' },
{ name: '销量', value: 'sales' }],
isTop: false,
page: 1,
@@ -173,7 +183,14 @@
},
methods: {
back() {
- uni.navigateBack();
+ let pages = getCurrentPages();
+ if (pages.length > 1) {
+ uni.navigateBack();
+ } else {
+ uni.reLaunch({
+ url: "/pages/index/index"
+ })
+ }
},
search() {
// 跳转商品搜索
@@ -252,7 +269,7 @@
console.log(data);
this.goods = this.goods.concat(data);
this.finished = data.length < 10;
- this.loadTitle = this.finished ? "已全部加载完" : "上拉加载更多";
+ this.loadTitle = this.finished ? "我是有底线的哦~" : "上拉加载更多";
})
}, 500),
toCart() {
@@ -472,14 +489,22 @@
.first-cate-tabs {
overflow-x: hidden;
overflow-y: auto;
+ background: #fff;
.cate-item {
width: 100%;
padding: 20rpx 30rpx;
color: #999999;
font-size: 24rpx;
position: relative;
+ background: #F0F4F3;
+ &.prev {
+ border-radius: 0 0 30rpx 0;
+ }
+ &.next {
+ border-radius: 0 30rpx 0 0;
+ }
&.active {
- background: #fff;
+ background: transparent;
&::before {
content: '';
position: absolute;
@@ -557,7 +582,7 @@
margin-right: 0;
}
>image {
- width: 290rpx;
+ width: 100%;
height: 287rpx;
}
.name {