Commit 95d22c35 authored by 罗超's avatar 罗超

2

parent 506ac1eb
......@@ -2,7 +2,7 @@
<view class="indexpage">
<navbar class="navbarSticky" bg="#F5F5F5">
<view class="navbarCon">
<view class="pagetitle" @click="jumpPage('/pages/login/login')">
<view class="pagetitle">
首页
</view>
<view class="loginBox">
......@@ -249,7 +249,7 @@
return obj
},
againdata() {
data.pageData = uni.getStorageSync("userInfo");
data.userData = uni.getStorageSync('userInfo');
methods.getIndexData();
methods.getActivityData();
},
......
This diff is collapsed.
......@@ -5,7 +5,9 @@
<!-- <view class="date">
2021年12月30日
</view> -->
<view class="name"> Hello,{{ pageData.StuName||'' }} </view>
<view class="name"> <text v-if="pageData.StuName">Hello,{{ pageData.StuName }}</text><text
v-if="!pageData.StuName&&pageData.StuName!==''"
@click="jumpPage('/pages/login/login')">未登录</text> </view>
</view>
<view class="right">
<image :src="pageData.StuIcon" mode="aspectFill" style="width:100%;height:100%;border-radius: 50%;">
......@@ -15,7 +17,7 @@
<view class="orderInfo flex_between_center">
<view class="orderItem ">
<view class=" flex_between_center" style="width:100%">
<view class="orderNum">{{ pageData.OrderNum }}</view>
<view class="orderNum">{{ pageData.OrderNum||0 }}</view>
<image src="../../static/image/person/order1.png" mode="aspectFill" class="orderIcon"></image>
</view>
<view class="orderName">
......@@ -24,16 +26,16 @@
</view>
<view class="orderItem ">
<view class=" flex_between_center" style="width:100%">
<view class="orderNum">{{ pageData.StudyAbroadNum }}</view>
<view class="orderNum">{{ pageData.StudyAbroadNum||0 }}</view>
<image src="../../static/image/person/order2.png" mode="aspectFill" class="orderIcon"></image>
</view>
<view class="orderName">
留学订单
</view>
</view>
<view class="orderItem " >
<view class="orderItem ">
<view class=" flex_between_center" style="width:100%">
<view class="orderNum">{{ pageData.ContractNum }}</view>
<view class="orderNum">{{ pageData.ContractNum||0 }}</view>
<image src="../../static/image/person/order3.png" mode="aspectFill" class="orderIcon"></image>
</view>
<view class="orderName">
......@@ -71,8 +73,29 @@
</view>
<view class="courseBox">
<view class="left">
<view style="width: 115rpx;
height: 13rpx;
background-color: #9CD4C1;
border-radius: 6rpx;
margin-bottom: 20rpx;
">
</view>
<view style="width: 90rpx;
height: 13rpx;
background-color: #9CD4C1;
border-radius: 6rpx;
margin-bottom: 20rpx;
">
</view>
<view style="width: 60rpx;
height: 13rpx;
background-color: #9CD4C1;
border-radius: 6rpx;
">
</view>
<image :src="pageData.CourseInfo.B2BIcon" mode="aspectFill"
style="width:100%;height:100%;border-radius: 30rpx;"></image>
style="width:115rpx;height:115rpx;border-radius: 6rpx; position: absolute;bottom:10rpx;right: 18rpx;">
</image>
</view>
<view class="right">
<view class="className one_line">{{
......@@ -144,7 +167,7 @@
} = getCurrentInstance();
let data = reactive({
pageData: {
AssistList:[]
AssistList: []
},
});
const methods = {
......@@ -171,7 +194,7 @@
};
},
onShow() {
if(this.$isLogin()){
if (this.$isLogin()) {
this.getData();
}
}
......@@ -316,6 +339,10 @@
background: #d5f3e9;
border-radius: 30rpx;
margin-right: 40rpx;
box-sizing: border-box;
padding-top: 40rpx;
padding-left: 30rpx;
position: relative;
}
.courseBox .right {
......
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