班级管理模块代码整理

init
zhusiyu 3 years ago
parent 744883f650
commit fec18b2161

@ -81,9 +81,7 @@
</template>
<script>
import CommonBox from '../secondPages/commonBox.vue';
import {Carousel, Table, List, Icon, Avatar, Row, Col, Collapse} from 'ant-design-vue';
import {swiper, swiperSlide} from 'vue-awesome-swiper'
import '../../../../../node_modules/swiper/css/swiper.css'
import {Carousel, Table, Row, Col} from 'ant-design-vue';
import {Carousel3d, Slide} from 'vue-carousel-3d'
export default{
data(){
@ -178,43 +176,23 @@
}
}
},
computed: {
swiper(){
return this.$refs.mySwiper.swiper
}
},
methods: {
getCustomRow () {
let obj = {style: {}};
obj['style']['color'] = '#00ffff';
return obj;
},
mouseenter(record){
// console.log(record)
// onMouseenter: (event) => {
// console.log(event)
// }
// },
},
nextP(){
this.$refs.imgs.next()
},
// imgClick(data, obj){
// console.log(data, obj)
// }
},
components: {
CommonBox,
ARow: Row,
ACol: Col,
ACollapse: Collapse,
ACollapsePanel: Collapse.Panel,
ATable: Table,
AList: List,
AListItem: List.Item,
ACarousel: Carousel,
swiper,
swiperSlide,
//
Carousel3d,
Slide,
}
@ -256,7 +234,6 @@
}
/deep/ .ant-table-body {
.ant-table-thead > tr > th {
/*background-color: transparent !important;*/
background-color: #1c3369;
color: white;
border: 1px solid #4e9fb4;
@ -285,7 +262,7 @@
}
/deep/ .ant-table-tbody > tr > td:nth-child(4) > span > a:hover {
color: #fff;
text-decoration: solid;
text-decoration: underline;
}
}
}

Loading…
Cancel
Save