소스 검색

客户页面

wangxy 1 개월 전
부모
커밋
3492eb83da
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      pages/admin/Hetong/sanfangHetong.vue

+ 3 - 3
pages/admin/Hetong/sanfangHetong.vue

@@ -45,12 +45,12 @@
 									<view @click="handleDelete(item)" class="del-btn-box">
 										<icon class="del-btn"></icon>
 									</view>
-									<button type="default" class="phone-green-btn ht-head-btn" @click="tuisong(item)">推送</button>
+									<button type="default" class="phone-green-btn ht-head-btn" v-if="item.status == 0" @click="tuisong(item)">推送</button>
 									<button type="default" class="phone-green-btn ht-head-btn"
 										@click.stop="handlePreview(item)">预览</button>
 									<button type="default" class="phone-white-btn ht-head-btn"
-										@click.stop="handleEditor(item)">编辑</button>
-									<button type="default"  class="phone-white-btn ht-head-btn"
+										@click.stop="handleEditor(item)" v-if="item.status<2">编辑</button>
+									<button type="default" v-if="item.status==1" class="phone-white-btn ht-head-btn"
 										@click.stop="handleShengxiao(item)">生效</button>
 								</view>
 								<view class="card-body-row">