Browse Source

修改收藏

zs 1 năm trước cách đây
mục cha
commit
5f60d26e4c

+ 5 - 5
config.js

@@ -19,11 +19,11 @@ export default {
 			title: "基本信息",
 			title: "基本信息",
 			route: "pagesMy/basic/index",
 			route: "pagesMy/basic/index",
 		},
 		},
-		{
-			icon: "car",
-			title: "我的收藏",
-			route: "pagesMy/collect/index",
-		},
+		// {
+		// 	icon: "car",
+		// 	title: "我的收藏",
+		// 	route: "pagesMy/collect/index",
+		// },
 		{
 		{
 			icon: "hourglass",
 			icon: "hourglass",
 			title: "评估车辆",
 			title: "评估车辆",

+ 6 - 6
pagesHome/car/index.vue

@@ -212,10 +212,10 @@
 					<u-icon color="#000" name="red-packet" size="20"></u-icon>
 					<u-icon color="#000" name="red-packet" size="20"></u-icon>
 					<text>分期购车</text>
 					<text>分期购车</text>
 				</view>
 				</view>
-				<view class="left" @click="toCollect">
+				<!-- <view class="left" @click="toCollect">
 					<u-icon color="#000" name="heart" size="20"></u-icon>
 					<u-icon color="#000" name="heart" size="20"></u-icon>
 					<text>收藏</text>
 					<text>收藏</text>
-				</view>
+				</view> -->
 			</view>
 			</view>
 			<view class="foot_2">
 			<view class="foot_2">
 				<button class="left-btn" @click="toChat">联系卖家</button>
 				<button class="left-btn" @click="toChat">联系卖家</button>
@@ -708,8 +708,8 @@
 
 
 			.foot_1 {
 			.foot_1 {
 				display: flex;
 				display: flex;
-				justify-content: space-between;
-				width: 25%;
+				justify-content: center;
+				width: 20%;
 
 
 				.left {
 				.left {
 					display: flex;
 					display: flex;
@@ -723,7 +723,7 @@
 				display: flex;
 				display: flex;
 				justify-content: space-around;
 				justify-content: space-around;
 				align-items: center;
 				align-items: center;
-				width: 73%;
+				width: 85%;
 
 
 				.left-btn {
 				.left-btn {
 					background-color: var(--fF0Color);
 					background-color: var(--fF0Color);
@@ -734,7 +734,7 @@
 				.right-btn {
 				.right-btn {
 					background-color: var(--fFFColor);
 					background-color: var(--fFFColor);
 					color: var(--mainColor);
 					color: var(--mainColor);
-					width: 45vw;
+					width: 50vw;
 					font-size: var(--font16Size);
 					font-size: var(--font16Size);
 				}
 				}
 			}
 			}

+ 0 - 2
pagesHome/rank/index.vue

@@ -44,8 +44,6 @@
 	// 请求接口
 	// 请求接口
 	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
 	const $api = getCurrentInstance()?.appContext.config.globalProperties.$api;
 	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
 	const $config = getCurrentInstance()?.appContext.config.globalProperties.$config;
-	// 偏移
-	const offset = ref(['-2px', '355px']);
 	const tabList = ref(['销量榜', '保值榜', '店铺规模榜']);
 	const tabList = ref(['销量榜', '保值榜', '店铺规模榜']);
 	const curNow = ref(0);
 	const curNow = ref(0);
 	// 基本信息
 	// 基本信息

+ 5 - 5
unpackage/dist/dev/mp-weixin/config.js

@@ -19,11 +19,11 @@ const config = {
       title: "基本信息",
       title: "基本信息",
       route: "pagesMy/basic/index"
       route: "pagesMy/basic/index"
     },
     },
-    {
-      icon: "car",
-      title: "我的收藏",
-      route: "pagesMy/collect/index"
-    },
+    // {
+    // 	icon: "car",
+    // 	title: "我的收藏",
+    // 	route: "pagesMy/collect/index",
+    // },
     {
     {
       icon: "hourglass",
       icon: "hourglass",
       title: "评估车辆",
       title: "评估车辆",

+ 2 - 11
unpackage/dist/dev/mp-weixin/pagesHome/car/index.js

@@ -143,9 +143,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
         url: `/pagesHome/picture/index?id=${info.value.id || info.value._id}&shop=${shop.value._id}`
         url: `/pagesHome/picture/index?id=${info.value.id || info.value._id}&shop=${shop.value._id}`
       });
       });
     };
     };
-    const toCollect = () => {
-      console.log("收藏");
-    };
     return (_ctx, _cache) => {
     return (_ctx, _cache) => {
       var _a2, _b, _c, _d, _e, _f, _g;
       var _a2, _b, _c, _d, _e, _f, _g;
       return {
       return {
@@ -250,14 +247,8 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
           size: "20"
           size: "20"
         }),
         }),
         T: common_vendor.o(toChat),
         T: common_vendor.o(toChat),
-        U: common_vendor.p({
-          color: "#000",
-          name: "heart",
-          size: "20"
-        }),
-        V: common_vendor.o(toCollect),
-        W: common_vendor.o(toChat),
-        X: common_vendor.o(toChat)
+        U: common_vendor.o(toChat),
+        V: common_vendor.o(toChat)
       };
       };
     };
     };
   }
   }

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1 - 1
unpackage/dist/dev/mp-weixin/pagesHome/car/index.wxml


