Authored by 沈志敏

增加系统设置页 按钮及事件

<div class="my-page">
<div class="my-header">
<span class="setting icon icon-setting" id="setting"></span>
<a class="user-info" id="user-info" {{#if userinfourl}} href='{{userinfourl}}' {{/if}}>
<span class="setting icon icon-setting"></span>
<span class="user-avatar" {{#if head_ico}} style="background-image: url('{{head_ico}}');" {{/if}}></span>
<br><span class="username">{{profile_name}}</span>
</a>
... ...
... ... @@ -25,3 +25,8 @@ $('#address').on('click', function() {
'type': '2'
});
});
// 系统设置
$('#setting').on('click', function() {
yoho.goSetting();
})
... ...
... ... @@ -6,17 +6,28 @@
color: #000;
}
.my-header {
background: resolve("home/header-bg.png");
background-size: cover;
.setting {
float: left;
margin-top: 30px;
margin-left: 15px;
font-size: 46px;
}
}
.user-info {
display: block;
position: relative;
padding: 0 30px;
margin: 0 180px;
color: #000;
font-size: 34px;
line-height: 138px;
height: 469px;
text-align: center;
background: resolve("home/header-bg.png");
background-size: cover;
.user-avatar {
display: inline-block;
... ...