暂无数据~
@@ -165,7 +166,7 @@
import CommonBox from '../../secondPages/commonBox.vue';
import {Icon, Tabs, row, col, Empty, Spin} from 'ant-design-vue';
import {swiper, swiperSlide} from "vue-awesome-swiper";
- // import "swiper/dist/css/swiper.css";
+ import "swiper/dist/css/swiper.css";
import moment from 'moment';
import ImgPreview from '../../../common/imgPreview.vue';
import CommonInfo from '../../../common/commonInfo.vue';
@@ -177,6 +178,7 @@
selectType: 1,//1 周历 2 校历
paneKey: 1,
listScroll: this.StaticParams.scrollOption,
+ //mySwiper:{},
swiperOption01: {
speed: 1000,
loop: true,
@@ -209,6 +211,10 @@
}
},
mounted() {
+// this.$nextTick(()=>{
+// console.log("mySwiper:",this.$refs.mySwiper)
+// this.mySwiper = this.$refs.mySwiper.$swiper;
+// })
//获取心理咨询室数据
this.getPsychologyCounsellingRoom();
//获取心理课堂数据
@@ -219,11 +225,11 @@
this.getMentalEducationSelected();
},
computed: {
- swiper() {
- return this.$refs.mySwiper.$swiper
+ mySwiper() {
+ return this.$refs.mySwiper.swiper
},
classRoomSwiper() {
- return this.$refs.classRoomSwiper.$swiper
+ return this.$refs.classRoomSwiper.swiper
}
},
methods: {
@@ -235,7 +241,7 @@
"query_id": "query_deyu_xinli",
"query_param": [
this.BaseConfig.person_info_my.bureau_id + ""
- // "900008135"
+ //"900008135"
]
},
"query_cache": 0,
@@ -255,8 +261,22 @@
let res = result[0].data.result;
if (res !== "") {
let dataList = JSON.parse(res);
+ console.log("获取心理咨询室数据:",dataList)
if (dataList && dataList.length > 0) {
- this.counsellingRoomList.push(...dataList);
+ for(let i = 0,len = dataList.length;i < len;i ++){
+ let photoJson = dataList[i].attachment_json;
+ if(photoJson && photoJson !== ""){
+ if(photoJson[0] !== "{"){
+ photoJson = photoJson.substring(1)
+ }
+ let obj = JSON.parse(photoJson);
+ if(Array.isArray(obj)){
+ this.counsellingRoomList.push(...obj);
+ }else {
+ this.counsellingRoomList.push(obj);
+ }
+ }
+ }
}
}
}
@@ -270,7 +290,7 @@
"query_id": "query_deyu_xinli2",
"query_param": [
this.BaseConfig.person_info_my.bureau_id + ""
- // "900008135"
+ //"900008135"
]
},
"query_cache": 0,
@@ -291,7 +311,20 @@
if (res !== "") {
let dataList = JSON.parse(res);
if (dataList && dataList.length > 0) {
- this.psychicClassroomList.push(...dataList);
+ for(let i = 0,len = dataList.length;i < len;i ++){
+ let photoJson = dataList[i].attachment_json;
+ if(photoJson && photoJson !== ""){
+ if(photoJson[0] !== "{"){
+ photoJson = photoJson.substring(1)
+ }
+ let obj = JSON.parse(photoJson);
+ if(Array.isArray(obj)){
+ this.psychicClassroomList.push(...obj);
+ }else {
+ this.psychicClassroomList.push(obj);
+ }
+ }
+ }
}
}
}
@@ -384,11 +417,11 @@
}
})
},
- prev() {
- this.swiper.slidePrev();
+ next(){
+ this.mySwiper.slideNext();
},
- next() {
- this.classRoomSwiper.slideNext();
+ prev() {
+ this.classRoomSwiper.slidePrev();
},
changeType: function () {
this.timing = setInterval(() => {
@@ -483,9 +516,10 @@
height: calc(50% - 5px);
display: flex;
flex-direction: column;
+ justify-content: space-between;
.img-change-box-style {
width: 100%;
- height: 50%;
+ height: calc(50% - 2.5px);
display: flex;
.title-box-style {
width: 80px;
@@ -509,12 +543,17 @@
height: 100%;
display: flex;
justify-content: space-between;
+ position: relative;
.banner {
.community-box-style {
display: flex;
justify-content: center;
align-items: center;
}
+ .swiper-button-next{
+ position: absolute;
+ right: 0;
+ }
}
.no-data-content-style {
width: 100%;
diff --git a/src/views/screenAdaptation/pages/moralEducationCenter/virtueBodyHealthArt/sportsWork.vue b/src/views/screenAdaptation/pages/moralEducationCenter/virtueBodyHealthArt/sportsWork.vue
index 8625876..9952d1e 100644
--- a/src/views/screenAdaptation/pages/moralEducationCenter/virtueBodyHealthArt/sportsWork.vue
+++ b/src/views/screenAdaptation/pages/moralEducationCenter/virtueBodyHealthArt/sportsWork.vue
@@ -21,6 +21,7 @@
政策文件
+
@@ -28,12 +29,16 @@
-
+
+
+
+
@@ -294,6 +299,7 @@
"query": {
"query_id": "query_deyu_zhengce",
"query_param": [
+ //"900008135"
this.BaseConfig.person_info_my.bureau_id + ""
]
},
@@ -313,11 +319,15 @@
let res = result[0].data.result;
if (res !== "") {
let dataArr = JSON.parse(res);
+ console.log("政策文件:", dataArr)
if (dataArr && dataArr.length > 0) {
for (let i = 0; i < 5; i++) {
if (dataArr[i]) {
let attachment_json = dataArr[i].attachment_json;
if (attachment_json !== "") {
+ if (attachment_json[0] !== "{") {
+ attachment_json = attachment_json.substring(1)
+ }
let file = JSON.parse(attachment_json);
this.documentList.push(file)
}
@@ -556,24 +566,33 @@
display: flex;
flex-direction: column;
justify-content: space-between;
- .upload-container-style {
+ .document-list-scroll-style{
width: 100%;
height: 100%;
- .file-style {
- width: 100%;
- height: 27px !important;
- .file-name-style {
- display: block;
+ .__panel .__view{
+ width: 100% !important;
+ height: 100% !important;
+ .upload-container-style {
width: 100%;
- height: 27px;
- line-height: 27px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- color: $color-default-bright;
+ height: 100%;
+ .file-style {
+ width: 100%;
+ height: 27px !important;
+ .file-name-style {
+ display: block;
+ width: 100%;
+ height: 27px;
+ line-height: 27px;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ color: $color-default-bright;
+ }
+ }
}
}
}
+
.document-row-style {
width: 100%;
overflow: hidden;
diff --git a/src/views/screenAdaptation/pages/partyCenter/teamBuildingStyle.vue b/src/views/screenAdaptation/pages/partyCenter/teamBuildingStyle.vue
index 569c444..591d6b6 100644
--- a/src/views/screenAdaptation/pages/partyCenter/teamBuildingStyle.vue
+++ b/src/views/screenAdaptation/pages/partyCenter/teamBuildingStyle.vue
@@ -49,29 +49,29 @@
dataList: [],
imgList: [],
//轮播图图片-弃
- imgArr: [
- {src: require("./images/listPic1.png")},
- {src: require("./images/listPic6.png")},
- {src: require("./images/listPic3.png")},
- ],
+// imgArr: [
+// {src: require("./images/listPic1.png")},
+// {src: require("./images/listPic6.png")},
+// {src: require("./images/listPic3.png")},
+// ],
//滚动条
showPage: true,
listScroll: this.StaticParams.scrollOption,
- teamBuildList: [
- {
- content: '【红心向党·凝聚动力】“青春向党·奋斗强国” ——洋浦学校2021(下)入团仪式暨“青年之家”揭牌仪式纪实'
- }, {
- content: '【和谐经开·智慧洋浦】凝聚青春力量 筑牢青春底色 --洋浦学校团支部成立大会纪实'
- }, {
- content: '【和谐经开·智慧洋浦】 “童年再见·青春你好” ——洋浦学校团委、少工委庆祝建党百年系列活动(五)暨2019级离队仪式'
- }, {
- content: '【和谐经开·智慧洋浦】凝聚青春力量 筑牢青春底色 --洋浦学校团支部成立大会纪实'
- }, {
- content: '【红心向党·凝聚动力】“青春向党·奋斗强国” ——洋浦学校2021(下)入团仪式暨“青年之家”揭牌仪式纪实'
- }, {
- content: '【和谐经开·智慧洋浦】凝聚青春力量 筑牢青春底色 --洋浦学校团支部成立大会纪实'
- },
- ],
+// teamBuildList: [
+// {
+// content: '【红心向党·凝聚动力】“青春向党·奋斗强国” ——洋浦学校2021(下)入团仪式暨“青年之家”揭牌仪式纪实'
+// }, {
+// content: '【和谐经开·智慧洋浦】凝聚青春力量 筑牢青春底色 --洋浦学校团支部成立大会纪实'
+// }, {
+// content: '【和谐经开·智慧洋浦】 “童年再见·青春你好” ——洋浦学校团委、少工委庆祝建党百年系列活动(五)暨2019级离队仪式'
+// }, {
+// content: '【和谐经开·智慧洋浦】凝聚青春力量 筑牢青春底色 --洋浦学校团支部成立大会纪实'
+// }, {
+// content: '【红心向党·凝聚动力】“青春向党·奋斗强国” ——洋浦学校2021(下)入团仪式暨“青年之家”揭牌仪式纪实'
+// }, {
+// content: '【和谐经开·智慧洋浦】凝聚青春力量 筑牢青春底色 --洋浦学校团支部成立大会纪实'
+// },
+// ],
visible: false,
modalTitle: '查看详情',
infoId: "",