Commit 9b636fa9 authored by 黄媛媛's avatar 黄媛媛

修改样式

parent e1b18feb
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<!-- <Text v-if='item.Grade==0'>自购返佣</Text> <!-- <Text v-if='item.Grade==0'>自购返佣</Text>
<Text v-if='item.Grade==1'>一级分销</Text> <Text v-if='item.Grade==1'>一级分销</Text>
<Text v-if='item.Grade==2'>二级分销</Text> --> <Text v-if='item.Grade==2'>二级分销</Text> -->
<text>{{item.GradeDescription}}</text> <text style="margin-left: 15px;">{{item.GradeDescription}}</text>
</view> </view>
<view class="center_l"> <view class="center_l">
...@@ -212,7 +212,7 @@ ...@@ -212,7 +212,7 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
font-size: 14px; font-size: 13px;
} }
.corderStyle .center_l{ .corderStyle .center_l{
display: flex;flex-direction: row;align-items: center; display: flex;flex-direction: row;align-items: center;
......
...@@ -102,6 +102,7 @@ ...@@ -102,6 +102,7 @@
}, },
onLoad(option){ onLoad(option){
console.log(option)
if(option && option.IsEnableFXGrade){ if(option && option.IsEnableFXGrade){
this.IsEnableFXGrade = option.IsEnableFXGrade; this.IsEnableFXGrade = option.IsEnableFXGrade;
} }
......
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<Text style='font-size: 12px;margin-top: 5px;'>{{sharedata.CustomModel.ReferrerName}}{{sharedata.UserInfo.SuperiorName}}</Text> <Text style='font-size: 12px;margin-top: 5px;'>{{sharedata.CustomModel.ReferrerName}}{{sharedata.UserInfo.SuperiorName}}</Text>
<Text style='font-size: 12px;margin-top: 5px;' >等级:{{sharedata.UserInfo.GradeName}}</Text> <Text style='font-size: 12px;margin-top: 5px;' >等级:{{sharedata.UserInfo.GradeName}}</Text>
<Text style='font-size: 12px;margin-top: 5px;height: 19px;' >{{sharedata.UserInfo.IsEnableFXGrade==1 && sharedata.UserInfo.IsVip==1?'会员日期:'+ sharedata.UserInfo.VipExpiryDate:''}}</Text> <Text style='font-size: 12px;margin-top: 5px;height:19px;' >{{sharedata.UserInfo.IsEnableFXGrade==1 && sharedata.UserInfo.IsVip==1?'会员日期:'+ sharedata.UserInfo.VipExpiryDate:''}}</Text>
</view> </view>
</view> </view>
...@@ -355,15 +355,17 @@ ...@@ -355,15 +355,17 @@
} }
}, },
goUrl(url){ goUrl(url){
console.log(url)
if(url=='/pages/share-team/share-team' && this.sharedata.UserInfo.IsEnableFXGrade ==1){//判断我的团队是否粉象模式 if(url=='/pages/share-team/share-team' && this.sharedata.UserInfo.IsEnableFXGrade ==1){//判断我的团队是否粉象模式
uni.navigateTo({ uni.navigateTo({
url: url+'?IsEnableFXGrade='+ this.sharedata.UserInfo.IsEnableFXGrade url: url+'?IsEnableFXGrade='+ this.sharedata.UserInfo.IsEnableFXGrade
}); });
}else{
uni.navigateTo({
url: url
});
} }
uni.navigateTo({
url: url
});
}, },
goUrl2(url){ goUrl2(url){
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
<view style="display: flex;flex-direction: column;align-items: center;"> <view style="display: flex;flex-direction: column;align-items: center;">
<view v-for="(item, index) in g" :key="index" class="listbox"> <view v-for="(item, index) in g" :key="index" class="listbox">
<view class="box_top"> <view class="box_top">
<Text style='font-size: 14px;'>订单号:{{item.OrderNo}}</Text> <Text style='font-size: 13px;'>订单号:{{item.OrderNo}}</Text>
<Text style='font-size: 12px;color: #999999;'>{{item.CreateDate}}</Text> <Text style='font-size: 11px;color: #999999;'>{{item.CreateDate}}</Text>
</view> </view>
<view class="box_center" > <view class="box_center" >
<view class="center_l" > <view class="center_l" >
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<view class="box_ltext"> <view class="box_ltext">
<Text class='l_name'>{{item.UserName}}</Text> <Text class='l_name'>{{item.UserName}}</Text>
</view> </view>
<text style="margin-left: 8px;">{{item.GradeDescription}}</text> <text style="margin-left: 15px;">{{item.GradeDescription}}</text>
</view> </view>
<view class="center_l"> <view class="center_l">
...@@ -183,7 +183,7 @@ ...@@ -183,7 +183,7 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
font-size: 14px; font-size: 13px;
} }
.vipBuyCommission .center_l{ .vipBuyCommission .center_l{
display: flex;flex-direction: row;align-items: center; display: flex;flex-direction: row;align-items: center;
......
...@@ -27,21 +27,21 @@ ...@@ -27,21 +27,21 @@
class="imgbg" class="imgbg"
> >
<view class="titlenav" :style="{paddingTop:nav}">{{pageTitle}}</view> <view class="titlenav" :style="{paddingTop:nav}">{{pageTitle}}</view>
<view style="display: flex;flex-direction: row;align-items: center;width: 100%;margin-top: 52px;" v-if="meueData.user_center.top_style == 1"> <view class='topheard' :style="{'margin-top':modelstype==0?'52px':(modelstype==1?'37px':(modelstype==2)?'33px':0) }" v-if="meueData.user_center.top_style == 1">
<u-avatar :src="user_info.avatar" size="140" style="margin-left: 50rpx;"></u-avatar> <u-avatar :src="user_info.avatar" size="140" style="margin-left: 50rpx;"></u-avatar>
<view style="display: flex;flex-direction: column;justify-content: center;"> <view style="display: flex;flex-direction: column;justify-content: center;height: 50px;justify-content: space-between;margin-left: 20rpx">
<Text style="color: #FFF;margin-left: 20rpx;font-size: 36rpx;max-width: 200px;overflow: hidden;display: inline-block;white-space: nowrap; text-overflow:ellipsis;" <Text style="color: #FFF;font-size: 36rpx;max-width: 200px;overflow: hidden;display: inline-block;white-space: nowrap; text-overflow:ellipsis;"
@click="login(user_info)">{{ user_info.nickname ? user_info.nickname : '立即登录' }}</Text> @click="login(user_info)">{{ user_info.nickname ? user_info.nickname : '立即登录' }}</Text>
<view class="member" v-if="is_icon_members_grade == 1"> <view class="member" v-if="is_icon_members_grade == 1">
<image :src="meueData.user_center.top_pic_url" mode="aspectFill" style="width: 26px;height: 26px;border-radius: 13px;"></image> <image :src="meueData.user_center.top_pic_url" mode="aspectFill" style="width: 22px;height: 22px;border-radius: 11px;"></image>
<Text style="margin-right: 10px;">{{ user_info.identity.level_name != null ? user_info.identity.level_name : '普通用户' }}</Text> <Text style="margin-right: 10px;">{{ user_info.identity.level_name != null ? user_info.identity.level_name : '普通用户' }}</Text>
</view> </view>
</view> </view>
</view> </view>
<view style="display: flex;flex-direction: column;align-items: center;" v-if="meueData.user_center.top_style == 2"> <view style="display: flex;flex-direction: column;align-items: center;margin-top: 50px;" v-if="meueData.user_center.top_style == 2">
<u-avatar :src="user_info.avatar" size="140"></u-avatar> <u-avatar :src="user_info.avatar" size="120"></u-avatar>
<Text style="color: #FFF;margin-left: 20rpx;font-size: 36rpx;" @click="login(user_info)">{{ user_info.nickname ? user_info.nickname : '立即登录' }}</Text> <Text style="color: #FFF;margin-left: 20rpx;font-size: 36rpx;" @click="login(user_info)">{{ user_info.nickname ? user_info.nickname : '立即登录' }}</Text>
<view class="member" v-if="is_icon_members_grade == 1"> <view class="member" v-if="is_icon_members_grade == 1">
<image :src="meueData.user_center.top_pic_url" mode="aspectFill" style="width: 26px;height: 26px;border-radius: 13px;"></image> <image :src="meueData.user_center.top_pic_url" mode="aspectFill" style="width: 26px;height: 26px;border-radius: 13px;"></image>
...@@ -174,6 +174,7 @@ export default { ...@@ -174,6 +174,7 @@ export default {
nav:0, nav:0,
scrollTop:0, scrollTop:0,
couponsObj:{}, couponsObj:{},
modelstype:0,//机型类型
}; };
}, },
components: { components: {
...@@ -204,6 +205,12 @@ export default { ...@@ -204,6 +205,12 @@ export default {
this.bottommargin = c - 2 + 'px'; this.bottommargin = c - 2 + 'px';
this.listbottom = c - 2 + 50 + 'px'; this.listbottom = c - 2 + 50 + 'px';
this.contentHeight = this.$utils.calcContentHeight(c); this.contentHeight = this.$utils.calcContentHeight(c);
if(this.contentHeight>690 && this.contentHeight<776){
this.modelstype=1
}else if(this.contentHeight>=776){
this.modelstype=2
}
this.is_icon_members_grade = uni.getStorageSync('basedata') ? uni.getStorageSync('basedata').mall.setting.is_icon_members_grade : 0; this.is_icon_members_grade = uni.getStorageSync('basedata') ? uni.getStorageSync('basedata').mall.setting.is_icon_members_grade : 0;
let u = '/' + currentPages[currentPages.length - 1].route; let u = '/' + currentPages[currentPages.length - 1].route;
let pages = wx.getStorageSync('basedata') ? wx.getStorageSync('basedata').bar_title : []; let pages = wx.getStorageSync('basedata') ? wx.getStorageSync('basedata').bar_title : [];
...@@ -300,6 +307,7 @@ export default { ...@@ -300,6 +307,7 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
position: relative;
} }
.userStyle .headimg { .userStyle .headimg {
...@@ -360,7 +368,7 @@ export default { ...@@ -360,7 +368,7 @@ export default {
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
padding: 30rpx; padding: 30rpx;
margin-top: 70rpx; margin-top: 80rpx;
} }
.userStyle .order_bar .order_bar_list { .userStyle .order_bar .order_bar_list {
width: 100%; width: 100%;
...@@ -415,7 +423,7 @@ export default { ...@@ -415,7 +423,7 @@ export default {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-around;
position: relative; position: relative;
} }
.menus_item2 .contButton, .menus_item2 .contButton,
...@@ -490,11 +498,11 @@ export default { ...@@ -490,11 +498,11 @@ export default {
font-size: 12px; font-size: 12px;
} }
.userStyle .Receiptbalance{ .userStyle .Receiptbalance{
width: 92%; width: 94%;
height: 62px; height: 62px;
position: absolute; position: absolute;
left: 4%; left: 3%;
top: 265px; bottom: -20px;
background: #FFFFFF; background: #FFFFFF;
border-radius: 6px; border-radius: 6px;
display: flex; display: flex;
...@@ -545,4 +553,7 @@ export default { ...@@ -545,4 +553,7 @@ export default {
line-height: 34px; line-height: 34px;
text-align: center; text-align: center;
} }
.userStyle .topheard{
display: flex;flex-direction: row;align-items: center;width: 100%;
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment