小程序底座架构完成

This commit is contained in:
aixianling
2022-02-15 15:38:20 +08:00
parent 24dfdac7b9
commit 9ec4c3568a
23 changed files with 1716 additions and 1206 deletions

View File

@@ -5,11 +5,9 @@
</template>
<script>
import AiDetail from "../../components/AiDetail/AiDetail";
export default {
name: "contentDetail",
components: {AiDetail},
data() {
return {
detail: {title: "内容详情"},

View File

@@ -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 => {