|
@@ -12,7 +12,7 @@
|
|
<p class="username">
|
|
<p class="username">
|
|
<span v-if="user.uid">
|
|
<span v-if="user.uid">
|
|
{{ user.name }}
|
|
{{ user.name }}
|
|
- <button type="text" style="color:#999999;font-weight: bold;" @click="stnmae" v-if="user.role == '2' || user.role == '3'">
|
|
|
|
|
|
+ <button type="text" class="userCenter" @click="stnmae" v-if="user.role == '2' || user.role == '3'">
|
|
个人中心
|
|
个人中心
|
|
</button>
|
|
</button>
|
|
<button type="button" class="logininfo" @click="zhuxiao">注销</button>
|
|
<button type="button" class="logininfo" @click="zhuxiao">注销</button>
|
|
@@ -130,4 +130,16 @@ export default {
|
|
/deep/ button {
|
|
/deep/ button {
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
|
|
+.userCenter {
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ color: #fff;
|
|
|
|
+ padding: 3px 10px;
|
|
|
|
+ border-radius: 5px;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ border: 2px solid transparent;
|
|
|
|
+}
|
|
|
|
+.userCenter:hover {
|
|
|
|
+ color: #fe950e;
|
|
|
|
+ // border-color: #fe950e;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|