feat: 6/26最后提交

This commit is contained in:
sundongyu 2024-06-26 18:11:22 +08:00
parent 71865f45f1
commit 9a41036861
2 changed files with 147 additions and 140 deletions

View File

@ -41,9 +41,13 @@
] ]
}, },
/* ios */ /* ios */
"ios" : {}, "ios" : {
"dSYMs" : false
},
/* SDK */ /* SDK */
"sdkConfigs" : {} "sdkConfigs" : {
"ad" : {}
}
} }
}, },
/* */ /* */

View File

@ -1,6 +1,6 @@
<template> <template>
<view style="background-color: #2c66a9; width: 100%; height: 5vh" :style="{ backgroundPositionY: -44 + safeAreaInsets.top + 'px' }"> <view style="background-color: #2c66a9; width: 100%; height: 5vh" :style="{ backgroundPositionY: -44 + safeAreaInsets.top + 'px' }">
<view :style="{ paddingTop: safeAreaInsets.top + 'px' }" class="van-nav-bar"> <view :style="{ paddingTop: safeAreaInsets.top + 'px' }" class="van-nav-bar">
<view class="van-nav-bar__content"> <view class="van-nav-bar__content">
<view class="page-icon" @click="gotoBack"> <view class="page-icon" @click="gotoBack">
<uni-icons color="#fff" type="back" size="26"></uni-icons> <uni-icons color="#fff" type="back" size="26"></uni-icons>
@ -13,19 +13,19 @@
<view class="business"> <view class="business">
<view class="business-top"> <view class="business-top">
<view style="display: flex; align-items: center"> <view style="display: flex; align-items: center">
<image src="../../../static/认领.png" class="image"></image> <image src="../../../static/renling.png" class="image"></image>
<text style="margin-left: 30rpx; font-weight: 500; font-size: 32rpx">代办驾驶证业务</text> <text style="margin-left: 30rpx; font-weight: 500; font-size: 32rpx">代办驾驶证业务</text>
</view> </view>
<view style="font-size: 24rpx; color: #858585"> <view style="font-size: 24rpx; color: #858585">
{{ "共一项代办业务" }} {{ '共一项代办业务' }}
</view> </view>
</view> </view>
<view class="business-bottom"> <view class="business-bottom">
<view class="tag"> <view class="tag">
<text style="margin-left: 10rpx">待办</text> <text style="margin-left: 10rpx">待办</text>
</view> </view>
<view class=""> 期满换证 </view> <view class="">期满换证</view>
<view style="font-size: 28rpx; color: #666666; margin-left: 20rpx"> 请尽快更换驾驶证 </view> <view style="font-size: 28rpx; color: #666666; margin-left: 20rpx">请尽快更换驾驶证</view>
<view style="width: 15%"> <view style="width: 15%">
<uni-tag text="详情" type="primary" size="small" inverted></uni-tag> <uni-tag text="详情" type="primary" size="small" inverted></uni-tag>
</view> </view>
@ -40,12 +40,12 @@
</view> </view>
</view> </view>
</view> </view>
<view class="driving-print"> </view> <view class="driving-print"></view>
</view> </view>
<view class="drivingList"> <view class="drivingList">
<view class="item"> <view class="item">
<text style="margin-left: 40rpx; font-weight: 550">登录手机号码</text> <text style="margin-left: 40rpx; font-weight: 550">登录手机号码</text>
<text style="margin-right: 20rpx">{{ "151****9198" }}</text> <text style="margin-right: 20rpx">{{ '151****9198' }}</text>
</view> </view>
<view class="item"> <view class="item">
<text style="margin-left: 40rpx; font-weight: 550">驾驶证电子版</text> <text style="margin-left: 40rpx; font-weight: 550">驾驶证电子版</text>
@ -78,115 +78,118 @@
</template> </template>
<script setup> <script setup>
import { import { ref, onMounted } from 'vue';
ref, import * as echarts from 'echarts';
onMounted const { safeAreaInsets } = uni.getSystemInfoSync();
} from 'vue' const gotoBack = () => {
import * as echarts from 'echarts'; uni.navigateBack({
const { safeAreaInsets } = uni.getSystemInfoSync(); delta: 1
const gotoBack = () => { });
uni.navigateBack({ };
delta: 1 const drivingData = [
}) {
} title: '驾驶证号',
const drivingData = [{ content: '2302**********1229'
title: '驾驶证号', },
content: '2302**********1229' {
}, title: '准驾车型',
{ content: 'C1'
title: '准驾车型', },
content: 'C1' {
}, title: '驾驶证有效期止',
{ content: '2024-08-30'
title: '驾驶证有效期止', },
content: '2024-08-30' {
}, title: '审核有效期止',
{ content: '2024-08-30'
title: '审核有效期止', },
content: '2024-08-30' {
}, title: '下一清分日期',
{ content: '2024-08-30'
title: '下一清分日期', },
content: '2024-08-30' {
}, title: '下一体检日期',
{ content: '2024-08-30'
title: '下一体检日期', },
content: '2024-08-30' {
}, title: '数据更新时间',
{ content: '2023-08-30'
title: '数据更新时间', }
content: '2023-08-30' ];
},
]
const option = { const option = {
series: [{ series: [
type: 'gauge', {
min: 0, // type: 'gauge',
max: 12, min: 0, //
radius: '100%', max: 12,
progress: { radius: '100%',
show: true, progress: {
width: 18, show: true,
roundCap: true, width: 18,
itemStyle: { roundCap: true,
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{ itemStyle: {
offset: 0, color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
color: '#A65FFB' {
}, offset: 0,
{ color: '#A65FFB'
offset: 1, },
color: '#3163F5' {
} offset: 1,
]) color: '#3163F5'
} }
}, ])
axisLine: { }
lineStyle: { },
width: 18 axisLine: {
}, lineStyle: {
roundCap: true width: 18
}, },
axisTick: { roundCap: true
show: false },
}, axisTick: {
splitLine: { show: false
show: false },
}, splitLine: {
pointer: { show: false
show: false },
}, pointer: {
axisLabel: { show: false
show: false },
}, axisLabel: {
anchor: { show: false
show: false },
}, anchor: {
title: { show: false
offsetCenter: [0, '20%'], },
fontSize: 20 title: {
}, offsetCenter: [0, '20%'],
detail: { fontSize: 20
valueAnimation: true, },
formatter: '{value} 分', detail: {
color: 'inherit' valueAnimation: true,
}, formatter: '{value} 分',
data: [{ color: 'inherit'
value: 1, },
name: '累计积分\n\n\n\n\n\n正常', data: [
}] {
}] value: 1,
}; name: '累计积分\n\n\n\n\n\n正常'
}
]
}
]
};
// ECharts // ECharts
onMounted(() => { onMounted(() => {
// const lineChartContainer = lineChartRef.value; // const lineChartContainer = lineChartRef.value;
const lineChartContainer = document.getElementById('lineChartRef'); const lineChartContainer = document.getElementById('lineChartRef');
if (lineChartContainer) { if (lineChartContainer) {
const myChart = echarts.init(lineChartContainer); const myChart = echarts.init(lineChartContainer);
myChart.setOption(option); myChart.setOption(option);
} }
}); });
</script> </script>
<style lang="scss"> <style lang="scss">
@ -279,29 +282,29 @@
} }
} }
.drivingList { .drivingList {
margin-bottom: 20rpx; margin-bottom: 20rpx;
.item { .item {
height: 120rpx; height: 120rpx;
background-color: #fff; background-color: #fff;
border-top: 1rpx solid #f4f4f4; border-top: 1rpx solid #f4f4f4;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
} }
} }
.image { .image {
width: 50rpx; width: 50rpx;
height: 50rpx; height: 50rpx;
} }
.warning{ .warning {
display: inline-block; display: inline-block;
margin-top: 20rpx; margin-top: 20rpx;
font-size: 25rpx; font-size: 25rpx;
color: #929196; color: #929196;
width: 100%; width: 100%;
text-align: center; text-align: center;
} }
</style> </style>