Commit 985f4c6b authored by 罗超's avatar 罗超

1

parent d5d61012
......@@ -12,8 +12,8 @@
/>
</view>
<view class="top-right flex_grow">
<view class="course-name"> {{ CourseName }} </view>
<view class="section-name"> {{ data.length }}个合同 </view>
<view class="course-name one_line"> {{ CourseName }} </view>
<view class="section-name one_line"> {{ data.length }}个合同 </view>
</view>
</view>
<van-empty description="暂无数据" v-if="data.length === 0" />
......@@ -125,6 +125,7 @@ export default {
height: 100%;
}
.course-name {
box-sizing: border-box;
font-size: 30rpx;
font-family: PingFang SC;
font-weight: bold;
......
......@@ -204,9 +204,9 @@ export default {
checkboxList: [],
checkboxListAll: [],
fileList: [
{
url: "https://img.yzcdn.cn/vant/leaf.jpg",
},
// {
// url: "https://img.yzcdn.cn/vant/leaf.jpg",
// },
],
totalLeaveTimes: 0,
leaveMsg: {
......
......@@ -11,8 +11,8 @@
/>
</view>
<view class="top-right flex_grow">
<view class="course-name"> {{ CourseName }} </view>
<view class="section-name"> {{ data.length }}个章节 </view>
<view class="course-name one_line"> {{ CourseName }} </view>
<view class="section-name one_line"> {{ data.length }}个章节 </view>
</view>
</view>
<van-empty description="暂无课程" v-if="data.length === 0" />
......@@ -136,6 +136,7 @@ export default {
height: 100%;
}
.course-name {
box-sizing: border-box;
font-size: 30rpx;
font-family: PingFang SC;
font-weight: bold;
......@@ -184,8 +185,9 @@ export default {
background-color: #f7f8fc;
border-radius: 6rpx;
margin-top: 20rpx;
/* margin-left: 46rpx; */
padding-left: 30rpx;
padding-right: 30rpx;
box-sizing: border-box;
font-size: 24rpx;
font-family: PingFang SC;
font-weight: 500;
......
<template>
<view>
<view class="page-box">
<van-nav-bar :border="fasle" fixed :z-index="99">
<view slot="left" class="page-title" title="shouye">首页</view>
</van-nav-bar>
......@@ -97,12 +97,11 @@
</view>
</van-cell>
</van-cell-group>
<view class="mytest flex">
<view v-if="indexData.paperList.length == 0"
><van-empty description="暂无数据"
/></view>
<view class="mytest flex" v-if="indexData.paperList.length > 0">
<view
v-if="indexData.paperList.length > 0"
v-for="(item, index) in indexData.paperList"
:key="index"
class="test-item no_shrink"
......@@ -287,9 +286,6 @@ export default {
title: "首页",
});
},
onShow() {
// console.log("index Show");
},
};
</script>
......@@ -297,7 +293,6 @@ export default {
.con {
box-sizing: border-box;
padding: 100rpx 30rpx 50rpx;
/* padding-top: calc(140rpx + env(safe-area-inset-top)); */
}
.page-title {
font-size: 44rpx;
......
......@@ -36,7 +36,7 @@
</van-cell-group>
</view>
<van-button block custom-class="loginBtn" @click="login">登录</van-button>
<view class="auth" @click="authLogin"> 授权手机号一键登录 </view>
<!-- <view class="auth" @click="authLogin"> 授权手机号一键登录 </view> -->
<van-toast id="van-toast" />
</view>
</template>
......@@ -130,9 +130,9 @@ export default {
res.Data.Account = msg.Account;
// uni.clearStorage();
try {
uni.setStorageSync('userInfo', res.Data);
uni.setStorageSync("userInfo", res.Data);
} catch (e) {
console.log(e,'eeeee');
console.log(e, "eeeee");
}
Toast.success("登录成功");
setTimeout(() => {
......
......@@ -11,8 +11,8 @@
/>
</view>
<view class="top-right flex_grow">
<view class="course-name"> {{ CourseName }} </view>
<view class="section-name"> {{ data.length }}个章节 </view>
<view class="course-name one_line"> {{ CourseName }} </view>
<view class="section-name one_line"> {{ data.length }}个章节 </view>
</view>
</view>
<van-empty description="暂无数据" v-if="data.length === 0" />
......@@ -39,7 +39,7 @@
<view
v-for="(_item, _index) in item.ChapterTreeInfo.ChildList"
:key="_index"
class="course-list"
class="course-list one_line"
>
{{ _item.ChapterName }}
</view>
......@@ -69,20 +69,7 @@ export default {
msg: {
ClassId: 0,
},
data: [
{
name: "第一次课",
coursetime: "4课时",
children: [
{
name: "4.1 第一课活动篇****你好",
},
{
name: "4.2 第一课理解篇****平假名",
},
],
},
],
data: [],
CourseName: "",
});
let methods = {
......@@ -147,6 +134,7 @@ export default {
height: 100%;
}
.course-name {
box-sizing: border-box;
font-size: 30rpx;
font-family: PingFang SC;
font-weight: bold;
......@@ -195,8 +183,9 @@ export default {
background-color: #f7f8fc;
border-radius: 6rpx;
margin-top: 20rpx;
/* margin-left: 46rpx; */
padding-left: 30rpx;
padding-right: 30rpx;
box-sizing: border-box;
font-size: 24rpx;
font-family: PingFang SC;
font-weight: 500;
......
......@@ -11,8 +11,8 @@
/>
</view>
<view class="top-right flex_grow">
<view class="course-name"> {{ CourseName }} </view>
<view class="section-name"> {{ SurplusHours }}课时 </view>
<view class="course-name one_line"> {{ CourseName }} </view>
<view class="section-name one_line"> {{ SurplusHours }}课时 </view>
</view>
</view>
<van-empty description="暂无数据" v-if="data.length === 0" />
......@@ -153,6 +153,7 @@ export default {
height: 100%;
}
.course-name {
box-sizing: border-box;
font-size: 30rpx;
font-family: PingFang SC;
font-weight: bold;
......@@ -190,6 +191,8 @@ export default {
border-radius: 6rpx;
margin-top: 20rpx;
padding-left: 30rpx;
padding-right: 30rpx;
box-sizing: border-box;
font-size: 22rpx;
font-family: PingFang SC;
font-weight: 500;
......
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