-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from TencentCloudBase/master
合并代码
- Loading branch information
Showing
9 changed files
with
156 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,36 @@ | ||
<view class="punchin flex flex-column"> | ||
<view class="stats flex-none">本小区已经有<text>500</text>人参加健康打卡</view> | ||
<view class="stats flex-none">本小区已经有<text>453</text>人参加健康打卡</view> | ||
<view class="form flex-auto"> | ||
<view class="box"> | ||
<view class="label">日期</view> | ||
<input class="input" placeholder="2020-02-09"></input> | ||
<picker mode="date" value="{{date}}" start="2015-09-01" end="2017-09-01" bindchange="bindDateChange"> | ||
<view class="picker"> | ||
{{date}} | ||
</view> | ||
</picker> | ||
</view> | ||
<view class="box"> | ||
<view class="label">体温</view> | ||
<input class="input" placeholder="2020-02-09"></input> | ||
<picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}"> | ||
<view class="picker"> | ||
{{array[index]}}℃ | ||
</view> | ||
</picker> | ||
</view> | ||
<view class="box"> | ||
<view class="label">备注</view> | ||
<input class="input" placeholder="2020-02-09"></input> | ||
<input class="input" placeholder="无明显反应"></input> | ||
</view> | ||
<view class="other"> | ||
<view class="label">其他症状</view> | ||
<view class="radios flex flex-row align-center"> | ||
<view class="box flex-none flex flex-column align-start" wx:for="{{symptoms}}" wx:key="title"> | ||
<label class="box flex-none flex flex-column align-start" wx:for="{{symptoms}}" wx:key="id"> | ||
<radio></radio> | ||
<text class="title">{{item.title}}</text> | ||
<text class="label">{{item.desc}}</text> | ||
</view> | ||
</label> | ||
</view> | ||
</view> | ||
</view> | ||
<button class="fixed btn-back flex-none button button-primary">回到主页</button> | ||
<button bindtap="checkIn" class="fixed btn-back flex-none button button-primary">立即打卡</button> | ||
</view> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,18 @@ | ||
<view class="punch-list"> | ||
<view class="item flex flex-column" wx:for="{{4}}" wx:key="item"> | ||
<view class="item flex flex-column" wx:for="{{list}}" wx:for-index="i" wx:key="item"> | ||
<view class="header flex align-center"> | ||
<text class="icon flex-none"></text> | ||
打卡第一天 | ||
打卡第 {{(list.length - i)}} 天 | ||
</view> | ||
<view class="body flex"> | ||
<view class="flex-auto"> | ||
<view class="title maxline2">今天体温37度,一切正常,还需要更多营养补充,希望明天一切正常,还能出门出去购物</view> | ||
<view class="date">1小时前</view> | ||
<view class="title maxline2">{{item.content}}</view> | ||
<view class="date">{{item.date}}</view> | ||
</view> | ||
<view class="flex-none img"> | ||
<image src="{{item.imgUrl}}" mode="aspectFill" /> | ||
</view> | ||
<view class="flex-none img"></view> | ||
</view> | ||
</view> | ||
</view> | ||
<button bindtap="toCheckIn" class="fixed btn-back flex-none button button-primary">为爱打卡</button> | ||
</view> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters