smartmeter-app/pages/shebei/sbdetail.vue

862 lines
20 KiB
Vue
Raw Normal View History

2024-03-13 10:54:22 +08:00
<template>
<view class="page">
2024-05-13 02:34:58 +08:00
<u-navbar :title="tittxt" :border-bottom="false" :background="bgc" title-color='#2E4975' title-size='36'
height='36' id="navbar">
2024-03-13 10:54:22 +08:00
</u-navbar>
2024-05-13 02:34:58 +08:00
<view class="zhuhu">
2024-03-13 10:54:22 +08:00
<view class="card1">
<view class="top">
<view class="left">
设备
</view>
<view class="right">
2024-05-13 02:34:58 +08:00
<image class="img1" src="https://api.ccttiot.com/smartmeter/img/static/uGvS4RQvbw7OOfhzy6xf"
2024-08-31 18:01:17 +08:00
mode="" style="margin-right: 30rpx;" @click="opendevice"></image>
2024-05-13 02:34:58 +08:00
<image class="img1" src="https://api.ccttiot.com/smartmeter/img/static/uNEKwe2WKsJdtQzOdEay"
mode="" @click="toewm()"></image>
2024-03-13 10:54:22 +08:00
</view>
</view>
<view class="mid">
<view class="mid_left">
2024-04-27 17:20:50 +08:00
<image src="https://api.ccttiot.com/smartmeter/img/static/uoQO0pUZ1UHcW5uVKkuR" mode=""></image>
2024-03-13 10:54:22 +08:00
</view>
<view class="mid_right">
2024-08-31 18:01:17 +08:00
<view class="mid_top" v-if="deviceInfo.remark==null">
2024-03-13 10:54:22 +08:00
{{ deviceInfo.deviceName }}
2024-08-31 18:01:17 +08:00
<div class="tip" v-if="deviceInfo.onlineStatus==1">在线</div>
<div class="tip" v-if="deviceInfo.onlineStatus==0">离线</div>
2024-03-13 10:54:22 +08:00
</view>
2024-08-31 18:01:17 +08:00
<view class="mid_top" v-if="deviceInfo.remark!=null">
{{ deviceInfo.remark }}
2024-03-13 10:54:22 +08:00
<div class="tip" v-if="deviceInfo.onlineStatus==1">在线</div>
<div class="tip" v-if="deviceInfo.onlineStatus==0">离线</div>
2024-08-31 18:01:17 +08:00
</view>
<view class="mid_bot">
<view class="txt" v-if="deviceInfo">电表号{{ deviceInfo.deviceId }}</view>
2024-03-13 10:54:22 +08:00
</view>
</view>
</view>
<view class="bot">
<view class="bot_left">
<view class="echarts">
<!-- <mpvue-echarts id="main" ref="pieChart" :echarts="echarts" @onInit="initChart" /> -->
2024-05-13 02:34:58 +08:00
<!-- <l-echart ref="chart" @finished="initChart"></l-echart> -->
<uni-ec-canvas class="uni-ec-canvas" id="uni-ec-canvas" ref="canvas"
canvas-id="uni-ec-canvas" :ec="ec">
</uni-ec-canvas>
2024-03-13 10:54:22 +08:00
</view>
</view>
<view class="bot_right">
2024-08-31 18:01:17 +08:00
<div class="tip" v-if="deviceInfo.powerStatus==0">断电</div>
<div class="tip" v-if="deviceInfo.powerStatus==1">正常</div>
<view class="contbox">
<view class="cont">
<view class="tit">
{{deviceInfo.totalElectriQuantity}}KWH
</view>
<view class="txt">
总用电量
</view>
2024-03-13 10:54:22 +08:00
</view>
2024-08-31 18:01:17 +08:00
<view class="cont" style="margin-left: 60rpx;">
<view class="tit">
{{deviceInfo.price}}/
</view>
<view class="txt">
电价
</view>
2024-03-13 10:54:22 +08:00
</view>
</view>
2024-08-31 18:01:17 +08:00
2024-03-13 10:54:22 +08:00
</view>
</view>
</view>
<view class="card2">
<view class="tit">实时</view>
<view class="cont_box">
<view class="cont">
<view class="top">{{deviceInfo.realTimePower}}KW</view>
<view class="bot">实时功率</view>
</view>
<view class="cont" style="width: 70rpx;">
<view class="top">{{deviceInfo.electricity}}A</view>
<view class="bot">电流</view>
</view>
2024-04-27 17:20:50 +08:00
<view class="cont" style="width: 110rpx;">
2024-03-13 10:54:22 +08:00
<view class="top">{{deviceInfo.voltage}}V</view>
<view class="bot">电压</view>
</view>
</view>
</view>
<view class="card3">
<view class="tit">其他</view>
2024-08-31 18:01:17 +08:00
<view class="cont_box" style="padding-left: 50rpx;" >
2024-04-27 17:20:50 +08:00
<!-- <view class="cont" style="width: 56rpx;" @click="topage(0)">
2024-03-13 10:54:22 +08:00
<view class="top">
2024-04-27 17:20:50 +08:00
<image src="https://api.ccttiot.com/smartmeter/img/static/uj4DT6WructS782RY0J7" mode="" style="width: 58rpx;height: 56rpx;" ></image>
2024-03-13 10:54:22 +08:00
</view>
<view class="bot">抄表</view>
2024-04-27 17:20:50 +08:00
</view> -->
2024-03-25 19:46:07 +08:00
<view class="cont" style="width: 58rpx;" @click="topage(1)">
2024-03-13 10:54:22 +08:00
<view class="top">
2024-05-13 02:34:58 +08:00
<image src="https://api.ccttiot.com/smartmeter/img/static/uGaAuulryhDmaDwWLuwo" mode=""
style="width: 58rpx;height: 58rpx;"></image>
2024-03-13 10:54:22 +08:00
</view>
<view class="bot">归零</view>
</view>
2024-04-27 17:20:50 +08:00
<!-- <view class="cont" style="width: 58rpx;" @click="topage(2)">
2024-03-13 10:54:22 +08:00
<view class="top">
2024-04-27 17:20:50 +08:00
<image src="https://api.ccttiot.com/smartmeter/img/static/u8QfFAKCq8wE32dFA9Go" mode="" style="width: 58rpx;height: 60rpx;"></image>
2024-03-13 10:54:22 +08:00
</view>
<view class="bot">异常</view>
2024-04-27 17:20:50 +08:00
</view> -->
2024-03-13 10:54:22 +08:00
<view class="cont" @click="toydfx()">
<view class="top">
2024-05-13 02:34:58 +08:00
<image src="https://api.ccttiot.com/smartmeter/img/static/u0N4pFke1isIzNrNT6Wh" mode="">
</image>
2024-03-13 10:54:22 +08:00
</view>
<view class="bot">用电分析</view>
</view>
2024-04-27 17:20:50 +08:00
<view class="cont" style="width: 115rpx;" @click="topage(3)">
2024-03-13 10:54:22 +08:00
<view class="top">
2024-05-13 02:34:58 +08:00
<image src="https://api.ccttiot.com/smartmeter/img/static/u8QfFAKCq8wE32dFA9Go" mode=""
style="width: 58rpx;height: 60rpx;"></image>
2024-03-13 10:54:22 +08:00
</view>
<view class="bot">房租提醒</view>
</view>
2024-03-25 19:46:07 +08:00
<view class="cont" style="width: 56rpx;" @click="topage(4)">
2024-03-13 10:54:22 +08:00
<view class="top">
2024-05-13 02:34:58 +08:00
<image src="https://api.ccttiot.com/smartmeter/img/static/ubxoYVnbIK1rk0cfoL3j" mode="">
</image>
2024-03-13 10:54:22 +08:00
</view>
<view class="bot">设置</view>
</view>
2024-04-27 17:20:50 +08:00
</view>
2024-08-31 18:01:17 +08:00
<view class="cont_box" style="justify-content: flex-start;margin-left: -20rpx;" >
<view class="cont" style="width: 115rpx;" @click="showpopup=true">
<view class="top">
<image src="https://api.ccttiot.com/smartmeter/img/static/uVrCrCViHDwZ8eOFB2dP" mode=""
style="width: 58rpx;height: 58rpx;"></image>
</view>
<view class="bot">添加电量</view>
</view>
2024-03-13 10:54:22 +08:00
</view>
</view>
2024-08-31 18:01:17 +08:00
<u-popup v-model="showpopup" mode="center" border-radius='20'>
<view class="popcard" v-if="showpopup">
<view class="tit">
充值电量
</view>
<view class="ipt">
<u-input v-model="money" placeholder=" " border='surround' placeholder-style='font-size: 24rpx;' />
</view>
<view class="btnbox">
<view class="btn2" @click="showpopup=false">
取消
</view>
<view class="btn1" @click="addele()">
确定
</view>
</view>
</view>
</u-popup>
2024-03-13 10:54:22 +08:00
<!-- <view class="button">电费充值</view> -->
2024-05-13 02:34:58 +08:00
<!-- <view class="zhanwei" style="width: 100%;height: 300rpx;">
2024-03-13 10:54:22 +08:00
</view> -->
</view>
2024-05-13 02:34:58 +08:00
2024-03-13 10:54:22 +08:00
</view>
</template>
<script>
2024-04-27 17:20:50 +08:00
var xBlufi = require("@/utils/blufi/xBlufi.js")
2024-05-13 02:34:58 +08:00
import uniEcCanvas from '@/components/uni-ec-canvas/uni-ec-canvas.vue'
import * as echarts from '@/components/uni-ec-canvas/echarts'
let chart = null
2024-03-13 10:54:22 +08:00
export default {
2024-05-13 02:34:58 +08:00
components: {
uniEcCanvas
},
2024-03-13 10:54:22 +08:00
data() {
return {
bgc: {
backgroundColor: "#F7FAFE",
2024-05-13 02:34:58 +08:00
2024-03-13 10:54:22 +08:00
},
2024-05-13 02:34:58 +08:00
ec: {
lazyLoad: true
},
deviceInfo: {},
loadings: false,
info: '',
2024-08-31 18:01:17 +08:00
tittxt: "设备详情",
2024-03-13 10:54:22 +08:00
titlist: [
2024-05-13 02:34:58 +08:00
"全部",
"电表",
"水表",
],
2024-08-31 18:01:17 +08:00
showpopup:false,
2024-05-13 02:34:58 +08:00
curtitidx: 0,
2024-08-31 18:01:17 +08:00
id: '',
money:''
2024-05-13 02:34:58 +08:00
2024-03-13 10:54:22 +08:00
}
},
onLoad(option) {
2024-05-13 02:34:58 +08:00
setTimeout(() => {
console.log(this.$refs)
2024-08-31 18:01:17 +08:00
2024-05-13 02:34:58 +08:00
}, 1000)
2024-03-13 10:54:22 +08:00
let id = option.id
2024-05-13 02:34:58 +08:00
this.id = id
2024-08-31 18:01:17 +08:00
this.getDevice(this.id)
},
onPullDownRefresh() {
this.getDevice(this.id)
// this.status = 'loading';
// this.getgroup();
2024-03-13 10:54:22 +08:00
},
methods: {
2024-08-31 18:01:17 +08:00
addele(){
this.$u.post(`/app/device/addElectricity/${this.id}?amount=` + this.money).then((res) => {
// this.$forceUpdate()
if (res.code == 200) {
this.showpopup=false
this.getDevice(this.id)
}else{
uni.showToast({
title: res.msg,
icon: 'none'
});
}
});
},
2024-05-13 02:34:58 +08:00
initChart(canvas, width, height, canvasDpr) {
let that = this
console.log(canvas, width, height, canvasDpr)
2024-03-13 10:54:22 +08:00
let value = 100;
2024-08-31 18:01:17 +08:00
let value2 = this.deviceInfo.surplusElectriQuantity
2024-03-13 10:54:22 +08:00
const option = {
// backgroundColor:"#061740",
2024-05-13 02:34:58 +08:00
// title: {
// show: false,
// text: `历史请求满意度`, // 图表标题
// x: 'center',
// y: '20',
// textStyle: {
// color: '#333', //'#fff',
// fontSize: 20,
// },
// },
2024-03-13 10:54:22 +08:00
series: [{
type: 'pie', // 饼图类型
radius: ['98%', '70%'], // 饼图半径,第一个值是内半径,第二个值是外半径
silent: true,
clockwise: true,
startAngle: 90, // 起始角度
z: 0,
zlevel: 0,
data: [{
value: value,
name: '占比', // 数据项名称
itemStyle: {
normal: {
color: '#8883F0', // 数据项颜色
},
},
label: {
normal: {
position: 'center',
formatter: ` {a|${value2}}\n\n{b|剩余电量}`, // 标签内容格式
rich: {
a: {
fontSize: 15,
fontWeight: '700',
color: '#333',
},
b: {
fontSize: 11,
color: '#888',
},
},
},
},
},
2024-05-13 02:34:58 +08:00
// {
// value: 100 - value2,
// name: '',
// label: {
// normal: {
// show: false,
// },
// },
// itemStyle: {
// normal: {
// color: '#173164',
// },
// },
// },
2024-03-13 10:54:22 +08:00
],
},
2024-05-13 02:34:58 +08:00
// {
// type: 'gauge', // 仪表盘类型
// radius: '130%', // 仪表盘半径,占图表容器的百分比
// center: ['50%', '50%'], // 仪表盘中心位置
// startAngle: 359,
// endAngle: 359.9,
// splitNumber: 2, // 刻度分割段数
// hoverAnimation: true,
// axisTick: {
// show: true, // 是否显示刻度线
// length: 10, // 刻度线长度
// lineStyle: {
// color: 'auto',
// width: 1,
// },
// },
// splitLine: {
// length: 0, // 刻度线分隔线长度
// lineStyle: {
// width: 1,
// color: '#061740',
// },
// },
// axisLabel: {
// show: false, // 是否显示刻度标签
// },
// pointer: {
// show: false, // 是否显示指针
// },
// axisLine: {
// lineStyle: {
// opacity: 0,
// },
// },
// detail: {
// show: false, // 是否显示仪表盘详情
// },
// data: [{
// value: 0,
// name: '',
// }, ],
// },
2024-03-13 10:54:22 +08:00
],
};
2024-05-13 02:34:58 +08:00
chart = echarts.init(canvas, null, {
width: width,
height: height,
devicePixelRatio: canvasDpr
})
console.log(chart);
// option.series[0].data = that.chartData
canvas.setChart(chart)
2024-03-13 10:54:22 +08:00
chart.setOption(option)
return chart
},
// 获取设备详情
2024-05-13 02:34:58 +08:00
getDevice(id) {
this.$u.get("/app/device/" + id).then((res) => {
// this.$forceUpdate()
2024-03-13 10:54:22 +08:00
if (res.code == 200) {
2024-05-13 02:34:58 +08:00
this.deviceInfo = res.data
console.log(this.deviceInfo, 'resres');
this.loadings = true
2024-08-31 18:01:17 +08:00
this.$refs.canvas.init(this.initChart)
2024-03-13 10:54:22 +08:00
}
});
2024-05-13 02:34:58 +08:00
2024-04-27 17:20:50 +08:00
},
2024-05-13 02:34:58 +08:00
opendevice() {
let stause = 0
if (this.deviceInfo.powerStatus == 1) {
stause = 0
} else {
stause = 1
2024-04-27 17:20:50 +08:00
}
2024-05-13 02:34:58 +08:00
console.log(stause, 'stausestause');
this.$u.put(`/app/device/${this.deviceInfo.deviceId}/changePower?status=` + stause).then((res) => {
// this.$forceUpdate()
2024-04-27 17:20:50 +08:00
if (res.code == 200) {
2024-05-13 02:34:58 +08:00
// this.groupList=res.rows
2024-08-31 18:01:17 +08:00
this.getDevice(this.id)
2024-05-13 02:34:58 +08:00
// this.loadings=true
// this.initChart()
} else {
2024-04-27 17:20:50 +08:00
uni.showToast({
2024-05-13 02:34:58 +08:00
title: res.msg,
icon: 'none'
2024-04-27 17:20:50 +08:00
});
}
});
},
2024-08-31 18:01:17 +08:00
// opendevices() {
2024-05-13 02:34:58 +08:00
2024-08-31 18:01:17 +08:00
// },
2024-05-13 02:34:58 +08:00
swiperchange(e) {
this.curtitidx = e.detail.current
console.log(e, 'aaaa');
2024-03-13 10:54:22 +08:00
},
2024-05-13 02:34:58 +08:00
changeidx(index) {
this.curtitidx = index
2024-03-13 10:54:22 +08:00
},
2024-05-13 02:34:58 +08:00
toewm() {
2024-03-13 10:54:22 +08:00
uni.navigateTo({
2024-08-31 18:01:17 +08:00
url: "/pages/shebei/ewm?id="+this.deviceInfo.deviceId
2024-03-13 10:54:22 +08:00
})
},
2024-05-13 02:34:58 +08:00
toydfx() {
2024-03-13 10:54:22 +08:00
uni.navigateTo({
2024-05-13 02:34:58 +08:00
url: "/pages/shebei/eletj?id=" + this.id
2024-03-13 10:54:22 +08:00
})
},
2024-05-13 02:34:58 +08:00
tofztx() {
console.log(this.id, 'this.id');
2024-03-13 10:54:22 +08:00
uni.navigateTo({
2024-05-13 02:34:58 +08:00
url: "/page_user/fztx?id=" + this.id
2024-03-13 10:54:22 +08:00
})
},
2024-05-13 02:34:58 +08:00
2024-03-25 19:46:07 +08:00
// 其他部分 点击进行跳转
2024-05-13 02:34:58 +08:00
topage(num) {
if (num == 0) {
2024-03-25 19:46:07 +08:00
uni.navigateTo({ //抄表
2024-05-13 02:34:58 +08:00
url: '/page_user/cbRecord'
})
} else if (num == 1) { //归零
this.$u.put(`/app/device/${this.id}/reset`).then((res) => {
if (res.code == 200) {
uni.showToast({
title: '操作成功',
icon: 'none',
duration: 2000
});
this.getDevice(this.id)
}
2024-03-25 19:46:07 +08:00
})
2024-04-27 17:20:50 +08:00
// uni.navigateTo({
// url:'/page_user/glRecord'
// })
2024-05-13 02:34:58 +08:00
} else if (num == 2) { //异常
} else if (num == 3) {
uni.navigateTo({
url: "/page_user/fztx?id=" + this.id
})
} else if (num == 4) { //设置
2024-03-25 19:46:07 +08:00
uni.navigateTo({
2024-05-13 02:34:58 +08:00
url: '/pages/shebei/setting?id=' + this.id
2024-03-25 19:46:07 +08:00
})
}
}
2024-05-13 02:34:58 +08:00
2024-03-13 10:54:22 +08:00
}
}
</script>
<style lang="scss">
page {
background-color: #F7FAFE;
}
.page {
2024-08-31 18:01:17 +08:00
.popcard{
display: flex;
justify-content: center;
flex-wrap: wrap;
// padding: 40rpx;
width: 550rpx;
height: 400rpx;
border-radius: 20rpx;
.tit{
display: flex;
justify-content: center;
width: 100%;
align-items: center;
font-size: 28rpx;
font-weight: 700;
}
.ipt{
margin-top: 60rpx;
width: 80%;
// width: 60%;
.u-input::placeholder {
font-size: 20px;
color: red;
}
}
.btnbox{
width: 100%;
display: flex;
flex-wrap: nowrap;
border-radius: 0 0 20rpx 20rpx;
.btn2{
display: flex;
align-items: center;
justify-content: center;
width: 50%;
// justify-content: center;
// width: 200rpx;
// height: 70rpx;
// border-radius: 20rpx;
font-size: 32rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #FFFFFF;
background-color: #2A82E4;
}
.btn1{
display: flex;
align-items: center;
justify-content: center;
width: 50%;
// justify-content: center;
// width: 200rpx;
// height: 70rpx;
// border-radius: 20rpx;
font-size: 32rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #000;
background-color: #fff;
border: 1rpx solid #ccc;
}
}
}
2024-03-13 10:54:22 +08:00
.zhuhu {
margin-top: 20rpx;
padding: 0 40rpx;
.card1 {
padding: 34rpx 0 0 40rpx;
width: 670rpx;
height: 583rpx;
background: #FFFFFF;
box-shadow: 0rpx 14rpx 35rpx 0rpx rgba(53, 140, 255, 0.1);
border-radius: 28rpx 28rpx 28rpx 28rpx;
.top {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
.left {
font-size: 35rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #8883F0;
}
.right {
margin-right: 56rpx;
.img1 {
width: 76rpx;
height: 76rpx;
}
}
}
.mid {
margin-top: 54rpx;
display: flex;
flex-wrap: nowrap;
align-content: flex-start;
.mid_left {
image {
width: 37rpx;
height: 98rpx;
}
}
.mid_right {
margin-left: 40rpx;
display: flex;
flex-wrap: wrap;
.mid_top {
2024-08-31 18:01:17 +08:00
display: flex;
align-items: center;
flex-wrap: nowrap;
2024-03-13 10:54:22 +08:00
width: 100%;
font-size: 42rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #262B37;
2024-08-31 18:01:17 +08:00
.tip {
display: flex;
align-items: center;
justify-content: center;
margin-left: 19rpx;
width: 80rpx;
height: 32rpx;
background: rgba(204, 204, 204, 0);
opacity: 1;
border: 2rpx solid #8883F0;
border-radius: 40rpx;
font-size: 24rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #8883F0;
}
2024-03-13 10:54:22 +08:00
}
.mid_bot {
display: flex;
flex-wrap: nowrap;
align-items: center;
.txt {
font-size: 24rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #95989D;
}
.tip {
display: flex;
align-items: center;
justify-content: center;
margin-left: 19rpx;
width: 38rpx;
height: 23rpx;
background: rgba(204, 204, 204, 0);
opacity: 1;
border: 2rpx solid #8883F0;
border-radius: 40rpx;
font-size: 14rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #8883F0;
}
}
}
}
.bot {
margin-top: 83rpx;
display: flex;
flex-wrap: nowrap;
align-items: center;
.bot_left {
width: 210rpx;
2024-05-13 02:34:58 +08:00
height: 180rpx;
margin-right: 34rpx;
2024-03-13 10:54:22 +08:00
.echarts {
width: 210rpx;
2024-05-13 02:34:58 +08:00
height: 200rpx;
.uni-ec-canvas {
margin-top: -200rpx !important;
width: 100%;
height: 200rpx !important;
// display: block;
// margin-top: 30rpx;
}
2024-03-13 10:54:22 +08:00
}
}
.bot_right {
// margin-top: 50rpx;
display: flex;
2024-08-31 18:01:17 +08:00
flex-wrap: wrap;
2024-03-13 10:54:22 +08:00
2024-08-31 18:01:17 +08:00
.tip {
display: flex;
align-items: center;
justify-content: center;
margin-left: 19rpx;
width: 80rpx;
height: 32rpx;
background: rgba(204, 204, 204, 0);
opacity: 1;
border: 2rpx solid #8883F0;
border-radius: 40rpx;
font-size: 24rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #8883F0;
}
2024-03-13 10:54:22 +08:00
2024-08-31 18:01:17 +08:00
.contbox {
margin-top: 20rpx;
width: 100%;
display: flex;
flex-wrap: nowrap;
.cont {
.tit {
font-size: 28rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 600;
color: #262B37;
line-height: 49rpx;
}
.txt {
font-size: 24rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #262B37;
}
2024-03-13 10:54:22 +08:00
}
}
2024-08-31 18:01:17 +08:00
2024-03-13 10:54:22 +08:00
}
}
}
.card2 {
padding-top: 40rpx;
margin-top: 24rpx;
width: 670rpx;
height: 254rpx;
background: #FFFFFF;
box-shadow: 0rpx 16rpx 40rpx 0rpx rgba(53, 140, 255, 0.1);
border-radius: 28rpx;
.tit {
margin-left: 40rpx;
font-size: 35rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #8883F0;
}
.cont_box {
margin-top: 32rpx;
display: flex;
flex-wrap: nowrap;
justify-content: space-around;
2024-05-13 02:34:58 +08:00
2024-03-13 10:54:22 +08:00
.cont {
2024-04-27 17:20:50 +08:00
width: 25%;
2024-03-13 10:54:22 +08:00
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
2024-05-13 02:34:58 +08:00
text-align: center;
2024-03-13 10:54:22 +08:00
.top {
2024-03-25 19:46:07 +08:00
width: 110rpx;
2024-03-13 10:54:22 +08:00
font-size: 32rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #262B37;
}
.bot {
margin-top: 20rpx;
font-size: 24rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #262B37;
}
}
}
}
.card3 {
padding-top: 40rpx;
margin-top: 24rpx;
width: 670rpx;
// height: 318rpx;
background: #FFFFFF;
box-shadow: 0rpx 16rpx 40rpx 0rpx rgba(53, 140, 255, 0.1);
border-radius: 28rpx;
padding-bottom: 20rpx;
2024-05-13 02:34:58 +08:00
2024-03-13 10:54:22 +08:00
.tit {
margin-left: 40rpx;
font-size: 35rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #8883F0;
}
.cont_box {
2024-04-27 17:20:50 +08:00
// padding-left: 30rpx;
// padding-right: 30rpx;
padding: 0 40rpx;
2024-03-13 10:54:22 +08:00
margin-top: 32rpx;
display: flex;
flex-wrap: nowrap;
2024-04-27 17:20:50 +08:00
justify-content: space-around;
2024-05-13 02:34:58 +08:00
.cont:last-child {
2024-03-13 10:54:22 +08:00
margin-right: 0rpx;
}
2024-05-13 02:34:58 +08:00
2024-03-13 10:54:22 +08:00
.cont {
width: 112rpx;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin-right: 80rpx;
2024-05-13 02:34:58 +08:00
2024-03-13 10:54:22 +08:00
.top {
image {
width: 56rpx;
height: 56rpx;
}
}
.bot {
margin-top: 15rpx;
font-size: 28rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #808080;
}
}
}
}
.button {
margin-left: 76rpx;
margin-top: 178rpx;
display: flex;
justify-content: center;
align-items: center;
width: 520rpx;
height: 104rpx;
background: #8883F0;
box-shadow: 0rpx 16rpx 40rpx 0rpx rgba(42, 130, 228, 0.1);
border-radius: 52rpx 52rpx 52rpx 52rpx;
font-size: 32rpx;
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
font-weight: 400;
color: #FFFFFF;
}
}
2024-05-13 02:34:58 +08:00
2024-03-13 10:54:22 +08:00
}
</style>