班级管理模块代码整理

init
zhusiyu 3 years ago
parent 744883f650
commit fec18b2161

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

Loading…
Cancel
Save