小程序底座架构完成
This commit is contained in:
@@ -5,11 +5,9 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import AiDetail from "../../components/AiDetail/AiDetail";
|
||||
|
||||
export default {
|
||||
name: "contentDetail",
|
||||
components: {AiDetail},
|
||||
data() {
|
||||
return {
|
||||
detail: {title: "内容详情"},
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<div class="search">
|
||||
<u-icon name="search" color="rgba(255,255,255,0.5)" size="40"></u-icon>
|
||||
<input placeholder="请输入需要搜索的内容" class="desc" placeholder-style="color:rgba(255,255,255,0.5);"
|
||||
confirm-type="search" @change="onChange"></input>
|
||||
confirm-type="search" @change="onChange"/>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -16,11 +16,9 @@
|
||||
|
||||
<script>
|
||||
import {mapState} from "vuex";
|
||||
import AiNewsList from "../../components/AiNewsList/AiNewsList";
|
||||
|
||||
export default {
|
||||
name: "contentManager",
|
||||
components: {AiNewsList},
|
||||
computed: {
|
||||
...mapState(['user']),
|
||||
loadmore() {
|
||||
@@ -47,7 +45,7 @@ export default {
|
||||
this.getData(val.detail.value);
|
||||
},
|
||||
getData(title = "") {
|
||||
let {current, search} = this
|
||||
let {current} = this
|
||||
this.moduleId && this.$instance.post("/app/appcontentinfo/list", null, {
|
||||
params: {moduleId: this.moduleId, current, size: 10, title}
|
||||
}).then(res => {
|
||||
|
||||
Reference in New Issue
Block a user