text:物品
This commit is contained in:
		@@ -22,7 +22,7 @@
 | 
			
		||||
        <u-icon name="arrow-down" size="28" color="#333333" :custom-style="{marginLeft:'8px'}"></u-icon>
 | 
			
		||||
      </span>
 | 
			
		||||
      <div class="total">
 | 
			
		||||
        共<em>{{ list.total }}</em>个农产品
 | 
			
		||||
        共<em>{{ list.total }}</em>个物品
 | 
			
		||||
      </div>
 | 
			
		||||
    </header>
 | 
			
		||||
    <div class="card-list">
 | 
			
		||||
 
 | 
			
		||||
@@ -18,7 +18,7 @@
 | 
			
		||||
    <div class="card">
 | 
			
		||||
      <div class="form">
 | 
			
		||||
        <em>*</em>
 | 
			
		||||
        <label>农产品类型</label>
 | 
			
		||||
        <label>物品类型</label>
 | 
			
		||||
        <AiSelect class="right" v-model="form.type" dict="agriculturalType"/>
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
@@ -90,7 +90,7 @@ export default {
 | 
			
		||||
    submit() {
 | 
			
		||||
      if (!!!this.form.title) return this.$u.toast("请输入标题");
 | 
			
		||||
      if (!!!this.form.content) return this.$u.toast("请输入详细描述");
 | 
			
		||||
      if (!!!this.form.type) return this.$u.toast("请选择农产品类型");
 | 
			
		||||
      if (!!!this.form.type) return this.$u.toast("请选择物品类型");
 | 
			
		||||
      if (!!!this.form.phone) return this.$u.toast("请输入联系方式");
 | 
			
		||||
      if (this.flag) return
 | 
			
		||||
      this.flag = true
 | 
			
		||||
 
 | 
			
		||||
@@ -30,7 +30,7 @@ import {mapState} from 'vuex'
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
  name: "agDetail",
 | 
			
		||||
  appName: "农产品详情",
 | 
			
		||||
  appName: "物品详情",
 | 
			
		||||
  data() {
 | 
			
		||||
    return {
 | 
			
		||||
      id: null,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user