123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- <template>
- <div style=" overflow-y: scroll;padding-bottom: 5rem;">
- <div style="background-image: url('../../assets/images/bc.png');background-size: 100% 100%;">
- <div class="home_header">个人中心</div>
- <div class="home_header_line"></div>
- <div class="home_con_body">
- <div class="main_header">
- <div class="header">
- <div class="img_content">
- <img src="../../assets/home/userimg.png" style="width: 100%;height: 100%;" alt="" />
- </div>
- <div class="info_content">
- <div>王小伟</div>
- <div style="font-size: 0.9rem; margin-top: 0.5rem;text-align: center;color: #ABDFFF;">
- 管理员
- </div>
- </div>
- </div>
- </div>
- </div>
- </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">
- 版本信息
- <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="return_item" @click="handleReturn">
- <div>退出</div>
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- data() {
- return {
- }
- },
- methods: {
- handleReturn() {
- localStorage.removeItem('mobile_token');
- this.$router.push('/')
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .home_con_body {
- width: 100%;
- padding: 1rem;
- padding-top: 0px;
- box-sizing: border-box;
- }
- .home_header {
- height: 3.125rem;
- display: flex;
- align-items: center;
- justify-content: center;
- color: #fff;
- font-size: 1.125rem;
- font-weight: 600;
- }
- .home_header_line {
- width: 100%;
- height: .0625rem;
- background-color: #fff;
- opacity: 0.2;
- }
- .item {
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- background-image: url('../../assets/home/gcbj.png');
- color: #fff;
- padding: 0 1rem;
- box-sizing: border-box;
- }
- .return_item {
- text-align: center;
- background-image: url('../../assets/home/quit.png');
- background-size: 100% 100%;
- color: #fff;
- width: 95%;
- margin: 0 auto;
- margin-top: 1.5rem;
- font-size: 1.06rem;
- font-weight: 500;
- color: #A51626;
- div {
- font-size: 1.2rem;
- padding: 1rem 0;
- font-weight: bold;
- }
- }
- .item_icon {
- width: 20%;
- text-align: center;
- }
- .item_title {
- font-size: 1rem;
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 100%;
- padding: 0 2rem;
- box-sizing: border-box;
- padding: 1rem 0;
- }
- .img_content {
- width: 6.3rem;
- border-radius: 50%;
- height: 6.56rem;
- overflow: hidden;
- margin: 1.5rem;
- }
- .info_content {
- div {
- font-size: 1.25rem;
- font-weight: bold;
- }
- }
- .main_header {
- background: #ffffff00;
- margin-bottom: 2rem;
- }
- .header {
- display: flex;
- color: #fff;
- flex-direction: column;
- align-items: center;
- }
- </style>
|