|
@@ -3,31 +3,18 @@
|
|
|
<header class="header qm-primary-text">
|
|
|
<!-- <a style="float: left; padding-left: 20px" @click="goBack">
|
|
|
<Icon type="ios-arrow-back" />返回</a> -->
|
|
|
- <Poptip
|
|
|
- v-if="ifShowQr"
|
|
|
- trigger="hover"
|
|
|
- width="240"
|
|
|
- >
|
|
|
- <span class="name-arrow">手机端登录(Android)
|
|
|
- </span>
|
|
|
+ <Poptip v-if="ifShowQr" trigger="hover" width="240">
|
|
|
+ <span class="name-arrow">手机端登录(Android) </span>
|
|
|
<div slot="content">
|
|
|
<div class="qm-primary-text">
|
|
|
- <qrcode
|
|
|
- :value="qrValue"
|
|
|
- :options="{ width: 200 }"
|
|
|
- ></qrcode>
|
|
|
+ <qrcode :value="qrValue" :options="{ width: 200 }"></qrcode>
|
|
|
</div>
|
|
|
</div>
|
|
|
</Poptip>
|
|
|
- <span
|
|
|
- v-if="ifShowQr"
|
|
|
- style="margin: auto 20px"
|
|
|
- >|</span>
|
|
|
- <Poptip
|
|
|
- trigger="hover"
|
|
|
- width="300"
|
|
|
- >
|
|
|
- <span class="name-arrow">{{user.displayName}}
|
|
|
+ <span v-if="ifShowQr" style="margin: auto 20px">|</span>
|
|
|
+ <Poptip trigger="hover" width="300">
|
|
|
+ <span class="name-arrow"
|
|
|
+ >{{ user.displayName }}
|
|
|
<i
|
|
|
class="ivu-icon ivu-icon-md-arrow-dropdown"
|
|
|
style="vertical-align: middle;"
|
|
@@ -37,30 +24,28 @@
|
|
|
<div class="info qm-primary-text">
|
|
|
<div class="hr info-row">
|
|
|
<div>底照</div>
|
|
|
- <div><img
|
|
|
- class="user-avatar"
|
|
|
- :src="user.photoPath"
|
|
|
- alt="无底照"
|
|
|
- /></div>
|
|
|
+ <div>
|
|
|
+ <img class="user-avatar" :src="user.photoPath" alt="无底照" />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="hr info-row">
|
|
|
<div>学号</div>
|
|
|
- <div>{{user.studentCode}}</div>
|
|
|
+ <div>{{ user.studentCode }}</div>
|
|
|
</div>
|
|
|
<div class="hr info-row">
|
|
|
<div>身份证号</div>
|
|
|
- <div>{{user.identityNumber}}</div>
|
|
|
+ <div>{{ user.identityNumber }}</div>
|
|
|
</div>
|
|
|
<div class="hr info-row">
|
|
|
<div>学习中心</div>
|
|
|
- <div>{{user.orgName}}</div>
|
|
|
+ <div>{{ user.orgName }}</div>
|
|
|
</div>
|
|
|
- <div style="grid-column: span 2; place-self: center; width: 100%; padding-top: 10px">
|
|
|
- <i-button
|
|
|
- class="qm-primary-button"
|
|
|
- long
|
|
|
- @click="goChangePwd"
|
|
|
- >修改密码</i-button>
|
|
|
+ <div
|
|
|
+ style="grid-column: span 2; place-self: center; width: 100%; padding-top: 10px"
|
|
|
+ >
|
|
|
+ <i-button class="qm-primary-button" long @click="goChangePwd"
|
|
|
+ >修改密码</i-button
|
|
|
+ >
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -70,40 +55,32 @@
|
|
|
@click="logout"
|
|
|
class="qm-primary-text"
|
|
|
style="display: inline-block; margin-right: 20px; text-align: center;"
|
|
|
- >退出登录</a>
|
|
|
+ >退出登录</a
|
|
|
+ >
|
|
|
</header>
|
|
|
- <main class="content">
|
|
|
- <slot></slot>
|
|
|
- </main>
|
|
|
+ <main class="content"><slot></slot></main>
|
|
|
<nav class="nav">
|
|
|
- <img
|
|
|
- src="./qm-logo.png"
|
|
|
- class="qm-logo"
|
|
|
- />
|
|
|
+ <img src="./qm-logo.png" class="qm-logo" />
|
|
|
<ul>
|
|
|
<li>
|
|
|
- <router-link
|
|
|
- class="link"
|
|
|
- to="/online-exam"
|
|
|
- >在线考试 </router-link>
|
|
|
+ <router-link class="link" to="/online-exam"
|
|
|
+ >在线考试 </router-link
|
|
|
+ >
|
|
|
</li>
|
|
|
<li>
|
|
|
- <router-link
|
|
|
- class="link"
|
|
|
- to="/online-practice"
|
|
|
- >在线练习 </router-link>
|
|
|
+ <router-link class="link" to="/online-practice"
|
|
|
+ >在线练习 </router-link
|
|
|
+ >
|
|
|
</li>
|
|
|
<li>
|
|
|
- <router-link
|
|
|
- class="link"
|
|
|
- to="/offline-exam"
|
|
|
- >离线考试 </router-link>
|
|
|
+ <router-link class="link" to="/offline-exam"
|
|
|
+ >离线考试 </router-link
|
|
|
+ >
|
|
|
</li>
|
|
|
<li>
|
|
|
- <router-link
|
|
|
- class="link"
|
|
|
- to="/password"
|
|
|
- >修改密码 </router-link>
|
|
|
+ <router-link class="link" to="/password"
|
|
|
+ >修改密码 </router-link
|
|
|
+ >
|
|
|
</li>
|
|
|
</ul>
|
|
|
</nav>
|