Browse Source

fix issue

tags/v1.22.2.2^2
zhoupzh 3 years ago
parent
commit
004e2e5872
1 changed files with 33 additions and 33 deletions
  1. +33
    -33
      templates/user/settings/profile.tmpl

+ 33
- 33
templates/user/settings/profile.tmpl View File

@@ -114,38 +114,38 @@
</div>
{{else}}
<div>
<table class="ui celled striped table provider titleless">
<thead>
<th class="center aligned">
绑定账号信息
</th>
<!-- <th class="center aligned">
详情
</th> -->
<th class="center aligned">
绑定时间
</th>
<th class="center aligned">
操作
</th>
</thead>
<tbody>
<td class="center aligned">
微信
</td>
<!-- <td class="center aligned">
<img class="ui avatar image" width="24" height="24" src="{{.SignedUser.RelAvatarLink}}">{{.SignedUser.Name}}
</td> -->
<td class="center aligned">
{{TimeSinceUnix1 .SignedUser.WechatBindTime}}
<td class="center aligned">
<div>
<a class="ui inverted orange button " onclick="showcreate(this)" href="javascript: void(0)">解除绑定</a>
</div>
</td>
</tbody>
</table>
</div>
<table class="ui celled striped table provider titleless">
<thead>
<th class="center aligned">
绑定账号信息
</th>
<!-- <th class="center aligned">
详情
</th> -->
<th class="center aligned">
绑定时间
</th>
<th class="center aligned">
操作
</th>
</thead>
<tbody>
<td class="center aligned">
微信
</td>
<!-- <td class="center aligned">
<img class="ui avatar image" width="24" height="24" src="{{.SignedUser.RelAvatarLink}}">{{.SignedUser.Name}}
</td> -->
<td class="center aligned">
{{TimeSinceUnix1 .SignedUser.WechatBindUnix}}
<td class="center aligned">
<div>
<a class="ui inverted orange button " onclick="showcreate(this)" href="javascript: void(0)">解除绑定</a>
</div>
</td>
</tbody>
</table>
</div>
{{end}}
</div>

@@ -164,7 +164,7 @@
{{template "base/footer" .}}
<script>
function showcreate(obj){
console.log({{.SignedUser.WechatBindTime}})
console.log({{.SignedUser.WechatBindUnix}})
const {csrf} = window.config
$('.ui.modal.wx-unbind')
.modal({


Loading…
Cancel
Save