|  |  |  | 
|---|
|  |  |  | </scroll-view> | 
|---|
|  |  |  | <view class="foot"> | 
|---|
|  |  |  | <button  size="mini" type="primary" @click="edite(id)">修改</button> | 
|---|
|  |  |  | <button  size="mini" type="warn" @click="del(id)">删除</button> | 
|---|
|  |  |  | <button  size="mini" type="warn" @click="del(id)" v-show="isDel">删除</button> | 
|---|
|  |  |  | </view> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <!-- 输入框示例 --> | 
|---|
|  |  |  | 
|---|
|  |  |  | followerList: [] | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | followers: [], | 
|---|
|  |  |  | cstmrId: '' | 
|---|
|  |  |  | cstmrId: '', | 
|---|
|  |  |  | isDel: true | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | onLoad(option) { | 
|---|
|  |  |  | if (option.type == 'info') { | 
|---|
|  |  |  | this.isDel = false | 
|---|
|  |  |  | } | 
|---|
|  |  |  | this.id = option.id | 
|---|
|  |  |  | this.init() | 
|---|
|  |  |  | this.autoLoad('follower','') | 
|---|
|  |  |  | 
|---|
|  |  |  | header: {'token' : uni.getStorageSync('token'), | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | method: 'GET', | 
|---|
|  |  |  |  | 
|---|
|  |  |  | success(res) { | 
|---|
|  |  |  | console.log(res); | 
|---|
|  |  |  | res = res.data | 
|---|
|  |  |  | if (res.code === 200) { | 
|---|
|  |  |  | uni.navigateBack() | 
|---|