细节优化

feat/task1-c-wallet
gongfuxiang 2019-03-02 00:17:20 +08:00
parent 19e9769716
commit 0de02aa25e
11 changed files with 29 additions and 25 deletions

View File

@ -112,8 +112,8 @@ return array(
'nickname' => array('name' => '昵称'), 'nickname' => array('name' => '昵称'),
'gender_text' => array('name' => '性别'), 'gender_text' => array('name' => '性别'),
'birthday_text' => array('name' => '生日'), 'birthday_text' => array('name' => '生日'),
'mobile_security' => array('name' => '手机号码', 'tips' => '<a href="'.MyUrl('index/safety/MobileInfo').'">修改</a>'), 'mobile_security' => array('name' => '手机号码', 'tips' => '<a href="{path}">修改</a>', 'path' => 'index/safety/mobileinfo'),
'email_security' => array('name' => '电子邮箱', 'tips' => '<a href="'.MyUrl('index/safety/EmailInfo').'">修改</a>'), 'email_security' => array('name' => '电子邮箱', 'tips' => '<a href="{path}">修改</a>', 'path' => 'index/safety/mobileinfo'),
'add_time_text' => array('name' => '注册时间'), 'add_time_text' => array('name' => '注册时间'),
'upd_time_text' => array('name' => '最后更新时间'), 'upd_time_text' => array('name' => '最后更新时间'),
), ),
@ -124,7 +124,7 @@ return array(
array( array(
'title' => '登录密码', 'title' => '登录密码',
'msg' => '互联网存在被盗风险,建议您定期更改密码以保护安全。', 'msg' => '互联网存在被盗风险,建议您定期更改密码以保护安全。',
'url' => MyUrl('index/safety/loginpwdinfo'), 'path' => 'index/safety/loginpwdinfo',
'type' => 'loginpwd', 'type' => 'loginpwd',
), ),
array( array(
@ -132,7 +132,7 @@ return array(
'no_msg' => '您还没有绑定手机号码', 'no_msg' => '您还没有绑定手机号码',
'ok_msg' => '已绑定手机 #accounts#', 'ok_msg' => '已绑定手机 #accounts#',
'tips' => '可用于登录,密码找回,账户安全管理校验,接受账户提醒通知。', 'tips' => '可用于登录,密码找回,账户安全管理校验,接受账户提醒通知。',
'url' => MyUrl('index/safety/mobileinfo'), 'path' => 'index/safety/mobileinfo',
'type' => 'mobile', 'type' => 'mobile',
), ),
array( array(
@ -140,7 +140,7 @@ return array(
'no_msg' => '您还没有绑定电子邮箱', 'no_msg' => '您还没有绑定电子邮箱',
'ok_msg' => '已绑定电子邮箱 #accounts#', 'ok_msg' => '已绑定电子邮箱 #accounts#',
'tips' => '可用于登录,密码找回,账户安全管理校验,接受账户提醒邮件。', 'tips' => '可用于登录,密码找回,账户安全管理校验,接受账户提醒邮件。',
'url' => MyUrl('index/safety/emailinfo'), 'path' => 'index/safety/emailinfo',
'type' => 'email', 'type' => 'email',
), ),
), ),

View File

@ -38,8 +38,12 @@
{{else /}} {{else /}}
{{$user[$k]}} {{$user[$k]}}
{{/if}} {{/if}}
{{if isset($v['tips'])}} {{if !empty($v['tips'])}}
<span class="span-edit">{{$v.tips|raw}}</span> {{if !empty($v['path'])}}
<span class="span-edit">{{:str_replace('{path}', MyUrl($v['path']), $v['tips'])}}</span>
{{else /}}
<span class="span-edit">{{$v.tips|raw}}</span>
{{/if}}
{{/if}} {{/if}}
</dd> </dd>
{{/if}} {{/if}}

View File

@ -56,8 +56,8 @@
<div class="base"> <div class="base">
<input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" /> <input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" />
<div class="am-fl"> <div class="am-fl">
<img src="{{:MyUrl('index/safety/verifyentry')}}" class="am-radius c-p" id="verify-img" onClick='this.src="{{:MyUrl('index/safety/verifyentry')}}"' /> <img src="{{:MyUrl('index/safety/verifyentry')}}" class="am-radius c-p" id="verify-img" onClick="this.src=this.src+'#'+Math.random();" />
<a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/safety/verifyentry')}}'">看不清换一张</a> <a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/safety/verifyentry')}}#'+Math.random();">看不清换一张</a>
</div> </div>
</div> </div>
<button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block btn-loading-example verify-submit-win" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button> <button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block btn-loading-example verify-submit-win" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button>

View File

@ -44,9 +44,9 @@
{{/if}} {{/if}}
</div> </div>
{{if empty($data[$v['type']]) and empty($v['msg'])}} {{if empty($data[$v['type']]) and empty($v['msg'])}}
<a href="{{$v.url}}" class="am-btn am-btn-danger am-radius am-btn-xs am-fr">绑定</a> <a href="{{:MyUrl($v['path'])}}" class="am-btn am-btn-danger am-radius am-btn-xs am-fr">绑定</a>
{{else /}} {{else /}}
<a href="{{$v.url}}" class="am-btn am-btn-secondary am-radius am-btn-xs am-fr">修改</a> <a href="{{:MyUrl($v['path'])}}" class="am-btn am-btn-secondary am-radius am-btn-xs am-fr">修改</a>
{{/if}} {{/if}}
</div> </div>
</section> </section>

View File

@ -56,8 +56,8 @@
<div class="base"> <div class="base">
<input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" /> <input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" />
<div class="am-fl"> <div class="am-fl">
<img src="{{:MyUrl('index/safety/verifyentry')}}" class="am-radius c-p" id="verify-img" onClick='this.src="{{:MyUrl('index/safety/verifyentry')}}"' /> <img src="{{:MyUrl('index/safety/verifyentry')}}" class="am-radius c-p" id="verify-img" onClick="this.src=this.src+'#'+Math.random();" />
<a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/safety/verifyentry')}}'">看不清换一张</a> <a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/safety/verifyentry')}}#'+Math.random();">看不清换一张</a>
</div> </div>
</div> </div>
<button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block m-t-20 btn-loading-example verify-submit-win" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button> <button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block m-t-20 btn-loading-example verify-submit-win" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button>

View File

@ -56,8 +56,8 @@
<div class="base"> <div class="base">
<input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" /> <input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" />
<div class="am-fl"> <div class="am-fl">
<img src="{{:MyUrl('index/safety/verifyentry')}}" class="am-radius c-p" id="verify-img" onClick='this.src="{{:MyUrl('index/safety/verifyentry')}}"' /> <img src="{{:MyUrl('index/safety/verifyentry')}}" class="am-radius c-p" id="verify-img" onClick="this.src=this.src+'#'+Math.random();" />
<a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/safety/verifyentry')}}'">看不清换一张</a> <a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/safety/verifyentry')}}#'+Math.random();">看不清换一张</a>
</div> </div>
</div> </div>
<button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block btn-loading-example verify-submit-win-new" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button> <button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block btn-loading-example verify-submit-win-new" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button>

View File

@ -56,8 +56,8 @@
<div class="base"> <div class="base">
<input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" /> <input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" />
<div class="am-fl"> <div class="am-fl">
<img src="{{:MyUrl('index/safety/verifyentry')}}" class="am-radius c-p" id="verify-img" onClick='this.src="{{:MyUrl('index/safety/verifyentry')}}"' /> <img src="{{:MyUrl('index/safety/verifyentry')}}" class="am-radius c-p" id="verify-img" onClick="this.src=this.src+'#'+Math.random();" />
<a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/safety/verifyentry')}}'">看不清换一张</a> <a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/safety/verifyentry')}}#'+Math.random();">看不清换一张</a>
</div> </div>
</div> </div>
<button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block m-t-20 btn-loading-example verify-submit-win-new" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button> <button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block m-t-20 btn-loading-example verify-submit-win-new" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button>

View File

@ -69,8 +69,8 @@
<div class="base"> <div class="base">
<input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" /> <input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" />
<div class="am-fl"> <div class="am-fl">
<img src="{{:MyUrl('index/user/userverifyentry', ['type'=>'reg'])}}" class="am-radius c-p" id="verify-img" onClick='this.src="{{:MyUrl('index/user/userverifyentry', ['type'=>'reg'])}}"' /> <img src="{{:MyUrl('index/user/userverifyentry', ['type'=>'reg'])}}" class="am-radius c-p" id="verify-img" onClick="this.src=this.src+'#'+Math.random();" />
<a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/user/userverifyentry', ['type'=>'reg'])}}'">看不清换一张</a> <a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/user/userverifyentry', ['type'=>'reg'])}}#'+Math.random();">看不清换一张</a>
</div> </div>
</div> </div>
<button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block m-t-20 btn-loading-example verify-submit-win" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button> <button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block m-t-20 btn-loading-example verify-submit-win" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button>

View File

@ -59,8 +59,8 @@
<div class="base"> <div class="base">
<input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" /> <input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" />
<div class="am-fl"> <div class="am-fl">
<img src="{{:MyUrl('index/user/userverifyentry', ['type'=>'forget'])}}" class="am-radius c-p" id="verify-img" onClick='this.src="{{:MyUrl('index/user/userverifyentry', ['type'=>'forget'])}}"' /> <img src="{{:MyUrl('index/user/userverifyentry', ['type'=>'forget'])}}" class="am-radius c-p" id="verify-img" onClick="this.src=this.src+'#'+Math.random();" />
<a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/user/userverifyentry', ['type'=>'forget'])}}'">看不清换一张</a> <a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/user/userverifyentry', ['type'=>'forget'])}}#'+Math.random();">看不清换一张</a>
</div> </div>
</div> </div>
<button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block m-t-20 btn-loading-example verify-submit-win" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button> <button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block m-t-20 btn-loading-example verify-submit-win" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button>

View File

@ -69,8 +69,8 @@
<div class="base"> <div class="base">
<input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" /> <input type="text" placeholder="图形验证码" maxlength="6" id="verify-img-value" data-validation-message="请输入有效的图形验证码" class="am-form-field am-radius" />
<div class="am-fl"> <div class="am-fl">
<img src="{{:MyUrl('index/user/userverifyentry', ['type'=>'reg'])}}" class="am-radius c-p" id="verify-img" onClick='this.src="{{:MyUrl('index/user/userverifyentry', ['type'=>'reg'])}}"' /> <img src="{{:MyUrl('index/user/userverifyentry', ['type'=>'reg'])}}" class="am-radius c-p" id="verify-img" onClick="this.src=this.src+'#'+Math.random();" />
<a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/user/userverifyentry', ['type'=>'reg'])}}'">看不清换一张</a> <a href="javascript:;" class="verify-tips" onClick="document.getElementById('verify-img').src='{{:MyUrl('index/user/userverifyentry', ['type'=>'reg'])}}#'+Math.random();">看不清换一张</a>
</div> </div>
</div> </div>
<button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block m-t-20 btn-loading-example verify-submit-win" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button> <button type="button" class="am-btn am-btn-secondary am-radius am-btn-sm block m-t-20 btn-loading-example verify-submit-win" data-am-loading="{spinner:'circle-o-notch', loadingText:'发送中...'}" data-win="1">确认</button>

View File

@ -55,8 +55,8 @@ a:hover, a:focus { color: #d2364c; text-decoration: underline; }
.spatic{width:100%; height:16px;} .spatic{width:100%; height:16px;}
h5{float: right;color: #666;padding-right:20px;} h5{float: right;color: #666;padding-right:20px;}
input.add,input.min{width:15px} input.add,input.min{width:15px}
.c-p {cursor:pointer;}
.last{border-right:none !important;} .last{border-right:none !important;}
/*选项卡样式定义*/ /*选项卡样式定义*/
.am-nav-tabs,.am-tabs-bd{border-color:transparent ;} .am-nav-tabs,.am-tabs-bd{border-color:transparent ;}
@ -695,7 +695,7 @@ background:url(../images/ibar_sprites.png) no-repeat;background-position:0px -23
.user-content-body {-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto; } .user-content-body {-webkit-box-flex:1;-webkit-flex:1 0 auto;-ms-flex:1 0 auto;flex:1 0 auto; }
.user-offcanvas-bar { z-index: 900; } .user-offcanvas-bar { z-index: 900; }
@media only screen and (min-width:640px) { @media only screen and (min-width:640px) {
.user-sidebar {display:block;position:static;background:none; border-top: 5px solid #ED5564;} .user-sidebar {display:block;position:relative;background:none; border-top: 5px solid #ED5564;z-index: 0;}
.user-offcanvas-bar {position:static;width:auto;background:none;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);overflow-y:hidden;} .user-offcanvas-bar {position:static;width:auto;background:none;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);overflow-y:hidden;}
.user-offcanvas-bar:after {content:none;} .user-offcanvas-bar:after {content:none;}
.user-main { padding: 0 5px; } .user-main { padding: 0 5px; }