Commit cc649ea7 by zhangzhen

细节优化

parent 82d45a6b
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</view> </view>
</view> </view>
</view> </view>
<u-empty v-if="loginStatus && list.length == 0" text="未查询到相关记录" textColor='#C1C1C1'></u-empty> <u-empty v-if="loginStatus && list.length == 0" text="暂无数据" :icon="listBlankImage" textColor='#C1C1C1'></u-empty>
<view v-if="loginStatus && list.length" style="padding: 12px 6% 0;"> <view v-if="loginStatus && list.length" style="padding: 12px 6% 0;">
<u-loadmore :status="status" :icon="true" :line='true' :loading-text="loadingText" <u-loadmore :status="status" :icon="true" :line='true' :loading-text="loadingText"
:loadmore-text="loadmoreText" :nomore-text="nomoreText" /> :loadmore-text="loadmoreText" :nomore-text="nomoreText" />
...@@ -70,6 +70,7 @@ ...@@ -70,6 +70,7 @@
</template> </template>
<script> <script>
import config from "@/config/index.config"
import { import {
cleanList cleanList
} from "@/api/cleanRoom.js" } from "@/api/cleanRoom.js"
...@@ -84,6 +85,7 @@ import NoLogin from "@/components/noLogin/noLogin" ...@@ -84,6 +85,7 @@ import NoLogin from "@/components/noLogin/noLogin"
}, },
data() { data() {
return { return {
listBlankImage:config.assetsPath+'/no_data_icon.png',
status: 'nomore ', status: 'nomore ',
loadingText: '努力加载中', loadingText: '努力加载中',
loadmoreText: '上划加载', loadmoreText: '上划加载',
......
...@@ -1414,7 +1414,7 @@ ...@@ -1414,7 +1414,7 @@
let startArr = startTime.split(":") let startArr = startTime.split(":")
let endArr = endTime.split(":") let endArr = endTime.split(":")
obj.startDate = `${this.dateList[this.dateIndex].readDate} ${startTime}:01` obj.startDate = `${this.dateList[this.dateIndex].readDate} ${startTime}:00`
if ((this.orderType == 1 && Number(endArr[0]) <= Number(startArr[0]))) { if ((this.orderType == 1 && Number(endArr[0]) <= Number(startArr[0]))) {
obj.endDate = obj.endDate =
......
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
</view> </view>
<view v-if="loginStatus && list.length == 0" class="empty-box"> <view v-if="loginStatus && list.length == 0" class="empty-box">
<u-empty text="未查询到相关订单" textColor='#C1C1C1' width="120" <u-empty text="暂无数据" textColor='#C1C1C1' width="120"
:icon="listBlankImage"> :icon="listBlankImage">
</u-empty> </u-empty>
</view> </view>
......
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