【add】问题修改

Develop
wangxi 1 year ago
parent 2e458a580b
commit a6412221b0

@ -154,6 +154,9 @@
parent.userName=$.cookie("person_name"); parent.userName=$.cookie("person_name");
parent.isShow=false; parent.isShow=false;
// document.cookie("person_id", data.person_id, {path:"/"}) // document.cookie("person_id", data.person_id, {path:"/"})
}else {
parent.info=response.info;
} }
}); });
} }

@ -20,7 +20,7 @@
</div> </div>
<span v-for="(tag,index) in getTags()" <span v-for="(tag,index) in getTags()"
:style="'vertical-align:middle;border-radius:1vh;padding:0 1vh;border:.1vh solid '+tag.color+';color:'+tag.color+';margin:0 .5vh;' "> :style="'vertical-align:middle;border-radius:5px;padding:0 1vh;border:.1vh solid '+tag.color+';color:'+tag.color+';margin:0 .5vh;' ">
{{tag.name}} {{tag.name}}
</span> </span>
<div class="c-tab" style="position: absolute;top: 0;right: 1vh;"> <div class="c-tab" style="position: absolute;top: 0;right: 1vh;">
@ -118,8 +118,8 @@
</div> </div>
</div> </div>
<div class="c-p" @click="show" <div class="c-p" @click="show"
style=" cursor:pointer;box-sizing: border-box; width: 100%; height: 20vh; text-indent:2em;" style=" cursor:pointer;box-sizing: border-box; width: 100%; height: 20vh; text-indent:2em;-webkit-line-clamp:3"
v-html="model.university_desc_unformat"> v-html="model.university_desc">
</div> </div>
</div> </div>
</div> </div>
@ -355,7 +355,6 @@
<h3 style="text-align:center;margin:1rem 0;" v-if="item.department!==null"> <h3 style="text-align:center;margin:1rem 0;" v-if="item.department!==null">
{{item.department}}</h3> {{item.department}}</h3>
<div class="c-flex" style="justify-content: flex-start;"> <div class="c-flex" style="justify-content: flex-start;">
<img/>
<div style="box-sizing:border-box; width: 22%; text-align: center; border: 1px solid #B3DBFF;border-radius:5px;margin:3vh 1.5%;padding:2vh;overflow:hidden;" <div style="box-sizing:border-box; width: 22%; text-align: center; border: 1px solid #B3DBFF;border-radius:5px;margin:3vh 1.5%;padding:2vh;overflow:hidden;"
v-for="i in item.faculty_list"> v-for="i in item.faculty_list">
<h5 v-if="i.faculty!==null" class="c-ellipsis" <h5 v-if="i.faculty!==null" class="c-ellipsis"
@ -1003,7 +1002,7 @@
case '教育部直属': case '教育部直属':
return arr.push({name: i.detail, color: '#87e997'}); return arr.push({name: i.detail, color: '#87e997'});
case '研究生院': case '研究生院':
return arr.push({name: i.detail, color: '#F6A69B'}); return arr.push({name: i.detail, color: '#f6c953'});
case '示范性高职': case '示范性高职':
return arr.push({name: i.detail, color: '#f793d8'}); return arr.push({name: i.detail, color: '#f793d8'});
case '骨干高职': case '骨干高职':
@ -1096,7 +1095,7 @@
more() { more() {
this.close(); this.close();
this.tab.current = 2; this.tab.current = 4;
}, },
isVideo(src) { isVideo(src) {
return src.endsWith('.mp4') || src.endsWith('.webm'); return src.endsWith('.mp4') || src.endsWith('.webm');

Loading…
Cancel
Save