| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- <template>
- <view class="history">
- <u-time-line>
- <u-time-line-item nodeTop="2" v-for="(item,index) in list" :key="index">
- <template v-slot:node>
- <view class="u-node bg-white" >
- <u-icon name="clock-fill" color="#5064eb" :size="28"></u-icon>
- </view>
- </template>
- <template v-slot:content>
- <view>
- <view class="">{{item.openTime}}</view>
- <view style="width: 636rpx;">
- <view class="content">
- <view class="flex justify-between">
- <view class="">
- <view class="nav-title">
- <text class="">人员姓名:</text>
- <text class="">{{item.userName}}</text>
- </view>
- <view v-if="item.temperature" class="nav-title">
- <text >测量体温:</text>
- <text class="text-red">{{item.temperature}} ℃</text>
- </view>
- <view class="nav-title">
- <text >所属企业:</text>
- <text>{{item.enterpriseName}}</text>
- </view>
- <!-- <view class="nav-title">
- <text >开门地址:</text>
- <text>{{item.deviceAddress}}</text>
- </view> -->
- </view>
- <view class="" v-if="item.faceUrl">
- <image @click="$util.preview(item.faceUrl)" :src="item.faceUrl" style="width: 110rpx;height: 110rpx;border-radius: 10rpx;" mode=""></image>
- </view>
- </view>
- <view class="nav-title">
- <text >开门方式:</text>
- <text v-if="item.openType==1">人脸识别开门</text>
- <text v-if="item.openType==2">小程序一键开门</text>
- </view>
- </view>
-
- </view>
- </view>
- </template>
- </u-time-line-item>
- </u-time-line>
- </view>
- </template>
- <script>
- export default {
- props:{
- list:{
- type:Array
- }
- },
- data() {
- return {
-
- };
- },
- onLoad() {
-
- },
- methods:{
-
- }
- };
- </script>
- <style lang="scss" scoped>
- page{
- background-color: #FFFFFF;
- }
- .nav-title {
- font-size: 28upx;
- font-weight: 300;
- padding-top: 20rpx;
- }
- .history{
- box-sizing: border-box;
- padding: 40rpx 20rpx 20rpx 50rpx;
- }
- .content{
- box-shadow: 0 8rpx 10rpx rgba(234, 234, 234, 0.5),8rpx 0rpx 10rpx rgba(234, 234, 234,.5),-8rpx 0rpx 10rpx rgba(234, 234, 234,.5);
- background-color: #FFFFFF;
- padding: 20rpx;
- border-radius: 10rpx;
- margin: 20rpx 0;
- }
- </style>
|