|
@@ -1,18 +1,16 @@
|
|
<script src="../index/index.ts"></script>
|
|
<script src="../index/index.ts"></script>
|
|
<template>
|
|
<template>
|
|
<div class="user-wrap">
|
|
<div class="user-wrap">
|
|
- <div class="tuichu" @click="exit">
|
|
|
|
- <img src="../../assets/image/exit_03.png" alt="" >
|
|
|
|
- 退出
|
|
|
|
- </div>
|
|
|
|
<div class="jumbotron jumbotron-fluid">
|
|
<div class="jumbotron jumbotron-fluid">
|
|
<div class="avator-top">
|
|
<div class="avator-top">
|
|
- <router-link to="/user/info">
|
|
|
|
<img class="avator" :src="avatar">
|
|
<img class="avator" :src="avatar">
|
|
- <span class="nicheng">{{nickname}}</span><br>
|
|
|
|
- <span class="phone">{{data.phone}} </span>
|
|
|
|
- <b class="bbb"><img src="../../assets/image/arrow_03.png" alt=""></b>
|
|
|
|
- </router-link>
|
|
|
|
|
|
+ <!-- <span class="nicheng">{{nickname}}</span><br> -->
|
|
|
|
+ <span class="phone">{{data.phone}} </span><br>
|
|
|
|
+ <span class="userInfo" @click="$router.push('/user/info')">
|
|
|
|
+ <img src="../../assets/image/userInfo@2x.png" class="userInfo_icon" alt="">
|
|
|
|
+ <span class="editInfo">编辑资料</span>
|
|
|
|
+ </span>
|
|
|
|
+ <b class="bbb"><img src="../../assets/image/arrow_03_2@2x.png" alt=""></b>
|
|
<!-- <div class="canbao">-->
|
|
<!-- <div class="canbao">-->
|
|
<!-- 已参保 到期时间2019-02-->
|
|
<!-- 已参保 到期时间2019-02-->
|
|
<!-- </div>-->
|
|
<!-- </div>-->
|
|
@@ -28,30 +26,25 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="info">
|
|
<div class="info">
|
|
- <div class="list-group ">
|
|
|
|
- <router-link class="list-group-item" to="/order/list">
|
|
|
|
- 我的订单
|
|
|
|
- </router-link>
|
|
|
|
- <router-link class="list-group-item" to="/user/discount">
|
|
|
|
- 我的优惠券
|
|
|
|
- </router-link>
|
|
|
|
- <router-link class="list-group-item text-center" to="/user/share">
|
|
|
|
- 邀请好友
|
|
|
|
- </router-link>
|
|
|
|
- <router-link class="list-group-item text-center" to="/user/inviter">
|
|
|
|
- 好友列表
|
|
|
|
- </router-link>
|
|
|
|
- <div class="list-group-item" to="" @click="opentwo">
|
|
|
|
- 联系客服
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <van-cell-group >
|
|
|
|
+ <van-cell title="我的订单" icon="orders-o" is-link @click="$router.push('/order/list')" />
|
|
|
|
+ <van-cell title="我的优惠劵" icon="coupon-o" is-link @click="$router.push('/user/discount')"/>
|
|
|
|
+ <van-cell title="邀请好友" is-link icon="user-circle-o" @click="$router.push('/user/share')">
|
|
|
|
+ <!-- <template slot="icon">
|
|
|
|
+ <van-icon name="userFriend" class="userIcon" />
|
|
|
|
+ </template> -->
|
|
|
|
+ </van-cell>
|
|
|
|
+ <van-cell title="好友列表" icon="friends-o" is-link @click="$router.push('/user/inviter')" />
|
|
|
|
+ <van-cell title="联系客服" icon="service-o" is-link @click="opentwo" />
|
|
|
|
+ <van-cell title="退出登录" icon="setting-o" is-link @click="exit" />
|
|
|
|
+ </van-cell-group>
|
|
</div>
|
|
</div>
|
|
<div class="query bottom-user">
|
|
<div class="query bottom-user">
|
|
- <a class="col-6 text-center" href="http://fuwu.rsj.beijing.gov.cn/csibiz/indinfo/login.jsp">
|
|
|
|
- <img src="../../assets/image/ico_07.png" alt="">
|
|
|
|
|
|
+ <a class="col-6 text-center " href="http://fuwu.rsj.beijing.gov.cn/csibiz/indinfo/login.jsp">
|
|
|
|
+ <img src="../../assets/image/shebao@2x.png" alt="">
|
|
</a>
|
|
</a>
|
|
<a class="col-6 text-center" href="https://grwsyw.gjj.beijing.gov.cn/ish/">
|
|
<a class="col-6 text-center" href="https://grwsyw.gjj.beijing.gov.cn/ish/">
|
|
- <img src="../../assets/image/ico_08.png" alt="">
|
|
|
|
|
|
+ <img src="../../assets/image/accumulation@2x.png" alt="">
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -64,6 +57,7 @@
|
|
import wx from "weixin-jsapi";
|
|
import wx from "weixin-jsapi";
|
|
import router from '@/router';
|
|
import router from '@/router';
|
|
import {MessageBox} from 'element-ui';
|
|
import {MessageBox} from 'element-ui';
|
|
|
|
+ const userFriend = require("../../assets/image/use_friend@2x.png")
|
|
|
|
|
|
@Component({
|
|
@Component({
|
|
components: {}
|
|
components: {}
|
|
@@ -208,13 +202,15 @@
|
|
@import '@/assets/scss/variables.scss';
|
|
@import '@/assets/scss/variables.scss';
|
|
.user-wrap {
|
|
.user-wrap {
|
|
width: 100%;
|
|
width: 100%;
|
|
|
|
+ height: 100%;
|
|
overflow-x: hidden;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
position: relative;
|
|
|
|
+ background-color: #edf0f5;
|
|
}
|
|
}
|
|
|
|
|
|
.jumbotron {
|
|
.jumbotron {
|
|
text-align: left;
|
|
text-align: left;
|
|
- background: #20b452;
|
|
|
|
|
|
+ background: #fff;
|
|
padding: 2rem 0 0;
|
|
padding: 2rem 0 0;
|
|
}
|
|
}
|
|
.avator-top{
|
|
.avator-top{
|
|
@@ -250,36 +246,61 @@
|
|
border-radius: 6rem;
|
|
border-radius: 6rem;
|
|
margin-top: 1rem;
|
|
margin-top: 1rem;
|
|
}
|
|
}
|
|
- .nicheng{
|
|
|
|
|
|
+ // .nicheng{
|
|
|
|
+ // font-size: 1.6rem;
|
|
|
|
+ // padding-left: 1rem;
|
|
|
|
+ // color: white;
|
|
|
|
+ // }
|
|
|
|
+ .phone{
|
|
font-size: 1.6rem;
|
|
font-size: 1.6rem;
|
|
padding-left: 1rem;
|
|
padding-left: 1rem;
|
|
- color: white;
|
|
|
|
|
|
+ color: #666;
|
|
}
|
|
}
|
|
- .phone{
|
|
|
|
|
|
+ .userInfo{
|
|
font-size: 1.4rem;
|
|
font-size: 1.4rem;
|
|
position: absolute;
|
|
position: absolute;
|
|
top: 4rem;
|
|
top: 4rem;
|
|
left: 7.5rem;
|
|
left: 7.5rem;
|
|
color: white;
|
|
color: white;
|
|
}
|
|
}
|
|
|
|
+ .userInfo_icon {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ width: 1.325rem;
|
|
|
|
+ height: 1.325rem;
|
|
|
|
+ }
|
|
|
|
+ .editInfo {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ font-size: 1.6rem;
|
|
|
|
+ padding-left: 1rem;
|
|
|
|
+ color: #19BC53;
|
|
|
|
+ vertical-align: middle;
|
|
|
|
+ }
|
|
|
|
|
|
|
|
+ .info {
|
|
|
|
+ width: 100%;
|
|
|
|
+ // height: 22.875rem;
|
|
|
|
+ // background: red;
|
|
|
|
+ margin: 0 auto;
|
|
|
|
+ border-radius: 0.8rem;
|
|
|
|
+ padding: 0 1.25rem;
|
|
|
|
+ }
|
|
.info .list-group-item {
|
|
.info .list-group-item {
|
|
- margin: 0.6rem 1.25rem;
|
|
|
|
|
|
+ // margin: 0.6rem 1.25rem;
|
|
font-size: 1.3rem;
|
|
font-size: 1.3rem;
|
|
height: 5rem;
|
|
height: 5rem;
|
|
line-height: 5rem;
|
|
line-height: 5rem;
|
|
padding: 0;
|
|
padding: 0;
|
|
- color: #ffffff;
|
|
|
|
|
|
+ // color: #ffffff;
|
|
text-align: center;
|
|
text-align: center;
|
|
- border-radius: 0.8rem;
|
|
|
|
|
|
+ // border-radius: 0.8rem;
|
|
|
|
+ border: 0;
|
|
}
|
|
}
|
|
|
|
|
|
- .list-group-item {
|
|
|
|
- background: #20b452;
|
|
|
|
|
|
+ .van-cell:last-child {
|
|
|
|
+ border-radius: 0 0 0.8rem 0.8rem;
|
|
}
|
|
}
|
|
-
|
|
|
|
- .list-group-item:last-child {
|
|
|
|
- background: $orange;
|
|
|
|
|
|
+ .van-cell:first-child {
|
|
|
|
+ border-radius: 0.8rem 0.8rem 0 0;
|
|
}
|
|
}
|
|
|
|
|
|
.invite {
|
|
.invite {
|
|
@@ -287,31 +308,47 @@
|
|
line-height: normal;
|
|
line-height: normal;
|
|
}
|
|
}
|
|
|
|
|
|
- .query img {
|
|
|
|
- width: 25%;
|
|
|
|
- margin-left: 12%;
|
|
|
|
- margin-top: 6%;
|
|
|
|
|
|
+ .query {
|
|
|
|
+ // width: 100%;
|
|
|
|
+ margin: 1.25rem 1.25rem;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: space-between;
|
|
|
|
+ img {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ width: 13.75rem;
|
|
|
|
+ height: 7.625rem;
|
|
|
|
+ // margin-left: 12%;
|
|
|
|
+ // margin-top: 6%;
|
|
|
|
+ }
|
|
|
|
+ .col-6 {
|
|
|
|
+ padding-right: 0;
|
|
|
|
+ padding-left: 0;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
+
|
|
.bottom-user{
|
|
.bottom-user{
|
|
margin-bottom: 6rem;
|
|
margin-bottom: 6rem;
|
|
}
|
|
}
|
|
|
|
+ .userBtn {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ width: 7.625rem;
|
|
|
|
+ height: 13.75rem;
|
|
|
|
+ background-color:red;
|
|
|
|
+ color: #666;
|
|
|
|
+ font-size: 1.417rem;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction:column;
|
|
|
|
+ align-items: center;
|
|
|
|
+ img {
|
|
|
|
+ display: inline-block;
|
|
|
|
+ width: 2.083rem;
|
|
|
|
+ height: 1.792rem;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
|
|
.list-group-flush {
|
|
.list-group-flush {
|
|
border-bottom: 0;
|
|
border-bottom: 0;
|
|
}
|
|
}
|
|
- .tuichu{
|
|
|
|
- position: absolute;
|
|
|
|
- right: 1.5rem;
|
|
|
|
- top: 1rem;
|
|
|
|
- color: white;
|
|
|
|
- border: 1px solid white;
|
|
|
|
- border-radius: 20px;
|
|
|
|
- padding: 0.2rem 0.8rem;
|
|
|
|
- img{
|
|
|
|
- width: 1rem;
|
|
|
|
- vertical-align: middle;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
.avator-bottom{
|
|
.avator-bottom{
|
|
margin-top: 2.5rem;
|
|
margin-top: 2.5rem;
|
|
padding-left: 1.2rem;
|
|
padding-left: 1.2rem;
|
|
@@ -345,8 +382,9 @@
|
|
color: #18a447;
|
|
color: #18a447;
|
|
border: none;
|
|
border: none;
|
|
height: 2rem;
|
|
height: 2rem;
|
|
|
|
+ font-size: 1.575rem;
|
|
margin-left: 1.5rem;
|
|
margin-left: 1.5rem;
|
|
- border-radius: 5rem;
|
|
|
|
|
|
+ border-radius: 0.5rem;
|
|
padding: 0 1.2rem;
|
|
padding: 0 1.2rem;
|
|
}
|
|
}
|
|
|
|
|