guhongwei 2 năm trước cách đây
mục cha
commit
c6d3916274
1 tập tin đã thay đổi với 29 bổ sung2 xóa
  1. 29 2
      pagesHome/market/search.vue

+ 29 - 2
pagesHome/market/search.vue

@@ -11,8 +11,8 @@
 							商品筛选
 						</view>
 						<view class="two_2">
-							<view v-for="(item,index) in list" :key="index">
-								<image :src="item.url" mode=""></image>
+							<view class="list" v-for="(item,index) in list" :key="index">
+								<image class="image" :src="item.url" mode=""></image>
 								<view class="name">
 									{{item.name}}
 								</view>
@@ -60,6 +60,10 @@
 		},
 		onShow: function() {},
 		methods: {
+			// 分页
+			toPage(e) {
+
+			},
 			// 输入框
 			toInput(e) {
 				const that = this;
@@ -91,6 +95,29 @@
 		.two {
 			position: relative;
 			flex-grow: 1;
+
+			.two_1 {}
+
+			.two_2 {
+				display: flex;
+				flex-direction: row;
+
+				.list {
+					border: 1px solid #ff0000;
+
+					.image {
+						width: 100%;
+						height: 10vw;
+					}
+
+					.name {
+						font-size: 16px;
+						margin: 0 0 1vw 0;
+					}
+
+					.other {}
+				}
+			}
 		}
 	}