From dd13f704cd41f0f4d84bb48f5d216112250fe1a3 Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期三, 21 六月 2023 15:36:42 +0800
Subject: [PATCH] no message

---
 uniapp/pages/active/tmsearch.vue |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/uniapp/pages/active/tmsearch.vue b/uniapp/pages/active/tmsearch.vue
index 2de88e6..ab12727 100644
--- a/uniapp/pages/active/tmsearch.vue
+++ b/uniapp/pages/active/tmsearch.vue
@@ -8,7 +8,7 @@
 					&#xe630;
 				</view>
 				<view class="titleBox rowCen" :style="'color:'+ (scrollTop<fiexdtop?'#DD2425;':'#ffffff;')">
-					澶╃尗
+					
 				</view>
 				<view class="rightEmpty">
 				</view>
@@ -18,11 +18,11 @@
 			<view class="search-region colCen">
 				<view class="pageTitle-bar rowCenCen">
 					<view class="leftIcon defIcon">
-						<image src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/tmlogo.png" mode="aspectFill"></image>
+						<image src="https://yanfeiobpub.obs.cn-east-3.myhuaweicloud.com/dfg/tblogo.jpeg" mode="aspectFill"></image>
 					</view>
 					<view class="titleInfo colSta">
 						<view class="topfont">
-							澶╃尗浼樻儬鍒稿ぇ鏀鹃��
+							娣樺疂浼樻儬鍒稿ぇ鏀鹃��
 						</view>
 						<view class="bottomfont">
 							鍏堥鍒� 鍐嶈喘鐗� 鐪佸崈鍏�
@@ -122,7 +122,9 @@
 			    this.$u.api.getTopCalss({ctype:1,parentId:0}).then(e => {
 				    console.log(e);
 					if(e.code != 0)return that.$alert(e.msg)
+					e.data.list.unshift({cid:"-1",cname:"澶╃尗瓒呭競",ctype:"1"});
 					e.data.list.unshift({cid:"0",cname:"鍏ㄩ儴",ctype:"1"});
+					
 					that.navList = e.data.list;
 					that.nowCurrent = that.navList[0].cid
 					that.getData()
@@ -132,10 +134,12 @@
 			getData() {
 				var that = this;
 				var cateid=that.nowCurrent=="0"?"":that.nowCurrent;
+				var tchaoshi=cateid==-1?1:0;
 				this.$u.api.getTbGoodsList({
 					cateId: cateid,
 					page: this.pageCurrent,
-					pageSize: 10
+					pageSize: 10,
+					tchaoshi:tchaoshi
 				}).then(e => {
 					console.log(e);
 					if (e.code != 0) return that.$alert(e.msg)
@@ -202,7 +206,7 @@
 			top: 0;
 			left: 0;
 			z-index: 110;
-			background: linear-gradient(266deg, #E7251C, #E7251C);
+			background: linear-gradient(266deg, #F97B24, #F97B24);
 
 			.headerBar-container {
 				width: 100%;
@@ -235,7 +239,7 @@
 				width: 100%;
 				height: 340rpx;
 				padding: 0 75rpx;
-				background: linear-gradient(266deg, #E7251C, #E7251C);
+				background: linear-gradient(266deg, #F97B24, #F97B24);
 
 				.pageTitle-bar {
 					width: 100%;
@@ -291,7 +295,7 @@
 					.right-btn {
 						width: 116rpx;
 						height: 60rpx;
-						background: linear-gradient(266deg, #FF012E, #FF1017);
+						background: linear-gradient(266deg, #F97B24, #F97B24);
 						border-radius: 30rpx;
 						font-size: 24rpx;
 						font-weight: 500;
@@ -366,7 +370,7 @@
 
 					.goods-items {
 						width: 336rpx;
-						height: 526rpx;
+						height: 546rpx;
 						margin-bottom: 20rpx;
 
 						.items-container {

--
Gitblit v1.9.3