@@ -5,22 +5,13 @@ Page({
* 页面的初始数据
*/
data: {
- logo: '',
- list: []
- },
- // 选择用户
- userChange(e) {
- console.log(e);
+ logo: ''
},
+
/**
* 生命周期函数--监听页面加载
- async onLoad(options) {
- // const that = this;
- // let res = await app.$api('user', 'GET', { status: '1', type: '0' })
- // if (res.errcode == '0') that.setData({ list: res.data })
-
+ async onLoad(options) {},
* 生命周期函数--监听页面初次渲染完成
@@ -28,7 +19,6 @@ Page({
onReady() {
* 生命周期函数--监听页面显示
@@ -2,14 +2,4 @@
<view class="one">
<image class="image" src="{{logo}}" mode="" />
</view>
- <view class="two">
- <checkbox-group class="list" bindchange="userChange">
- <label class="label" wx:for="{{list}}" wx:key="index" wx:for-item="item">
- <view class="list_1">
- <!-- checked="{{item.checked}}" -->
- <checkbox value="{{item._id}}">{{item.name}}</checkbox>
- </view>
- </label>
- </checkbox-group>
@@ -4,7 +4,7 @@
<input class="input" type="text" bindconfirm="toSearch" confirm-type="search" placeholder-style=' text-align: center;' placeholder="搜索" />
<view class="one_2" wx:if="{{user.type=='1'}}">
- <button class="button" type="primary" size="mini" bindtap="toAdd">添加团队</button>
+ <button class="button" type="primary" size="mini" bindtap="toAdd">添加</button>
<view class="two">
@@ -11,7 +11,7 @@
}
.main .one .one_1 {
- width: 75%;
+ width: 83%;
.main .one .one_1 .input {
@@ -35,7 +35,7 @@
.main .one .info .info_1 .value .list {
display: flex;
- justify-content: center;
+ justify-content: flex-start;
flex-wrap: wrap;