|
|
<template>
|
|
|
<view class="box">
|
|
|
<view class="shunav">
|
|
|
<view class="shuitem" :class="sel==1?'shuactive':''" data-id="1" @click="xuan">数板</view>
|
|
|
<view class="shuitem" :class="sel==2?'shuactive':''" data-id="2" @click="xuan">数管</view>
|
|
|
</view>
|
|
|
<view class="myshuban" v-if="sel==1">
|
|
|
<view class="qiun-columns">
|
|
|
<view class="qiun-bg-white qiun-title-bar qiun-common-mt">
|
|
|
<view class="qiun-title-dot-light">
|
|
|
<!-- <text class="month">7月</text> -->
|
|
|
<text class="cishu">使用次数</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="qiun-charts">
|
|
|
<canvas canvas-id="canvasMixone" id="canvasMixone" class="charts" disable-scroll=true @touchstart="touchMix"
|
|
|
@touchmove="moveMix" @touchend="touchEndMix"></canvas>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 我的设备 -->
|
|
|
<view class="shebei">
|
|
|
<view class="shebeihead">我的设备</view>
|
|
|
<view class="shebeilist">
|
|
|
<view class="shebeiitem" v-for="(item,index) in ban_list" :key="index" @click="go_shuban(item)">
|
|
|
<view class="sheleft">
|
|
|
<view class="shebeihao">设备编号:{{item.number}}</view>
|
|
|
<view class="shebeixi">
|
|
|
<view class="company">所属公司:{{item.name}}</view>
|
|
|
<view class="remainday">剩余时间:{{item.time}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="sheright">
|
|
|
<image src="/static/img/rowright.png"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
<view class="myshuban" v-if="sel==2">
|
|
|
<view class="qiun-columns">
|
|
|
<view class="qiun-bg-white qiun-title-bar qiun-common-mt">
|
|
|
<view class="qiun-title-dot-light">
|
|
|
<!-- <text class="month">7月</text> -->
|
|
|
<text class="cishu">使用次数</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="qiun-charts">
|
|
|
<canvas canvas-id="canvasMix" id="canvasMix" class="charts" disable-scroll=true @touchstart="touchMix" @touchmove="moveMix"
|
|
|
@touchend="touchEndMix"></canvas>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<!-- 我的设备 -->
|
|
|
<view class="shebei">
|
|
|
<view class="shebeihead shugsj">数管数据</view>
|
|
|
<view class="shengyu" v-if="shenyu_times.times != 0">
|
|
|
<view class="sycishuleft">剩余可用次数:{{shenyu_times.times}}</view>
|
|
|
<view class="sycishuright">
|
|
|
<image src="/static/img/you.png"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="shengyu" v-if="shenyu_times.shengyu != 0">
|
|
|
<view class="sycishuleft">剩余可用时间:{{shenyu_times.shengyu}}</view>
|
|
|
<view class="sycishuright">
|
|
|
<image src="/static/img/you.png"></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="shebeilist">
|
|
|
<view class="sybanhead">
|
|
|
<view class="sybanitem">清点时间</view>
|
|
|
<view class="sybanitem">图片编号</view>
|
|
|
<view class="sybanitem">图片</view>
|
|
|
<view class="sybanitem">详情</view>
|
|
|
</view>
|
|
|
<view class="shebeilitem" v-for="(item,index) in guan_list" :key="index" v-if="guan_list != ''">
|
|
|
<view class="sbitem sbdate">{{item.date}}<br/>{{item.time}}</view>
|
|
|
<view class="sbitem sbhao">{{item.image_id}}</view>
|
|
|
<view class="sbitem sbt">
|
|
|
<image :src="item.files"></image>
|
|
|
</view>
|
|
|
<view class="sbitem ck" @click="look_guan(item.id)">查看</view>
|
|
|
</view>
|
|
|
<view class="shebeilitem" v-if="guan_list == ''">
|
|
|
<view class="nodatas">暂无数据</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
import uCharts from '@/uchart/u-charts.js';
|
|
|
import app from "../../App.vue"
|
|
|
var _self;
|
|
|
var canvaMix = null;
|
|
|
|
|
|
export default {
|
|
|
|
|
|
data() {
|
|
|
return {
|
|
|
sel: 1,
|
|
|
//图表
|
|
|
cWidth: '',
|
|
|
cHeight: '',
|
|
|
pixelRatio: 1,
|
|
|
// 获取剩余可用次数
|
|
|
shenyu_times:"",
|
|
|
// 图表数据
|
|
|
//*数板*//
|
|
|
shuban: [],
|
|
|
shuban_x: [],
|
|
|
/*数板列表数据*/
|
|
|
ban_list: "",
|
|
|
//*数管*//
|
|
|
shuguan: [],
|
|
|
shuguan_x: [],
|
|
|
/*数管列表数据*/
|
|
|
guan_list:""
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
_self = this;
|
|
|
this.cWidth = uni.upx2px(750);
|
|
|
this.cHeight = uni.upx2px(500);
|
|
|
},
|
|
|
methods: {
|
|
|
// 获取图表数据
|
|
|
//*数板*//
|
|
|
get_shubanchart() {
|
|
|
let t = this;
|
|
|
let url = "api/person/getUserEquipmentLog";
|
|
|
let param = {};
|
|
|
let ban = [];
|
|
|
let banX = []
|
|
|
app.post(url, param, 'post').then(r => {
|
|
|
console.log('88888888',r)
|
|
|
for (var i = 0; i < r.user_equipment_log.length; i++) {
|
|
|
banX.unshift(r.user_equipment_log[i].date)
|
|
|
ban.unshift(r.user_equipment_log[i].count)
|
|
|
}
|
|
|
t.shuban = ban;
|
|
|
t.shuban_x = banX;
|
|
|
t.getServerData1();
|
|
|
t.ban_list = r.equipment;
|
|
|
|
|
|
let newban_list=t.ban_list;
|
|
|
for(var obj of newban_list){
|
|
|
let number = obj.time;
|
|
|
// // 时间戳处理
|
|
|
var totalSecond = number;
|
|
|
var second = totalSecond;
|
|
|
// // 秒数
|
|
|
// var second = totalSecond;
|
|
|
var day = Math.floor(second / 3600 / 24);
|
|
|
var dayStr = day.toString();
|
|
|
if (dayStr.length == 1) dayStr = dayStr;
|
|
|
// 小时位
|
|
|
var hr = Math.floor((second - day * 3600 * 24) / 3600);
|
|
|
var hrStr = hr.toString();
|
|
|
if (hrStr.length == 1) hrStr = hrStr;
|
|
|
// 分钟位
|
|
|
var min = Math.floor((second - day * 3600 * 24 - hr * 3600) / 60);
|
|
|
var minStr = min.toString();
|
|
|
if (minStr.length == 1) minStr = minStr;
|
|
|
// 秒位
|
|
|
var sec = second - day * 3600 * 24 - hr * 3600 - min * 60;
|
|
|
var secStr = sec.toString();
|
|
|
if (secStr.length == 1) secStr = secStr;
|
|
|
obj.time = dayStr + '天' + hrStr + '小时' + minStr + "分钟"
|
|
|
}
|
|
|
this.ban_list=newban_list
|
|
|
|
|
|
}).catch(err => {
|
|
|
console.log(err)
|
|
|
})
|
|
|
},
|
|
|
//*数管*//
|
|
|
get_shuguanchart() {
|
|
|
let t = this;
|
|
|
let url = "api/person/getUserShuguanLog";
|
|
|
let param = {};
|
|
|
let guan = [];
|
|
|
let guanX = []
|
|
|
app.post(url, param, 'post').then(r => {
|
|
|
for (var i = 0; i < r.user_shuguan_log.length; i++) {
|
|
|
guanX.unshift(r.user_shuguan_log[i].date)
|
|
|
guan.unshift(r.user_shuguan_log[i].count)
|
|
|
}
|
|
|
t.shuguan = guan;
|
|
|
t.shuguan_x = guanX;
|
|
|
t.getServerData();
|
|
|
t.guan_list = r.shuguan
|
|
|
}).catch(err => {
|
|
|
console.log(err)
|
|
|
})
|
|
|
},
|
|
|
|
|
|
|
|
|
timechange(){
|
|
|
let number = this.shengyuqixian;
|
|
|
// // 时间戳处理
|
|
|
var totalSecond = number;
|
|
|
var second = totalSecond;
|
|
|
// // 秒数
|
|
|
// var second = totalSecond;
|
|
|
var day = Math.floor(second / 3600 / 24);
|
|
|
var dayStr = day.toString();
|
|
|
if (dayStr.length == 1) dayStr = dayStr;
|
|
|
// 小时位
|
|
|
var hr = Math.floor((second - day * 3600 * 24) / 3600);
|
|
|
var hrStr = hr.toString();
|
|
|
if (hrStr.length == 1) hrStr = hrStr;
|
|
|
// 分钟位
|
|
|
var min = Math.floor((second - day * 3600 * 24 - hr * 3600) / 60);
|
|
|
var minStr = min.toString();
|
|
|
if (minStr.length == 1) minStr = minStr;
|
|
|
// 秒位
|
|
|
var sec = second - day * 3600 * 24 - hr * 3600 - min * 60;
|
|
|
var secStr = sec.toString();
|
|
|
if (secStr.length == 1) secStr = secStr;
|
|
|
this.showshengyuqixian = dayStr + '天' + hrStr + '小时' + minStr + "分钟"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
getServerData() {
|
|
|
let t = this;
|
|
|
uni.request({
|
|
|
url: 'https://www.ucharts.cn/data.json',
|
|
|
data: {},
|
|
|
success: function(res) {
|
|
|
console.log(res.data.data)
|
|
|
let Mix = {
|
|
|
categories: t.shuguan_x,
|
|
|
series: [{
|
|
|
"name": "曲线",
|
|
|
"data": t.shuguan,
|
|
|
"type": "line",
|
|
|
"style": "curve",
|
|
|
"color": "#F29600"
|
|
|
}],
|
|
|
};
|
|
|
//这里我后台返回的是数组,所以用等于,如果您后台返回的是单条数据,需要push进去
|
|
|
// Mix.categories=res.data.data.Mix.categories;
|
|
|
// Mix.series=res.data.data.Mix.series;
|
|
|
_self.showMix("canvasMix", Mix);
|
|
|
},
|
|
|
fail: () => {
|
|
|
_self.tips = "网络错误,小程序端请检查合法域名";
|
|
|
},
|
|
|
});
|
|
|
},
|
|
|
getServerData1() {
|
|
|
let t = this;
|
|
|
uni.request({
|
|
|
url: 'https://www.ucharts.cn/data.json',
|
|
|
data: {},
|
|
|
success: function(res) {
|
|
|
console.log(res.data.data)
|
|
|
let Mix = {
|
|
|
categories: t.shuban_x,
|
|
|
series: [{
|
|
|
"name": "曲线",
|
|
|
"data": t.shuban,
|
|
|
"type": "line",
|
|
|
"style": "curve",
|
|
|
"color": "#F29600"
|
|
|
}, ],
|
|
|
};
|
|
|
//这里我后台返回的是数组,所以用等于,如果您后台返回的是单条数据,需要push进去
|
|
|
// Mix.categories=res.data.data.Mix.categories;
|
|
|
// Mix.series=res.data.data.Mix.series;
|
|
|
_self.showMix("canvasMixone", Mix);
|
|
|
},
|
|
|
fail: () => {
|
|
|
_self.tips = "网络错误,小程序端请检查合法域名";
|
|
|
},
|
|
|
});
|
|
|
},
|
|
|
// 前往数板详情
|
|
|
go_shuban(e){
|
|
|
console.log(e)
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/shubanxinxi/shubanxinxi?num='+e.number,
|
|
|
success: res => {},
|
|
|
fail: () => {},
|
|
|
complete: () => {}
|
|
|
});
|
|
|
},
|
|
|
// 获取剩余可用次数
|
|
|
get_shenyu(){
|
|
|
let t = this;
|
|
|
let url = "api/shuguan/getShuguanRule";
|
|
|
let param = {};
|
|
|
app.post(url,param,'post').then(r =>{
|
|
|
console.log(r,"获取剩余可用次数")
|
|
|
t.shenyu_times = r;
|
|
|
let newshenyu_times=t.shenyu_times;
|
|
|
|
|
|
|
|
|
let number = newshenyu_times.shengyu;
|
|
|
// // 时间戳处理
|
|
|
var totalSecond = number;
|
|
|
var second = totalSecond;
|
|
|
// // 秒数
|
|
|
// var second = totalSecond;
|
|
|
var day = Math.floor(second / 3600 / 24);
|
|
|
var dayStr = day.toString();
|
|
|
if (dayStr.length == 1) dayStr = dayStr;
|
|
|
// 小时位
|
|
|
var hr = Math.floor((second - day * 3600 * 24) / 3600);
|
|
|
var hrStr = hr.toString();
|
|
|
if (hrStr.length == 1) hrStr = hrStr;
|
|
|
// 分钟位
|
|
|
var min = Math.floor((second - day * 3600 * 24 - hr * 3600) / 60);
|
|
|
var minStr = min.toString();
|
|
|
if (minStr.length == 1) minStr = minStr;
|
|
|
// 秒位
|
|
|
var sec = second - day * 3600 * 24 - hr * 3600 - min * 60;
|
|
|
var secStr = sec.toString();
|
|
|
if (secStr.length == 1) secStr = secStr;
|
|
|
newshenyu_times.shengyu = dayStr + '天' + hrStr + '小时' + minStr + "分钟"
|
|
|
|
|
|
|
|
|
this.shenyu_times=newshenyu_times
|
|
|
}).catch(err =>{
|
|
|
console.log(err)
|
|
|
})
|
|
|
},
|
|
|
// 数管列表查看
|
|
|
look_guan(e){
|
|
|
console.log(e)
|
|
|
uni.navigateTo({
|
|
|
url: '/pages/shuguanshujudetail/shuguanshujudetail?id='+e,
|
|
|
success: res => {},
|
|
|
fail: () => {},
|
|
|
complete: () => {}
|
|
|
});
|
|
|
},
|
|
|
showMix(canvasId, chartData) {
|
|
|
console.log('9090909', chartData)
|
|
|
canvaMix = new uCharts({
|
|
|
$this: _self,
|
|
|
canvasId: canvasId,
|
|
|
type: 'mix',
|
|
|
fontSize: 11,
|
|
|
legend: {
|
|
|
show: true
|
|
|
},
|
|
|
background: '#FFFFFF',
|
|
|
pixelRatio: _self.pixelRatio,
|
|
|
categories: chartData.categories,
|
|
|
series: chartData.series,
|
|
|
animation: true,
|
|
|
enableScroll: true, //开启图表拖拽功能
|
|
|
xAxis: {
|
|
|
disableGrid: false,
|
|
|
type: 'grid',
|
|
|
gridType: 'dash',
|
|
|
itemCount: 4,
|
|
|
scrollShow: true,
|
|
|
scrollAlign: 'left',
|
|
|
},
|
|
|
yAxis: {
|
|
|
gridType: 'dash',
|
|
|
splitNumber: 10,
|
|
|
min: 20,
|
|
|
max: 40,
|
|
|
format: (val) => {
|
|
|
return val.toFixed(0)
|
|
|
}
|
|
|
},
|
|
|
width: _self.cWidth * _self.pixelRatio,
|
|
|
height: _self.cHeight * _self.pixelRatio,
|
|
|
dataLabel: true,
|
|
|
dataPointShape: true,
|
|
|
extra: {
|
|
|
tooltip: {
|
|
|
bgColor: '#000000',
|
|
|
bgOpacity: 0.7,
|
|
|
gridType: 'dash',
|
|
|
dashLength: 8,
|
|
|
gridColor: '#1890ff',
|
|
|
fontColor: '#FFFFFF',
|
|
|
horizentalLine: true,
|
|
|
xAxisLabel: true,
|
|
|
yAxisLabel: true,
|
|
|
labelBgColor: '#DFE8FF',
|
|
|
labelBgOpacity: 0.95,
|
|
|
labelAlign: 'left',
|
|
|
labelFontColor: '#666666'
|
|
|
}
|
|
|
},
|
|
|
});
|
|
|
},
|
|
|
|
|
|
touchMix(e) {
|
|
|
canvaMix.scrollStart(e);
|
|
|
},
|
|
|
moveMix(e) {
|
|
|
canvaMix.scroll(e);
|
|
|
},
|
|
|
touchEndMix(e) {
|
|
|
canvaMix.scrollEnd(e);
|
|
|
//下面是toolTip事件,如果滚动后不需要显示,可不填写
|
|
|
canvaMix.showToolTip(e, {
|
|
|
format: function(item, category) {
|
|
|
return category + ' ' + item.name + ':' + item.data
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
//切换
|
|
|
xuan(e) {
|
|
|
console.log(e)
|
|
|
this.sel = e.currentTarget.dataset.id;
|
|
|
if (e.currentTarget.dataset.id == 1) {
|
|
|
this.getServerData1();
|
|
|
} else {
|
|
|
this.getServerData();
|
|
|
}
|
|
|
},
|
|
|
},
|
|
|
onShow() {
|
|
|
// 获取数板图表数据
|
|
|
this.get_shubanchart();
|
|
|
// 获取数管图表数据
|
|
|
this.get_shuguanchart();
|
|
|
// 获取剩余可用次数
|
|
|
this.get_shenyu()
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
.nodatas{
|
|
|
color:#7F8389;
|
|
|
font-size:36rpx;
|
|
|
margin: 100rpx 0 50rpx;
|
|
|
|
|
|
}
|
|
|
/*样式的width和height一定要与定义的cWidth和cHeight相对应*/
|
|
|
.qiun-charts {
|
|
|
width: 750upx;
|
|
|
height: 500upx;
|
|
|
background-color: #FFFFFF;
|
|
|
}
|
|
|
|
|
|
.myshuban {
|
|
|
background: #fff;
|
|
|
}
|
|
|
|
|
|
.charts {
|
|
|
width: 750upx;
|
|
|
height: 500upx;
|
|
|
background-color: #FFFFFF;
|
|
|
}
|
|
|
|
|
|
.month {
|
|
|
color: #F29600;
|
|
|
font-size: 32rpx;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.cishu {
|
|
|
color: #0A0808;
|
|
|
font-size: 32rpx;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.qiun-columns {
|
|
|
overflow: hidden;
|
|
|
background: #fff;
|
|
|
}
|
|
|
|
|
|
.qiun-charts {
|
|
|
margin-top: 32rpx
|
|
|
}
|
|
|
|
|
|
.qiun-title-dot-light {
|
|
|
margin-top: 38rpx;
|
|
|
padding: 0 32rpx;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.shunav {
|
|
|
width: 750rpx;
|
|
|
background: #fff;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
padding: 20rpx 158rpx;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.shuitem {
|
|
|
color: #7F8389;
|
|
|
font-size: 30rpx;
|
|
|
}
|
|
|
|
|
|
.shuactive {
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.shuactive:after {
|
|
|
content: "";
|
|
|
display: block;
|
|
|
width: 48rpx;
|
|
|
height: 6rpx;
|
|
|
background: #F29600;
|
|
|
position: absolute;
|
|
|
left: 50%;
|
|
|
right: 50%;
|
|
|
bottom: -18rpx;
|
|
|
transform: translate(-50%, -50%)
|
|
|
}
|
|
|
|
|
|
.sheright {
|
|
|
width: 48rpx;
|
|
|
height: 48rpx;
|
|
|
font-size: 0;
|
|
|
}
|
|
|
|
|
|
.shebeihead {
|
|
|
color: #0A0808;
|
|
|
font-size: 32rpx;
|
|
|
padding: 0 32rpx;
|
|
|
box-sizing: border-box;
|
|
|
margin-top: 10rpx
|
|
|
}
|
|
|
|
|
|
.shebeilist {
|
|
|
padding: 0 32rpx 44rpx;
|
|
|
box-sizing: border-box;
|
|
|
margin-top: 20rpx;
|
|
|
}
|
|
|
|
|
|
.sbitem {
|
|
|
border-right: 1rpx solid #DEDEDE;
|
|
|
border-bottom: 1rpx solid #DEDEDE;
|
|
|
height: 142rpx;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
|
}
|
|
|
|
|
|
.sbitem:first-child {
|
|
|
border-left: 1rpx solid #D5D5D5
|
|
|
}
|
|
|
|
|
|
.shebeiitem {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
padding: 26rpx 0;
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
}
|
|
|
|
|
|
.shebeixi {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
margin-top: 28rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.shebeihao {
|
|
|
color: #0A0808;
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.company {
|
|
|
color: #7F8389;
|
|
|
font-size: 26rpx;
|
|
|
}
|
|
|
|
|
|
.remainday {
|
|
|
color: #7F8389;
|
|
|
font-size: 26rpx;
|
|
|
margin-left: 64rpx;
|
|
|
}
|
|
|
|
|
|
.shugsj {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.sycishuright {
|
|
|
width: 48rpx;
|
|
|
height: 48rpx;
|
|
|
font-size: 0;
|
|
|
}
|
|
|
|
|
|
.shengyu {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
padding: 48rpx 32rpx 10rpx;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.sycishuleft {
|
|
|
color: #F29600;
|
|
|
font-size: 28rpx;
|
|
|
}
|
|
|
|
|
|
.sybanhead {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-around;
|
|
|
border-radius: 14rpx 14rpx 0rpx 0rpx;
|
|
|
background: #F29600;
|
|
|
height: 88rpx;
|
|
|
}
|
|
|
|
|
|
.sybanitem {
|
|
|
color: #fff;
|
|
|
font-size: 30rpx;
|
|
|
}
|
|
|
|
|
|
.shebeilitem {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: space-around;
|
|
|
}
|
|
|
|
|
|
.sbdate {
|
|
|
width: 225rpx;
|
|
|
padding: 32rpx 22rpx;
|
|
|
box-sizing: border-box;
|
|
|
color: #7F8389;
|
|
|
font-size: 26rpx;
|
|
|
line-height: 2;
|
|
|
}
|
|
|
|
|
|
.sbhao {
|
|
|
width: 188rpx;
|
|
|
color: #7F8389;
|
|
|
font-size: 26rpx;
|
|
|
text-align: center;
|
|
|
padding: 0 30rpx;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.sbt {
|
|
|
|
|
|
font-size: 0;
|
|
|
width: 194rpx;
|
|
|
display: flex;
|
|
|
justify-content: center;
|
|
|
}
|
|
|
|
|
|
.sbt image {
|
|
|
width: 96rpx;
|
|
|
height: 96rpx;
|
|
|
margin: 0 auto;
|
|
|
}
|
|
|
|
|
|
.ck {
|
|
|
width: 148rpx;
|
|
|
color: #7F8389;
|
|
|
font-size: 26rpx;
|
|
|
text-align: center;
|
|
|
}
|
|
|
</style> |
...
|
...
|
|