xbx #102

Merged
theluyuan merged 3 commits from xbx into master 2020-10-30 09:08:50 +00:00
11 changed files with 14 additions and 11 deletions

View File

@ -630,6 +630,7 @@ export async function editsystemsetting(e?: any): Promise<boolean> {
const res = await put(`member/${store.state.userinfo.memberid}`,newdata);
console.log(res)
if(res.code == 0){
location.reload();
message.success("修改成功")
store.dispatch("setUserInfo");
return true;

View File

@ -11,10 +11,10 @@
<div v-for="(i,j) in list" :key="j" style="overflow: hidden;" @click="routeto(j)" @mouseenter="mouse(j)">
<div class="item" :class="{'selitem': j == selnum, 'seltop': j == selnum - 1, 'selbottom': j == selnum + 1}">
<div class="route">
<img :src="i.icon" alt="" class="icon">
<img :src="j == selnum ? i.sleicon : i.icon" alt="" class="icon">
<div class="title">{{lan.$t(i.name)}}</div>
</div>
<img alt="" src="../static/images/jiantou.png" class="right">
<img alt="" :src="j == selnum ? jiantous : jiantou" class="right">
</div>
</div>
<div style="overflow: hidden;">
@ -136,37 +136,37 @@ export default defineComponent({
const list: Array<MenuItem> = [
{
icon: require("../static/images/wode1.png"),
sleicon:"",
sleicon: require("../static/images/wodedangan1.png"),
name: 'wodedangan',
route: "/mine/archives"
},
{
icon: require("../static/images/xiayig.png"),
sleicon:"",
sleicon:require("../static/images/shipin1.png"),
name: 'fabuzhibo',
route: "/mine/webcast"
},
{
icon: require("../static/images/shipin.png"),
sleicon:"shipin.png",
sleicon: require("../static/images/zhibo1.png"),
name: 'shangchuanshipin',
route: "/mine/video"
},
{
icon: require("../static/images/yinhangka.png"),
sleicon:"",
sleicon: require("../static/images/qianbao1.png"),
name: 'wodeqianbao',
route: "/mine/wallet"
},
{
icon: require("../static/images/tongji.png"),
sleicon:"",
sleicon: require("../static/images/liebiao1.png"),
name: 'liebiaotongji',
route: "/mine/liststatistic"
},
{
icon: require("../static/images/bangzhu.png"),
sleicon:"",
sleicon: require("../static/images/guanyu1.png"),
name: 'guanyu',
route: "/mine/aboutus"
}
@ -219,7 +219,9 @@ export default defineComponent({
logout,
mouse,
tuichu,
lan
lan,
jiantou: require('../static/images/jiantou.png'),
jiantous: require('../static/images/kuozhan1.png')
}
}
})

View File

@ -23,7 +23,7 @@
<!-- 时区 -->
<a-menu-item v-for="(i,j) in zonelist" :key="j" @click="zonechange(i.zoneid)" style="position: relative;">
<div class="selitem">
<span>{{i.city}}{{i.gmt}}</span>
<span :style="{'color': i.zoneid == userinfo.zoneid ? '#06C7AE' : ''}">{{i.city}}{{i.gmt}}</span>
<img src="@/static/images/duihao.png" alt="" v-if="i.zoneid == userinfo.zoneid" class="duihao">
</div>
</a-menu-item>
@ -80,7 +80,7 @@
<!-- 语言 -->
<a-menu-item v-for="(i,j) in languagelist" :key="j" style="position: relative;">
<div class="selitem" @click="setlanguage(i.value)">
<span>{{i.name}}</span>
<span :style="{'color': i.name == userinfo.language ? '#06C7AE' : ''}">{{i.name}}</span>
<img src="@/static/images/duihao.png" alt="" v-if="i.name == userinfo.language" class="duihao">
</div>
</a-menu-item>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB