Commit 20bff3b4 authored by wildfirecode13's avatar wildfirecode13

1

parent 00f5e368
...@@ -145,11 +145,12 @@ ...@@ -145,11 +145,12 @@
color: #39abed; color: #39abed;
} }
.task .task_item .task_progress { .task .task_item .task_progress {
width: 90rpx; width: 200rpx;
height: 22rpx; /* height: 22rpx; */
text-align: center;
opacity: 1; opacity: 1;
left: 517rpx; left: 465rpx;
top: 95rpx; top: 90rpx;
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
font-size: 24rpx; font-size: 24rpx;
......
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
<label class="task_title ">{{item.title}}</label> <label class="task_title ">{{item.title}}</label>
<label class="task_award ">精力 +{{item.rewards}}</label> <label class="task_award ">精力 +{{item.rewards}}</label>
<block> <block>
<label class="task_progress " a:if="{{item.taskType!='follow'}}">({{item.todayCompleteTimes}}/{{item.times}})</label> <label class="task_progress " a:if="{{item.taskType=='invites'}}">(不限次数)</label>
<label class="task_progress " a:elif="{{item.taskType!='follow'}}">({{item.todayCompleteTimes}}/{{item.times}})</label>
<label class="task_progress " a:else>({{item.completeTimes}}/1)</label> <label class="task_progress " a:else>({{item.completeTimes}}/1)</label>
</block> </block>
</view> </view>
......
...@@ -88,7 +88,7 @@ Page({ ...@@ -88,7 +88,7 @@ Page({
console.log('on ready') console.log('on ready')
//授权和登录先搞 //授权和登录先搞
// await this.getAuth(); await this.getAuth();
// this.initCanvas(); // this.initCanvas();
my.__onMessage__ = (e) => { my.__onMessage__ = (e) => {
this.onMessage(e) this.onMessage(e)
......
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