123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125 |
- <template>
- <div class="dashboard-container">
- <div class="head">
- <div class="left">
- <div class="item">
- <div class="number">
- {{ countFee.expendGas }}
- </div>
- <div class="title">
- 支出/气体
- </div>
- </div>
- <div class="verticalLine"/>
- <div class="item">
- <div class="number">
- {{countFee.principalBalance}}
- </div>
- <div class="title">
- 剩余本金
- </div>
- </div>
- <div class="verticalLine"/>
- <div class="item">
- <div class="number">
- {{countFee.predictTotalCost}}
- </div>
- <div class="title">
- 预计支出总费用
- </div>
- </div>
- <!-- <div class="verticalLine"/>-->
- <!-- <div class="item">-->
- <!-- <div class="number">-->
- <!-- 88222-->
- <!-- </div>-->
- <!-- <div class="title">-->
- <!-- 预计空投价值-->
- <!-- </div>-->
- <!-- </div>-->
- </div>
- <div class="right" @click="drawerFinance = true">
- <img src="../../assets/dashboard/upload.svg" alt="upload">
- 导出财务报表
- </div>
- </div>
- <div class="main">
- <div class="left">
- <div class="expenseAndInput">
- <div class="expense">
- <div class="head">
- <div class="title">
- 支出趋势
- </div>
- <div style="width: 300px;display: flex;justify-content: space-between;z-index: 10">
- <div @click='changeActive(index)' :class='isActive === index ? "myWallet-text2" : "myWallet-text3"'
- v-for="(item,index) in day">
- {{ item }}
- </div>
- <el-popover placement="right" trigger="click">
- <div slot="reference" class="myWallet-text4">
- Custom
- </div>
- <el-date-picker
- v-model="datePicker"
- type="daterange"
- align="center"
- range-separator="To"
- start-placeholder="开始时间"
- end-placeholder="结束时间"
- :disabled-date="disabledDate"
- @change="datePickerChange"
- />
- </el-popover>
- </div>
- </div>
- <div class="emissionBonus" id="expense">
- </div>
- </div>
- <div class="input">
- <div class="title">
- 预计投入/USDT
- </div>
- <div class="emissionBonus" id="input">
- </div>
- <div class="expected">
- <div class="text">
- 预期投入
- </div>
- <div class="amount">
- 888232
- </div>
- </div>
- <div class="info">
- 共{{echartsInputData.totalCount}}项
- </div>
- <div class="info">
- 总支出:{{echartsInputData.totalCost}}
- </div>
- <div class="progress">
- <div class="progress">
- </div>
- </div>
- </div>
- </div>
- <div class="missionAndAddress">
- <div class="mission">
- <div class="title">
- 交互任务进度
- </div>
- <div style="margin-top: 20px;height: 230px;overflow: hidden" id="progressViewBox" @mouseenter="rollStop()" @mouseleave="rollStart(60)">
- <div class="progressBox" id="progressBoxOne">
- <div class="item" v-for="(item,index) in progressData">
- <div class="name">
- {{ item.taskName }}
- </div>
- <div class="progress">
- <div class="progress" :style="{width:(item.finishCount/item.totalCount*100)+'%'}"></div>
- </div>
- </div>
- </div>
- <div class="progressBox" id="progressBoxTwo">
- <div class="item" v-for="(item,index) in progressData">
- <div class="name">
- {{ item.taskName }}
- </div>
- <div class="progress">
- <div class="progress" :style="{width:(item.finishCount/item.totalCount*100)+'%'}"></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="address">
- <div class="title">
- 地址统计
- </div>
- <div class="emissionBonus" id="address">
- </div>
- </div>
- </div>
- </div>
- <div class="right">
- <div class="title">
- 燃气报价(单位:元)
- </div>
- <div class="base">
- 当前基数:38基于以太坊交易内存池预测
- </div>
- <div class="gasBox">
- <div class="top">
- <div class="item">
- <img src="../../assets/dashboard/Vector.svg" alt="Vector">
- <div class="info">
- <div class="speed">
- Top 40
- </div>
- <div class="price">
- $1.57 | for 15 seconds
- </div>
- </div>
- </div>
- </div>
- <div class="high">
- <div class="item">
- <img src="../../assets/dashboard/Vector-1.svg" alt="Vector">
- <div class="info">
- <div class="speed">
- High speed 40
- </div>
- <div class="price">
- $1.53 | 1 minute
- </div>
- </div>
- </div>
- </div>
- <div class="general">
- <div class="item">
- <img src="../../assets/dashboard/Vector-2.svg" alt="Vector">
- <div class="info">
- <div class="speed">
- General 40
- </div>
- <div class="price">
- $1.49 | 3 minutes
- </div>
- </div>
- </div>
- </div>
- <div class="slow">
- <div class="item">
- <img src="../../assets/dashboard/Vector-3.svg" alt="Vector">
- <div class="info">
- <div class="speed">
- Slow 40
- </div>
- <div class="price">
- $1.49 | > 10 minutes
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="logo">
- <img src="../../assets/dashboard/image.svg" alt="image">
- </div>
- </div>
- </div>
- <el-drawer
- :visible.sync="drawerFinance"
- :with-header="false">
- <div class="drawerAddress-container">
- <div class="drawerAddress-container-head">
- <div class="drawerAddress-container-head-left">
- <div class="drawerAddress-container-title">
- 邮件通知
- </div>
- <div class="drawerAddress-container-tip">
- 总计邮件: 2
- </div>
- </div>
- <div class="drawerAddress-container-head-right">
- <div class="complete" @click="exportingReports">
- <img src="../../assets/address/done_all.svg" alt="done_all">
- 确认导出
- </div>
- </div>
- </div>
- <div class="drawerAddress-container-main">
- <div class="moduleBox">
- <div class="title">
- 导出项目
- </div>
- <div class="input">
- <el-select style="width: 100%" v-model="project" placeholder="选择导出项目">
- <el-option
- v-for="item in optionsProject"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- </div>
- <div class="timeBox">
- <div class="title">
- 导出内容
- </div>
- <div class="input">
- <el-select style="width: 100%" v-model="project" placeholder="选择导出内容">
- <el-option
- v-for="item in optionsProject"
- :key="item.value"
- :label="item.label"
- :value="item.value">
- </el-option>
- </el-select>
- </div>
- </div>
- <div class="emailBox">
- <div class="title">
- 时间范围
- </div>
- <div class="block">
- <el-date-picker
- v-model="time"
- type="daterange"
- align="right"
- unlink-panels
- style="width: 100%"
- range-separator="至"
- start-placeholder="开始日期"
- end-placeholder="结束日期"
- :picker-options="pickerOptions">
- </el-date-picker>
- </div>
- </div>
- </div>
- </div>
- </el-drawer>
- </div>
- </template>
- <script>
- import * as echarts from 'echarts';
- import {addressGroup, countFee, dailyCost, expectedInput, taskProgress} from "@/api/statistics";
- export default {
- name: "Dashboard",
- data() {
- return {
- progressData: [],
- isActive: 0,
- day: ['7D', '30D', 'All'],
- visible: false,
- datePicker: [],
- drawerFinance:false,
- project:'',
- optionsProject: [
- {
- value: '1',
- label: 'zkSync'
- }
- ],
- pickerOptions: {
- shortcuts: [{
- text: '最近一周',
- onClick(picker) {
- const end = new Date();
- const start = new Date();
- start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
- picker.$emit('pick', [start, end]);
- }
- }, {
- text: '最近一个月',
- onClick(picker) {
- const end = new Date();
- const start = new Date();
- start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
- picker.$emit('pick', [start, end]);
- }
- }, {
- text: '最近三个月',
- onClick(picker) {
- const end = new Date();
- const start = new Date();
- start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
- picker.$emit('pick', [start, end]);
- }
- }]
- },
- time:'',
- countFee:{
- expendGas:0,
- predictTotalCost:0,
- principalBalance:0,
- },
- echartsInputData:{
- totalCost:0,
- totalCount:0,
- predicts:[]
- },
- echartsExpenseData:{
- timeData:[],
- seriesDataGas:[],
- seriesDataP:[]
- },
- echartsAddressData:{
- xAxisData:[],
- seriesData:[]
- },
- timer:null
- };
- },
- mounted() {
- this.getExpectedInput()
- this.getCountFee()
- this.getDailyCost()
- this.getTaskProgress()
- this.getAddressGroup()
- this.roll(60)
- },
- beforeDestroy() {
- if(this.timer) clearInterval(this.timer)
- },
- methods: {
- initEchartsAddress() {
- let chartDom = document.getElementById('address');
- let myChart = echarts.init(chartDom, undefined, {
- renderer: 'svg'
- });
- let option;
- option = {
- textStyle: {
- fontFamily: 'Quicksand'
- },
- tooltip: {
- trigger: 'axis',
- },
- xAxis: {
- offset: 20,
- type: 'category',
- data: this.echartsAddressData.xAxisData,
- axisLabel: {
- color: '#ABABAB'
- },
- axisTick: {
- show: false
- },
- axisPointer: {
- type: 'shadow'
- }
- },
- yAxis: {
- offset: 20,
- type: 'value',
- axisLabel: {
- color: '#ABABAB'
- },
- },
- dataZoom: [
- {
- type: 'inside'
- }
- ],
- series: [
- {
- data: this.echartsAddressData.seriesData,
- type: 'bar',
- barWidth: '15%',
- itemStyle: {
- color: '#27AE60',
- borderRadius: [30, 30, 0, 0]
- }
- }
- ]
- };
- option && myChart.setOption(option);
- },
- initEchartsInput() {
- let chartDom = document.getElementById('input');
- let myChart = echarts.init(chartDom, undefined, {
- renderer: 'svg'
- });
- let option;
- option = {
- tooltip: {
- trigger: 'item'
- },
- series: [
- {
- type: 'pie',
- radius: ['40%', '70%'],
- avoidLabelOverlap: false,
- label: {
- show: false,
- position: 'center'
- },
- labelLine: {
- show: false
- },
- data: this.echartsInputData.predicts
- }
- ]
- };
- option && myChart.setOption(option);
- },
- initEchartsExpense(){
- let chartDom = document.getElementById('expense');
- let myChart = echarts.init(chartDom, undefined, {
- renderer: 'svg'
- });
- let option;
- option = {
- dataZoom: [
- {
- type: 'inside'
- }
- ],
- tooltip: {
- trigger: 'axis',
- axisPointer: {
- type: 'cross',
- label: {
- backgroundColor: '#6a7985'
- }
- }
- },
- legend: {
- icon: 'circle',
- },
- xAxis: [
- {
- offset: 10,
- type: 'category',
- axisLabel: {
- color: '#ABABAB',
- fontWeight: 500
- },
- axisTick: {
- show: false
- },
- data: this.echartsExpenseData.timeData
- }
- ],
- yAxis: [
- {
- offset: 10,
- axisLabel: {
- color: '#181818',
- fontWeight: 700
- },
- type: 'value'
- }
- ],
- series: [
- {
- name: 'Gas',
- type: 'bar',
- stack: 'Total',
- color: '#2980FF',
- barMaxWidth: '25px',
- emphasis: {
- focus: 'series'
- },
- data: this.echartsExpenseData.seriesDataGas
- },
- {
- name: '本金',
- type: 'bar',
- stack: 'Total',
- color: '#FFD428',
- barMaxWidth: '25px',
- itemStyle: {
- borderRadius: [100, 100, 0, 0]
- },
- emphasis: {
- focus: 'series'
- },
- data: this.echartsExpenseData.seriesDataP
- },
- ]
- };
- option && myChart.setOption(option);
- },
- changeActive(index) {
- this.isActive = index
- },
- changeInitCalendarPage() {
- let element = document.querySelector(".el-picker-panel__icon-btn.arrow-left");
- if (element) {
- element.click()
- }
- },
- disabledDate(time) {
- return time.getTime() > Date.now()
- },
- datePickerChange() {
- this.visible = false
- if (this.datePicker) {
- console.log(this.datePicker);
- } else {
- // changeActive(0)
- }
- },
- exportingReports(){
- },
- getExpectedInput(){
- expectedInput().then(res=>{
- this.echartsInputData = res
- this.echartsInputData.predicts.forEach(item=>{
- item.value = item.estimatedCost
- item.name = item.projectName
- })
- this.initEchartsInput()
- })
- },
- getCountFee(){
- countFee().then(res=>{
- this.countFee = res
- })
- },
- getDailyCost(){
- dailyCost().then(res=>{
- this.echartsExpenseData = {
- timeData:[],
- seriesDataGas:[],
- seriesDataP:[]
- }
- res.forEach(item=>{
- this.echartsExpenseData.timeData.push(item.date)
- this.echartsExpenseData.seriesDataGas.push(item.gas)
- this.echartsExpenseData.seriesDataP.push(item.principal)
- })
- this.initEchartsExpense()
- })
- },
- getTaskProgress(){
- taskProgress().then(res=>{
- this.progressData = res
- })
- },
- getAddressGroup(){
- addressGroup().then(res=>{
- res.forEach(item=>{
- this.echartsAddressData.xAxisData.push(item.groupName)
- this.echartsAddressData.seriesData.push(item.addressCount)
- })
- this.initEchartsAddress()
- })
- },
- roll(t) {
- let ul1 = document.getElementById('progressBoxOne')
- let ul2 = document.getElementById('progressBoxTwo')
- let ulbox = document.getElementById('progressViewBox')
- ulbox.scrollTop = 0
- this.rollStart(t)
- },
- rollStart(t) {
- console.log('2')
- let ul1 = document.getElementById('progressBoxOne')
- let ul2 = document.getElementById('progressBoxTwo')
- let ulbox = document.getElementById('progressViewBox')
- this.rollStop();
- this.timer = setInterval(()=>{
- if(ulbox.scrollTop >= ul1.scrollHeight) {
- ulbox.scrollTop = 0
- } else {
- ulbox.scrollTop++
- }
- },t)
- },
- rollStop(){
- clearInterval(this.timer)
- console.log('1')
- }
- },
- };
- </script>
- <style lang="scss" scoped>
- .dashboard-container {
- .title {
- font-weight: 700;
- font-size: 21px;
- line-height: 26px;
- color: #181818;
- }
- .head {
- display: flex;
- align-items: center;
- justify-content: space-between;
- .left {
- display: flex;
- gap: 60px;
- .item {
- display: flex;
- flex-direction: column;
- gap: 8px;
- .number {
- font-weight: 700;
- font-size: 21px;
- line-height: 28px;
- color: #181818;
- }
- .title {
- font-weight: 700;
- font-size: 12px;
- line-height: 16px;
- color: #8e8f91;
- }
- }
- .verticalLine {
- width: 1px;
- height: 50px;
- border-right: 1px solid #e4e6ea;
- }
- }
- .right {
- width: 178px;
- height: 52px;
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 4px;
- border: 1px solid #2980FF;
- border-radius: 10px;
- font-weight: 700;
- font-size: 15px;
- line-height: 20px;
- color: #2980FF;
- cursor: pointer;
- }
- }
- .main {
- display: flex;
- justify-content: space-between;
- margin-top: 40px;
- .left {
- display: flex;
- flex-direction: column;
- gap: 40px;
- .expenseAndInput {
- display: flex;
- gap: 28px;
- .expense {
- width: 736px;
- height: 342px;
- background: #fcfdff;
- border: 1px solid #F1F2F6;
- border-radius: 10px;
- padding: 36px;
- .head {
- display: flex;
- align-items: center;
- justify-content: space-between;
- .myWallet-text2 {
- width: 50px;
- height: 34px;
- background: #F1F1F1;
- border: 1px solid #F1F1F1;
- border-radius: 36px;
- font-weight: 700;
- font-size: 14px;
- line-height: 18px;
- color: #2A2E39;
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- }
- .myWallet-text3 {
- width: 50px;
- height: 34px;
- color: #8F9297;
- border-radius: 36px;
- font-weight: 500;
- font-size: 14px;
- line-height: 18px;
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- }
- .myWallet-text4 {
- width: 84px;
- height: 34px;
- background: linear-gradient(135deg, #FEF380 0%, #E8FFC7 100%);
- border-radius: 36px;
- font-weight: 700;
- font-size: 14px;
- line-height: 18px;
- color: #2A2E39;
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- }
- }
- .emissionBonus{
- margin-top: 20px;
- width: 100%;
- height: 260px;
- }
- }
- .input {
- width: 300px;
- height: 342px;
- background: #fcfdff;
- border: 1px solid #F1F2F6;
- border-radius: 10px;
- padding: 36px;
- text-align: center;
- position: relative;
- .emissionBonus {
- width: 100%;
- height: 180px;
- }
- .expected {
- display: flex;
- flex-direction: column;
- position: absolute;
- top: 136px;
- left: 0;
- right: 0;
- margin: 0 auto;
- .text {
- font-weight: 500;
- font-size: 13px;
- line-height: 16px;
- color: #7e7f80;
- }
- .amount {
- font-weight: 700;
- font-size: 16px;
- line-height: 20px;
- color: #000000;
- }
- }
- .info {
- text-align: center;
- font-weight: 400;
- font-size: 14px;
- line-height: 18px;
- color: #222222;
- }
- .progress {
- width: 100%;
- height: 6px;
- background: #d2e4ff;
- border-radius: 10px;
- margin-top: 8px;
- .progress {
- width: 70%;
- height: 6px;
- background: #6FCF97;
- border-radius: 10px;
- }
- }
- }
- }
- .missionAndAddress {
- display: flex;
- gap: 40px;
- .mission {
- width: 335px;
- height: 338px;
- background: #fcfdff;
- border: 1px solid #F1F2F6;
- border-radius: 10px;
- padding: 36px;
- .progressBox {
- margin-top: 28px;
- display: flex;
- flex-direction: column;
- gap: 24px;
- .item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- .name {
- font-weight: 700;
- font-size: 11px;
- line-height: 14px;
- color: #181818;
- }
- .progress {
- width: 160px;
- height: 20px;
- background: #222222;
- border-radius: 0 20px 20px 0;
- .progress {
- height: 20px;
- background: #6FCF97;
- border-radius: 0 20px 20px 0;
- }
- }
- }
- }
- }
- .address {
- width: 689px;
- height: 338px;
- background: #fcfdff;
- border: 1px solid #F1F2F6;
- border-radius: 10px;
- padding: 36px;
- .emissionBonus {
- width: 689px;
- height: 280px
- }
- }
- }
- }
- .right {
- width: 348px;
- height: 720px;
- background: #FFFFFF;
- border-radius: 10px;
- padding: 28px;
- .base {
- font-weight: 400;
- font-size: 12px;
- line-height: 16px;
- color: #ABABAB;
- margin-top: 8px;
- margin-bottom: 20px;
- }
- .gasBox {
- display: flex;
- flex-direction: column;
- gap: 28px;
- .item {
- display: flex;
- align-items: center;
- gap: 24px;
- .info {
- display: flex;
- flex-direction: column;
- gap: 8px;
- .speed {
- font-weight: 700;
- font-size: 17px;
- line-height: 22px;
- color: #181818;
- }
- .price {
- font-weight: 400;
- font-size: 14px;
- line-height: 18px;
- color: #919191;
- }
- }
- }
- .top {
- width: 100%;
- height: 104px;
- background: #FFFFFF;
- border: 1px solid #EB5757;
- border-radius: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .high {
- width: 100%;
- height: 104px;
- background: #FFFFFF;
- border: 1px solid #2980FF;
- border-radius: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .general {
- width: 100%;
- height: 104px;
- background: #6FCF97;
- border: 1px solid #6FCF97;
- border-radius: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .slow {
- width: 100%;
- height: 104px;
- background: #FFFFFF;
- border: 1px solid #F2C94C;
- border-radius: 10px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- }
- .logo {
- margin-top: 72px;
- display: flex;
- justify-content: center;
- }
- }
- }
- .drawerAddress-container{
- display: flex;
- flex-direction: column;
- height: 100vh;
- overflow: auto;
- .drawerAddress-container-head{
- padding: 56px 40px;
- background: #FFFFFF;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .drawerAddress-container-head-left{
- .drawerAddress-container-title{
- font-weight: 700;
- font-size: 21px;
- line-height: 28px;
- color: #181818;
- margin-bottom: 8px;
- }
- .drawerAddress-container-tip{
- font-weight: 700;
- font-size: 12px;
- line-height: 16px;
- color: #919191;
- }
- }
- .drawerAddress-container-head-right{
- display: flex;
- align-items: center;
- gap:48px;
- .cancellation{
- width: 118px;
- height: 52px;
- background: #E0E0E0;
- border-radius: 10px;
- gap: 4px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-weight: 700;
- font-size: 15px;
- line-height: 20px;
- color: #828282;
- }
- .complete{
- width: 118px;
- height: 52px;
- border: 2px solid #4A76FF;
- border-radius: 10px;
- gap:4px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-weight: 700;
- font-size: 15px;
- line-height: 20px;
- color: #2980FF;
- cursor: pointer;
- }
- }
- }
- .drawerAddress-container-main{
- padding: 36px 40px;
- background: #f9fbff;
- flex-grow: 1;
- display: flex;
- flex-direction: column;
- gap:20px;
- .title{
- font-weight: 700;
- font-size: 17px;
- line-height: 20px;
- color: #222222;
- margin-bottom: 16px;
- }
- .emailBox{
- display: flex;
- flex-direction: column;
- .item{
- display: flex;
- flex-direction: column;
- margin-bottom: 20px;
- .title{
- display: flex;
- align-items: center;
- justify-content: space-between;
- .name{
- font-weight: 400;
- font-size: 12px;
- line-height: 22px;
- color: #181818;
- }
- .delete{
- display: flex;
- align-items: center;
- gap:4px;
- font-weight: 700;
- font-size: 15px;
- line-height: 20px;
- color: #EB5757;
- cursor: pointer;
- }
- }
- .input{
- display: flex;
- align-items: center;
- gap:24px;
- }
- }
- .addAddress{
- display: flex;
- align-items: center;
- gap:12px;
- font-weight: 700;
- font-size: 17px;
- line-height: 22px;
- color: #2980FF;
- cursor: pointer;
- }
- }
- }
- }
- }
- </style>
|