修改一些可见的问题

This commit is contained in:
lemon橪
2021-07-02 17:58:49 +08:00
parent 3294f12268
commit 96d42cdab8
4 changed files with 32 additions and 23 deletions

View File

@@ -15,7 +15,9 @@
<view class="user-name">登录/注册</view>
</view>
<u-icon name="arrow-right"></u-icon>
<u-icon style="display: flex;
align-items: flex-start;" name="arrow-right"></u-icon>
</view>
<!-- 积分优惠券关注 -->
<div class="pointBox">
@@ -247,11 +249,12 @@ body {
justify-content: space-between;
.head-1 {
text-align: center;
width: 144rpx;
width: 152rpx;
position: relative;
margin-top: 40rpx;
display: flex;
align-items: center;
image {
width: 144rpx;
width: 152rpx;
height: 144rpx;
border-radius: 50%;
margin-bottom: 30rpx;
@@ -282,11 +285,12 @@ body {
.head-2 {
flex: 1;
margin-left: 30rpx;
line-height: 2em;
margin-top: 60rpx;
margin-top: 100rpx;
line-height: 1;
}
/deep/ .u-icon,
.u-icon {
margin-top: -120rpx;
margin-top: 106rpx;
}
}
.pointBox {

View File

@@ -73,18 +73,20 @@ export default {
distribution().then((res) => {
if (res.data.result) {
let type = res.data.result.distributionStatus;
uni.navigateTo({
url: "/pages/mine/distribution/auth",
});
return
if (type == "PASS") {
uni.navigateTo({
url: "/pages/mine/distribution/home",
});
} else if (type == "RETREAT" || type == "REFUSE") {
} else if (type == "REFUSE") {
uni.navigateTo({
url: "/pages/mine/distribution/auth",
});
} else if (type == "RETREAT") {
uni.showToast({
title: "您的分销资格已被清退。请联系管理员!",
duration: 2000,
icon: "none",
});
} else {
uni.showToast({
title: "您的信息正在审核",