소스 검색

Merge branch 'master' of http://git.cc-lotus.info/pointToNetwork/point-app

guhongwei 2 년 전
부모
커밋
6ef1b74477
1개의 변경된 파일7개의 추가작업 그리고 95개의 파일을 삭제
  1. 7 95
      pagesHome/shop/index.vue

+ 7 - 95
pagesHome/shop/index.vue

@@ -5,7 +5,8 @@
 				<view class="one_1" v-if="barActive=='0'">
 					<scroll-view scroll-y="true" class="scroll-view">
 						<view class="one_1_1">
-							<image class="image" :src="info.logo&&info.logo.length>0?info.logo[0].url:''" mode=""></image>
+							<image class="image" :src="info.logo&&info.logo.length>0?info.logo[0].url:''" mode="">
+							</image>
 						</view>
 						<view class="one_1_2">
 							<view class="pubu">
@@ -55,7 +56,9 @@
 								<view class="second_2">
 									<view class="pubu">
 										<view class="list" v-for="(item,index) in list" :key="index">
-											<image class="image" :src="item.file&&item.file.length>0?item.file[0].url:''" mode=""></image>
+											<image class="image"
+												:src="item.file&&item.file.length>0?item.file[0].url:''" mode="">
+											</image>
 											<view class="sale" v-if="item.is_sale==true">
 												<text>已售尽</text>
 											</view>
@@ -211,19 +214,11 @@
 		},
 		onLoad: async function(e) {
 			const that = this;
-			let id = '6333d71d32c5f69745f9bd32';
-			// if (e && e.id) id = e.id;
-			// else id = decodeURIComponent(e.q).split('id=')[1];
-			that.$set(that, `id`, id);
+			that.$set(that, `id`, e.id || '');
 			await that.watchLogin();
 			await that.search();
 			await that.searchOther();
 		},
-		onShow: function() {},
-		onReady: function() {
-			// const that = this;
-			// that.createQrcode();
-		},
 		methods: {
 			// 监听用户是否登录
 			watchLogin() {
@@ -724,88 +719,6 @@
 								}
 							}
 						}
-
-						// display: flex;
-						// flex-direction: row;
-						// flex-wrap: wrap;
-						// padding: 2vw 2vw 0 2vw;
-						// background-color: var(--f1Color);
-
-						// .list {
-						// 	position: relative;
-						// 	width: 43vw;
-						// 	margin: 0 2vw 2vw 0;
-						// 	padding: 2vw;
-						// 	border-radius: 9px;
-						// 	background-color: var(--fffColor);
-
-						// 	.image {
-
-						// 		width: 100%;
-						// 		height: 40vw;
-						// 	}
-
-						// 	.sale {
-						// 		position: absolute;
-						// 		top: 18vw;
-						// 		text-align: center;
-						// 		width: 43vw;
-
-						// 		text {
-						// 			background-color: #0000005f;
-						// 			border-radius: 90px;
-						// 			display: inline-block;
-						// 			width: 15vw;
-						// 			height: 15vw;
-						// 			color: var(--fffColor);
-						// 			text-align: center;
-						// 			line-height: 15vw;
-						// 		}
-						// 	}
-
-						// 	.name {
-						// 		font-size: var(--font16Size);
-						// 		margin: 0 0 1vw 0;
-						// 	}
-
-						// 	.other {
-						// 		display: flex;
-						// 		flex-direction: row;
-						// 		justify-content: space-between;
-
-						// 		.money {
-						// 			font-size: var(--font14Size);
-						// 			color: var(--ff0Color);
-
-						// 			text:nth-child(1) {
-						// 				font-size: var(--font12Size);
-						// 			}
-						// 		}
-
-						// 		.other_1 {
-						// 			flex-grow: 1;
-						// 			margin: 0 0 0 2vw;
-						// 			font-size: var(--font12Size);
-						// 			color: var(--f85Color);
-						// 		}
-
-						// 		.btn {
-						// 			button {
-						// 				border-radius: 25px;
-						// 				color: var(--fffColor);
-						// 				background-color: var(--ff0Color);
-						// 				font-size: var(--font12Size);
-
-						// 			}
-						// 		}
-						// 	}
-						// }
-
-						// .list:nth-child(2n) {
-						// 	margin: 0 0 2vw 0;
-						// }
-
-
 					}
 				}
 			}
@@ -859,7 +772,7 @@
 
 						.uqrcode {
 							top: 10vw;
-							left: 20%;
+							left: 23%;
 
 						}
 
@@ -870,7 +783,6 @@
 							width: 100vw;
 							bottom: -22vw;
 						}
-
 						// display: flex;
 						// justify-content: center;
 						// text-align: center;