李书文 hai 1 ano
pai
achega
be0f23f283
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      pages/market/two/list.vue

+ 2 - 2
pages/market/two/list.vue

@@ -18,7 +18,7 @@
 			</view>
 			<view class="item" v-for="(item, index) in list" :key="index" @click="detail(item)">
 				<view class="title">{{ item.createName }}</view>
-				<view class="check" @click.stop="selected(item)">
+				<view class="check" @click.stop="selected(item)" v-if="user.userType == 3">
 					<text class="check icon" v-if="item.check" style="color: #4581fb">&#xe631;</text>
 					<text class="check icon" v-else>&#xe60c;</text>
 				</view>
@@ -39,7 +39,7 @@
 			<text class="icon">&#xe600;</text>
 			<view class="bag animated" :class="{ bounce: add }" v-if="cars > 0">{{ cars }}</view>
 		</button>
-		<view class="mfooter" v-if="selects.length > 0">
+		<view class="mfooter" v-if="selects.length > 0&&user.userType == 3">
 			<view class="flex">
 				<view class="f">
 					<button class="btn" @click="buy({})">立即购买({{ selects.length }})</button>