mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-07 01:46:44 +08:00
筛选定位
This commit is contained in:
@@ -10,6 +10,10 @@ import ajax from '@/utils/xajax.js'
|
||||
const list=function(query){
|
||||
return ajax.post('/xboe/sys/message/list',query);
|
||||
}
|
||||
const mobilelist=function(query){
|
||||
return ajax.post('/xboe/sys/message/mobilelist',query);
|
||||
}
|
||||
// mobilelist
|
||||
/*
|
||||
删除消息
|
||||
@param ids 勾选的多个消息id
|
||||
@@ -61,5 +65,6 @@ export default{
|
||||
isRead,
|
||||
updateIsRead,
|
||||
readAll,
|
||||
cleanAll
|
||||
cleanAll,
|
||||
mobilelist
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<!-- ${filterWidth} -->
|
||||
<u-popup :show="filterShow" mode="center" @close="closeFilter" :safeAreaInsetTop="true" :closeable="false">
|
||||
<view :style="{width:filterWidth}" style="height: 100vh;padding-top: 32upx; overflow: auto;position: relative;">
|
||||
<view v-if="type==1" >
|
||||
<view v-if="type==1" style="margin-bottom: 400upx;">
|
||||
<view class="filter-title-top">
|
||||
<u-icon @click="filterShow = false" class="icon" name="arrow-left" color="#333333" size="20"></u-icon>课程分类
|
||||
</view>
|
||||
@@ -22,6 +22,9 @@
|
||||
<view class="filter-option" :class="{'filter-checked':course.courseType==20}" @click="setCourseFilter('courseType',20)">录播课</view>
|
||||
<view class="filter-option" :class="{'filter-checked':course.courseType==30}" @click="setCourseFilter('courseType',30)">线下课</view>
|
||||
<view class="filter-option" :class="{'filter-checked':course.courseType==40}" @click="setCourseFilter('courseType',40)">学习项目</view>
|
||||
</view>
|
||||
<view class="">
|
||||
|
||||
</view>
|
||||
<view class="filter-title" style="margin-top: 10upx;">内容分类</view>
|
||||
<view class="filter-body">
|
||||
@@ -189,6 +192,7 @@
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
stopRoll(){},
|
||||
toNewLink(){
|
||||
location.href='https://m.qingxuetang.com/x/?appId=qxtcorp306130';
|
||||
},
|
||||
@@ -492,6 +496,10 @@
|
||||
}
|
||||
}
|
||||
.filter-footer{
|
||||
position: fixed;
|
||||
bottom: 126upx;
|
||||
left: 0;
|
||||
right:0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 84upx;
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
}
|
||||
let $this = this;
|
||||
uni.showLoading({ title: '加载中...' });
|
||||
apiMessage.list(this.queryData).then(res => {
|
||||
apiMessage.mobilelist(this.queryData).then(res => {
|
||||
if (res.status == 200) {
|
||||
let ids = [];
|
||||
this.emptyControl=true
|
||||
|
||||
Reference in New Issue
Block a user