Commit a1001bfd authored by lvtz's avatar lvtz

fix

parent 75874ec8
...@@ -31,8 +31,9 @@ Page({ ...@@ -31,8 +31,9 @@ Page({
onLoad: function(options) { // Do some initialize when page load. onLoad: function(options) { // Do some initialize when page load.
let navigationBarTitle=""; let navigationBarTitle="";
const {mobile,from} = options; const {mobile,from} = options;
let user = LocalStorage.getItem('user')
this.setData({ this.setData({
'params.mobile': mobile || '', 'params.mobile': user.mobile || mobile || '',
from: from || '' from: from || ''
},()=>{ },()=>{
navigationBarTitle=this.data.from=='update'?'修改密码':'忘记密码'; navigationBarTitle=this.data.from=='update'?'修改密码':'忘记密码';
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<view class="left-iconbox"> <view class="left-iconbox">
<image class="left-icon icon-phone" src="{{imageRoot}}2b/loginregistermgt/icon_phone.png?{{imageVersion}}"></image> <image class="left-icon icon-phone" src="{{imageRoot}}2b/loginregistermgt/icon_phone.png?{{imageVersion}}"></image>
</view> </view>
<input type="number" maxlength="11" bindinput="mobileInput" placeholder-class="placeholderclass" value="{{params.mobile}}" placeholder="请输入您的手机号码" /> <input type="number" maxlength="11" bindinput="mobileInput" placeholder-class="placeholderclass" value="{{params.mobile}}" placeholder="请输入您的手机号码" disabled="{{from=='update'}}"/>
</view> </view>
<view class="form-item"> <view class="form-item">
<view class="left-iconbox"> <view class="left-iconbox">
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
</view> </view>
<view class='like-wrap' hidden='{{currentTabsIndex != 2}}'> <view class='like-wrap' hidden='{{currentTabsIndex != 2}}'>
<view class="like-tip">什么是积分排行??</view> <view class="like-tip">什么是积分排行?</view>
<view class="like-list" wx:if='{{!integralEmptyPage}}'> <view class="like-list" wx:if='{{!integralEmptyPage}}'>
<block wx:for="{{integralList}}" wx:for-item="integralItem" wx:key="integralList"> <block wx:for="{{integralList}}" wx:for-item="integralItem" wx:key="integralList">
<view class="like-item" wx:for="{{integralItem}}" wx:key="index"> <view class="like-item" wx:for="{{integralItem}}" wx:key="index">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment