更新
This commit is contained in:
parent
9da43b6711
commit
555cba5b93
@ -41,7 +41,9 @@
|
||||
list: []
|
||||
}
|
||||
},
|
||||
onLoad() {},
|
||||
onLoad() {
|
||||
this.skeleton = true;
|
||||
},
|
||||
onShow() {
|
||||
this.loadList();
|
||||
},
|
||||
@ -50,10 +52,9 @@
|
||||
},
|
||||
methods: {
|
||||
async loadList(){
|
||||
this.skeleton = true;
|
||||
let res = await taskLists({limit: 15, page: 1});
|
||||
this.list = res.data;
|
||||
this.$u.sleep(500).then(()=>{this.skeleton = false})
|
||||
this.skeleton = false;
|
||||
}
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
|
@ -51,7 +51,7 @@
|
||||
</view> -->
|
||||
<view class="button">
|
||||
<view class="retreat" @click="retreat">退股</view>
|
||||
<view class="hand" @click="hand">上交</view>
|
||||
<view class="hand" :class="{'disable': !shareholder.is_amount_turned}" @click="hand">上交</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@ -274,6 +274,11 @@
|
||||
justify-content: center;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
.disable {
|
||||
background-color: #666;
|
||||
color: #eee;
|
||||
}
|
||||
}
|
||||
|
||||
.contract {
|
||||
|
Loading…
x
Reference in New Issue
Block a user