Browse Source

我的消息

Jonlin 6 years ago
parent
commit
db3fdf136e

+ 23 - 1
application/user/lang/zh-cn.php

@@ -142,6 +142,13 @@ $lang['ds_access_control'] = '访问控制管理';
 
 //我的消息
 $lang['ds_my_massage'] = '我的消息';
+$lang['time_rang'] = '选择时间段';
+$lang['if_expire'] = '产品是否到期';
+$lang['expire'] = '到期';
+$lang['no_expire'] = '没到期';
+$lang['search'] = '搜索';
+$lang['expire'] = '到期';
+$lang['expire'] = '到期';
 
 
 //微信端
@@ -170,5 +177,20 @@ $lang['confirm_password'] = '确认密码';
 $lang['phone'] = '手机号码';
 $lang['register_sumbit'] = '同意协议并提交';
 $lang['register_password_point'] = '密码必须包含有字母,数字,符号,密码长度为6-20个字符';
-$lang['register_xieyi'] = '<span>我已阅读并同意<a href="" target="_blank">《用户协议》</a>及<a href="" target="_blank">《法律声明及隐私条款》</a></span>';
+
+//账户安全
+$lang['account_user_email'] = '您的登陆邮箱';
+$lang['user_phone'] = '电话号码';
+$lang['update_pwd_point'] = '互联网账户存在被盗风险,建议您定期更改密码,以确保账户安全。';
+$lang['bangding_phone'] = '您已绑定手机';
+$lang['account_exit'] = '更改';
+$lang['verify_now'] = '立即验证';
+$lang['verify_phone'] = '通过手机验证';
+$lang['verify_email'] = '通过邮箱验证';
+$lang['meeting_problems'] = '遇到问题';
+$lang['off'] = '关闭';
+
+//用户资料
+$lang['accountinfo'] = '账户信息';
+$lang['userinfo'] = '用户信息';
 ?>

+ 21 - 21
application/user/view/accountsafe/index.html

@@ -43,56 +43,56 @@
 </style>
 <div class="layui-tab layui-tab-card">
     <div class="tanchu" id="update_email">
-        <div style="margin-top: 20px;">遇到问题</div>
+        <div style="margin-top: 20px;">{:lang('meeting_problems')}</div>
         <div style="font-size: 11px;">您正在为{$Think.session.user_email}修改登陆邮箱,请选择一种身份验证方式</div>
         <div style="border: 1px grey solid;width:240px;height: 30px;">
-            <span>通过邮验证</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">立即验证</a></span>
+            <span>{:lang('verify_email')}</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">{:lang('verify_now')}</a></span>
         </div>
         <div style="border: 1px grey solid;width:240px;height: 30px;">
-            <span>通手机验证</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">立即验证</a></span>
+            <span>{:lang('verify_phone')}</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">{:lang('verify_now')}</a></span>
         </div>
-        <div style="width:60px;height: 30px;line-height:30px;background-color: dodgerblue;color: white;border-radius: 2px;" id="email_off">关闭</div>
+        <div style="width:60px;height: 30px;line-height:30px;background-color: dodgerblue;color: white;border-radius: 2px;" id="email_off">{:lang('off')}</div>
     </div>
     <div class="tanchu" id="update_pwd">
-        <div style="margin-top: 20px;">遇到问题</div>
+        <div style="margin-top: 20px;">{:lang('meeting_problems')}</div>
         <div style="font-size: 11px;">您正在为{$Think.session.user_email}修改登陆密码,请选择一种身份验证方式</div>
         <div style="border: 1px grey solid;width:240px;height: 30px;">
-            <span>通过邮验证</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">立即验证</a></span>
+            <span>{:lang('verify_email')}</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">{:lang('verify_now')}</a></span>
         </div>
         <div style="border: 1px grey solid;width:240px;height: 30px;">
-            <span>通手机验证</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">立即验证</a></span>
+            <span>{:lang('verify_phone')}</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">{:lang('verify_now')}</a></span>
         </div>
-        <div style="width:60px;height: 30px;line-height:30px;background-color: dodgerblue;color: white;border-radius: 2px;" id="pwd_off">关闭</div>
+        <div style="width:60px;height: 30px;line-height:30px;background-color: dodgerblue;color: white;border-radius: 2px;" id="pwd_off">{:lang('off')}</div>
     </div>
     <div class="tanchu" id="update_phone">
-        <div style="margin-top: 20px;">遇到问题</div>
+        <div style="margin-top: 20px;">{:lang('meeting_problems')}</div>
         <div style="font-size: 11px;">您正在为{$Think.session.user_email}修改电话号码,请选择一种身份验证方式</div>
         <div style="border: 1px grey solid;width:240px;height: 30px;">
-            <span>通过邮验证</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">立即验证</a></span>
+            <span>{:lang('verify_email')}</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">{:lang('verify_now')}</a></span>
         </div>
         <div style="border: 1px grey solid;width:240px;height: 30px;">
