修改bug
This commit is contained in:
parent
83bba62855
commit
ca421aae3d
|
@ -21,25 +21,25 @@
|
|||
<a-row >
|
||||
<a-col :xs="{ span: 0 }" :sm="{ span: 24 }" :lg="{ span: 24 }">
|
||||
<a-menu style="margin-top: 20px;" :selectable="false">
|
||||
<a-menu-item key="1" v-if="getSysConfig().flag7=='1'">
|
||||
<a class="abox" @click="toDom('tkzjDom')">听课足迹</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="2" v-if="getSysConfig().flag2=='1'">
|
||||
<a class="abox" @click="toDom('rkjcDom')">任教课程</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="3" v-if="getSysConfig().flag3=='1'">
|
||||
<a class="abox" @click="toDom('yykcDom')">预约课程</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="4" v-if="getSysConfig().flag4=='1'">
|
||||
<a class="abox" @click="toDom('jcgkkDom')">公 开 课</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="5" v-if="getSysConfig().flag5=='1'">
|
||||
<a class="abox" @click="toDom('kxstkktDom')">线上听课</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="6" v-if="getSysConfig().flag6=='1'">
|
||||
<a class="abox" @click="toDom('jrkclbDom')">今日课程</a>
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
<a-menu-item key="1" v-if="getSysConfig().flag7=='1'">
|
||||
<a class="abox" @click="toDom('tkzjDom')">听课足迹</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="2" v-if="getSysConfig().flag2=='1'">
|
||||
<a class="abox" @click="toDom('rkjcDom')">任教课程</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="3" v-if="getSysConfig().flag3=='1'">
|
||||
<a class="abox" @click="toDom('yykcDom')">预约课程</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="4" v-if="getSysConfig().flag4=='1'">
|
||||
<a class="abox" @click="toDom('jcgkkDom')">公 开 课</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="5" v-if="getSysConfig().flag5=='1'">
|
||||
<a class="abox" @click="toDom('kxstkktDom')">线上听课</a>
|
||||
</a-menu-item>
|
||||
<a-menu-item key="6" v-if="getSysConfig().flag6=='1'">
|
||||
<a class="abox" @click="toDom('jrkclbDom')">今日课程</a>
|
||||
</a-menu-item>
|
||||
</a-menu>
|
||||
</a-col>
|
||||
</a-row>
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<span class="" style="border-radius: 5px;">
|
||||
{{ ktangInfo.kcmc || ' ' }}
|
||||
</span>
|
||||
<span style="margin-left: 10px;background: #1c84c6;color: #fff;padding: 0.3rem;border-radius: 5px;" @click="() => tingKeZuJiAddModal.view({ ketangbiaoid: route.query.ktId })">填写评价表</span>
|
||||
<span style="margin-left: 10px;background: #1c84c6;color: #fff;padding: 3px;border-radius: 5px;font-size: 12px;" @click="() => tingKeZuJiAddModal.view({ ketangbiaoid: route.query.ktId })">填写评价表</span>
|
||||
<div style="font-size: .5rem;">
|
||||
{{ ktangInfo.zc || ' ' }}-{{ ktangInfo.skjs || ' ' }}
|
||||
</div>
|
||||
|
@ -23,7 +23,7 @@
|
|||
<div style="padding: 1rem;">
|
||||
<div >{{ mainVideoCardBoxTitle || '' }}</div>
|
||||
<bVideo ref="mainVideo" videoId="mainVideo" :videoOption="{ autoplay: true }"/>
|
||||
<div style="width: 100%;">
|
||||
<div style="width: 100%;margin-top:10px;">
|
||||
<a-textarea style="width: calc(100% - 7rem);height:120px;float: left;" v-model:value="model.notes" placeholder="您可以填写听课笔记"></a-textarea>
|
||||
<div style="width: 7rem;height: 100%;float: right;">
|
||||
<a-button type="primary" style="width: 7rem;height: 100%;" @click="openAllSuiBi">查看听课笔记</a-button>
|
||||
|
|
|
@ -151,6 +151,12 @@ onMounted(() => {
|
|||
function loadData(){
|
||||
queryParam.value.sfxs = '1'
|
||||
queryParam.value.pageSize = '4'
|
||||
|
||||
var width = window.screen.width * window.devicePixelRatio;
|
||||
console.log(`🚀 ~ file: index.vue:110 ~ newFunction ~ width:`, width)
|
||||
if(width<800){
|
||||
queryParam.value.pageSize = '1'
|
||||
}
|
||||
queryParam.value.pageNo = pageNo
|
||||
// queryParam.value.column = 'type'
|
||||
// queryParam.value.order = 'asc'
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<itemPage :data="item" @to-live-page="toLivePage" @funpingjia="funpingjia"></itemPage>
|
||||
</a-col>
|
||||
<a-col :span="25" style="line-height: 50px;">
|
||||
<div v-show="1 == pageNo && current>0">
|
||||
<div v-show="1 == pageNo && current>0 && pageNo != current">
|
||||
<div style="text-align: center;"><a @click="funMore">更多...</a></div>
|
||||
</div>
|
||||
<div v-show="current==0">
|
||||
|
@ -104,7 +104,7 @@ function loadData(num?) {
|
|||
|
||||
if(queryParam.value.hh!=","){
|
||||
list(queryParam.value).then(res => {
|
||||
// console.log(`🚀 ~ file: index.vue:104 ~ list ~ res:`, res)
|
||||
console.log(`🚀 ~ file: index.vue:104 ~ list ~ res:`, res)
|
||||
listData.value.push(...res.records)
|
||||
current = res.pages
|
||||
// listData.value = res.records;
|
||||
|
|
|
@ -105,7 +105,14 @@ function funQxyy(record){
|
|||
}
|
||||
|
||||
function newFunction() {
|
||||
listApi({ pageSize: 4, isdeleted: 0, userid: getUserId(), isOrderByNow: true }).then(res => {
|
||||
let pageSize = 4;
|
||||
var width = window.screen.width * window.devicePixelRatio;
|
||||
console.log(`🚀 ~ file: index.vue:110 ~ newFunction ~ width:`, width)
|
||||
if(width<800){
|
||||
pageSize = 1;
|
||||
}
|
||||
console.log(`🚀 ~ file: index.vue:113 ~ newFunction ~ pageSize:`, pageSize)
|
||||
listApi({ pageSize: pageSize, isdeleted: 0, userid: getUserId(), isOrderByNow: true }).then(res => {
|
||||
list.value = (res?.records) ?? [];
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue