Commit 14a9079d authored by 罗超's avatar 罗超

1

parent f55f4b78
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<view class="typebox flex-center"> <view class="typebox flex-center">
<view class="typeItem flex-center"> <view class="typeItem flex-center">
<view class="typeItem1 flex-center activeType">普通订单</view> <view class="typeItem1 flex-center activeType">普通订单</view>
<view class="typeItem1 flex-center">维权订单</view> <view class="typeItem1 flex-center">售后订单</view>
</view> </view>
</view> </view>
<view class="searchBox flex-between"> <view class="searchBox flex-between">
...@@ -263,8 +263,8 @@ export default { ...@@ -263,8 +263,8 @@ export default {
}, },
changeTab(index) { changeTab(index) {
this.currentTab = index; this.currentTab = index;
this.msg.OrderStatus=this.orderStatusList[index].Id this.msg.OrderStatus = this.orderStatusList[index].Id;
console.log(this.msg.OrderStatus) console.log(this.msg.OrderStatus);
}, },
lower(e) { lower(e) {
if (this.msg.pageIndex < this.page_count) { if (this.msg.pageIndex < this.page_count) {
...@@ -277,8 +277,9 @@ export default { ...@@ -277,8 +277,9 @@ export default {
}, },
getOrderStatus() { getOrderStatus() {
this.requestAdmin("/api/order/GetOrderStatusEnumList", {}, (res) => { this.requestAdmin("/api/order/GetOrderStatusEnumList", {}, (res) => {
console.log(res)
this.orderStatusList = res.data; this.orderStatusList = res.data;
this.orderStatusList.unshift({ Id: 0, Name: "全部" });
this.orderStatusList.push({ Id: 8, Name: "回收站" });
}); });
}, },
getList() { getList() {
......
...@@ -123,7 +123,7 @@ ...@@ -123,7 +123,7 @@
<view class="boxItem"> <view class="boxItem">
<view class="leftBox flex-center"> <view class="leftBox flex-center">
<image <image
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/shortmsg.png" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/money.png"
mode="widthFix" mode="widthFix"
style="width: 100%" style="width: 100%"
/> />
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
<view class="boxItem"> <view class="boxItem">
<view class="leftBox flex-center"> <view class="leftBox flex-center">
<image <image
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/shortmsg.png" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/shouhuo.png"
mode="widthFix" mode="widthFix"
style="width: 100%" style="width: 100%"
/> />
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
<view class="rightBox" @click="showBox4 = true"> <view class="rightBox" @click="showBox4 = true">
<view class="name">自动确认收货时间</view> <view class="name">自动确认收货时间</view>
<view class="flex-center"> <view class="flex-center">
{{msg.incomeDay}} {{ msg.incomeDay }}
<u-icon name="arrow" style="margin-left: 10rpx"></u-icon <u-icon name="arrow" style="margin-left: 10rpx"></u-icon
></view> ></view>
</view> </view>
...@@ -155,7 +155,7 @@ ...@@ -155,7 +155,7 @@
<view class="boxItem"> <view class="boxItem">
<view class="leftBox flex-center"> <view class="leftBox flex-center">
<image <image
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/shortmsg.png" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/shouhou.png"
mode="widthFix" mode="widthFix"
style="width: 100%" style="width: 100%"
/> />
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
<view class="rightBox" style="border: none" @click="showBox5 = true"> <view class="rightBox" style="border: none" @click="showBox5 = true">
<view class="name">可申请售后时间</view> <view class="name">可申请售后时间</view>
<view class="flex-center"> <view class="flex-center">
{{msg.afterSaleDay}} {{ msg.afterSaleDay }}
<u-icon name="arrow" style="margin-left: 10rpx"></u-icon <u-icon name="arrow" style="margin-left: 10rpx"></u-icon
></view> ></view>
</view> </view>
...@@ -202,6 +202,194 @@ ...@@ -202,6 +202,194 @@
</view> </view>
</u-modal> </u-modal>
</view> </view>
<view class="boxGroup">
<view class="boxItem">
<view class="leftBox flex-center">
<image
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/Payment.png"
mode="widthFix"
style="width: 100%"
/>
</view>
<view class="rightBox" style="border: none" @click="showBox6 = true">
<view class="name">支付方式</view>
<view class="flex-center">
<view class="weeek">{{ payTypeStr }}</view>
<u-icon name="arrow" style="margin-left: 10rpx"></u-icon
></view>
</view>
</view>
<u-modal
v-model="showBox6"
:show-cancel-button="true"
title="支付方式"
contentSlot
@confirm="showBox6 = false"
>
<view class="modelBox6 flex-center">
<view
v-for="(item, index) in payTypeArr"
:key="index"
class="flex-between modelBox6Item"
:class="item.choose ? 'modelBox6ItemActive' : ''"
@click="changePayType(item)"
>
<view class="flex-center">
<image
:src="item.img"
mode="aspectFit"
style="
width: 60rpx;
height: 60rpx;
border-radius: 6rpx;
margin-right: 20rpx;
"
/>
<view class="modelBox6ItemName">{{ item.name }}</view>
</view>
<u-icon
name="success"
color="#446dfc"
size="30"
v-if="item.choose"
></u-icon>
</view>
</view>
</u-modal>
</view>
<view class="boxGroup">
<view class="boxItem">
<view class="leftBox flex-center">
<image
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/Payment.png"
mode="widthFix"
style="width: 100%"
/>
</view>
<view class="rightBox" @click="showBox7 = true">
<view class="name">发货方式</view>
<view class="flex-center">
<view class="weeek">{{ deliveryTypeStr }}</view>
<u-icon name="arrow" style="margin-left: 10rpx"></u-icon
></view>
</view>
</view>
<view class="boxItem">
<view class="leftBox flex-center">
<image
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/dizhi.png"
mode="widthFix"
style="width: 100%"
/>
</view>
<view class="rightBox" style="border: none" @click="">
<view class="name">退货地址</view>
<view class="flex-center">
<view class="weeek">{{ addrStr }}</view>
<u-icon name="arrow" style="margin-left: 10rpx"></u-icon
></view>
</view>
</view>
<u-modal
v-model="showBox7"
:show-cancel-button="true"
title="发货方式"
contentSlot
@confirm="showBox7 = false"
>
<view class="modelBox6 flex-center">
<view
v-for="(item, index) in deliveryTypeArr"
:key="index"
class="flex-between modelBox6Item"
:class="item.choose ? 'modelBox6ItemActive' : ''"
@click="changeDeliveryType(item)"
>
<view class="flex-center">
<image
:src="item.img"
mode="aspectFit"
style="
width: 60rpx;
height: 60rpx;
border-radius: 6rpx;
margin-right: 20rpx;
"
/>
<view class="modelBox6ItemName">{{ item.name }}</view>
</view>
<u-icon
name="success"
color="#446dfc"
size="30"
v-if="item.choose"
></u-icon>
</view>
</view>
</u-modal>
</view>
<view class="boxGroup">
<view class="boxItem">
<view class="leftBox flex-center">
<image
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/jizhi.png"
mode="widthFix"
style="width: 100%"
/>
</view>
<view class="rightBox" @click="showBox8 = true">
<view class="name">积分抵扣</view>
<view class="flex-center"
>{{ msg.integral }}积分抵扣一元
<u-icon name="arrow" style="margin-left: 10rpx"></u-icon
></view>
</view>
</view>
<view class="boxItem">
<view class="leftBox flex-center">
<image
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/jifenguize.png"
mode="widthFix"
style="width: 100%"
/>
</view>
<view class="rightBox" style="border: none" @click="showBox9 = true">
<view class="name">积分使用规则</view>
<view class="flex-center"
>{{
msg.IntegralRule && msg.IntegralRule != "" ? "已填写" : "未填写"
}}
<u-icon name="arrow" style="margin-left: 10rpx"></u-icon
></view>
</view>
</view>
<u-modal
v-model="showBox8"
:show-cancel-button="true"
title="积分抵扣"
contentSlot
@confirm="showBox8 = false"
>
<view class="modelBox8 flex-center">
<input
type="number"
class="input8"
v-model="msg.integral"
/>积分抵扣一元
</view>
</u-modal>
<u-modal
v-model="showBox9"
:show-cancel-button="true"
title="积分使用规则"
contentSlot
@confirm="showBox9 = false"
>
<view class="modelBox8 flex-center">
<textarea v-model="msg.IntegralRule" class="modelBoxItem" />
</view>
</u-modal>
</view>
<tabbar></tabbar> <tabbar></tabbar>
</view> </view>
</template> </template>
...@@ -217,14 +405,20 @@ export default { ...@@ -217,14 +405,20 @@ export default {
username: "", username: "",
showBox2: false, showBox2: false,
showBox3: false, showBox3: false,
showBox4:false, showBox4: false,
showBox5:false, showBox5: false,
showBox6: false,
showBox7: false,
showBox8: false,
showBox9: false,
msg: { msg: {
business: false, business: false,
businessTime: 1, businessTime: 1,
delOrderTime: 0, delOrderTime: 0,
incomeDay:1, incomeDay: 1,
afterSaleDay:1 afterSaleDay: 1,
integral: 0, //积分抵扣
IntegralRule: "", //积分使用规则
}, },
businessTimeList: [ businessTimeList: [
{ {
...@@ -276,12 +470,51 @@ export default { ...@@ -276,12 +470,51 @@ export default {
], ],
weekStr: "", weekStr: "",
timeArr: [], timeArr: [],
payTypeArr: [
{
img: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/cloudypay.png",
name: "线上支付",
choose: true,
},
{
img: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/yuezhifu.png",
name: "余额支付",
choose: false,
},
{
img: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/huodaofukuan.png",
name: "货到付款",
choose: false,
},
],
payTypeStr: "线上支付",
deliveryTypeArr: [
//发货方式
{
img: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/cloudypay.png",
name: "快递配送",
choose: true,
},
{
img: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/yuezhifu.png",
name: "到店自提",
choose: false,
},
{
img: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/huodaofukuan.png",
name: "同城配送",
choose: false,
},
],
deliveryTypeStr: "快递配送",
addrStr: "退货地址",
}; };
}, },
methods: { methods: {
radioGroupChange(e) { radioGroupChange(e) {
this.businessKey = e; this.businessKey = e;
}, },
//选择日期
chooseWeek(e) { chooseWeek(e) {
e.choose = !e.choose; e.choose = !e.choose;
this.weekStr = this.weekArr this.weekStr = this.weekArr
...@@ -296,10 +529,38 @@ export default { ...@@ -296,10 +529,38 @@ export default {
url: url, url: url,
}); });
}, },
// 修改营业时间段
getTimeArr(arr) { getTimeArr(arr) {
this.timeArr = arr; this.timeArr = arr;
this.$forceUpdate(); this.$forceUpdate();
console.log(193, this.timeArr.join("、")); },
//切换支付方式
changePayType(e) {
e.choose = !e.choose;
this.payTypeStr = this.payTypeArr
.filter((item) => {
return item.choose;
})
.map((item) => item.name)
.join("、");
if (this.payTypeStr == "") {
this.payTypeArr[0].choose = true;
this.payTypeStr = "线上支付";
}
},
//切换发货方式
changeDeliveryType(e) {
e.choose = !e.choose;
this.deliveryTypeStr = this.deliveryTypeArr
.filter((item) => {
return item.choose;
})
.map((item) => item.name)
.join("、");
if (this.deliveryTypeStr == "") {
this.deliveryTypeArr[0].choose = true;
this.deliveryTypeStr = "快递配送";
}
}, },
}, },
onLoad() { onLoad() {
...@@ -315,6 +576,11 @@ export default { ...@@ -315,6 +576,11 @@ export default {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
.flex-between {
display: flex;
justify-content: space-between;
align-items: center;
}
.setPage { .setPage {
min-height: 100vh; min-height: 100vh;
background-color: #f7f7f7; background-color: #f7f7f7;
...@@ -457,4 +723,42 @@ export default { ...@@ -457,4 +723,42 @@ export default {
font-size: 26rpx; font-size: 26rpx;
} }
} }
.modelBox6 {
margin: 30rpx auto;
font-size: 26rpx;
flex-wrap: wrap;
.modelBox6Item {
width: 550rpx;
height: 100rpx;
border-radius: 50rpx;
margin: 10rpx 0;
border: 2rpx solid #ccced5;
padding: 0 50rpx;
.modelBox6ItemName {
font-size: 30rpx;
}
}
.modelBox6ItemActive {
border-color: #446dfc;
}
}
.modelBox8 {
margin: 40rpx auto;
font-size: 26rpx;
.input8 {
width: 200rpx;
height: 80rpx;
border-radius: 10rpx;
background-color: #f7f7f7;
padding: 0 30rpx;
font-size: 26rpx;
}
.modelBoxItem {
width: 550rpx;
border: 2rpx solid #999;
border-radius: 10rpx;
box-sizing: border-box;
padding: 20rpx;
}
}
</style> </style>
\ No newline at end of file
<template> <template>
<scroll-view :scroll-y="true" @scroll="scrollHandler" @scrolltoupper="scrollTopHandler" style="width: 100%;height: 100vh;background: #f3f4f6;"> <scroll-view
<view class="userStyle" v-if="meueData.user_center && meueData.user_center.is_ppenmiai==0" :class="{'dark':isCompany}"><!-- 修改 --> :scroll-y="true"
<view class="headStatus" v-if="scrollTop > 50" :style="[headStyle, @scroll="scrollHandler"
@scrolltoupper="scrollTopHandler"
style="width: 100%; height: 100vh; background: #f3f4f6"
>
<view
class="userStyle"
v-if="meueData.user_center && meueData.user_center.is_ppenmiai == 0"
:class="{ dark: isCompany }"
><!-- 修改 -->
<view
class="headStatus"
v-if="scrollTop > 50"
:style="[
headStyle,
{ {
zIndex: scrollTop < 10 ? 'unset' : 2, zIndex: scrollTop < 10 ? 'unset' : 2,
opacity: scrollTop < 10 ? '100' : scrollTop, opacity: scrollTop < 10 ? '100' : scrollTop,
}, },
]"> ]"
<view class="title" v-if="scrollTop > 50">{{pageTitle}}</view> >
<view class="title" v-if="scrollTop > 50">{{ pageTitle }}</view>
</view> </view>
<view class="userBox" :style="{ 'padding-bottom': bottommargin }"> <view class="userBox" :style="{ 'padding-bottom': bottommargin }">
<view :style="{ 'background-image': 'url(' + (meueData.user_center.top_pic_url ? meueData.user_center.top_pic_url : '') + ')', backgroundSize: '100% 310px' }" <view
class="imgbg" :class="{'miniHeadTop':meueData.user_center.is_foot_bar_status!=1&&meueData.user_center.is_account_status!=1}"> :style="{
<view class="titlenav" :style="{paddingTop:nav}">{{pageTitle}}</view> 'background-image':
<view class='topheard' :style="{'margin-top':modelstype==0?'52px':(modelstype==1?'37px':(modelstype==2)?'33px':0) }" 'url(' +
v-if="meueData.user_center.top_style == 1"> (meueData.user_center.top_pic_url
<u-avatar :src="user_info.avatar" size="140" shape="circle" style="margin-left: 50rpx;"></u-avatar> ? meueData.user_center.top_pic_url
<view style="display: flex;flex-direction: column;justify-content: center;height: 60px;margin-left: 20rpx"> : '') +
<view style="display: flex;align-items: center;"> ')',
<Text class="nickname" style="color: #FFF;font-size: 40rpx;font-weight:800;max-width: 380rpx;overflow: hidden;display: inline-block;white-space: nowrap; text-overflow:ellipsis;" backgroundSize: '100% 310px',
@click="login(user_info)">{{ user_info.nickname ? user_info.nickname : '立即登录' }}</Text> }"
<view v-if="companyStatus==5" style="margin-left: 10rpx;"> class="imgbg"
<image v-if="FirstShopType==1" style='width: 140rpx;height: 44rpx;' src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/pinpaivip.png"></image> :class="{
<image v-if="FirstShopType==2" style='width: 140rpx;height: 44rpx;' src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zaitivip.png"></image> miniHeadTop:
meueData.user_center.is_foot_bar_status != 1 &&
meueData.user_center.is_account_status != 1,
}"
>
<view class="titlenav" :style="{ paddingTop: nav }">{{
pageTitle
}}</view>
<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"
shape="circle"
style="margin-left: 50rpx"
></u-avatar>
<view
style="
display: flex;
flex-direction: column;
justify-content: center;
height: 60px;
margin-left: 20rpx;
"
>
<view style="display: flex; align-items: center">
<Text
class="nickname"
style="
color: #fff;
font-size: 40rpx;
font-weight: 800;
max-width: 380rpx;
overflow: hidden;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
"
@click="login(user_info)"
>{{
user_info.nickname ? user_info.nickname : "立即登录"
}}</Text
>
<view v-if="companyStatus == 5" style="margin-left: 10rpx">
<image
v-if="FirstShopType == 1"
style="width: 140rpx; height: 44rpx"
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/pinpaivip.png"
></image>
<image
v-if="FirstShopType == 2"
style="width: 140rpx; height: 44rpx"
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zaitivip.png"
></image>
</view> </view>
</view> </view>
<!-- 判断是甲鹤小程序 --> <!-- 判断是甲鹤小程序 -->
<view v-if="AppletID == 5 && isAttestationEdu==1"> <view v-if="AppletID == 5 && isAttestationEdu == 1">
<u-tag text="甲鹤学员" bg-color='#40766E' color='#FFF' size='mini' border-color='#40766E'/> <u-tag
text="甲鹤学员"
bg-color="#40766E"
color="#FFF"
size="mini"
border-color="#40766E"
/>
</view> </view>
<view style="display: flex; align-items: center;"> <view style="display: flex; align-items: center">
<view class="member" v-if="is_icon_members_grade == 1&& user_info.nickname"> <view
<image :src="user_info.identity.level_icon" mode="aspectFill" style="width: 22px;height: 22px;border-radius: 11px;"></image> class="member"
<Text style="margin-right: 10px;">{{ user_info.identity.level_name != null ? user_info.identity.level_name : '普通用户' }}</Text> v-if="is_icon_members_grade == 1 && user_info.nickname"
>
<image
:src="user_info.identity.level_icon"
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>
<!-- 公司认证状态 --> <!-- 公司认证状态 -->
</view> </view>
<view class="componyStatusBox" @click="goIdentification" v-if="is_show_korea==1 && user_info.nickname"> <view
<view class="renzhen" v-if="companyStatus==1 " > class="componyStatusBox"
@click="goIdentification"
v-if="is_show_korea == 1 && user_info.nickname"
>
<view class="renzhen" v-if="companyStatus == 1">
未认证 未认证
</view> </view>
<view class="renzhen" v-if="companyStatus==2 " style="border:1px solid #FFA800;color: #FFA800;"> <view
class="renzhen"
v-if="companyStatus == 2"
style="border: 1px solid #ffa800; color: #ffa800"
>
认证未完善 认证未完善
</view> </view>
<view class="renzhen" v-if="companyStatus==3" style="border:1px solid #2961FE;color: #2961FE;"> <view
class="renzhen"
v-if="companyStatus == 3"
style="border: 1px solid #2961fe; color: #2961fe"
>
认证审核中 认证审核中
</view> </view>
<view class="renzhen" v-if="companyStatus==4 " :style="{'border':'1px solid '+mainColor,'color':mainColor}"> <view
class="renzhen"
v-if="companyStatus == 4"
:style="{
border: '1px solid ' + mainColor,
color: mainColor,
}"
>
未通过 未通过
</view> </view>
<view style="margin-top: 10px;display: flex;align-items: flex-start;" v-if="companyStatus==5"> <view
<view style="font-weight: 500;font-size: 13px;max-width: 360rpx;overflow: hidden;margin-right: 10px;display: inline-block;white-space: nowrap; text-overflow:ellipsis;"> style="
{{companyName}} margin-top: 10px;
display: flex;
align-items: flex-start;
"
v-if="companyStatus == 5"
>
<view
style="
font-weight: 500;
font-size: 13px;
max-width: 360rpx;
overflow: hidden;
margin-right: 10px;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
"
>
{{ companyName }}
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<view style="display: flex;flex-direction: column;align-items: center;margin-top: 23px;margin-bottom: 5px;" v-if="meueData.user_center.top_style == 2"> <view
<u-avatar :src="user_info.avatar" shape="circle" size="120"></u-avatar> style="
<Text style="color: #FFF;font-size: 40rpx;font-weight:800;" class="nickname" @click="login(user_info)">{{ user_info.nickname ? user_info.nickname : '立即登录' }}</Text> display: flex;
<view class="member" v-if="is_icon_members_grade == 1&&user_info.nickname"> flex-direction: column;
<image :src="user_info.identity.level_icon" mode="aspectFill" style="width: 22px;height: 22px;border-radius: 11px;"></image> align-items: center;
<view style="display: flex;align-items: center;justify-content: center;"> margin-top: 23px;
<Text style="margin-right: 10px;">{{ user_info.identity.level_name != null ? user_info.identity.level_name : '普通用户' }}</Text> margin-bottom: 5px;
<view v-if="companyStatus==5" style="margin-left: 10rpx;"> "
<image v-if="FirstShopType==1" style='width: 140rpx;height: 44rpx;' src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/pinpaivip.png"></image> v-if="meueData.user_center.top_style == 2"
<image v-if="FirstShopType==2" style='width: 140rpx;height: 44rpx;' src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zaitivip.png"></image> >
<u-avatar
:src="user_info.avatar"
shape="circle"
size="120"
></u-avatar>
<Text
style="color: #fff; font-size: 40rpx; font-weight: 800"
class="nickname"
@click="login(user_info)"
>{{ user_info.nickname ? user_info.nickname : "立即登录" }}</Text
>
<view
class="member"
v-if="is_icon_members_grade == 1 && user_info.nickname"
>
<image
:src="user_info.identity.level_icon"
mode="aspectFill"
style="width: 22px; height: 22px; border-radius: 11px"
></image>
<view
style="
display: flex;
align-items: center;
justify-content: center;
"
>
<Text style="margin-right: 10px">{{
user_info.identity.level_name != null
? user_info.identity.level_name
: "普通用户"
}}</Text>
<view v-if="companyStatus == 5" style="margin-left: 10rpx">
<image
v-if="FirstShopType == 1"
style="width: 140rpx; height: 44rpx"
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/pinpaivip.png"
></image>
<image
v-if="FirstShopType == 2"
style="width: 140rpx; height: 44rpx"
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/zaitivip.png"
></image>
</view> </view>
</view> </view>
</view> </view>
<view v-if="AppletID == 5 && isAttestationEdu == 1"> <view v-if="AppletID == 5 && isAttestationEdu == 1">
<u-tag text="甲鹤学员" bg-color='#40766E' color='#FFF' size='mini' border-color='#40766E'/> <u-tag
text="甲鹤学员"
bg-color="#40766E"
color="#FFF"
size="mini"
border-color="#40766E"
/>
</view> </view>
<view class="componyStatusBox" @click="goIdentification" v-if="is_show_korea==1 && user_info.nickname"> <view
<view class="renzhen" v-if="companyStatus==1 " > class="componyStatusBox"
未认证 @click="goIdentification"
</view> v-if="is_show_korea == 1 && user_info.nickname"
<view class="renzhen" v-if="companyStatus==2 " > >
<view class="renzhen" v-if="companyStatus == 1"> 未认证 </view>
<view class="renzhen" v-if="companyStatus == 2">
认证未完善 认证未完善
</view> </view>
<view class="renzhen" v-if="companyStatus==3" :style="{'border':'1px solid '+mainColor,'color':mainColor}"> <view
class="renzhen"
v-if="companyStatus == 3"
:style="{ border: '1px solid ' + mainColor, color: mainColor }"
>
认证审核中 认证审核中
</view> </view>
<view class="renzhen" v-if="companyStatus==4 " > <view class="renzhen" v-if="companyStatus == 4"> 未通过 </view>
未通过 <view style="margin-top: 10px" v-if="companyStatus == 5">
</view> <view
<view style="margin-top: 10px;" v-if="companyStatus==5"> style="
<view style="font-weight: 500;font-size: 13px;max-width: 360rpx;overflow: hidden;margin-right: 10px;display: inline-block;white-space: nowrap; text-overflow:ellipsis;"> font-weight: 500;
{{companyName}} font-size: 13px;
max-width: 360rpx;
overflow: hidden;
margin-right: 10px;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
"
>
{{ companyName }}
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<view class="top_b"> <view class="top_b">
<view class="top_b_item" v-if="meueData.user_center.is_foot_bar_status == 1" @click="goUrl('/pages/favorite/favorite')"> <view
<text style="font-size: 21px;">{{user_info.favorite?user_info.favorite:0}}</text> class="top_b_item"
<text>{{meueData.user_center.foot_bar[0].name}}</text> v-if="meueData.user_center.is_foot_bar_status == 1"
@click="goUrl('/pages/favorite/favorite')"
>
<text style="font-size: 21px">{{
user_info.favorite ? user_info.favorite : 0
}}</text>
<text>{{ meueData.user_center.foot_bar[0].name }}</text>
</view> </view>
<view class="top_b_item" v-if="meueData.user_center.is_foot_bar_status == 1" @click="goUrl('/pages/foot/index/index')"> <view
<text style="font-size: 21px;">{{user_info.footprint?user_info.footprint:0}}</text> class="top_b_item"
<text>{{meueData.user_center.foot_bar[1].name}}</text> v-if="meueData.user_center.is_foot_bar_status == 1"
@click="goUrl('/pages/foot/index/index')"
>
<text style="font-size: 21px">{{
user_info.footprint ? user_info.footprint : 0
}}</text>
<text>{{ meueData.user_center.foot_bar[1].name }}</text>
</view> </view>
<view class="top_b_item" v-if="meueData.user_center&&meueData.user_center.is_account_status == 1" @click="goUrl(couponsObj.link_url)"> <view
<text style="font-size: 21px;">{{user_info.coupon?user_info.coupon:0}}</text> class="top_b_item"
<text>{{couponsObj.name}}</text> v-if="
meueData.user_center &&
meueData.user_center.is_account_status == 1
"
@click="goUrl(couponsObj.link_url)"
>
<text style="font-size: 21px">{{
user_info.coupon ? user_info.coupon : 0
}}</text>
<text>{{ couponsObj.name }}</text>
</view> </view>
</view> </view>
<view class="ReceiptAdder" v-if="IsEducation!=1&&setting.is_show_korea!=undefined&&setting.is_show_korea==0" @click="goUrl('/pages/address/address')" :style="{top:modelstype==0?'160rpx':(modelstype==1?'180rpx':'160rpx')}"> <view
class="ReceiptAdder"
v-if="
IsEducation != 1 &&
setting.is_show_korea != undefined &&
setting.is_show_korea == 0
"
@click="goUrl('/pages/address/address')"
:style="{
top:
modelstype == 0
? '160rpx'
: modelstype == 1
? '180rpx'
: '160rpx',
}"
>
<u-icon name="location" color="#fff" size="23"></u-icon> <u-icon name="location" color="#fff" size="23"></u-icon>
<Text style="color: #fff;font-size: 12px;margin-left: 20rpx;">收货地址</Text> <Text style="color: #fff; font-size: 12px; margin-left: 20rpx"
>收货地址</Text
>
</view> </view>
<view class="Receiptbalance" v-if="meueData.user_center&&meueData.user_center.is_account_status == 1"> <view
<view class="Receiptbalance_item" v-for="(item, index) in meueData.user_center.account" :key="index" v-if="item.link_url == '/pages/balance/balance'" class="Receiptbalance"
@click="goUrl(item.link_url)"> v-if="
<image :src="item.icon_url" style="width: 22px;height: auto" mode='widthFix'></image> meueData.user_center &&
<view style="margin-left: 15px;display: flex;flex-direction: column;justify-content: space-between;"> meueData.user_center.is_account_status == 1
<span style='font-size: 21px;color: #0D0D0D;font-weight: 200;'>{{user_info.balance?(user_info.balance>10000?(user_info.balance/10000).toFixed(1)+'w':user_info.balance):0}}</span> "
<span style=''>{{item.name}}</span> >
<view
class="Receiptbalance_item"
v-for="(item, index) in meueData.user_center.account"
:key="index"
v-if="item.link_url == '/pages/balance/balance'"
@click="goUrl(item.link_url)"
>
<image
:src="item.icon_url"
style="width: 22px; height: auto"
mode="widthFix"
></image>
<view
style="
margin-left: 15px;
display: flex;
flex-direction: column;
justify-content: space-between;
"
>
<span
style="font-size: 21px; color: #0d0d0d; font-weight: 200"
>{{
user_info.balance
? user_info.balance > 10000
? (user_info.balance / 10000).toFixed(1) + "w"
: user_info.balance
: 0
}}</span
>
<span style="">{{ item.name }}</span>
</view> </view>
</view> </view>
<view style="width: 1px;height: 34px;background: #E8E8E8;"></view> <view style="width: 1px; height: 34px; background: #e8e8e8"></view>
<view class="Receiptbalance_item" v-for="(item, index) in meueData.user_center.account" :key="index" v-if="item.link_url == '/pages/user-center/integral-detail/integral-detail'" <view
@click="goUrl(item.link_url)"> class="Receiptbalance_item"
<image :src="item.icon_url" style="width: 17px;;height: auto" mode='widthFix'></image> v-for="(item, index) in meueData.user_center.account"
<view style="margin-left: 15px;display: flex;flex-direction: column;justify-content: space-between;"> :key="index"
<span style='font-size: 21px;color: #0D0D0D;font-weight: 200;'>{{user_info.integral?(user_info.integral>10000?(user_info.integral/10000).toFixed(1)+'w':user_info.integral):0}}</span> v-if="
<span>{{item.name}}</span> item.link_url ==
'/pages/user-center/integral-detail/integral-detail'
"
@click="goUrl(item.link_url)"
>
<image
:src="item.icon_url"
style="width: 17px; height: auto"
mode="widthFix"
></image>
<view
style="
margin-left: 15px;
display: flex;
flex-direction: column;
justify-content: space-between;
"
>
<span
style="font-size: 21px; color: #0d0d0d; font-weight: 200"
>{{
user_info.integral
? user_info.integral > 10000
? (user_info.integral / 10000).toFixed(1) + "w"
: user_info.integral
: 0
}}</span
>
<span>{{ item.name }}</span>
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<!-- 排课点数 --> <!-- 排课点数 -->
<view class="order_bar paike" style="" @click="gopointBalance" v-if="meueData.user_center.is_point_status==1"> <view
<span style='font-size: 14px;color: #111111;'>可用余额(点数):</span> class="order_bar paike"
<span style='font-size: 22px;color: #111111;font-family: aa;'>{{PointNum}}</span> style=""
@click="gopointBalance"
v-if="meueData.user_center.is_point_status == 1"
>
<span style="font-size: 14px; color: #111111">可用余额(点数):</span>
<span style="font-size: 22px; color: #111111; font-family: aa">{{
PointNum
}}</span>
</view> </view>
<view class="order_bar" v-if="meueData.user_center.is_order_bar_status == 1"> <view
<u-section title="我的订单" sub-title="查看更多" style="width: 100%;padding:0px 0 10px ;" @click="goUrl('/pages/order/index/index?status=0')"></u-section> class="order_bar"
v-if="meueData.user_center.is_order_bar_status == 1"
>
<u-section
title="我的订单"
sub-title="查看更多"
style="width: 100%; padding: 0px 0 10px"
@click="goUrl('/pages/order/index/index?status=0')"
></u-section>
<view class="order_bar_list"> <view class="order_bar_list">
<view class="order_bar_item" v-for="(item, index) in meueData.user_center.order_bar" :key="index" :name="item.name" <view
@click="goUrl(item.link_url)"> class="order_bar_item"
<image :src="item.icon_url" style="width: 60rpx;height: auto" mode='widthFix'></image> v-for="(item, index) in meueData.user_center.order_bar"
<Text style="margin-top: 10rpx;">{{ item.name }}</Text> :key="index"
:name="item.name"
@click="goUrl(item.link_url)"
>
<image
:src="item.icon_url"
style="width: 60rpx; height: auto"
mode="widthFix"
></image>
<Text style="margin-top: 10rpx">{{ item.name }}</Text>
<!-- 待付款 --> <!-- 待付款 -->
<view v-if="item.link_url == '/pages/order/index/index?status=1' && user_info.MyOrder.NonPayment > 0" class="badge" <view
:style="{ background: mainColor }"> v-if="
item.link_url == '/pages/order/index/index?status=1' &&
user_info.MyOrder.NonPayment > 0
"
class="badge"
:style="{ background: mainColor }"
>
{{ user_info.MyOrder.NonPayment }} {{ user_info.MyOrder.NonPayment }}
</view> </view>
<!-- 待发货 --> <!-- 待发货 -->
<view v-if="item.link_url == '/pages/order/index/index?status=2' && user_info.MyOrder.WaitSendGoods > 0" class="badge" <view
:style="{ background: mainColor }"> v-if="
item.link_url == '/pages/order/index/index?status=2' &&
user_info.MyOrder.WaitSendGoods > 0
"
class="badge"
:style="{ background: mainColor }"
>
{{ user_info.MyOrder.WaitSendGoods }} {{ user_info.MyOrder.WaitSendGoods }}
</view> </view>
<!-- 待收货 --> <!-- 待收货 -->
<view v-if="item.link_url == '/pages/order/index/index?status=3' && user_info.MyOrder.WaitReceiving > 0" class="badge" <view
:style="{ background: mainColor }"> v-if="
item.link_url == '/pages/order/index/index?status=3' &&
user_info.MyOrder.WaitReceiving > 0
"
class="badge"
:style="{ background: mainColor }"
>
{{ user_info.MyOrder.WaitReceiving }} {{ user_info.MyOrder.WaitReceiving }}
</view> </view>
<!-- 待评价 --> <!-- 待评价 -->
<view v-if="item.link_url == '/pages/order/order-commit' && user_info.MyOrder.WaitCommentNum > 0" class="badge" <view
:style="{ background: mainColor }"> v-if="
item.link_url == '/pages/order/order-commit' &&
user_info.MyOrder.WaitCommentNum > 0
"
class="badge"
:style="{ background: mainColor }"
>
{{ user_info.MyOrder.WaitCommentNum }} {{ user_info.MyOrder.WaitCommentNum }}
</view> </view>
<!-- 售后 --> <!-- 售后 -->
<view v-if="item.link_url == '/pages/order/after-sale/refunds-list' && user_info.MyOrder.AfterSaleNum > 0" class="badge" <view
:style="{ background: mainColor }"> v-if="
item.link_url == '/pages/order/after-sale/refunds-list' &&
user_info.MyOrder.AfterSaleNum > 0
"
class="badge"
:style="{ background: mainColor }"
>
{{ user_info.MyOrder.AfterSaleNum }} {{ user_info.MyOrder.AfterSaleNum }}
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<view class="order_bar" style="margin-top:20rpx;" v-if="meueData.user_center.is_sdorder_bar_status == 1"> <view
<u-section title="司导订单" sub-title="查看更多" style="width: 100%;padding:0px 0 10px ;" @click="goUrl('/pages/guidecar/orderList?status=0')"></u-section> class="order_bar"
style="margin-top: 20rpx"
v-if="meueData.user_center.is_sdorder_bar_status == 1"
>
<u-section
title="司导订单"
sub-title="查看更多"
style="width: 100%; padding: 0px 0 10px"
@click="goUrl('/pages/guidecar/orderList?status=0')"
></u-section>
<view class="order_bar_list"> <view class="order_bar_list">
<view class="order_bar_item" v-for="(item, index) in meueData.user_center.sdorder_bar" :key="index" :name="item.name" <view
@click="goUrl(item.link_url)"> class="order_bar_item"
<image :src="item.icon_url" style="width: 60rpx;height: auto" mode='widthFix'></image> v-for="(item, index) in meueData.user_center.sdorder_bar"
<Text style="margin-top: 10rpx;">{{ item.name }}</Text> :key="index"
:name="item.name"
@click="goUrl(item.link_url)"
>
<image
:src="item.icon_url"
style="width: 60rpx; height: auto"
mode="widthFix"
></image>
<Text style="margin-top: 10rpx">{{ item.name }}</Text>
<!-- 待付款 --> <!-- 待付款 -->
<view v-if="item.link_url == '/pages/guidecar/orderList?status=1' && user_info.MyGuideCarOrder.NonPayment > 0" <view
class="badge" :style="{ background: mainColor }"> v-if="
item.link_url == '/pages/guidecar/orderList?status=1' &&
user_info.MyGuideCarOrder.NonPayment > 0
"
class="badge"
:style="{ background: mainColor }"
>
{{ user_info.MyGuideCarOrder.NonPayment }} {{ user_info.MyGuideCarOrder.NonPayment }}
</view> </view>
<!-- 待确认 --> <!-- 待确认 -->
<view v-if="item.link_url == '/pages/guidecar/orderList?status=2' && user_info.MyGuideCarOrder.WaitSendGoods > 0" <view
class="badge" :style="{ background: mainColor }"> v-if="
item.link_url == '/pages/guidecar/orderList?status=2' &&
user_info.MyGuideCarOrder.WaitSendGoods > 0
"
class="badge"
:style="{ background: mainColor }"
>
{{ user_info.MyGuideCarOrder.WaitSendGoods }} {{ user_info.MyGuideCarOrder.WaitSendGoods }}
</view> </view>
<!-- 待出行 --> <!-- 待出行 -->
<view v-if="item.link_url == '/pages/guidecar/orderList?status=3' && user_info.MyGuideCarOrder.WaitReceiving > 0" <view
class="badge" :style="{ background: mainColor }"> v-if="
item.link_url == '/pages/guidecar/orderList?status=3' &&
user_info.MyGuideCarOrder.WaitReceiving > 0
"
class="badge"
:style="{ background: mainColor }"
>
{{ user_info.MyGuideCarOrder.WaitReceiving }} {{ user_info.MyGuideCarOrder.WaitReceiving }}
</view> </view>
<!-- 出行中 --> <!-- 出行中 -->
<view v-if="item.link_url == '/pages/guidecar/orderList?status=4' && user_info.MyGuideCarOrder.Completed > 0" <view
class="badge" :style="{ background: mainColor }"> v-if="
item.link_url == '/pages/guidecar/orderList?status=4' &&
user_info.MyGuideCarOrder.Completed > 0
"
class="badge"
:style="{ background: mainColor }"
>
{{ user_info.MyGuideCarOrder.Completed }} {{ user_info.MyGuideCarOrder.Completed }}
</view> </view>
<!-- 待评价 --> <!-- 待评价 -->
<view v-if="item.link_url == '/pages/guidecar/order-commit' && user_info.MyGuideCarOrder.GuideCarWaitCommentNum > 0" <view
class="badge" :style="{ background: mainColor }"> v-if="
item.link_url == '/pages/guidecar/order-commit' &&
user_info.MyGuideCarOrder.GuideCarWaitCommentNum > 0
"
class="badge"
:style="{ background: mainColor }"
>
{{ user_info.MyGuideCarOrder.GuideCarWaitCommentNum }} {{ user_info.MyGuideCarOrder.GuideCarWaitCommentNum }}
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<template v-if="meueData.user_center&&meueData.user_center.nar_menus.length>0"> <template
<view v-if="meueData.user_center && meueData.user_center.is_menu_status == 1" v-for="(mItem,mIndex) in meueData.user_center.nar_menus" v-if="
:key="mIndex" :style="{'marginTop':mIndex==0&&(meueData.user_center.is_foot_bar_status==1||meueData.user_center.is_account_status==1)?'25px':''}" meueData.user_center && meueData.user_center.nar_menus.length > 0
class="headCommon"> "
<view style="margin:10px;">{{mItem.MenuNavTitle}}</view> >
<view :class="mItem.MenuNavStyle == 1 ? 'menus' : 'menus2'" style="width:100%;"> <view
<view :class="mItem.MenuNavStyle == 1 ? 'menus_item' : 'menus_item2'" v-for="(item, index) in mItem.MeunList" v-if="
:key="index" :name="item.name" @click="goUrl(item.link_url)" v-if="pandu(item)"> meueData.user_center && meueData.user_center.is_menu_status == 1
<image :src="item.icon_url" :style="{width:mItem.MenuNavStyle == 1 ?'20px':'16px',height: 'auto'}" mode="widthFix"></image> "
<Text style="font-size: 26rpx;" :style="{ 'margin-top': mItem.MenuNavStyle == 1 ? '10rpx' : '0rpx', 'margin-left': mItem.MenuNavStyle == 1 ? '0rpx' : '24rpx' }"> v-for="(mItem, mIndex) in meueData.user_center.nar_menus"
:key="mIndex"
:style="{
marginTop:
mIndex == 0 &&
(meueData.user_center.is_foot_bar_status == 1 ||
meueData.user_center.is_account_status == 1)
? '25px'
: '',
}"
class="headCommon"
>
<view style="margin: 10px">{{ mItem.MenuNavTitle }}</view>
<view
:class="mItem.MenuNavStyle == 1 ? 'menus' : 'menus2'"
style="width: 100%"
>
<view
:class="mItem.MenuNavStyle == 1 ? 'menus_item' : 'menus_item2'"
v-for="(item, index) in mItem.MeunList"
:key="index"
:name="item.name"
@click="goUrl(item.link_url)"
v-if="pandu(item)"
>
<image
:src="item.icon_url"
:style="{
width: mItem.MenuNavStyle == 1 ? '20px' : '16px',
height: 'auto',
}"
mode="widthFix"
></image>
<Text
style="font-size: 26rpx"
:style="{
'margin-top': mItem.MenuNavStyle == 1 ? '10rpx' : '0rpx',
'margin-left': mItem.MenuNavStyle == 1 ? '0rpx' : '24rpx',
}"
>
{{ item.name }} {{ item.name }}
</Text> </Text>
<button open-type="contact" class="contButton" v-if="item.link_url == 'contact' && item.name == '客服'"></button> <button
open-type="contact"
class="contButton"
v-if="item.link_url == 'contact' && item.name == '客服'"
></button>
</view> </view>
</view> </view>
</view> </view>
</template> </template>
</view> </view>
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth"></auth> <auth
v-if="showAuth"
@changeuserinfo="reloadUserinfo"
@gbAuth="gbAuth"
></auth>
<tabbars></tabbars> <tabbars></tabbars>
</view> </view>
<view v-if="meueData.user_center && meueData.user_center.is_ppenmiai==1 && isloading== true"><!-- 修改 --> <view
v-if="
meueData.user_center &&
meueData.user_center.is_ppenmiai == 1 &&
isloading == true
"
><!-- 修改 -->
<blinddate <blinddate
:meueData='meueData' :meueData="meueData"
:user_info ='user_info' :user_info="user_info"
:scrollTop='scrollTop' :scrollTop="scrollTop"
:modelstype='modelstype' :modelstype="modelstype"
:bottommargin='bottommargin' :bottommargin="bottommargin"
:PointNum='PointNum' :PointNum="PointNum"
@fatherMethod="login" @fatherMethod="login"
> >
</blinddate> </blinddate>
<auth v-if="showAuth" @changeuserinfo="reloadUserinfo" @gbAuth="gbAuth"></auth> <auth
v-if="showAuth"
@changeuserinfo="reloadUserinfo"
@gbAuth="gbAuth"
></auth>
<tabbars></tabbars> <tabbars></tabbars>
</view> </view>
</scroll-view> </scroll-view>
...@@ -291,6 +740,7 @@ ...@@ -291,6 +740,7 @@
IsDeposit:0,//是否开启储蓄卡功能 IsDeposit:0,//是否开启储蓄卡功能
AppletID:0,//小程序id 5-8日 判断是否是甲鹤 AppletID:0,//小程序id 5-8日 判断是否是甲鹤
isAttestationEdu:0,//学员是否认证了 0否1是 isAttestationEdu:0,//学员是否认证了 0否1是
isMallAdmin:0,//是否是饭粒汪商城管理员 0否1是
}; };
}, },
components: { components: {
...@@ -311,7 +761,6 @@ ...@@ -311,7 +761,6 @@
let basedata =uni.getStorageSync("basedata")?uni.getStorageSync("basedata"):''; let basedata =uni.getStorageSync("basedata")?uni.getStorageSync("basedata"):'';
this.AppletID = basedata.home_pages.id?basedata.home_pages.id:0; this.AppletID = basedata.home_pages.id?basedata.home_pages.id:0;
this.isAttestationEdu = basedata.user_info.isAttestationEdu ? basedata.user_info.isAttestationEdu:0 this.isAttestationEdu = basedata.user_info.isAttestationEdu ? basedata.user_info.isAttestationEdu:0
}, },
onLoad() { onLoad() {
this.navHeight = this.$navHeight - 2; this.navHeight = this.$navHeight - 2;
...@@ -323,6 +772,8 @@ ...@@ -323,6 +772,8 @@
if (!this.mall_UserInfo) { if (!this.mall_UserInfo) {
this.showAuth = true; this.showAuth = true;
} }
this.isMallAdmin = this.mall_UserInfo.AdminId&&this.mall_UserInfo.AdminToken ? 1:0
console.log(445,this.isMallAdmin)
}, },
mounted() { mounted() {
this.getComponyStatus() this.getComponyStatus()
...@@ -440,7 +891,13 @@ ...@@ -440,7 +891,13 @@
flag = false; flag = false;
} }
break; break;
case "/pages/MallMange/index":
if(this.isMallAdmin == 1 ){
flag = true;
}else{
flag = false;
}
break;
} }
return flag; return flag;
}, },
...@@ -592,66 +1049,64 @@ ...@@ -592,66 +1049,64 @@
</script> </script>
<style> <style>
.body { .body {
background: #f3f4f6; background: #f3f4f6;
height: 100vh; height: 100vh;
} }
.userStyle .userBox {
.userStyle .userBox {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
background: #f3f4f6; background: #f3f4f6;
height: 100%; height: 100%;
} }
.userStyle .inner-container::-webkit-scrollbar { .userStyle .inner-container::-webkit-scrollbar {
display: none; display: none;
} }
.userStyle .imgbg { .userStyle .imgbg {
width: 100%; width: 100%;
height: 310px; height: 310px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
position: relative; position: relative;
}
} .userStyle .headimg {
.userStyle .headimg {
width: 140rpx; width: 140rpx;
height: 140rpx; height: 140rpx;
border-radius: 50%; border-radius: 50%;
margin-left: 60rpx; margin-left: 60rpx;
} }
.userStyle .footprint { .userStyle .footprint {
width: 80%; width: 80%;
height: 140rpx; height: 140rpx;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
} }
.userStyle .footprint_item { .userStyle .footprint_item {
width: 200rpx; width: 200rpx;
height: 90rpx; height: 90rpx;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.userStyle .footprint_item_bottom { .userStyle .footprint_item_bottom {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.userStyle .account_bar { .userStyle .account_bar {
width: 94%; width: 94%;
height: 110rpx; height: 110rpx;
border-radius: 10rpx; border-radius: 10rpx;
...@@ -661,22 +1116,22 @@ ...@@ -661,22 +1116,22 @@
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
padding: 0 20rpx; padding: 0 20rpx;
} }
.userStyle .account_bar_item { .userStyle .account_bar_item {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
border-right: 1px solid #d1d1d1; border-right: 1px solid #d1d1d1;
width: 25%; width: 25%;
} }
.userStyle .account_bar_item:last-child { .userStyle .account_bar_item:last-child {
border-right: 0; border-right: 0;
} }
.userStyle .order_bar { .userStyle .order_bar {
width: 94%; width: 94%;
border-radius: 10rpx; border-radius: 10rpx;
background: #fff; background: #fff;
...@@ -685,25 +1140,25 @@ ...@@ -685,25 +1140,25 @@
align-items: center; align-items: center;
padding: 30rpx; padding: 30rpx;
margin-top: 80rpx; margin-top: 80rpx;
} }
.userStyle .order_bar .order_bar_list { .userStyle .order_bar .order_bar_list {
width: 100%; width: 100%;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.userStyle .order_bar_item { .userStyle .order_bar_item {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
margin-top: 20rpx; margin-top: 20rpx;
position: relative; position: relative;
} }
.userStyle .badge { .userStyle .badge {
position: absolute; position: absolute;
right: -10rpx; right: -10rpx;
top: -10rpx; top: -10rpx;
...@@ -715,9 +1170,9 @@ ...@@ -715,9 +1170,9 @@
color: #fff; color: #fff;
height: 30rpx; height: 30rpx;
border-radius: 15rpx; border-radius: 15rpx;
} }
.userStyle .menus { .userStyle .menus {
width: 94%; width: 94%;
border-radius: 10rpx; border-radius: 10rpx;
background: #fff; background: #fff;
...@@ -726,18 +1181,18 @@ ...@@ -726,18 +1181,18 @@
flex-wrap: wrap; flex-wrap: wrap;
align-items: center; align-items: center;
margin-top: 30rpx; margin-top: 30rpx;
} }
.userStyle .menus2 { .userStyle .menus2 {
width: 94%; width: 94%;
border-radius: 10rpx; border-radius: 10rpx;
background: #fff; background: #fff;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
margin-top: 20rpx; margin-top: 20rpx;
} }
.userStyle .menus .menus_item { .userStyle .menus .menus_item {
width: 25%; width: 25%;
height: 110rpx; height: 110rpx;
margin: 20rpx 0 10rpx; margin: 20rpx 0 10rpx;
...@@ -746,19 +1201,19 @@ ...@@ -746,19 +1201,19 @@
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
position: relative; position: relative;
} }
.menus_item2 .contButton, .menus_item2 .contButton,
.menus_item .contButton { .menus_item .contButton {
width: 100%; width: 100%;
height: 100%; height: 100%;
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
opacity: 0; opacity: 0;
} }
.userStyle .menus2 .menus_item2 { .userStyle .menus2 .menus_item2 {
width: 100%; width: 100%;
height: 90rpx; height: 90rpx;
display: flex; display: flex;
...@@ -766,16 +1221,16 @@ ...@@ -766,16 +1221,16 @@
align-items: center; align-items: center;
margin-left: 30rpx; margin-left: 30rpx;
position: relative; position: relative;
} }
.userStyle .copyright { .userStyle .copyright {
padding: 70rpx 0; padding: 70rpx 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
} }
.userStyle .ReceiptAdder { .userStyle .ReceiptAdder {
position: absolute; position: absolute;
right: 0; right: 0;
top: 160rpx; top: 160rpx;
...@@ -787,10 +1242,10 @@ ...@@ -787,10 +1242,10 @@
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
padding: 0 20rpx; padding: 0 20rpx;
background: rgba(55, 55, 55, 0.15) background: rgba(55, 55, 55, 0.15);
} }
.userStyle .member { .userStyle .member {
background: #3b3641; background: #3b3641;
/* width: 80px; */ /* width: 80px; */
font-size: 10px; font-size: 10px;
...@@ -802,62 +1257,61 @@ ...@@ -802,62 +1257,61 @@
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-top: 10px; margin-top: 10px;
} }
.userStyle .titlenav { .userStyle .titlenav {
width: 100%; width: 100%;
text-align: center; text-align: center;
font-size: 16px; font-size: 16px;
color: #FFFFFF; color: #ffffff;
} }
.userStyle .top_b { .userStyle .top_b {
width: 86%; width: 86%;
height: 65px; height: 65px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.userStyle .top_b_item { .userStyle .top_b_item {
width: 26%; width: 26%;
height: 50px; height: 50px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
color: #FFFFFF; color: #ffffff;
font-size: 12px; font-size: 12px;
} }
.userStyle .Receiptbalance { .userStyle .Receiptbalance {
width: 94%; width: 94%;
height: 62px; height: 62px;
position: absolute; position: absolute;
left: 3%; left: 3%;
bottom: -20px; bottom: -20px;
background: #FFFFFF; background: #ffffff;
border-radius: 6px; border-radius: 6px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
padding: 0 10px; padding: 0 10px;
} }
.userStyle .Receiptbalance_item { .userStyle .Receiptbalance_item {
width: 40%; width: 40%;
height: 50px; height: 50px;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
font-size: 12px; font-size: 12px;
color: #534D62; color: #534d62;
}
}
.userStyle .headStatus { .userStyle .headStatus {
overflow: hidden; overflow: hidden;
position: relative; position: relative;
width: 140vw; width: 140vw;
...@@ -868,65 +1322,76 @@ ...@@ -868,65 +1322,76 @@
right: 0; right: 0;
top: 0; top: 0;
display: flex; display: flex;
background-image: linear-gradient(to right, background-image: linear-gradient(to right, #6e75ea, #b984ec);
#6E75EA, }
#B984EC);
} .userStyle .headStatus .arrow {
.userStyle .headStatus .arrow {
height: 24px; height: 24px;
margin: 5px 10px; margin: 5px 10px;
width: 24px; width: 24px;
} }
.userStyle .headStatus .title { .userStyle .headStatus .title {
font-size: 18px; font-size: 18px;
color: #fff; color: #fff;
flex: 1; flex: 1;
width: 1px; width: 1px;
line-height: 34px; line-height: 34px;
text-align: center; text-align: center;
} }
.dark .userStyle .headStatus .title{ .dark .userStyle .headStatus .title {
color:#111 !important; color: #111 !important;
} }
.dark .nickname{ .dark .nickname {
color:#111 !important; color: #111 !important;
} }
.userStyle .topheard { .userStyle .topheard {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
width: 100%; width: 100%;
margin-bottom: 20px; margin-bottom: 20px;
} }
.userStyle .miniHeadTop { .userStyle .miniHeadTop {
height: 200px; height: 200px;
} }
.userBox .headCommon { .userBox .headCommon {
width: 94%; width: 94%;
margin-top: 25px; margin-top: 25px;
border-radius: 10px; border-radius: 10px;
background-color: #fff; background-color: #fff;
} }
.userBox .headHasTOP { .userBox .headHasTOP {
margin-top: 25px; margin-top: 25px;
} }
.userBox .paike{ .userBox .paike {
margin-top: 15px;display: flex;flex-direction: row;align-items: center;justify-content: space-between; margin-top: 15px;
} display: flex;
.componyStatusBox .renzhen{ flex-direction: row;
height: 15px;font-size: 10px;margin-top: 10px;color: #555555;border-radius: 7px;border: 1px solid #999999;display: flex;align-items: center;justify-content: center; padding: 0 10rpx; margin-left: 10rpx; align-items: center;
} justify-content: space-between;
.componyStatusBox .companyName{ }
.componyStatusBox .renzhen {
height: 15px;
font-size: 10px;
margin-top: 10px;
color: #555555;
border-radius: 7px;
border: 1px solid #999999;
display: flex;
align-items: center;
justify-content: center;
padding: 0 10rpx;
margin-left: 10rpx;
}
.componyStatusBox .companyName {
font-size: 26rpx; font-size: 26rpx;
font-weight: 500; font-weight: 500;
color: #888888; color: #888888;
/* background-color: #F6F6F6FF */ /* background-color: #F6F6F6FF */
} }
</style> </style>
\ No newline at end of file
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