-            <span>通手机验证</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">立即验证</a></span>
+            <span>{:lang('verify_phone')}</span>&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp<span><a href="">{:lang('verify_now')}</a></span>
         </div>
-        <div style="width:60px;height: 30px;line-height:30px;background-color: dodgerblue;color: white;border-radius: 2px;" id="phone_off">关闭</div>
+        <div style="width:60px;height: 30px;line-height:30px;background-color: dodgerblue;color: white;border-radius: 2px;" id="phone_off">{:lang('off')}</div>
     </div>
     <div class="updatepwd">
         <form method="post">
             <div>
                 <table>
                     <tr>
-                        <td class="td_name">登陆邮箱</td>
-                        <td class="td_info">您的登陆邮箱:{$Think.session.user_email}</td>
-                        <td class="td_update" id="email">更改</td>
+                        <td class="td_name">{:lang('user_email')}</td>
+                        <td class="td_info">{:lang('account_user_email')}:{$Think.session.user_email}</td>
+                        <td class="td_update" id="email">{:lang('account_exit')}</td>
                     </tr>
                     <tr>
-                        <td class="td_name">登陆密码</td>
-                        <td class="td_info">互联网账户存在被盗风险,建议您定期更改密码,以确保账户安全。</td>
-                        <td class="td_update" id="pwd">更改</td>
+                        <td class="td_name">{:lang('user_password')}</td>
+                        <td class="td_info">{:lang('update_pwd_point')}</td>
+                        <td class="td_update" id="pwd">{:lang('account_exit')}</td>
                     </tr>
                     <tr>
-                        <td class="td_name">电话号码</td>
-                        <td class="td_info">您已绑定手机:+ (86)&nbsp&nbsp{$user['user_phone']}</td>
-                        <td class="td_update" id="phone">更改</td>
+                        <td class="td_name">{:lang('user_phone')}</td>
+                        <td class="td_info">{:lang('bangding_phone')}:+ (86)&nbsp&nbsp{$user['user_phone']}</td>
+                        <td class="td_update" id="phone">{:lang('account_exit')}</td>
                     </tr>
                 </table>
 

+ 6 - 6
application/user/view/member/index.html

