123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <!DOCTYPE html>
- <html lang="zh" xmlns:th="http://www.thymeleaf.org" >
- <head>
- <th:block th:include="include :: header('用户信息详情')" />
- </head>
- <body class="white-bg">
- <div class="wrapper wrapper-content animated fadeInRight ibox-content">
- <form class="form-horizontal m" id="form" th:object="${userDetail}">
- <div class="modal-body">
- <div class="detail">
- <div class="part form-group">
- <div class="nick">昵称: <span th:text="*{users.nick}"></span></div>
- <div class="erbanNo">卿卿号: <span th:text="*{users.erbanNo}"></span></div>
- <div class="uid">UID: <span th:text="*{users.uid}"></span></div>
- <div class="avatar">头像:<img th:src="*{users.avatar}" src="" alt="" width="70px" height="70px"></div>
- </div>
- <div class="part form-group">
- <div class="gender">性别: <span th:text="*{usersExtVO.sex}"> </span></div>
- <div class="phone">手机: <span th:text="*{users.phone}"></span></div>
- <div class="birth">出生日期: <span th:text="*{usersExtVO.dateTime}"></span></div>
- <div class="email">email: <span th:text="*{users.email}"></span></div>
- </div>
- <div class="part form-group">
- <div class="sign">签名: <span th:text="*{users.signture}"></span></div>
- <div class="userDesc">自我描述: <span th:text="*{users.userVoice}"></span></div>
- </div>
- <div class="part form-group">
- <div class="goldNum">金币数: <span th:text="*{userPurse.goldNum}"></span></div>
- <div class="diamondNum">钻石数: <span th:text="*{userPurse.diamondNum}"></span></div>
- <div class="depositNum">押金数: <span th:text="*{userPurse.depositNum}"></span></div>
- </div>
- <div class="part form-group">
- <div class="followNum">关注数: <span th:text="*{users.followNum}"></span></div>
- <div class="fansNum">粉丝数: <span th:text="*{users.fansNum}"></span></div>
- <div class="defUser">账号类型: <span th:text="*{usersExtVO.accountType}"></span></div>
- </div>
- <div class="part form-group">
- <div class="fortune">财富值: <span th:text="*{users.fortune}"></span></div>
- <div class="channelType">下载渠道类型: <span th:text="*{users.channel}"></span></div>
- </div>
- <div class="part form-group">
- <div class="alipayAccount">支付宝: <span th:text="*{users.alipayAccount}"></span></div>
- <div class="alipayAccountName">支付宝账户名: <span th:text="*{users.alipayAccountName}"></span></div>
- </div>
- <div class="part form-group">
- <div class="ispType">运营商: <span th:text="*{users.ispType}"></span></div>
- <div class="netType">网络类型: <span th:text="*{users.netType}"></span></div>
- <div class="model">手机型号: <span th:text="*{users.model}"></span></div>
- </div>
- <div class="part form-group">
- <div class="deviceID">设备号: <span th:text="*{users.deviceId}"></span></div>
- <div class="appVersion">版本号: <span th:text="*{users.appVersion}"></span></div>
- </div>
- </div>
- </div>
- </form>
- </div>
- <th:block th:include="include :: footer" />
- <script type="text/javascript">
- var prefix = ctx + "users/user";
-
- $(function() {
- $('#removePhone').on('click', function () {
- $.ajax({
- type: "post",
- url: prefix + "/untiedPhone",
- data: {
- uid: $('#uid').val(),
- erBanNo: $('#editErbanNo').val()
- },
- dataType: 'json',
- beforeSend: function () {
- $.modal.loading("正在处理中,请稍后...");
- $.modal.disable();
- },
- success: function(result) {
- if (typeof callback == "function") {
- callback(result);
- }
- $.operate.successCallback(result);
- }
- })
- })
- });
-
- // 上传文件
- function sendFile(file, obj) {
- var data = new FormData();
- data.append("file", file);
- $.ajax({
- type: "POST",
- url: ctx + "common/upload",
- data: data,
- cache: false,
- contentType: false,
- processData: false,
- dataType: 'json',
- success: function(result) {
- if (result.code == web_status.SUCCESS) {
- $(obj).summernote('editor.insertImage', result.url, result.fileName);
- } else {
- $.modal.alertError(result.msg);
- }
- },
- error: function(error) {
- $.modal.alertWarning("图片上传失败。");
- }
- });
- }
- $("#form-notice-edit").validate({
- focusCleanup: true
- });
-
- function submitHandler() {
- if ($.validate.form()) {
- var sHTML = $('.summernote').summernote('code');
- $("#noticeContent").val(sHTML);
- $.operate.save(prefix + "/edit", $('#form-notice-edit').serialize());
- }
- }
- </script>
- </body>
- </html>
|