ZhangXianQiang
2024-02-28 5d152dbd84722beeec5b2d5977333bd1e2cc6809
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<script setup lang="ts">
import { reactive } from "vue";
import dayjs from 'dayjs';
import type {DateDataType} from "./index.d"
import {useSettingStore} from "@/stores/index"
 
const dateData = reactive<DateDataType>({
  dateDay: "",
  dateYear: "",
  dateWeek: "",
  timing:null
});
 
const { setSettingShow} =useSettingStore()
const weekday= ["周日", "周一", "周二", "周三", "周四", "周五", "周六"]
const timeFn = () => {
  dateData.timing = setInterval(() => {
    dateData.dateDay = dayjs().format("YYYY-MM-DD hh : mm : ss");
    dateData.dateWeek = weekday[dayjs().day()];
  }, 1000);
};
timeFn()
</script>
 
<template>
  <div class="d-flex jc-center title_wrap">
    <div class="zuojuxing-new">
     您好,欢迎来到<span style="color:#E4D68B;">道安办市域治理数据</span>大屏!
    </div>
<!--    <div class="zuojuxing"></div>-->
<!--    <div class="youjuxing"></div>-->
<!--    <div class="guang"></div>-->
    <div class="d-flex jc-center">
      <div class="title">
        <span class="title-text">道安办市域治理数据大屏</span>
      </div>
    </div>
<!--    <div class="timers">-->
<!--      {{ dateData.dateYear }} {{ dateData.dateWeek }} {{ dateData.dateDay }}-->
 
<!--      <div class="setting_icon"   @click="setSettingShow(true)">-->
<!--          <img src="@/assets/img/headers/setting.png" alt="设置">-->
<!--      </div>-->
<!--    </div>-->
  </div>
</template>
 
<style scoped lang="scss">
.title_wrap {
  height: 116px;
  background-image: url("../assets/img/top1.png");
  background-size: cover;
  background-position: center center;
  position: relative;
  margin-bottom: 4px;
 
  .guang {
    position: absolute;
    bottom: -26px;
    background-image: url("../assets/img/guang.png");
    background-position: 80px center;
    width: 100%;
    height: 56px;
  }
 
  .zuojuxing,
  .youjuxing {
    position: absolute;
    top: -2px;
    width: 140px;
    height: 6px;
    background-image: url("../assets/img/headers/juxing1.png");
  }
  .zuojuxing-new::before{
    background-image: url(../assets/img/top3.png);
    content: "";
    width: 20px;
    height: 20px;
    //background-image: url(./bubble.png);
    background-size: contain;
    margin: -2px 10px;
    //background: url("../assets/img/top3.png") no-repeat;
  }
  .zuojuxing-new{
    display: flex;
    align-items: center;
    margin-top: 13px;
    position: absolute;
    top: -2px;
    width: auto;
    height: 20px;
    left: 0.2%;
    line-height: 50px;
 
  }
  .zuojuxing {
    left: 11%;
  }
 
  .youjuxing {
    right: 11%;
    transform: rotate(180deg);
  }
 
  .timers {
    position: absolute;
    right: 0;
    top: 30px;
    font-size: 18px;
    display: flex;
    align-items: center;
 
    .setting_icon {
      width: 20px;
      height: 20px;
      cursor: pointer;
      margin-left: 12px;
      img{
        width: 100%;
        height: 100%;
      }
    }
  }
}
.title {
  position: relative;
  // width: 500px;
  text-align: center;
  background-size: cover;
  color: transparent;
  height: 60px;
  line-height: 46px;
 
  .title-text {
    font-style: italic;
    //text-shadow: 0px 2px 10px rgba(0,0,0,0.5);
    //font-family: 200-SSBoYaTi;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 6px;
    width: 100%;
    background: linear-gradient(
      180deg,
      #fff 0%,
      #407BB6 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}
</style>