增加个判断
This commit is contained in:
parent
df74f025f5
commit
a3dcccb93d
@ -234,6 +234,11 @@
|
||||
.box .content.bj .offer-background-content .grade-content-item:not(:last-of-type) .grade-content-value {
|
||||
border-right: 1px solid #ebebeb;
|
||||
}
|
||||
.box .content.bj .offer-background-content .grade-content-item:last-of-type {
|
||||
font-weight: 650;
|
||||
font-size: 18px;
|
||||
color: #000000;
|
||||
}
|
||||
.box .content.bj .offer-background-content.offer-background-content-text {
|
||||
padding: 24px 17px;
|
||||
word-break: break-word;
|
||||
|
@ -264,6 +264,12 @@
|
||||
border-right: 1px solid #ebebeb;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
font-weight: 650;
|
||||
font-size: 18px;
|
||||
color: #000000;
|
||||
}
|
||||
}
|
||||
|
||||
&.offer-background-content-text {
|
||||
|
29
index.html
29
index.html
@ -165,7 +165,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<div class="box" v-if="moodmessage && moodmessage.length != 0">
|
||||
<div class="head">
|
||||
<div class="left">
|
||||
<img class="index" crossorigin="anonymous" :src="base03" />
|
||||
@ -232,12 +232,18 @@
|
||||
<div class="key">学位</div>
|
||||
<div class="value flexacenter" style="white-space: nowrap; flex-wrap: wrap;">
|
||||
{{ item.degree }}
|
||||
<template v-if="item.semester">
|
||||
<div class="vertical-line"></div>
|
||||
{{ item.semester }}
|
||||
</template>
|
||||
<template v-if="item.noticedate">
|
||||
<div class="vertical-line"></div>
|
||||
{{ item.noticedate }}通知
|
||||
</template>
|
||||
<template v-if="item.apply_results">
|
||||
<div class="vertical-line"></div>
|
||||
<div v-if="item.apply_results" class="normal" :class="'results' + item.apply_results_status">{{ item.apply_results }}</div>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="item.useperformance.length != 0" class="item flexacenter">
|
||||
@ -254,7 +260,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<div class="box" v-if="info.content">
|
||||
<div class="head">
|
||||
<div class="left">
|
||||
<img class="index" crossorigin="anonymous" :src="base02" />
|
||||
@ -437,7 +443,6 @@
|
||||
this.offerinfo.school["base64"] = canvas.toDataURL("image/jpeg")
|
||||
} else {
|
||||
const img = this.$refs["schoolimg" + index][0]
|
||||
// console.log("img", img)
|
||||
const canvas = document.createElement("canvas")
|
||||
canvas.width = img.naturalWidth
|
||||
canvas.height = img.naturalHeight
|
||||
@ -445,27 +450,9 @@
|
||||
const ctx = canvas.getContext("2d")
|
||||
ctx.drawImage(img, 0, 0)
|
||||
|
||||
// console.log("666", canvas.toDataURL("image/jpeg"))
|
||||
|
||||
this.offercollege[index]["base64"] = canvas.toDataURL("image/jpeg")
|
||||
this.$forceUpdate()
|
||||
}
|
||||
|
||||
// return
|
||||
// fetch(url)
|
||||
// .then(response => response.blob())
|
||||
// .then(blob => {
|
||||
// const reader = new FileReader()
|
||||
// reader.onloadend = () => {
|
||||
// if (type == "offer") {
|
||||
// this.offerinfo.school["base64"] = reader.result
|
||||
// } else {
|
||||
// this.offercollege[index]["base64"] = reader.result
|
||||
// this.$forceUpdate()
|
||||
// }
|
||||
// }
|
||||
// reader.readAsDataURL(blob)
|
||||
// })
|
||||
},
|
||||
|
||||
// 获取 offer 详情
|
||||
|
Loading…
Reference in New Issue
Block a user