|
|
@@ -1,11 +1,7 @@
|
|
|
<template>
|
|
|
<view class="page">
|
|
|
- <view>
|
|
|
- <image class="bgImage" src="/static/index/bgImg.png"></image>
|
|
|
- </view>
|
|
|
- <view class="page1">
|
|
|
- <view class="flex-row justify-center">
|
|
|
- <view class="flex-row tuni">
|
|
|
+
|
|
|
+ <view class="flex-row tuni">
|
|
|
<image class="profile" src="/static/my/fuwuNmber.png"></image>
|
|
|
<view class="tuniMsg flex-col">
|
|
|
<text class="name">托老师</text>
|
|
|
@@ -16,14 +12,13 @@
|
|
|
</view>
|
|
|
<view class="flex-col ">
|
|
|
<view class="flex-row justify-center dakaIcon">
|
|
|
- <u-icon name="/static/index/dizi.png" size="25"></u-icon>
|
|
|
+ <u-icon name="/static/index/saoma.png" size="25"></u-icon>
|
|
|
</view>
|
|
|
<view class="flex-row justify-center dakaText">
|
|
|
<text>报道打卡</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
|
<view class="flex-row justify-center">
|
|
|
<view class="tab flex-row">
|
|
|
@@ -36,17 +31,16 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
- <view v-if="tabIndex === 0" class="flex-row justify-center backColor ">
|
|
|
- <view class="serviceing" v-if="true">
|
|
|
- <view class="serviceMsg" >
|
|
|
- <view class="flex-row serviceInfo">
|
|
|
+ <view v-if="tabIndex === 0" class="flex-row justify-center">
|
|
|
+ <view class="serviceMsg " v-if="true">
|
|
|
+ <view class="flex-row serviceInfo ">
|
|
|
<image class="serviceProfile" src="/static/my/fuwuNmber.png"></image>
|
|
|
<view class="flex-col justify-end">
|
|
|
<view class="flex-row" >
|
|
|
<text class="servicename">张某某</text>
|
|
|
<view class="flex-row justify-center tag">
|
|
|
<text>切换</text>
|
|
|
- <u-icon name="/static/index/dizi.png" size="18"></u-icon>
|
|
|
+ <u-icon name="/static/index/qiehuan.png" size="18"></u-icon>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -63,7 +57,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="flex-row justify-center">
|
|
|
+ <view class="flex-row justify-center ">
|
|
|
<view class="flex-col itemView">
|
|
|
<view class="flex-row item">
|
|
|
<u-icon name="/static/index/jiandao.png" size="20"></u-icon>
|
|
|
@@ -113,7 +107,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="flex-row justify-center tag1">
|
|
|
- <u-icon name="/static/index/dizi.png" size="18"></u-icon>
|
|
|
+ <u-icon name="/static/index/qianbao.png" size="18"></u-icon>
|
|
|
<text>去结算</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -145,9 +139,8 @@
|
|
|
<text>开始服务</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
|
- <view :style="{'height':sysHeight}" v-else>
|
|
|
+ <view class="flex-col" :style="{'height':sysHeight}" v-else>
|
|
|
<view class="flex-row justify-center">
|
|
|
<image class="dataNull" src="/static/index/dataNull.png"></image>
|
|
|
</view>
|
|
|
@@ -155,15 +148,12 @@
|
|
|
<text>暂无服务项目</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
- </view>
|
|
|
- <view v-if="tabIndex === 1" class="list" :style="{'height':sysHeight}">
|
|
|
- <view v-if="true">
|
|
|
- <mescroll-uni ref="mescrollRef" @init="mescrollInit" :height="sysHeight" :down="downOption" @down="downCallback"
|
|
|
+ </view>
|
|
|
+ <view v-if="tabIndex === 1" :style="{'height':sysHeight}">
|
|
|
+ <mescroll-uni v-if="true" ref="mescrollRef" @init="mescrollInit" :height="sysHeight" :down="downOption" @down="downCallback"
|
|
|
:up="upOption" @up="upCallback" @emptyclick="emptyClick">
|
|
|
- <view class="flex-row justify-center">
|
|
|
- <view class="listItem flex-row justify-between">
|
|
|
+
|
|
|
+ <view class="listItem flex-row justify-between ">
|
|
|
<view class="flex-row">
|
|
|
<image class="listItemProfile" src="/static/my/fuwuNmber.png"></image>
|
|
|
<text class="listItemName">张某某</text>
|
|
|
@@ -174,10 +164,10 @@
|
|
|
<text class="listItemValue">11:45</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+
|
|
|
+
|
|
|
</mescroll-uni>
|
|
|
- </view>
|
|
|
- <view :style="{'height':sysHeight}" v-else>
|
|
|
+ <view :style="{'height':sysHeight}" v-else>
|
|
|
<view class="flex-row justify-center">
|
|
|
<image class="dataNull" src="/static/index/dataNull.png"></image>
|
|
|
</view>
|
|
|
@@ -186,11 +176,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- </view>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -227,8 +212,14 @@
|
|
|
},
|
|
|
onLoad(){
|
|
|
let sysInfo = uni.getSystemInfoSync()
|
|
|
- this.sysHeight = sysInfo.windowHeight - (sysInfo.windowWidth/750) *454 + 'px'
|
|
|
+ this.sysHeight = sysInfo.windowHeight - (sysInfo.windowWidth/750) * 354 + 'px'
|
|
|
console.log(this.sysHeight)
|
|
|
+
|
|
|
+ uni.getLocation({
|
|
|
+ success:(e)=>{
|
|
|
+ console.log(e)
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
methods: {
|
|
|
clickTab(e){
|