|
@@ -5,53 +5,47 @@
|
|
|
<view style="position: fixed;z-index: 100;width: 100%;color: #FFFFFF;">
|
|
<view style="position: fixed;z-index: 100;width: 100%;color: #FFFFFF;">
|
|
|
<uni-nav-bar @clickLeft="clickLeft" left-icon="back" left-text="返回" title="历史数据"></uni-nav-bar>
|
|
<uni-nav-bar @clickLeft="clickLeft" left-icon="back" left-text="返回" title="历史数据"></uni-nav-bar>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="selecttimes" @click="pickshow = !pickshow">
|
|
|
|
|
+ <view class="timesbox">
|
|
|
|
|
+ <image
|
|
|
|
|
+ :src="'http://www.hnyfwlw.com:8006/bigdata_app/image/prevention/1acfe2751c01d3786cdc49b83d7e505.png'"
|
|
|
|
|
+ mode=""></image>
|
|
|
|
|
+ <p>{{timetab(oldtime)}}</p>
|
|
|
|
|
+ <p class="or">~</p>
|
|
|
|
|
+ <p>{{timetab(newtime)}}</p>
|
|
|
|
|
+ <u-icon name="rili" custom-prefix="custom-icon" class="icon"></u-icon>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <u-calendar v-model="pickshow" mode="range" @change="tiemchange"></u-calendar>
|
|
|
|
|
+ </view>
|
|
|
<view class="shuju_one" v-show="!pickshow&&!picktwoshow">
|
|
<view class="shuju_one" v-show="!pickshow&&!picktwoshow">
|
|
|
<view class="shuju_one_title">
|
|
<view class="shuju_one_title">
|
|
|
- <view :class="titleidnex==index?'title_text_color':'tltle_text'" v-for="(item,index) in titletext" :key="index"
|
|
|
|
|
- @click="changeindex(index)">
|
|
|
|
|
|
|
+ <view :class="titleidnex==index?'title_text_color':'tltle_text'" v-for="(item,index) in titletext"
|
|
|
|
|
+ :key="index" @click="changeindex(index)">
|
|
|
{{item}}
|
|
{{item}}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="canvastishi" v-if="!canvastishiTF">
|
|
|
|
|
|
|
+ <view class="canvastishi" v-if="!canvastishiTF && !dataloadingtf">
|
|
|
暂无数据
|
|
暂无数据
|
|
|
</view>
|
|
</view>
|
|
|
- <canvas v-if="canvastishiTF" canvas-id="canvasColumnA" id="canvasColumnA" class="charts" @touchstart="touchLineA($event)" @touchmove="moveLineA($event)"
|
|
|
|
|
- @touchend="touchEndLineA($event)" disable-scroll=true :style="{'width':cWidth*pixelRatio+'px','height':cHeight*pixelRatio+'px', 'transform': 'scale('+(1/pixelRatio)+')','margin-left':-cWidth*(pixelRatio-1)/2+'px','margin-top':-cHeight*(pixelRatio-1)/2+'px'}"></canvas>
|
|
|
|
|
|
|
+ <view class="canvastishi" v-if="dataloadingtf">
|
|
|
|
|
+ <p class="dataloading">加载中</p>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <canvas v-if="canvastishiTF" canvas-id="canvasColumnA" id="canvasColumnA" class="charts"
|
|
|
|
|
+ @touchstart="touchLineA($event)" @touchmove="moveLineA($event)" @touchend="touchEndLineA($event)"
|
|
|
|
|
+ disable-scroll=true
|
|
|
|
|
+ :style="{'width':cWidth*pixelRatio+'px','height':cHeight*pixelRatio+'px', 'transform': 'scale('+(1/pixelRatio)+')','margin-left':-cWidth*(pixelRatio-1)/2+'px','margin-top':-cHeight*(pixelRatio-1)/2+'px'}"></canvas>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="shuju_two" v-show="!pickshow&&!picktwoshow">
|
|
<view class="shuju_two" v-show="!pickshow&&!picktwoshow">
|
|
|
- <view class="canvastishi" v-if="!canvastishiTF">
|
|
|
|
|
|
|
+ <view class="canvastishi" v-if="!canvastishiTF && !dataloadingtf">
|
|
|
暂无数据
|
|
暂无数据
|
|
|
</view>
|
|
</view>
|
|
|
- <canvas v-if="canvastishiTF" canvas-id="canvasColumnB" id="canvasColumnB" class="charts" @touchstart="touchLineBb($event)" @touchmove="moveLineBb($event)"
|
|
|
|
|
- @touchend="touchEndLineBb($event)" disable-scroll=true :style="{'width':cWidth*pixelRatio+'px','height':cHeight*pixelRatio+'px', 'transform': 'scale('+(1/pixelRatio)+')','margin-left':-cWidth*(pixelRatio-1)/2+'px','margin-top':-cHeight*(pixelRatio-1)/2+'px'}"></canvas>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="selecttimes">
|
|
|
|
|
- <view class="newtimes">
|
|
|
|
|
- <view class="newtimes_state" @click="pickshow = !pickshow">
|
|
|
|
|
- <view class="oldtimes_left">
|
|
|
|
|
- <image :src="'http://www.hnyfwlw.com:8006/bigdata_app'+'/image/prevention/841f87bfd8abb1b09610fa0789f9d8e.png'" mode=""></image>
|
|
|
|
|
- 开始时间:{{this.oldtime|timeFormat()}}
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="oldtimes_left">
|
|
|
|
|
- <u-icon name="arrow-down"></u-icon>
|
|
|
|
|
- </view>
|
|
|
|
|
- <u-picker mode="time" v-model="pickshow" :params="params" @confirm="pickone"></u-picker>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="newtimes_end" @click="picktwoshow = !picktwoshow">
|
|
|
|
|
- <view class="oldtimes_left">
|
|
|
|
|
- <image :src="'http://www.hnyfwlw.com:8006/bigdata_app'+'/image/prevention/1acfe2751c01d3786cdc49b83d7e505.png'" mode=""></image>
|
|
|
|
|
- 结束时间:{{this.newtime|timeFormat()}}
|
|
|
|
|
- </view>
|
|
|
|
|
- <view class="oldtimes_left">
|
|
|
|
|
- <u-icon name="arrow-down"></u-icon>
|
|
|
|
|
- </view>
|
|
|
|
|
- <u-picker mode="time" v-model="picktwoshow" :params="params" @confirm="picktwo"></u-picker>
|
|
|
|
|
- </view>
|
|
|
|
|
- <p class="tishi" v-if="tishiTF">请选择正确的结束时间</p>
|
|
|
|
|
- <view class="btnser" @click="serter">
|
|
|
|
|
- 搜 索
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view class="canvastishi" v-if="dataloadingtf">
|
|
|
|
|
+ <p class="dataloading">加载中</p>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <canvas v-if="canvastishiTF" canvas-id="canvasColumnB" id="canvasColumnB" class="charts"
|
|
|
|
|
+ @touchstart="touchLineBb($event)" @touchmove="moveLineBb($event)" @touchend="touchEndLineBb($event)"
|
|
|
|
|
+ disable-scroll=true
|
|
|
|
|
+ :style="{'width':cWidth*pixelRatio+'px','height':cHeight*pixelRatio+'px', 'transform': 'scale('+(1/pixelRatio)+')','margin-left':-cWidth*(pixelRatio-1)/2+'px','margin-top':-cHeight*(pixelRatio-1)/2+'px'}"></canvas>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="refresh" @click="refresh">
|
|
<view class="refresh" @click="refresh">
|
|
|
刷 新
|
|
刷 新
|
|
@@ -107,7 +101,8 @@
|
|
|
export default {
|
|
export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
- thdata: ["上报时间","设备开关", "工作状态", "雨控状态", "温控状态", "倾倒状态", "定时(h)", "电击次数", "温度(℃)", "湿度(%)", "充电电压(v)", "电池电压(v)",
|
|
|
|
|
|
|
+ thdata: ["上报时间", "设备开关", "工作状态", "雨控状态", "温控状态", "倾倒状态", "定时(h)", "电击次数", "温度(℃)", "湿度(%)", "充电电压(v)",
|
|
|
|
|
+ "电池电压(v)",
|
|
|
],
|
|
],
|
|
|
eqlistdata: [],
|
|
eqlistdata: [],
|
|
|
cWidth: '400',
|
|
cWidth: '400',
|
|
@@ -136,8 +131,9 @@
|
|
|
end_time: null,
|
|
end_time: null,
|
|
|
device_id: null
|
|
device_id: null
|
|
|
},
|
|
},
|
|
|
- canvastishiTF:false,
|
|
|
|
|
- pagesum:1
|
|
|
|
|
|
|
+ canvastishiTF: false, //暂无数据提示
|
|
|
|
|
+ dataloadingtf: true, //加载中提示
|
|
|
|
|
+ pagesum: 1
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
// 页面加载执行的函数
|
|
// 页面加载执行的函数
|
|
@@ -147,19 +143,22 @@
|
|
|
this.cWidth = uni.upx2px(650);
|
|
this.cWidth = uni.upx2px(650);
|
|
|
this.cHeight = uni.upx2px(500);
|
|
this.cHeight = uni.upx2px(500);
|
|
|
},
|
|
},
|
|
|
- onShow(){
|
|
|
|
|
|
|
+ onShow() {
|
|
|
presenttime = +new Date();
|
|
presenttime = +new Date();
|
|
|
this.oldtime = parseInt((presenttime - 24 * 60 * 60 * 1000) / 1000)
|
|
this.oldtime = parseInt((presenttime - 24 * 60 * 60 * 1000) / 1000)
|
|
|
this.newtime = parseInt(presenttime / 1000)
|
|
this.newtime = parseInt(presenttime / 1000)
|
|
|
- setTimeout(()=>{
|
|
|
|
|
- this.getServerData(parseInt(presenttime / 1000), parseInt((presenttime - 24 * 60 * 60 * 1000) / 1000))
|
|
|
|
|
- this.historydata(parseInt(presenttime / 1000), parseInt((presenttime - 24 * 60 * 60 * 1000) / 1000))
|
|
|
|
|
- },1000)
|
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ this.getServerData(parseInt(presenttime / 1000), parseInt((presenttime - 24 * 60 * 60 * 1000) /
|
|
|
|
|
+ 1000))
|
|
|
|
|
+ this.historydata(parseInt(presenttime / 1000), parseInt((presenttime - 24 * 60 * 60 * 1000) /
|
|
|
|
|
+ 1000))
|
|
|
|
|
+ }, 1000)
|
|
|
},
|
|
},
|
|
|
methods: { //
|
|
methods: { //
|
|
|
//forecast.worm_lamp.device_polyline_data
|
|
//forecast.worm_lamp.device_polyline_data
|
|
|
// 获取数据,发请求
|
|
// 获取数据,发请求
|
|
|
async getServerData(newtime, oldtimes) { //设备折线图
|
|
async getServerData(newtime, oldtimes) { //设备折线图
|
|
|
|
|
+ this.dataloadingtf = true
|
|
|
const res = await this.$myRequest({
|
|
const res = await this.$myRequest({
|
|
|
url: '/api/api_gateway?method=forecast.worm_lamp.device_polyline_data',
|
|
url: '/api/api_gateway?method=forecast.worm_lamp.device_polyline_data',
|
|
|
data: {
|
|
data: {
|
|
@@ -169,9 +168,10 @@
|
|
|
start_time: oldtimes
|
|
start_time: oldtimes
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
- if(res.length == 0){
|
|
|
|
|
|
|
+ this.dataloadingtf = false
|
|
|
|
|
+ if (res.length == 0) {
|
|
|
this.canvastishiTF = false
|
|
this.canvastishiTF = false
|
|
|
- }else{
|
|
|
|
|
|
|
+ } else {
|
|
|
this.canvastishiTF = true
|
|
this.canvastishiTF = true
|
|
|
var xtitle = []
|
|
var xtitle = []
|
|
|
var arr = []
|
|
var arr = []
|
|
@@ -182,38 +182,39 @@
|
|
|
var arr5 = []
|
|
var arr5 = []
|
|
|
for (var i = 0; i < res.length; i++) {
|
|
for (var i = 0; i < res.length; i++) {
|
|
|
var times = new Date(res[i].addtime * 1000)
|
|
var times = new Date(res[i].addtime * 1000)
|
|
|
- xtitle.unshift(times.getMonth() + 1 + "/" + times.getDate() + "-" + times.getHours() + ":" + times.getMinutes())
|
|
|
|
|
|
|
+ xtitle.unshift(times.getMonth() + 1 + "/" + times.getDate() + "-" + times.getHours() + ":" +
|
|
|
|
|
+ times.getMinutes())
|
|
|
arr1.unshift(res[i].temperature)
|
|
arr1.unshift(res[i].temperature)
|
|
|
arr2.unshift(res[i].humidity)
|
|
arr2.unshift(res[i].humidity)
|
|
|
arr3.unshift(Number(res[i].others.bv))
|
|
arr3.unshift(Number(res[i].others.bv))
|
|
|
arr4.unshift(Number(res[i].others.cv))
|
|
arr4.unshift(Number(res[i].others.cv))
|
|
|
arr5.unshift(res[i].others.ct)
|
|
arr5.unshift(res[i].others.ct)
|
|
|
}
|
|
}
|
|
|
- arr.unshift(arr1,arr2,arr3,arr4)
|
|
|
|
|
|
|
+ arr.unshift(arr1, arr2, arr3, arr4)
|
|
|
var obj = [{
|
|
var obj = [{
|
|
|
name: '温度',
|
|
name: '温度',
|
|
|
data: arr[0],
|
|
data: arr[0],
|
|
|
color: '#F97000'
|
|
color: '#F97000'
|
|
|
}, {
|
|
}, {
|
|
|
name: '湿度',
|
|
name: '湿度',
|
|
|
- data: arr[1],
|
|
|
|
|
|
|
+ data: arr[1],
|
|
|
color: '#00E29D'
|
|
color: '#00E29D'
|
|
|
}, {
|
|
}, {
|
|
|
name: '电池电压',
|
|
name: '电池电压',
|
|
|
- data: arr[2],
|
|
|
|
|
|
|
+ data: arr[2],
|
|
|
color: '#FF3F3F'
|
|
color: '#FF3F3F'
|
|
|
}, {
|
|
}, {
|
|
|
name: '充电电压',
|
|
name: '充电电压',
|
|
|
- data: arr[3],
|
|
|
|
|
|
|
+ data: arr[3],
|
|
|
color: '#6CBBFF'
|
|
color: '#6CBBFF'
|
|
|
}]
|
|
}]
|
|
|
- var obj2 =[{
|
|
|
|
|
|
|
+ var obj2 = [{
|
|
|
name: '击虫次数',
|
|
name: '击虫次数',
|
|
|
data: arr5,
|
|
data: arr5,
|
|
|
color: '#00E29D'
|
|
color: '#00E29D'
|
|
|
}]
|
|
}]
|
|
|
- this.showColumn("canvasColumnA",xtitle, obj)
|
|
|
|
|
- this.showColumnb("canvasColumnB",xtitle, obj2)
|
|
|
|
|
|
|
+ this.showColumn("canvasColumnA", xtitle, obj)
|
|
|
|
|
+ this.showColumnb("canvasColumnB", xtitle, obj2)
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
changeindex(index) { //选择日期
|
|
changeindex(index) { //选择日期
|
|
@@ -262,7 +263,7 @@
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
console.log(res.data)
|
|
console.log(res.data)
|
|
|
- this.pagesum = Math.ceil(res.counts/10)+1
|
|
|
|
|
|
|
+ this.pagesum = Math.ceil(res.counts / 10) || 1
|
|
|
this.eqlistdata = res.data
|
|
this.eqlistdata = res.data
|
|
|
if (res.data.length == 0) {
|
|
if (res.data.length == 0) {
|
|
|
this.forbidden = false
|
|
this.forbidden = false
|
|
@@ -273,13 +274,30 @@
|
|
|
prev() { //上一页
|
|
prev() { //上一页
|
|
|
if (this.page != 1) {
|
|
if (this.page != 1) {
|
|
|
this.page--
|
|
this.page--
|
|
|
|
|
+ this.historydata(this.newtime, this.oldtime)
|
|
|
}
|
|
}
|
|
|
- this.historydata(this.newtime, this.oldtime)
|
|
|
|
|
},
|
|
},
|
|
|
next() { //下一页
|
|
next() { //下一页
|
|
|
- this.page++
|
|
|
|
|
|
|
+ if (this.page < this.pagesum) {
|
|
|
|
|
+ this.page++
|
|
|
|
|
+ this.historydata(this.newtime, this.oldtime)
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ tiemchange(e) {
|
|
|
|
|
+ console.log(e)
|
|
|
|
|
+ this.oldtime = +new Date(e.startDate) / 1000
|
|
|
|
|
+ this.newtime = +new Date(e.endDate) / 1000 + 16 * 60 * 60
|
|
|
|
|
+ this.getServerData(this.newtime, this.oldtime)
|
|
|
this.historydata(this.newtime, this.oldtime)
|
|
this.historydata(this.newtime, this.oldtime)
|
|
|
},
|
|
},
|
|
|
|
|
+ timetab(e) {
|
|
|
|
|
+ e = new Date(e * 1000)
|
|
|
|
|
+ var year = e.getFullYear()
|
|
|
|
|
+ var month = e.getMonth() + 1 < 10 ? "0" + (e.getMonth() + 1) : e.getMonth() + 1
|
|
|
|
|
+ var day = e.getDate() < 10 ? "0" + e.getDate() : e.getDate()
|
|
|
|
|
+ var time = year + "/" + month + "/" + day
|
|
|
|
|
+ return time
|
|
|
|
|
+ },
|
|
|
pickone(e) {
|
|
pickone(e) {
|
|
|
this.oldtime = +new Date(e.year, e.month - 1, e.day, e.hour, e.minute) / 1000
|
|
this.oldtime = +new Date(e.year, e.month - 1, e.day, e.hour, e.minute) / 1000
|
|
|
if (this.newtime < this.oldtime) {
|
|
if (this.newtime < this.oldtime) {
|
|
@@ -305,27 +323,27 @@
|
|
|
duration: 2000
|
|
duration: 2000
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
clickLeft() {
|
|
clickLeft() {
|
|
|
uni.navigateBack({
|
|
uni.navigateBack({
|
|
|
delta: 1
|
|
delta: 1
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- showColumn(id,xtitle,xinfo) {
|
|
|
|
|
|
|
+ showColumn(id, xtitle, xinfo) {
|
|
|
var _self = this
|
|
var _self = this
|
|
|
canvaColumnA = new uCharts({
|
|
canvaColumnA = new uCharts({
|
|
|
canvasId: id,
|
|
canvasId: id,
|
|
|
type: 'line',
|
|
type: 'line',
|
|
|
legend: {
|
|
legend: {
|
|
|
- position:"top"
|
|
|
|
|
|
|
+ position: "top"
|
|
|
},
|
|
},
|
|
|
fontSize: 11,
|
|
fontSize: 11,
|
|
|
background: '#FFFFFF',
|
|
background: '#FFFFFF',
|
|
|
pixelRatio: 1,
|
|
pixelRatio: 1,
|
|
|
animation: true,
|
|
animation: true,
|
|
|
dataLabel: false,
|
|
dataLabel: false,
|
|
|
- categories:xtitle,
|
|
|
|
|
|
|
+ categories: xtitle,
|
|
|
series: xinfo,
|
|
series: xinfo,
|
|
|
enableScroll: true, //开启图表拖拽功能
|
|
enableScroll: true, //开启图表拖拽功能
|
|
|
xAxis: {
|
|
xAxis: {
|
|
@@ -348,20 +366,20 @@
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
- showColumnb(id,xtitle,xinfo) {
|
|
|
|
|
|
|
+ showColumnb(id, xtitle, xinfo) {
|
|
|
var _self = this
|
|
var _self = this
|
|
|
canvaColumnB = new uCharts({
|
|
canvaColumnB = new uCharts({
|
|
|
canvasId: id,
|
|
canvasId: id,
|
|
|
type: 'line',
|
|
type: 'line',
|
|
|
legend: {
|
|
legend: {
|
|
|
- position:"top"
|
|
|
|
|
|
|
+ position: "top"
|
|
|
},
|
|
},
|
|
|
fontSize: 11,
|
|
fontSize: 11,
|
|
|
background: '#FFFFFF',
|
|
background: '#FFFFFF',
|
|
|
pixelRatio: 1,
|
|
pixelRatio: 1,
|
|
|
animation: true,
|
|
animation: true,
|
|
|
dataLabel: false,
|
|
dataLabel: false,
|
|
|
- categories: xtitle,
|
|
|
|
|
|
|
+ categories: xtitle,
|
|
|
series: xinfo,
|
|
series: xinfo,
|
|
|
enableScroll: true, //开启图表拖拽功能
|
|
enableScroll: true, //开启图表拖拽功能
|
|
|
xAxis: {
|
|
xAxis: {
|
|
@@ -425,7 +443,7 @@
|
|
|
control_type: "data"
|
|
control_type: "data"
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
- if(res){
|
|
|
|
|
|
|
+ if (res) {
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
title: '刷新成功',
|
|
title: '刷新成功',
|
|
|
duration: 2000,
|
|
duration: 2000,
|
|
@@ -434,7 +452,7 @@
|
|
|
uni.navigateBack({
|
|
uni.navigateBack({
|
|
|
delta: 1
|
|
delta: 1
|
|
|
})
|
|
})
|
|
|
- }else{
|
|
|
|
|
|
|
+ } else {
|
|
|
uni.showToast({
|
|
uni.showToast({
|
|
|
title: '刷新失败',
|
|
title: '刷新失败',
|
|
|
duration: 2000,
|
|
duration: 2000,
|
|
@@ -454,21 +472,40 @@
|
|
|
.shuju_one,
|
|
.shuju_one,
|
|
|
.shuju_two {
|
|
.shuju_two {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- top: 54px;
|
|
|
|
|
|
|
+ top: 190rpx;
|
|
|
width: 90%;
|
|
width: 90%;
|
|
|
left: 5%;
|
|
left: 5%;
|
|
|
box-shadow: 0 0 10rpx #bcb9ca;
|
|
box-shadow: 0 0 10rpx #bcb9ca;
|
|
|
padding-top: 20rpx;
|
|
padding-top: 20rpx;
|
|
|
height: 550rpx;
|
|
height: 550rpx;
|
|
|
|
|
|
|
|
- .canvastishi{
|
|
|
|
|
|
|
+ .canvastishi {
|
|
|
font-size: 32rpx;
|
|
font-size: 32rpx;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
top: 50%;
|
|
top: 50%;
|
|
|
left: 50%;
|
|
left: 50%;
|
|
|
margin-left: -64rpx;
|
|
margin-left: -64rpx;
|
|
|
margin-top: -21rpx;
|
|
margin-top: -21rpx;
|
|
|
|
|
+
|
|
|
|
|
+ .dataloading:after {
|
|
|
|
|
+ overflow: hidden;
|
|
|
|
|
+ display: inline-block;
|
|
|
|
|
+ vertical-align: bottom;
|
|
|
|
|
+ animation: ellipsis 2s infinite;
|
|
|
|
|
+ content: "\2026";
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @keyframes ellipsis {
|
|
|
|
|
+ from {
|
|
|
|
|
+ width: 2px;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ to {
|
|
|
|
|
+ width: 15px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.shuju_one_title {
|
|
.shuju_one_title {
|
|
|
width: 70%;
|
|
width: 70%;
|
|
|
margin: 0 auto;
|
|
margin: 0 auto;
|
|
@@ -511,67 +548,40 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.shuju_two {
|
|
.shuju_two {
|
|
|
- top: 700rpx;
|
|
|
|
|
|
|
+ top: 790rpx;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.selecttimes {
|
|
.selecttimes {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- top: 1290rpx;
|
|
|
|
|
|
|
+ top: 54px;
|
|
|
width: 90%;
|
|
width: 90%;
|
|
|
box-shadow: 0 0 10rpx #bcb9ca;
|
|
box-shadow: 0 0 10rpx #bcb9ca;
|
|
|
left: 5%;
|
|
left: 5%;
|
|
|
|
|
+ padding: 10rpx 20rpx;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
|
|
|
- .tishi {
|
|
|
|
|
- width: 90%;
|
|
|
|
|
- margin: 0 auto;
|
|
|
|
|
- color: #f00000;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- font-size: 24rpx;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .timesbox {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-around;
|
|
|
|
|
|
|
|
- .btnser {
|
|
|
|
|
- width: 90%;
|
|
|
|
|
- margin: 10rpx auto;
|
|
|
|
|
- color: #FFFFFF;
|
|
|
|
|
- text-align: center;
|
|
|
|
|
- font-size: 28rpx;
|
|
|
|
|
- background-color: #58BD4D;
|
|
|
|
|
- border-radius: 20rpx;
|
|
|
|
|
- height: 50rpx;
|
|
|
|
|
- line-height: 50rpx;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ image {
|
|
|
|
|
+ width: 30rpx;
|
|
|
|
|
+ height: 30rpx;
|
|
|
|
|
+ margin-top: 6rpx;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- .newtimes {
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- padding: 20rpx 20rpx;
|
|
|
|
|
- box-sizing: border-box;
|
|
|
|
|
|
|
+ .icon {
|
|
|
|
|
+ color: #949494;
|
|
|
|
|
+ text-align: right;
|
|
|
|
|
+ margin-left: 30rpx;
|
|
|
|
|
|
|
|
- .newtimes_state,
|
|
|
|
|
- .newtimes_end {
|
|
|
|
|
- display: flex;
|
|
|
|
|
- justify-content: space-between;
|
|
|
|
|
- margin-bottom: 20rpx;
|
|
|
|
|
-
|
|
|
|
|
- .oldtimes_left {
|
|
|
|
|
- position: relative;
|
|
|
|
|
- padding-left: 36rpx;
|
|
|
|
|
- font-size: 28rpx;
|
|
|
|
|
-
|
|
|
|
|
- image {
|
|
|
|
|
- width: 30rpx;
|
|
|
|
|
- height: 30rpx;
|
|
|
|
|
- vertical-align: top;
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- top: 7rpx;
|
|
|
|
|
- left: 0;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- .refresh{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .refresh {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- top: 1530rpx;
|
|
|
|
|
|
|
+ top: 1380rpx;
|
|
|
left: 5%;
|
|
left: 5%;
|
|
|
width: 160rpx;
|
|
width: 160rpx;
|
|
|
height: 50rpx;
|
|
height: 50rpx;
|
|
@@ -580,9 +590,10 @@
|
|
|
line-height: 50rpx;
|
|
line-height: 50rpx;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.condition {
|
|
.condition {
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
- top: 1600rpx;
|
|
|
|
|
|
|
+ top: 1450rpx;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
flex-wrap: wrap;
|
|
|
width: 90%;
|
|
width: 90%;
|
|
@@ -593,9 +604,11 @@
|
|
|
.scroll-X {
|
|
.scroll-X {
|
|
|
width: 95%;
|
|
width: 95%;
|
|
|
margin: 20rpx auto;
|
|
margin: 20rpx auto;
|
|
|
- .table{
|
|
|
|
|
|
|
+
|
|
|
|
|
+ .table {
|
|
|
width: 1056px;
|
|
width: 1056px;
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
.tr {
|
|
.tr {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
@@ -608,7 +621,7 @@
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
height: 52rpx;
|
|
height: 52rpx;
|
|
|
line-height: 52rpx;
|
|
line-height: 52rpx;
|
|
|
- border: 2rpx solid #F1F1F1;
|
|
|
|
|
|
|
+ // border: 2rpx solid #F1F1F1;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.th:first-child,
|
|
.th:first-child,
|
|
@@ -623,6 +636,15 @@
|
|
|
width: 200rpx;
|
|
width: 200rpx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ .tr:nth-child(2n-1) {
|
|
|
|
|
+ background-color: #f5fff8;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .tr:first-child {
|
|
|
|
|
+ background-color: #57c878;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.pagenumber {
|
|
.pagenumber {
|
|
@@ -648,4 +670,13 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /deep/.u-calendar__action {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ justify-content: space-around;
|
|
|
|
|
+
|
|
|
|
|
+ .u-calendar__action__text {
|
|
|
|
|
+ line-height: 25px;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|