mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 04:46:46 +08:00
style:新版面授课界面添加
This commit is contained in:
@@ -251,11 +251,16 @@
|
||||
">
|
||||
<div class="opa">
|
||||
<div class="opacation">
|
||||
<span style="
|
||||
color: #4ea6ff;
|
||||
margin-right: 25px;
|
||||
cursor: pointer;
|
||||
" @click="editTaskForType(element,index)">
|
||||
<span
|
||||
v-if="element.type==2"
|
||||
style="color: #4ea6ff; cursor: pointer;"
|
||||
@click="openCourse(element,index)">
|
||||
开课
|
||||
</span>
|
||||
<span
|
||||
style="color: #4ea6ff;cursor: pointer;"
|
||||
:style="{marginRight:element.type==2?6+'px':25+'px',marginLeft:element.type==2?6+'px':0+'px'}"
|
||||
@click="editTaskForType(element,index)">
|
||||
编辑
|
||||
</span>
|
||||
<span style="color: #4ea6ff; cursor: pointer" @click="confirmDelTask(index)">
|
||||
@@ -387,6 +392,8 @@
|
||||
</div>
|
||||
</div>
|
||||
</a-modal>
|
||||
<!-- 面授课开课弹框 -->
|
||||
<AddOpenCourse v-model:visible="opencourseVisible"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -395,6 +402,7 @@ import {computed, onMounted, ref, watch,} from "vue";
|
||||
import {message} from "ant-design-vue";
|
||||
import * as api from "../../api/indexTaskadd";
|
||||
import UnlockMode from "../../components/drawers/UnlockMode.vue";
|
||||
import AddOpenCourse from "@/components/drawers/AddOpenCourse.vue";
|
||||
import Draggable from "vuedraggable";
|
||||
import {useRoute} from "vue-router";
|
||||
import {TASK_TYPE} from "@/utils/const";
|
||||
@@ -625,6 +633,13 @@ const cancelStorage = async () => {
|
||||
message.success("取消成功");
|
||||
cancleLoading.value = false
|
||||
};
|
||||
|
||||
// 开课按钮
|
||||
const opencourseVisible = ref(false);
|
||||
const openCourse = async () => {
|
||||
opencourseVisible.value = true;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user