Commit 9c9dc943 by 施宇

Merge branch 'master' of http://119.23.72.7/shiyu/icsalesProgram

parents 336d0b04 7b4f875e
......@@ -95,6 +95,17 @@ Page({
*/
onShow: function () {
//获取用户信息
http.getData(apis.userInfo, 'GET', {
token: wx.getStorageSync('access_token')
}, (res) => {
if (res.errcode === 0) {
this.setData({
userInfo: res.data
});
}
}, true);
},
/**
......@@ -275,6 +286,7 @@ Page({
name: values.region_name
})
});
arrs.splice(2, 1, area);
this.setData({
multiArray: arrs
......
......@@ -20,7 +20,7 @@
<view class="hr"></view>
<view class="list row verCenter bothSide bor">
<view class="l">所有地区</view>
<view class="sel row rowCenter verCenter">
<view class="sel row rowCenter verCenter" wx:if="{{multiArray.length > 0}}">
<view>
<picker class="t1" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}" range-key="name">
{{multiArray[0][multiIndex[0]].name}},{{multiArray[1][multiIndex[1]].name}},{{multiArray[2][multiIndex[2]].name}}
......
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 sign in to comment