竞赛代码调整

This commit is contained in:
joylink_cuiweidong 2020-05-22 17:30:17 +08:00
parent f3cbe93987
commit 526fefceec
2 changed files with 14 additions and 3 deletions

BIN
src/assets/applyAlready.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -58,9 +58,9 @@
<i class="el-icon-success" style="color: green; font-size: 40px;" />
<span class="title">报名成功!</span>
</div>
<div v-if="!flag" class="apply_box">
<i class="el-icon-info" style="color: green; font-size: 40px;" />
<span class="title">您已报过名了!</span>
<div v-if="!flag" class="applyAready_box">
<div><img :src="applyAlready" class="applyAlready"></div>
<div><span style="margin-left:10px;">请按时参加竞赛</span></div>
</div>
</template>
</div>
@ -76,6 +76,7 @@ import QrcodeVue from 'qrcode.vue';
import { getUserinfoMobileCode } from '@/api/management/user';
import { postSignUp } from '@/api/competition';
import { getIsSignUp } from '@/api/competition';
import applyAlready from '@/assets/applyAlready.png';
export default {
name: '',
@ -97,6 +98,7 @@ export default {
};
return {
dialogVisible: false,
applyAlready:applyAlready,
applyFlag: true,
flag: true,
loginClient: 'Design',
@ -378,6 +380,15 @@ export default {
$dark_gray:#889aa4;
$light_gray:#eee;
$qrcodeSize: 270px;
.applyAlready{
width:150px;
}
.applyAready_box div{
width:100%;
text-align:center;
margin-top: 150px;
font-size: 25px;
}
.dictionary_box{
padding-top: 10px;
.joylink-card{