|
|
@@ -3,18 +3,23 @@
|
|
|
<div class="userInfo" v-if="isLogin">
|
|
|
<van-image
|
|
|
width="100%"
|
|
|
- height="35vw"
|
|
|
+ height="52vw"
|
|
|
:src="userInfo.bg || require('@assets/creatorBg.png')"
|
|
|
loading-icon=""
|
|
|
fit="cover"
|
|
|
class="top-img"
|
|
|
/>
|
|
|
+
|
|
|
+ <div class="edit-btn" @click="$router.push('/setting')">
|
|
|
+ <img src="../assets/icon-bianji1.png" alt="" />
|
|
|
+ <span>编辑资料</span>
|
|
|
+ </div>
|
|
|
<div class="userInfo-content">
|
|
|
<div class="userInfo-top">
|
|
|
<van-image
|
|
|
round
|
|
|
- width="78"
|
|
|
- height="78"
|
|
|
+ width="150"
|
|
|
+ height="150"
|
|
|
:src="userInfo.avatar || require('@assets/img_default_photo.png')"
|
|
|
fit="cover"
|
|
|
:class="{ activeAvatar: isLogin && userInfo.useCollectionPic }"
|
|
|
@@ -23,19 +28,23 @@
|
|
|
<div class="text">
|
|
|
<div class="text1">
|
|
|
<span class="van-ellipsis" style="max-width: 120px">{{ userInfo.nickname }}</span>
|
|
|
-
|
|
|
- <img
|
|
|
- @click="$router.push('/verifiedSuc')"
|
|
|
- v-if="authStatus === '已认证'"
|
|
|
- src="@assets/yirenzhng-geren-icon.png"
|
|
|
- alt=""
|
|
|
- class="renzhen-img"
|
|
|
- />
|
|
|
</div>
|
|
|
<div class="text2">
|
|
|
<span> 用户ID:{{ userInfo.id }} </span>
|
|
|
<img @click="copy" src="@assets/svgs/copy_icon.svg" alt="" />
|
|
|
</div>
|
|
|
+ <div class="icons" @click="goAuth">
|
|
|
+ <div class="auth-imgs" v-if="authStatus !== '已认证'">
|
|
|
+ <img src="../assets/renzheng_icon.png" alt="" />
|
|
|
+ <span>未实名认证</span>
|
|
|
+ </div>
|
|
|
+ <div class="auth-imgs authed" @click="goAuth" v-else>
|
|
|
+ <img src="../assets/yirenzhng-geren-icon.png" alt="" />
|
|
|
+ <span>个人已认证</span>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <level></level>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -43,52 +52,45 @@
|
|
|
{{ userInfo.intro }}
|
|
|
</div>
|
|
|
<div class="sub-right" v-if="userInfo && userInfo.intro && userInfo.intro.length > 50">
|
|
|
- <div @click="showMore = !showMore">{{ showMore ? '收起' : '展开' }}</div>
|
|
|
+ <img
|
|
|
+ @click="showMore = !showMore"
|
|
|
+ :class="{ subAll: showMore }"
|
|
|
+ src="../assets/icon-xialajiantou.png"
|
|
|
+ alt=""
|
|
|
+ />
|
|
|
</div>
|
|
|
|
|
|
<div class="btns">
|
|
|
+ <div class="collect" @click="$router.push('/store')">
|
|
|
+ <div class="text1">{{ assetNum }}</div>
|
|
|
+ <div class="text2">藏品数</div>
|
|
|
+ </div>
|
|
|
<div class="collect" @click="$router.push('/mineFollows')">
|
|
|
- <div class="text2">关注</div>
|
|
|
<div class="text1">{{ userInfo.follows }}</div>
|
|
|
+ <div class="text2">关注</div>
|
|
|
</div>
|
|
|
<div class="collect" @click="$router.push('/mineFollowers')">
|
|
|
- <div class="text2">粉丝</div>
|
|
|
<div class="text1">{{ userInfo.followers }}</div>
|
|
|
+ <div class="text2">粉丝</div>
|
|
|
</div>
|
|
|
-
|
|
|
- <van-button
|
|
|
- color="#F5F7FA"
|
|
|
- size="mini"
|
|
|
- :icon="require('@assets/renzheng_icon.png')"
|
|
|
- round
|
|
|
- class="auth"
|
|
|
- @click="goAuth"
|
|
|
- v-if="authStatus !== '已认证'"
|
|
|
- >
|
|
|
- {{ authStatus === '未认证' ? '去认证' : authStatus }}
|
|
|
- </van-button>
|
|
|
-
|
|
|
- <van-button class="edit" @click="$router.push('/setting')" color="#F5F7FA" size="mini" round
|
|
|
- >编辑资料</van-button
|
|
|
- >
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="userInfo" v-else>
|
|
|
<van-image
|
|
|
width="100%"
|
|
|
- height="35vw"
|
|
|
+ height="52vw"
|
|
|
:src="require('@assets/creatorBg.png')"
|
|
|
loading-icon=""
|
|
|
fit="cover"
|
|
|
class="top-img"
|
|
|
/>
|
|
|
<div class="userInfo-content">
|
|
|
- <div class="userInfo-top">
|
|
|
+ <div class="userInfo-top" @click="$router.push('/login')">
|
|
|
<van-image
|
|
|
round
|
|
|
- width="78"
|
|
|
- height="78"
|
|
|
+ width="150"
|
|
|
+ height="150"
|
|
|
:src="require('@assets/img_default_photo.png')"
|
|
|
fit="cover"
|
|
|
@click="$router.push('/login')"
|
|
|
@@ -96,86 +98,97 @@
|
|
|
|
|
|
<div class="text">
|
|
|
<div class="text1" @click="$router.push('/login')">点击登录</div>
|
|
|
- <div class="text2">立即登录获取精彩服务</div>
|
|
|
+ <div class="text2" style="padding-bottom: 16px">立即登录获取精彩服务</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="card">
|
|
|
- <van-cell class="title" title="我的订单" :border="false" />
|
|
|
-
|
|
|
- <div class="orderList">
|
|
|
- <div class="order-info" @click="$router.push('/orders?type=DEFAULT')">
|
|
|
- <img src="@assets/info_icon_shangpindingdan.png" alt="" />
|
|
|
- <span>作品订单</span>
|
|
|
- </div>
|
|
|
- <div class="order-info" @click="$router.push('/activityOrders')" v-if="!$store.state.review">
|
|
|
- <img src="@assets/info_icon_zhuzaodingdan.png" alt="" />
|
|
|
- <span>铸造订单</span>
|
|
|
+ <driver />
|
|
|
+ <div class="orderList">
|
|
|
+ <div class="order-info" @click="$router.push('/orders?type=DEFAULT')">
|
|
|
+ <div class="order-info-box">
|
|
|
+ <img src="@assets/info_icon_yishuping.png" alt="" />
|
|
|
+ <span>艺术品订单</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="order-info" @click="$router.push('/activityOrders')" v-if="!$store.state.review">
|
|
|
+ <img src="@assets/info_icon_zhuzaodingdan.png" alt="" />
|
|
|
+ <span>铸造订单</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="card">
|
|
|
- <van-cell class="title" title="我的服务" :border="false" />
|
|
|
-
|
|
|
- <van-grid class="menus" :border="false">
|
|
|
- <van-grid-item text="我的银行卡" :to="{ path: '/mineBanks' }">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="require('@assets/icon_yinhangka.png')" class="search-icon" />
|
|
|
- </template>
|
|
|
- </van-grid-item>
|
|
|
- <van-grid-item text="我的积分" @click="wait" v-if="!$store.state.review">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="require('@assets/icon-jifen.png')" class="search-icon" />
|
|
|
- </template>
|
|
|
- </van-grid-item>
|
|
|
- <van-grid-item text="我赞过的" :to="{ path: '/mineLikes' }">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="require('@assets/icon-dianzan1.png')" class="search-icon" />
|
|
|
- </template>
|
|
|
- </van-grid-item>
|
|
|
- <van-grid-item text="地址管理" :to="{ path: '/mineAddress' }" v-if="!$store.state.review">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="require('@assets/icon_dizhi.png')" class="search-icon" />
|
|
|
- </template>
|
|
|
- </van-grid-item>
|
|
|
- <van-grid-item text="交易历史" :to="{ path: '/mineExchange' }">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="require('@assets/info_icon_jiaoyijilu.png')" class="search-icon" />
|
|
|
- </template>
|
|
|
- </van-grid-item>
|
|
|
- <van-grid-item text="了解更多" :to="{ path: '/question' }">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="require('@assets/icon_liaojiegengduo.png')" class="search-icon" />
|
|
|
- </template>
|
|
|
- </van-grid-item>
|
|
|
- <van-grid-item text="关于我们" :to="{ path: '/about' }">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="require('@assets/icon-guanyuwomen.png')" class="search-icon" />
|
|
|
- </template>
|
|
|
- </van-grid-item>
|
|
|
- <van-grid-item text="账号与安全" :to="{ path: '/security' }">
|
|
|
- <template #icon>
|
|
|
- <van-icon :name="require('@assets/icon-anquan.png')" class="search-icon" />
|
|
|
- </template>
|
|
|
- </van-grid-item>
|
|
|
- </van-grid>
|
|
|
+ <driver />
|
|
|
+ <div class="orderList prim">
|
|
|
+ <div class="order-info" @click="$router.push('/rank')">
|
|
|
+ <img src="@assets/info_icon_top50.png" alt="" />
|
|
|
+ <span>TOP50 探索官</span>
|
|
|
+ </div>
|
|
|
+ <div class="order-info" @click="wait">
|
|
|
+ <img src="@assets/info_icon_yaoqing.png" alt="" />
|
|
|
+ <span>立即邀请</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
+ <van-grid class="menus">
|
|
|
+ <van-grid-item text="我的银行卡" :to="{ path: '/mineBanks' }">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="require('@assets/icon_yinhangka.png')" class="search-icon" />
|
|
|
+ </template>
|
|
|
+ </van-grid-item>
|
|
|
+ <van-grid-item text="我的积分" @click="wait" v-if="!$store.state.review">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="require('@assets/icon-jifen.png')" class="search-icon" />
|
|
|
+ </template>
|
|
|
+ </van-grid-item>
|
|
|
+ <van-grid-item text="我喜欢的" :to="{ path: '/mineLikes' }">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="require('@assets/icon-dianzan1.png')" class="search-icon" />
|
|
|
+ </template>
|
|
|
+ </van-grid-item>
|
|
|
+ <van-grid-item text="通知广播" @click="wait" v-if="!$store.state.review">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="require('@assets/icon_tongzhi.png')" class="search-icon" />
|
|
|
+ </template>
|
|
|
+ </van-grid-item>
|
|
|
+ <van-grid-item text="交易历史" :to="{ path: '/mineExchange' }">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="require('@assets/info_icon_jiaoyijilu.png')" class="search-icon" />
|
|
|
+ </template>
|
|
|
+ </van-grid-item>
|
|
|
+ <!-- <van-grid-item text="了解更多" :to="{ path: '/question' }">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="require('@assets/icon_liaojiegengduo.png')" class="search-icon" />
|
|
|
+ </template>
|
|
|
+ </van-grid-item> -->
|
|
|
+
|
|
|
+ <van-grid-item text="地址管理" :to="{ path: '/mineAddress' }" v-if="!$store.state.review">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="require('@assets/icon_dizhi.png')" class="search-icon" />
|
|
|
+ </template>
|
|
|
+ </van-grid-item>
|
|
|
+ <van-grid-item text="关于我们" :to="{ path: '/about' }">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="require('@assets/icon-guanyuwomen.png')" class="search-icon" />
|
|
|
+ </template>
|
|
|
+ </van-grid-item>
|
|
|
+ <van-grid-item text="账号与安全" :to="{ path: '/security' }">
|
|
|
+ <template #icon>
|
|
|
+ <van-icon :name="require('@assets/icon-anquan.png')" class="search-icon" />
|
|
|
+ </template>
|
|
|
+ </van-grid-item>
|
|
|
+ </van-grid>
|
|
|
|
|
|
<div class="tabbar-placeholder"></div>
|
|
|
-
|
|
|
- <level></level>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import { mapState } from 'vuex';
|
|
|
-import Level from '../components/level/Level';
|
|
|
+import Level from '../components/level/Level.vue';
|
|
|
export default {
|
|
|
data() {
|
|
|
return {
|
|
|
org: false,
|
|
|
- showMore: false
|
|
|
+ showMore: false,
|
|
|
+ assetNum: 0
|
|
|
};
|
|
|
},
|
|
|
components: { Level },
|
|
|
@@ -201,7 +214,33 @@ export default {
|
|
|
this.org = this.form.org;
|
|
|
}
|
|
|
});
|
|
|
+
|
|
|
+ this.$http
|
|
|
+ .post(
|
|
|
+ '/asset/all',
|
|
|
+ {
|
|
|
+ query: {
|
|
|
+ page: 0,
|
|
|
+ size: 1,
|
|
|
+ userId: this.$store.state.userInfo.id,
|
|
|
+ status: 'NORMAL,TRADING,GIFTING,MINTING'
|
|
|
+ }
|
|
|
+ },
|
|
|
+ { body: 'json' }
|
|
|
+ )
|
|
|
+ .then(res => {
|
|
|
+ this.assetNum = Number(res.totalElements);
|
|
|
+ });
|
|
|
}
|
|
|
+
|
|
|
+ if (window.cordova && StatusBar && StatusBar.isVisible) {
|
|
|
+ StatusBar.backgroundColorByHexString('#222426');
|
|
|
+ StatusBar.styleLightContent();
|
|
|
+ }
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$el.parentNode.childNodes[1].className =
|
|
|
+ this.$el.parentNode.childNodes[1].className.replace(/ bgBack/, '') + ' bgBack';
|
|
|
+ });
|
|
|
},
|
|
|
methods: {
|
|
|
copy() {
|
|
|
@@ -223,6 +262,13 @@ export default {
|
|
|
this.$router.push('/Authentication');
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ beforeRouteLeave(to, from, next) {
|
|
|
+ this.$el.parentNode.childNodes[1].className = this.$el.parentNode.childNodes[1].className.replace(
|
|
|
+ / bgBack/,
|
|
|
+ ''
|
|
|
+ );
|
|
|
+ next();
|
|
|
}
|
|
|
};
|
|
|
</script>
|
|
|
@@ -230,7 +276,7 @@ export default {
|
|
|
<style lang="less" scoped>
|
|
|
.mine {
|
|
|
padding-bottom: 100px;
|
|
|
- background-color: @bg;
|
|
|
+ background-color: #272b2e;
|
|
|
padding-top: 0 !important;
|
|
|
position: relative;
|
|
|
}
|
|
|
@@ -308,41 +354,53 @@ export default {
|
|
|
}
|
|
|
.orderList {
|
|
|
.flex();
|
|
|
- padding: 0 12px;
|
|
|
+ // padding: 0 12px;
|
|
|
.order-info {
|
|
|
- padding: 20px 0;
|
|
|
+ padding: 16px 0;
|
|
|
position: relative;
|
|
|
+ width: 50%;
|
|
|
+ box-sizing: border-box;
|
|
|
.flex();
|
|
|
- background-color: @bg;
|
|
|
- flex-grow: 1;
|
|
|
justify-content: center;
|
|
|
- border-radius: 8px;
|
|
|
+
|
|
|
+ .order-info-box {
|
|
|
+ .flex();
|
|
|
+ width: 132px;
|
|
|
+ }
|
|
|
img {
|
|
|
width: 32px;
|
|
|
height: 32px;
|
|
|
- margin-right: 12px;
|
|
|
+ margin-right: 8px;
|
|
|
}
|
|
|
span {
|
|
|
- font-size: @font2;
|
|
|
- color: @text0;
|
|
|
+ font-size: 14px;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #ffffff;
|
|
|
line-height: 24px;
|
|
|
}
|
|
|
|
|
|
&:active {
|
|
|
- background-color: @bg2;
|
|
|
+ // background-color: @bg2;
|
|
|
}
|
|
|
}
|
|
|
.order-info + .order-info {
|
|
|
- margin-left: 20px;
|
|
|
+ // margin-left: 20px;
|
|
|
&::before {
|
|
|
content: '';
|
|
|
width: 1px;
|
|
|
- height: 32px;
|
|
|
- background-color: @bg3;
|
|
|
+ background-color: #373b3e;
|
|
|
position: absolute;
|
|
|
- left: -10px;
|
|
|
- top: 50%;
|
|
|
- transform: translateY(-50%);
|
|
|
+ left: -0.5px;
|
|
|
+ top: 0;
|
|
|
+ bottom: 0;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ &.prim {
|
|
|
+ span {
|
|
|
+ font-weight: normal;
|
|
|
+ color: #43ce00;
|
|
|
+ font-family: 'ZhenyanGB';
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -350,6 +408,10 @@ export default {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
|
+.driver {
|
|
|
+ background-color: #373b3e;
|
|
|
+}
|
|
|
+
|
|
|
/deep/ .van-grid-item {
|
|
|
.van-grid-item__text {
|
|
|
font-size: @font1;
|
|
|
@@ -392,32 +454,55 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.userInfo {
|
|
|
- padding-top: 35vw;
|
|
|
- border-bottom: 1px solid @bg2;
|
|
|
+ padding-top: 52vw;
|
|
|
+ // border-bottom: 1px solid @bg2;
|
|
|
position: relative;
|
|
|
+ margin-bottom: -103px;
|
|
|
|
|
|
.top-img {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
z-index: 1;
|
|
|
+ &::after {
|
|
|
+ content: '';
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ bottom: 0;
|
|
|
+ height: 90px;
|
|
|
+ right: 0;
|
|
|
+ z-index: 1;
|
|
|
+ background: linear-gradient(180deg, rgba(39, 43, 46, 0) 0%, #272b2e 100%);
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.userInfo-content {
|
|
|
padding: 0 16px;
|
|
|
z-index: 2;
|
|
|
position: relative;
|
|
|
- transform: translateY(-16px);
|
|
|
+ transform: translateY(-103px);
|
|
|
.sub {
|
|
|
font-size: 12px;
|
|
|
color: @text3;
|
|
|
- line-height: 22px;
|
|
|
- padding: 9px 0 0;
|
|
|
+ line-height: 17px;
|
|
|
+ padding: 2px 0 0;
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
|
|
|
.sub-right {
|
|
|
.flex();
|
|
|
- justify-content: flex-end;
|
|
|
+ margin-top: 4px;
|
|
|
+ justify-content: center;
|
|
|
+ img {
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ display: block;
|
|
|
+ transition: transform ease-in-out 0.3s;
|
|
|
+
|
|
|
+ &.subAll {
|
|
|
+ transform: rotate(180deg);
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.sub-right > div {
|
|
|
@@ -431,47 +516,23 @@ export default {
|
|
|
display: flex;
|
|
|
// padding-bottom: 16px;
|
|
|
align-items: center;
|
|
|
- margin-top: 10px;
|
|
|
+
|
|
|
.collect {
|
|
|
- .flex();
|
|
|
+ width: 33%;
|
|
|
+ .flex-col();
|
|
|
+ align-items: center;
|
|
|
+ padding: 16px 0;
|
|
|
.text1 {
|
|
|
- font-size: @font2;
|
|
|
- color: @text0;
|
|
|
+ font-size: 18px;
|
|
|
+ color: #fff;
|
|
|
line-height: 24px;
|
|
|
- margin-left: 6px;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
.text2 {
|
|
|
- font-size: @font2;
|
|
|
+ font-size: 12px;
|
|
|
color: @text3;
|
|
|
- line-height: 24px;
|
|
|
- }
|
|
|
- &:nth-child(2) {
|
|
|
- flex-grow: 1;
|
|
|
- margin: 0 22px;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
- /deep/.van-button {
|
|
|
- width: 90px;
|
|
|
- .van-icon__image {
|
|
|
- display: block;
|
|
|
- width: 18px;
|
|
|
- height: 18px;
|
|
|
- }
|
|
|
- color: @text3 !important;
|
|
|
- }
|
|
|
- .van-button + .van-button {
|
|
|
- margin-left: 10px;
|
|
|
- }
|
|
|
-
|
|
|
- .verid {
|
|
|
- /deep/ span {
|
|
|
- color: #d8d8d8;
|
|
|
- line-height: 24px;
|
|
|
- background: linear-gradient(45deg, #fdfb60 0%, #ff8f3e 100%);
|
|
|
- background-clip: text;
|
|
|
- -webkit-background-clip: text;
|
|
|
- -webkit-text-fill-color: transparent;
|
|
|
+ line-height: 17px;
|
|
|
+ margin-top: 2px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -481,25 +542,30 @@ export default {
|
|
|
align-items: center;
|
|
|
transform: translateX(-5px);
|
|
|
position: relative;
|
|
|
+ flex-direction: column;
|
|
|
.van-image {
|
|
|
- border: 5px solid @bg;
|
|
|
+ // border: 5px solid @bg;
|
|
|
flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
/deep/.van-image {
|
|
|
img {
|
|
|
- transform: translateY(-2px);
|
|
|
+ // transform: translateY(-2px);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
.text {
|
|
|
margin: 0 10px 0 12px;
|
|
|
overflow: hidden;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
.text1 {
|
|
|
- font-size: @font3;
|
|
|
+ font-size: 24px;
|
|
|
font-weight: bold;
|
|
|
- color: @text0;
|
|
|
+ color: @bg;
|
|
|
line-height: 24px;
|
|
|
+ margin-top: 10px;
|
|
|
.flex();
|
|
|
// img {
|
|
|
// width: 18px;
|
|
|
@@ -510,16 +576,50 @@ export default {
|
|
|
// }
|
|
|
}
|
|
|
.text2 {
|
|
|
- font-size: @font2;
|
|
|
- color: @text3;
|
|
|
+ font-size: 14px;
|
|
|
+ color: #949699;
|
|
|
line-height: 24px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
+ margin-top: 2px;
|
|
|
img {
|
|
|
display: block;
|
|
|
margin-left: 6px;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .icons {
|
|
|
+ .flex();
|
|
|
+ .auth-imgs {
|
|
|
+ .flex();
|
|
|
+ transform: translateX(15px);
|
|
|
+ img {
|
|
|
+ width: 28px;
|
|
|
+ height: 28px;
|
|
|
+ position: relative;
|
|
|
+ z-index: 1;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ font-size: 12px;
|
|
|
+ color: #939599;
|
|
|
+ line-height: 18px;
|
|
|
+ background: #373b3e;
|
|
|
+ border-radius: 2px;
|
|
|
+ padding: 0 4px 0 10px;
|
|
|
+ transform: scale(0.8) translateX(-24px);
|
|
|
+ position: relative;
|
|
|
+ z-index: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ &.authed {
|
|
|
+ span {
|
|
|
+ color: #ff8f3e;
|
|
|
+ background-color: #ffefe8;
|
|
|
+ position: relative;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.renzhen-img {
|
|
|
@@ -531,13 +631,25 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.menus {
|
|
|
- margin: 0 16px;
|
|
|
- background-color: @bg;
|
|
|
- border-radius: 8px;
|
|
|
- overflow: hidden;
|
|
|
+ // margin: 0 16px;
|
|
|
+ // background-color: @bg;
|
|
|
+ // border-radius: 8px;
|
|
|
+ // overflow: hidden;
|
|
|
&.van-grid {
|
|
|
margin: 0;
|
|
|
}
|
|
|
+
|
|
|
+ /deep/.van-grid-item__text {
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+
|
|
|
+ /deep/.van-grid-item__content:after {
|
|
|
+ border-color: #373b3e;
|
|
|
+ }
|
|
|
+
|
|
|
+ /deep/&.van-hairline--top:after {
|
|
|
+ border-color: #373b3e;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
/deep/.auth {
|
|
|
@@ -563,4 +675,26 @@ export default {
|
|
|
border-radius: 12px;
|
|
|
margin: 16px;
|
|
|
}
|
|
|
+
|
|
|
+.edit-btn {
|
|
|
+ position: absolute;
|
|
|
+ right: 16px;
|
|
|
+ top: 16px;
|
|
|
+ .flex();
|
|
|
+ z-index: 20;
|
|
|
+ img {
|
|
|
+ width: 18px;
|
|
|
+ height: 18px;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ font-size: 10px;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 10px;
|
|
|
+ }
|
|
|
+ width: 82px;
|
|
|
+ height: 24px;
|
|
|
+ background: #272b2e;
|
|
|
+ border-radius: 4px;
|
|
|
+ justify-content: center;
|
|
|
+}
|
|
|
</style>
|