|
@@ -4,7 +4,7 @@
|
|
<!-- 问答类别 -->
|
|
<!-- 问答类别 -->
|
|
<ul class="wendaFL" v-for="(e,idx) in typeList" :key="idx" style="width: 48%;">
|
|
<ul class="wendaFL" v-for="(e,idx) in typeList" :key="idx" style="width: 48%;">
|
|
<li class="sanNong" style="width: 100%;">
|
|
<li class="sanNong" style="width: 100%;">
|
|
- <image :src="loadImgSrcLocalhost('e.path')" class="lbBj" @tap="goSanNong"></image>
|
|
|
|
|
|
+ <image :src="loadImgSrcLocalhost(e.path)" class="lbBj" @tap="goSanNong"></image>
|
|
<h2>{{obj.type}}</h2>
|
|
<h2>{{obj.type}}</h2>
|
|
<span>1566</span>
|
|
<span>1566</span>
|
|
</li>
|
|
</li>
|
|
@@ -13,7 +13,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import upload from '../../components/upload/index.vue'
|
|
|
|
|
|
+import upload from '@/components/upload/index.vue'
|
|
import {getTypeList} from '@/api/asking/asking.js'
|
|
import {getTypeList} from '@/api/asking/asking.js'
|
|
export default {
|
|
export default {
|
|
components: {
|
|
components: {
|
|
@@ -48,7 +48,6 @@ export default {
|
|
//获取类型列表
|
|
//获取类型列表
|
|
getTypeList(){
|
|
getTypeList(){
|
|
getTypeList(this.queryParams).then(res =>{
|
|
getTypeList(this.queryParams).then(res =>{
|
|
- debugger
|
|
|
|
this.typeList = res.rows
|
|
this.typeList = res.rows
|
|
})
|
|
})
|
|
},
|
|
},
|