|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <div style=" overflow-y: scroll;padding-bottom: 5rem;">
|
|
|
+ <div style=" overflow-y: scroll;padding-bottom: 3rem;">
|
|
|
<div style="background-image: url('../../assets/images/bc.png');background-size: 100% 100%;">
|
|
|
<div class="home_header">个人中心</div>
|
|
|
<div class="home_header_line"></div>
|
|
@@ -11,7 +11,7 @@
|
|
|
</div>
|
|
|
<div class="info_content">
|
|
|
<div>王小伟</div>
|
|
|
- <div style="font-size: 0.9rem; margin-top: 0.5rem;text-align: center;color: #ABDFFF;">
|
|
|
+ <div style="font-size: 0.8rem;font-weight:normal; margin-top: 0.5rem;text-align: center;color: #ABDFFF;">
|
|
|
管理员
|
|
|
</div>
|
|
|
</div>
|
|
@@ -25,65 +25,72 @@
|
|
|
<div>
|
|
|
|
|
|
<!-- 工厂包装 -->
|
|
|
- <div class="item">
|
|
|
- <div class="item_title">
|
|
|
- 工厂类型
|
|
|
- <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
|
- p-id="3994" width="25" height="25">
|
|
|
- <path
|
|
|
- d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"
|
|
|
- fill="#888888" p-id="3995"></path>
|
|
|
- </svg>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="item" style="margin-bottom: 0.5rem">
|
|
|
-
|
|
|
- <div class="item_title" style="border: none">
|
|
|
- 包装列表
|
|
|
- <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
|
- p-id="3994" width="25" height="25">
|
|
|
- <path
|
|
|
- d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"
|
|
|
- fill="#888888" p-id="3995"></path>
|
|
|
- </svg>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!-- 运输安装 -->
|
|
|
- <div class="item">
|
|
|
-
|
|
|
- <div class="item_title">
|
|
|
- 运输列表
|
|
|
- <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
|
- p-id="3994" width="25" height="25">
|
|
|
- <path
|
|
|
- d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"
|
|
|
- fill="#888888" p-id="3995"></path>
|
|
|
- </svg>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="item">
|
|
|
-
|
|
|
- <div class="item_title" style="border: none">
|
|
|
- 安装信息
|
|
|
- <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
|
- p-id="3994" width="25" height="25">
|
|
|
- <path
|
|
|
- d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"
|
|
|
- fill="#888888" p-id="3995"></path>
|
|
|
- </svg>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+<!-- <div class="item">-->
|
|
|
+<!-- <div class="item_title">-->
|
|
|
+<!-- 工厂类型-->
|
|
|
+<!-- <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"-->
|
|
|
+<!-- p-id="3994" width="25" height="25">-->
|
|
|
+<!-- <path-->
|
|
|
+<!-- d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"-->
|
|
|
+<!-- fill="#888888" p-id="3995"></path>-->
|
|
|
+<!-- </svg>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div class="item" style="margin-bottom: 0.5rem">-->
|
|
|
+
|
|
|
+<!-- <div class="item_title" style="border: none">-->
|
|
|
+<!-- 包装列表-->
|
|
|
+<!-- <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"-->
|
|
|
+<!-- p-id="3994" width="25" height="25">-->
|
|
|
+<!-- <path-->
|
|
|
+<!-- d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"-->
|
|
|
+<!-- fill="#888888" p-id="3995"></path>-->
|
|
|
+<!-- </svg>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <!– 运输安装 –>-->
|
|
|
+<!-- <div class="item">-->
|
|
|
+
|
|
|
+<!-- <div class="item_title">-->
|
|
|
+<!-- 运输列表-->
|
|
|
+<!-- <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"-->
|
|
|
+<!-- p-id="3994" width="25" height="25">-->
|
|
|
+<!-- <path-->
|
|
|
+<!-- d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"-->
|
|
|
+<!-- fill="#888888" p-id="3995"></path>-->
|
|
|
+<!-- </svg>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- <div class="item">-->
|
|
|
+
|
|
|
+<!-- <div class="item_title" style="border: none">-->
|
|
|
+<!-- 安装信息-->
|
|
|
+<!-- <svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"-->
|
|
|
+<!-- p-id="3994" width="25" height="25">-->
|
|
|
+<!-- <path-->
|
|
|
+<!-- d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"-->
|
|
|
+<!-- fill="#888888" p-id="3995"></path>-->
|
|
|
+<!-- </svg>-->
|
|
|
+<!-- </div>-->
|
|
|
+<!-- </div>-->
|
|
|
|
|
|
<!-- //版本信息 -->
|
|
|
<div class="item" style="margin-top: 0.5rem">
|
|
|
|
|
|
<div class="item_title" style="border: none">
|
|
|
版本信息
|
|
|
+ <span>1.0</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="item">
|
|
|
+
|
|
|
+ <div class="item_title" style="border: none" @click="handleClear">
|
|
|
+ 清除缓存
|
|
|
<svg t="1688183626202" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
|
- p-id="3994" width="25" height="25">
|
|
|
+ p-id="3994" width="25" height="25">
|
|
|
<path
|
|
|
- d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"
|
|
|
- fill="#888888" p-id="3995"></path>
|
|
|
+ d="M384.32 797.512a30.088 30.088 0 0 1-21.288-51.392L597.144 512 363.032 277.816a30.088 30.088 0 0 1 0-42.568 30.088 30.088 0 0 1 42.568 0l255.392 255.464a30.088 30.088 0 0 1 0 42.568L405.6 788.696a30.04 30.04 0 0 1-21.28 8.816z"
|
|
|
+ fill="#888888" p-id="3995"></path>
|
|
|
</svg>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -97,11 +104,26 @@
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
-
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
- handleReturn() {
|
|
|
+ handleClear () {
|
|
|
+ const msg = this.$Message.loading({ content: '正在清除缓存...', duration: 0 })
|
|
|
+ const that = this
|
|
|
+ function delay (s) {
|
|
|
+ return new Promise(resolve => {
|
|
|
+ setTimeout(msg, s)
|
|
|
+ setTimeout(() => {
|
|
|
+ resolve()
|
|
|
+ }, s)
|
|
|
+ })
|
|
|
+ }
|
|
|
+ delay(3000).then(() => {
|
|
|
+ that.$router.push('/')
|
|
|
+ androidJs.refreshData()
|
|
|
+ })
|
|
|
+ },
|
|
|
+ handleReturn () {
|
|
|
localStorage.removeItem('mobile_token');
|
|
|
this.$router.push('/')
|
|
|
}
|
|
@@ -111,14 +133,11 @@ export default {
|
|
|
<style lang="scss" scoped>
|
|
|
.home_con_body {
|
|
|
width: 100%;
|
|
|
- padding: 1rem;
|
|
|
- padding-top: 0px;
|
|
|
box-sizing: border-box;
|
|
|
-
|
|
|
}
|
|
|
|
|
|
.home_header {
|
|
|
- height: 3.125rem;
|
|
|
+ height: 2.125rem;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
justify-content: center;
|
|
@@ -146,20 +165,23 @@ export default {
|
|
|
}
|
|
|
|
|
|
.return_item {
|
|
|
+ position: absolute;
|
|
|
+ bottom: 4rem;
|
|
|
+ left: 50%;
|
|
|
+ transform: translate(-50%,0);
|
|
|
text-align: center;
|
|
|
background-image: url('../../assets/home/quit.png');
|
|
|
background-size: 100% 100%;
|
|
|
color: #fff;
|
|
|
- width: 95%;
|
|
|
+ width: 80%;
|
|
|
margin: 0 auto;
|
|
|
- margin-top: 1.5rem;
|
|
|
font-size: 1.06rem;
|
|
|
font-weight: 500;
|
|
|
color: #A51626;
|
|
|
|
|
|
div {
|
|
|
font-size: 1.2rem;
|
|
|
- padding: 1rem 0;
|
|
|
+ padding: 1rem ;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
}
|
|
@@ -181,23 +203,23 @@ export default {
|
|
|
}
|
|
|
|
|
|
.img_content {
|
|
|
- width: 6.3rem;
|
|
|
+ width: 4.3rem;
|
|
|
border-radius: 50%;
|
|
|
- height: 6.56rem;
|
|
|
+ height: 4.56rem;
|
|
|
overflow: hidden;
|
|
|
- margin: 1.5rem;
|
|
|
+ //margin: 1.5rem;
|
|
|
}
|
|
|
|
|
|
.info_content {
|
|
|
div {
|
|
|
- font-size: 1.25rem;
|
|
|
+ font-size: 1rem;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.main_header {
|
|
|
background: #ffffff00;
|
|
|
- margin-bottom: 2rem;
|
|
|
+ margin-bottom: 0.2rem;
|
|
|
}
|
|
|
|
|
|
.header {
|
|
@@ -206,4 +228,4 @@ export default {
|
|
|
flex-direction: column;
|
|
|
align-items: center;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|