| | |
| | | </div>
|
| | |
|
| | | <div class="self-setting" v-if="activePage == 2">
|
| | | <div class="top-title">图标主题</div>
|
| | | <div class="top-title">颜色主题</div>
|
| | | <div class="color-bar"> |
| | | <div
|
| | | v-for="(item,index) in colorList"
|
| | | :key="index" |
| | | >
|
| | | <div class="color-option"
|
| | | v-if="universalColor != index"
|
| | | :style="{cursor: pointer,backgroundColor:item.color}"
|
| | | @click="colorCard(item.color,index)"
|
| | | /> |
| | |
|
| | | <div class="color-option color-option-active"
|
| | | v-else
|
| | | :style="{cursor: pointer,border:`2px solid ${item.color}`}"
|
| | | @click="colorCard(item.color,index)">
|
| | | <div |
| | | :style="{backgroundColor:item.color}"
|
| | | class="color-option-content">
|
| | | </div>
|
| | | |
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | |
|
| | | |
| | |
|
| | | <div class="top-title">图标主题</div>
|
| | | <div class="icon-bar" style="cursor: pointer" @click="selectIcons(0)">
|
| | | <div class="bar-title">
|
| | | <span class="title">扁平写实图标</span>
|
| | | <span
|
| | | class="icon iconfont"
|
| | | style="color: #3d68e1; font-size: 18px"
|
| | | v-show="activeIcons == 0"
|
| | | :class="activeIcons == 0 ? 'icon-active' : 'icon-normal'"
|
| | | ></span
|
| | | >
|
| | | </div>
|
| | |
| | | class="entity-img"
|
| | | v-for="(item, i) in realIconList"
|
| | | :key="i"
|
| | | @click="colorCard(item.color)"
|
| | | >
|
| | | <img :src="item.url" alt="" />
|
| | | </div>
|
| | |
| | | <span class="title">扁平化图标</span>
|
| | | <span
|
| | | class="icon iconfont"
|
| | | style="color: #3d68e1; font-size: 18px"
|
| | | v-show="activeIcons == 1"
|
| | | :class="activeIcons == 1 ? 'icon-active' : 'icon-normal'"
|
| | | ></span
|
| | | >
|
| | | </div>
|
| | |
| | | </div>
|
| | | </div>
|
| | | </div>
|
| | | |
| | | <div class="top-title">桌面背景主题</div>
|
| | | <div class="bg-bar">
|
| | | <div class="bg-list">
|
| | | <div
|
| | | class="bg-img"
|
| | | :class="activeBg == i ? 'bg-list-active' : ''"
|
| | | v-for="(item, i) in tableBGList"
|
| | | class="bg-img"
|
| | | :class="activeBg == i ? 'bg-list-active' : ''" |
| | | :key="i"
|
| | | @click="pickBg(item, i)"
|
| | | >
|
| | |
| | | { name: "message", url: "/images/settings/数据推送.png" },
|
| | | { name: "weather", url: "/images/settings/系统设置.png" },
|
| | | ],
|
| | | universalColor:'',
|
| | | colorList: [
|
| | | {name:1 ,color:"#FC6B9E"},
|
| | | {name:2 ,color:"#F38F56"},
|
| | | {name:3 ,color:"#FDD33A"},
|
| | | {name:4 ,color:"#53D999"},
|
| | | {name:5 ,color:"#21CDB2"},
|
| | | {name:6 ,color:"#61E2EB"},
|
| | | {name:7 ,color:"#4E94FF"},
|
| | | {name:8 ,color:"#8E8CD8"},
|
| | | {name:9 ,color:"#4C4A48"},
|
| | | ]
|
| | | };
|
| | | },
|
| | | mounted() {
|
| | |
| | | },
|
| | | "*"
|
| | | );
|
| | | this.$forceUpdate()
|
| | | },
|
| | | togglePlay(item, i) {
|
| | | if (this.curPlayingIndex !== null) {
|
| | |
| | | }
|
| | | });
|
| | | },
|
| | | colorCard(color) {
|
| | | colorCard(color,index) {
|
| | | this.universalColor = index
|
| | | document.documentElement.style.setProperty('--colorCard',`${color}`)
|
| | | localStorage.setItem('--colorCard',`${color}`)
|
| | | }
|
| | |
| | | background-color: var(--colorCard) !important;
|
| | | color: white !important;
|
| | | }
|
| | | /* .menu-item:hover {
|
| | | .menu-item:hover {
|
| | | background-color: #F2F2F7;
|
| | | } */
|
| | | }
|
| | | }
|
| | | .general-right {
|
| | | flex: 1;
|
| | | flex-basis: auto;
|
| | | overflow: auto;
|
| | | box-sizing: border-box;
|
| | | background-color: rgb(251, 250, 255);
|
| | |
|
| | | padding: 10px 18px 10px 10px;
|
| | | .el-form-item.is-required:not(.is-no-asterisk)
|
| | |
| | | }
|
| | | .bar-group {
|
| | | overflow: auto;
|
| | | height: 520px;
|
| | | height: 400px;
|
| | | }
|
| | | .bar {
|
| | | height: 48px;
|
| | |
| | | width: fit-content;
|
| | | .icon {
|
| | | font-size: 40px;
|
| | | color: rgba(61, 104, 225, 1);
|
| | | color: var(--colorCard);
|
| | | }
|
| | | }
|
| | | .min-dur {
|
| | |
| | | }
|
| | | }
|
| | | .save-btn {
|
| | | background-color: #3d68e1;
|
| | | background-color: var(--colorCard);
|
| | | width: 240px;
|
| | | height: 40px;
|
| | | margin: 0 auto;
|
| | |
| | | }
|
| | | .self-setting {
|
| | | .top-title {
|
| | | text-align: left;
|
| | | font-size: 16px;
|
| | | height: 30px;
|
| | | line-height: 30px;
|
| | | margin-bottom: 10px;
|
| | | font-weight: 700;
|
| | | margin-top: 20px;
|
| | | }
|
| | | .icon-bar:hover {
|
| | | /* .icon-bar:hover {
|
| | | background-color: rgba(233, 233, 233, 1);
|
| | | } */
|
| | | .color-bar {
|
| | | display: flex;
|
| | | justify-content: center;
|
| | | align-items: center;
|
| | | width: 412px;
|
| | | height: 96px;
|
| | | background-color: #fff;
|
| | | border-radius: 8px;
|
| | | padding-left:7px ;
|
| | | .color-option {
|
| | | margin-right:12px ;
|
| | | width: 30px;
|
| | | height: 30px;
|
| | | border-radius:50% ;
|
| | | }
|
| | |
|
| | | .color-option-active {
|
| | | box-sizing: border-box;
|
| | | margin-right:12px ;
|
| | | width: 30px;
|
| | | height: 30px;
|
| | | border-radius:50% ;
|
| | | background-color: #fff;
|
| | | padding: 3px;
|
| | | .color-option-content {
|
| | | width: 100%;
|
| | | height: 100%;
|
| | | border-radius:50% ;
|
| | | }
|
| | | }
|
| | | }
|
| | | .icon-bar {
|
| | | cursor: pointer;
|
| | | background-color: rgba(248, 248, 248, 1);
|
| | | box-sizing: border-box;
|
| | | padding: 15px 25px;
|
| | | border-radius: 12px;
|
| | | margin-bottom: 12px;
|
| | | padding: 15px 13px 14px 20px;
|
| | | background: #F2F2F7;
|
| | | border-radius: 8px;
|
| | | margin-bottom: 10px;
|
| | | .bar-title {
|
| | | line-height: 20px;
|
| | | height: 20px;
|
| | |
| | | justify-content: space-between;
|
| | | .title {
|
| | | font-size: 14px;
|
| | | font-weight: 700;
|
| | | }
|
| | | .icon-active {
|
| | | font-size: 16px;
|
| | | color: var(--colorCard);
|
| | | }
|
| | | .icon-normal {
|
| | | font-size: 16px;
|
| | | color: #E0E0E0;
|
| | | }
|
| | | }
|
| | | .entity {
|
| | | display: flex;
|
| | | margin-left:5px ;
|
| | | .entity-img {
|
| | | background-color: rgba(248, 248, 248, 1);
|
| | | width: 50px;
|
| | |
| | | }
|
| | | }
|
| | | .bg-bar {
|
| | | background-color: rgba(248, 248, 248, 1);
|
| | | background-color: #F2F2F7;
|
| | | box-sizing: border-box;
|
| | | padding: 15px 25px;
|
| | | border-radius: 12px;
|
| | |
| | | margin-right: 12px;
|
| | | cursor: pointer;
|
| | | // width: 120px;
|
| | | height: 80px;
|
| | | height: 66px;
|
| | | border: 2px solid transparent;
|
| | | img {
|
| | | border-radius: 5px;
|
| | | height: 100%;
|
| | | }
|
| | | }
|
| | | .bg-img:hover {
|
| | | /* .bg-img:hover {
|
| | | border: 2px solid yellow;
|
| | | }
|
| | | } */
|
| | | .bg-list-active {
|
| | | border: 2px solid yellow;
|
| | | border: 2px solid var(--colorCard);
|
| | | border-radius: 8px;
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | }
|
| | |
|
| | | .info-click {
|
| | | color: #4E94FF;
|
| | | color: var(--colorCard);
|
| | | text-decoration: underline;
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | }
|
| | | button:last-child {
|
| | | background-color: #4E94FF !important;
|
| | | background-color: var(--colorCard) !important;
|
| | | span {
|
| | | color: #fff;
|
| | | }
|