+ 4 - 4
unpackage/dist/dev/mp-weixin/pagesHome/car/index.wxss

@@ -260,8 +260,8 @@
 }
 }
 .content .foot .foot_1.data-v-6b665083 {
 .content .foot .foot_1.data-v-6b665083 {
   display: flex;
   display: flex;
-  justify-content: space-between;
-  width: 25%;
+  justify-content: center;
+  width: 20%;
 }
 }
 .content .foot .foot_1 .left.data-v-6b665083 {
 .content .foot .foot_1 .left.data-v-6b665083 {
   display: flex;
   display: flex;
@@ -273,7 +273,7 @@
   display: flex;
   display: flex;
   justify-content: space-around;
   justify-content: space-around;
   align-items: center;
   align-items: center;
-  width: 73%;
+  width: 85%;
 }
 }
 .content .foot .foot_2 .left-btn.data-v-6b665083 {
 .content .foot .foot_2 .left-btn.data-v-6b665083 {
   background-color: var(--fF0Color);
   background-color: var(--fF0Color);
@@ -283,7 +283,7 @@
 .content .foot .foot_2 .right-btn.data-v-6b665083 {
 .content .foot .foot_2 .right-btn.data-v-6b665083 {
   background-color: var(--fFFColor);
   background-color: var(--fFFColor);
   color: var(--mainColor);
   color: var(--mainColor);
-  width: 45vw;
+  width: 50vw;
   font-size: var(--font16Size);
   font-size: var(--font16Size);
 }
 }
 .scroll-view.data-v-6b665083 {
 .scroll-view.data-v-6b665083 {

+ 0 - 1
unpackage/dist/dev/mp-weixin/pagesHome/rank/index.js

@@ -14,7 +14,6 @@ const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
     var _a, _b;
     var _a, _b;
     const $api = (_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$api;
     const $api = (_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$api;
     (_b = common_vendor.getCurrentInstance()) == null ? void 0 : _b.appContext.config.globalProperties.$config;
     (_b = common_vendor.getCurrentInstance()) == null ? void 0 : _b.appContext.config.globalProperties.$config;
-    common_vendor.ref(["-2px", "355px"]);
     const tabList = common_vendor.ref(["销量榜", "保值榜", "店铺规模榜"]);
     const tabList = common_vendor.ref(["销量榜", "保值榜", "店铺规模榜"]);
     const curNow = common_vendor.ref(0);
     const curNow = common_vendor.ref(0);
     const config = common_vendor.ref({ logoUrl: [] });
     const config = common_vendor.ref({ logoUrl: [] });