29925
This commit is contained in:
		@@ -24,7 +24,7 @@
 | 
			
		||||
        <div class="address">{{ detail.address }}</div>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="btn-wrapper" v-if="type==1">
 | 
			
		||||
    <div class="btn-wrapper" v-if="detail.openId == user.openId">
 | 
			
		||||
      <div class="btn" @click="unDo" hover-class="text-hover">撤销发布</div>
 | 
			
		||||
    </div>
 | 
			
		||||
    <!-- <div class="btn" @click="unDo" v-if="type==1">撤销发布</div> -->
 | 
			
		||||
@@ -32,6 +32,7 @@
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
<script>
 | 
			
		||||
import {mapState} from 'vuex'
 | 
			
		||||
export default {
 | 
			
		||||
  name: "agDetail",
 | 
			
		||||
  appName: "农产品详情",
 | 
			
		||||
@@ -47,6 +48,9 @@ export default {
 | 
			
		||||
    this.type = opt.type;
 | 
			
		||||
    this.getDetail();
 | 
			
		||||
  },
 | 
			
		||||
  computed: {
 | 
			
		||||
    ...mapState(['user'])
 | 
			
		||||
  },
 | 
			
		||||
  methods: {
 | 
			
		||||
    preview(index) {
 | 
			
		||||
      this.$previewImage(this.detail.files, index, "url");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user