@@ -3,8 +3,8 @@
 <style>
     .accountinfo_title>div{
         margin-left:80px;
-        margin-top:20px;
-        font-size: 13px;
+        margin-top:30px;
+        font-size: 14px;
         color: dodgerblue;
     }
     .accountinfo_title table{
@@ -15,8 +15,8 @@
     }
     .userinfo_title div{
         margin-left:80px;
-        margin-top:50px;
-        font-size: 13px;
+        margin-top:30px;
+        font-size: 14px;
         color: dodgerblue;
     }
     .userinfo_title table{
@@ -43,7 +43,7 @@
 <div class="layui-tab layui-tab-card">
     <div class="accountinfo">
         <div class="accountinfo_title">
-            <div>账户信息</div>
+            <div>{:lang('accountinfo')}</div>
             <table>
                 <tr>
                     <td class="td_info">登陆账号</td>
@@ -62,7 +62,7 @@
     <div class="userinfo">
         <div class="userinfo_title">
             <form method="post">
-                <div>用户信息</div>
+                <div>{:lang('userinfo')}</div>
                 <table>
                     <tr>
                         <td class="td_info">会员类型</td>

+ 5 - 5
application/user/view/message/index.html

@@ -6,19 +6,19 @@
         <div class="search-form">
             <div class="layui-form-item">
                 <div class="layui-inline">
-                    <input type="text" class="layui-input" name="timeRang" id="timeRang" placeholder="选择时间段"
+                    <input type="text" class="layui-input" name="timeRang" id="timeRang" placeholder="{:lang('time_rang')}"
                            style="width: 170px;">
                 </div>
                 <div class="layui-inline">
-                    <label>产品是否到期</label>
+                    <label>{:lang('if_expire')}</label>
                     <select name="type" id="type" lay-verify="" class="layui-select layui-unselect layui-form-select">
                         <option value="">请选择</option>
-                        <option value="-1">到期</option>
-                        <option value="1">未到期</option>
+                        <option value="-1">{:lang('expire')}</option>
+                        <option value="1">{:lang('no_expire')}</option>
                     </select>
                 </div>
                 <div class="layui-inline">
-                    <button type="submit" class="layui-btn search-subBtn" onclick="showCurrent()">搜索</button>
+                    <button type="submit" class="layui-btn search-subBtn" onclick="showCurrent()">{:lang('search')}</button>
                 </div>
             </div>
         </div>

+ 2 - 2
application/user/view/register/index.html

@@ -50,7 +50,7 @@
     }
 
     div.login_body{
-        margin-top: -80px;
+        margin-top: -90px;
     }
     div.login_content div{
         margin-top: 30px;
@@ -102,7 +102,7 @@
                     <input type="text" name="captcha" placeholder="{:lang('login_captcha')}" required class="text" style="width:60%;float:left;">
                     <img src="{:captcha_src()}" style="width:30%;height:38px;" id="change_captcha"/>
                 </div>
-                <input type="checkbox" name="ch_box" id="ch_box" onclick="c_box()" />{:lang('register_xieyi')}<br><br>
+                <input type="checkbox" name="ch_box" id="ch_box" onclick="c_box()" /><span>我已阅读并同意<a href="" target="_blank">《用户协议》</a>及<a href="" target="_blank">《法律声明及隐私条款》</a></span><br><br>
                 <div class="form-group" style="text-align: center;">
                     <input type="submit" class="layui-btn" id="layui-btn" value="{:lang('register_sumbit')}" lay-submit lay-filter="login" style="margin-top: -20px;"/>
                 </div>

+ 10 - 3
application/user/view/updatepwd/index.html

@@ -11,6 +11,7 @@
     table{
         margin:0 auto;
         font-size: 13px;
+        margin-bottom: 100px;
     }
     /*.accountinfo_title table{*/
         /*margin-left: 150px;*/
@@ -42,14 +43,14 @@
     <div class="updatepwd">
         <form method="post">
             <div>
-                <div class="accountinfo_title">重置密码</div>
+                <div class="accountinfo_title" style="font-size: 20px;">重置密码</div>
                 <table>
                     <tr>
                         <td class="td_info">当前密码</td>
                         <td class="td_user_info"><input type="text" name="password" id="password" placeholder="当前密码"></td>
                     </tr>
                     <tr>
-                        <td class="td_info">重置密码</td>
+                        <td class="td_info">修改密码</td>
                         <td class="td_user_info"><input type="text" name="new_password" id="new_password" placeholder="重置密码"><div id="pwd" style="font-size: 10px;color:#aaa;margin-top: -30px;">密码必须包含有字母,数字,符号,密码长度为6-20个字符</div></td>
                     </tr>
                     <tr>
@@ -58,7 +59,10 @@
                     </tr>
                     <tr>
                         <td class="td_info"></td>
-                        <td style="text-align: center;"><input type="submit" id="layui-btn" value="保存修改" style="width: 70px;"></td>
+                        <td>
+                            <input type="submit" id="layui-btn" value="保存修改" style="width: 70px;margin-left: 30px;">
+                            <input type="button" id="btn" value="取消" style="width: 70px;margin-left: 50px;">
+                        </td>
                     </tr>
                 </table>
 
@@ -67,6 +71,9 @@
     </div>
 </div>
 <script>
+    $("#btn").click(function(){
+        window.history.back(-1);
+    });
     //密码 校验
     $("#new_password").blur(function(){
         var password = document.getElementById("new_password").value;

+ 7 - 1
application/user/view/updatepwd/phone.html

@@ -91,7 +91,10 @@
                     </tr>
                     <tr>
                         <td class="td_info"></td>
-                        <td class="next"><input type="button" value="下一步" style="width: 80px;border-color: dodgerblue;color: dodgerblue;background-color: white;"></td>
+                        <td class="next">
+                            <input type="button" value="下一步" style="width: 70px;border-color: dodgerblue;color: dodgerblue;background-color: white;">
+                            <input type="button" id="btn" value="取消" style="width: 70px;border-color: dodgerblue;color: dodgerblue;background-color: white;margin-left: 30px;">
+                        </td>
                     </tr>
                 </table>
             </div>
@@ -99,6 +102,9 @@
     </div>
 </div>
 <script>
+    $("#btn").click(function(){
+        window.history.back(-1);
+    });
     //密码 校验
     $("#new_password").blur(function(){
         var password = document.getElementById("new_password").value;

+ 7 - 5
application/user/view/updatepwd/username.html

@@ -35,7 +35,6 @@
     li .tishi{
         width: 100px;
         text-align: center;
-        /*border: 1px #aaa solid;*/
         margin-left: -35px;
         color: dodgerblue;
     }
@@ -43,9 +42,6 @@
         margin:0 auto;
         font-size: 13px;
     }
-    /*.accountinfo_title table{*/
-    /*margin-left: 150px;*/
-    /*}*/
     table td{
         width: 100px;
         height: 60px;
@@ -91,7 +87,10 @@
                     </tr>
                     <tr>
                         <td class="td_info"></td>
-                        <td class="next"><input type="button" value="下一步" style="width: 80px;border-color: dodgerblue;color: dodgerblue;background-color: white;"></td>
+                        <td class="next">
+                            <input type="button" value="下一步" style="width: 70px;border-color: dodgerblue;color: dodgerblue;background-color: white;">
+                            <input type="button" id="btn" value="取消" style="width: 70px;border-color: dodgerblue;color: dodgerblue;background-color: white;margin-left: 30px;">
+                        </td>
                     </tr>
                 </table>
             </div>
@@ -99,6 +98,9 @@
     </div>
 </div>
 <script>
+    $("#btn").click(function(){
+        window.history.back(-1);
+    });
     //密码 校验
     $("#new_password").blur(function(){
         var password = document.getElementById("new_password").value;