qa 问题增加滚动条
This commit is contained in:
parent
808318bca1
commit
8fac0db11c
|
@ -15,7 +15,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
<div class="problem_container">
|
<div class="problem_container">
|
||||||
<div class="problem_left">
|
<div class="problem_left" v-infinite-scroll="load" :infinite-scroll-immediate="false" style="overflow:auto;padding: 10px;">
|
||||||
<div @click="handleQacityl(item.city_id)" class="btn" v-for="item in getQaCityList">{{ item.city_name }}</div>
|
<div @click="handleQacityl(item.city_id)" class="btn" v-for="item in getQaCityList">{{ item.city_name }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="problem_right">
|
<div class="problem_right">
|
||||||
|
|
|
@ -96,7 +96,7 @@ class QaController extends base
|
||||||
$qaQuestion = new QaQuestions();
|
$qaQuestion = new QaQuestions();
|
||||||
$qaQuestion->qa_id = $data->id;
|
$qaQuestion->qa_id = $data->id;
|
||||||
$qaQuestion->title = $v['title'];
|
$qaQuestion->title = $v['title'];
|
||||||
$qaQuestion->content = $v['content'];
|
$qaQuestion->content = urldecode($v['content']);
|
||||||
$qaQuestion->sort = $v['sort'];
|
$qaQuestion->sort = $v['sort'];
|
||||||
$qaQuestion->save();
|
$qaQuestion->save();
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ class QaController extends base
|
||||||
$qaQuestion = new QaQuestions();
|
$qaQuestion = new QaQuestions();
|
||||||
$qaQuestion->qa_id = $data->id;
|
$qaQuestion->qa_id = $data->id;
|
||||||
$qaQuestion->title = $v['title'];
|
$qaQuestion->title = $v['title'];
|
||||||
$qaQuestion->content = $v['content'];
|
$qaQuestion->content = urldecode($v['content']);
|
||||||
$qaQuestion->sort = $v['sort'];
|
$qaQuestion->sort = $v['sort'];
|
||||||
$qaQuestion->save();
|
$qaQuestion->save();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue