修改样式

This commit is contained in:
yangjun 2023-10-25 21:09:15 +08:00
parent ede8430a89
commit 083396d3a6
1 changed files with 14 additions and 4 deletions

View File

@ -36,10 +36,11 @@
{{ item.skdd }}
</div>
</a-col>
<a-col :span="24" v-if="listType == 1 || listType == '1'">
<a-col :span="24">
<!-- <a-col :span="24" v-if="listType == 1 || listType == '1'"> -->
<a-row style="text-align: center;">
<a-col :span="12">
<a-button type="primary" class="yyyClass" @click="toLivePage(item)" :disabled="item.sfyzhjs=='0' " v-if="item.sftkb!='1'" style="color: white;">听课</a-button>
<a-button type="primary" :class="handleZhjs(item.sfyzhjs)" @click="toLivePage(item)" :disabled="item.sfyzhjs=='0' " v-if="item.sftkb!='1'" style="color: white;">听课</a-button>
<a-button type="primary" class="yyyClass" @click="toLivePage(item)" :disabled="true" v-else style="color: white;" :title="`停课事由:`+item.tksy">停课</a-button>
</a-col>
<a-col :span="12" v-if="item.sftkb=='1'">
@ -53,8 +54,8 @@
</a-col> -->
</a-row>
</a-col>
<!-- <a-col :span="24" style="text-align: center;"> -->
<a-col :span="24" v-else style="text-align: center;">
<a-col :span="24" style="text-align: center;">
<!-- <a-col :span="24" v-else style="text-align: center;"> -->
<div v-show="!isNow(item)">
<span v-if="props.type == 'zzsk'">
<!-- 正在上课的就给个评价 -->
@ -168,6 +169,15 @@ function rkbLoadData() {
}
function handleZhjs(sfyzhjs){
if(sfyzhjs=='0'){
return 'yyyClass';
}else{
return 'yyClass';
}
}
//
async function funYuyue(record){
var params = {ketangbiaoid:record.id,userid:getUserId(),username:userStore?.getUserInfo?.realname,skrq:record.skrq,hh:record.hh,zbpx:record.zbpx,link:'',isdeleted:0};