实名制二期
|
|
@ -0,0 +1,234 @@
|
|||
<template>
|
||||
<view class="page">
|
||||
<u-navbar class="u-navbar" title="首页" placeholder @leftClick="leftClick" leftIconColor="#fff" bgColor="#00337A" :titleStyle="{ color: '#FFF', fontSize: '32rpx' }"/>
|
||||
<view class="swipe-area">
|
||||
<swiper class="swiper-box" autoplay interval="3000" indicator-dots="true">
|
||||
<swiper-item v-for="(item, index) in imgList" :key="index">
|
||||
<img :src="item.image" alt="" style="width: 100%; height: 100%" />
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
<uni-notice-bar
|
||||
show-icon
|
||||
scrollable
|
||||
color="#808080"
|
||||
background-color="transparent"
|
||||
:text="msgList.length > 0 ? msgList[0].noticeName : '暂无消息'"
|
||||
@click="handleMsg"
|
||||
/>
|
||||
|
||||
<m-tabbar fixed fill :current="0" :tabbar="tabbar"></m-tabbar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import TabbarConfig from '../util/tabbar.js'
|
||||
// import face from '../../../uni_modules/mcc-face/index'
|
||||
import { getStudentStudyWorkList } from '@/api/eduApp'
|
||||
import config from '@/config'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
userId: uni.getStorageSync('userId'),
|
||||
tabbar: TabbarConfig,
|
||||
|
||||
imgList: [
|
||||
{
|
||||
image: 'https://cdn.uviewui.com/uview/swiper/1.jpg',
|
||||
title: '昨夜星辰昨夜风,画楼西畔桂堂东'
|
||||
},
|
||||
{
|
||||
image: 'https://cdn.uviewui.com/uview/swiper/2.jpg',
|
||||
title: '身无彩凤双飞翼,心有灵犀一点通'
|
||||
},
|
||||
{
|
||||
image: 'https://cdn.uviewui.com/uview/swiper/3.jpg',
|
||||
title: '谁念西风独自凉,萧萧黄叶闭疏窗,沉思往事立残阳'
|
||||
}
|
||||
],
|
||||
msgList: []
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
console.log('🚀 ~ mounted ~ mounted-index:')
|
||||
// this.getMsgList()
|
||||
},
|
||||
methods: {
|
||||
// 获取消息列表
|
||||
async getMsgList() {
|
||||
uni.request({
|
||||
url: config.bmwUrl + '/studentUsers/getNoticeList',
|
||||
method: 'post',
|
||||
data: {},
|
||||
header: {
|
||||
Authorization: uni.getStorageSync('access_token')
|
||||
},
|
||||
success: res => {
|
||||
console.log('🚀 ~ getMsgList ~ res:', res)
|
||||
this.msgList = res.data
|
||||
console.log('🚀 ~ getMsgList ~ this.msgList:', this.msgList)
|
||||
}
|
||||
})
|
||||
},
|
||||
// 点击消息
|
||||
handleMsg() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/realName/my/myMsg'
|
||||
})
|
||||
},
|
||||
|
||||
openFaceScan() {
|
||||
face.open(['a', 'c'], function (e) {
|
||||
face.close()
|
||||
})
|
||||
},
|
||||
|
||||
// 返回
|
||||
leftClick() {
|
||||
console.log('返回')
|
||||
// // 退出登录
|
||||
// uni.removeStorageSync('access_token')
|
||||
// uni.removeStorageSync('userId')
|
||||
// uni.removeStorageSync('userName')
|
||||
// uni.removeStorageSync('className')
|
||||
// uni.removeStorageSync('facePath')
|
||||
uni.reLaunch({
|
||||
url: '/pages/gzt/index'
|
||||
})
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
|
||||
/*uni.showModal({
|
||||
title: '人脸识别',
|
||||
content: '开启人脸识别?',
|
||||
success:(res) => {
|
||||
if(res.confirm) this.openFaceScan()
|
||||
}
|
||||
})*/
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
/* 修改U-Navbar中链接的字体颜色 */
|
||||
/deep/.u-navbar .navbar-nav > li > a {
|
||||
color: #FFF; /* 将颜色改为红色 */
|
||||
}
|
||||
/* 如果你想修改当前激活链接的字体颜色 */
|
||||
/deep/.u-navbar .navbar-nav > li.active > a {
|
||||
color: #FFF; /* 将激活链接的颜色改为绿色 */
|
||||
}
|
||||
.page {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #f8f8f8;
|
||||
box-sizing: border-box;
|
||||
padding: 0 20px;
|
||||
|
||||
.search {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.opt-grids {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 3vh auto;
|
||||
|
||||
view {
|
||||
width: 25%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
//margin-bottom: 2vh;
|
||||
|
||||
image {
|
||||
width: 60%;
|
||||
height: 7vh;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 26rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.swipe-area {
|
||||
width: 100%;
|
||||
height: 20vh;
|
||||
border-radius: 15rpx;
|
||||
overflow: hidden;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
|
||||
.my-task {
|
||||
width: 100%;
|
||||
height: 40vh;
|
||||
background-color: #fff;
|
||||
border-radius: 15rpx;
|
||||
box-shadow: 3px 3px 3px #f4f4f4;
|
||||
box-sizing: border-box;
|
||||
padding: 15rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.task-list {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
|
||||
.list-item {
|
||||
margin: 10px 0;
|
||||
background-color: #f8f8f8;
|
||||
border-radius: 5px;
|
||||
padding: 5px;
|
||||
font-size: 13px;
|
||||
.item-title {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.item-progress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.u-line-progress {
|
||||
width: 80%;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.no-task {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
|
||||
.no-task-img {
|
||||
width: 80%;
|
||||
height: 80%;
|
||||
margin: auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-around;
|
||||
align-items: center;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 90%;
|
||||
}
|
||||
|
||||
span {
|
||||
font-size: 14px;
|
||||
color: #c2c2c2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
<template>
|
||||
<view class="page">
|
||||
<u-navbar title="我的" placeholder @leftClick="leftClick" bgColor="#00337A" :titleStyle="{ color: '#FFF', fontSize: '32rpx' }"/>
|
||||
<m-tabbar fixed fill :current="1" :tabbar="tabbar"></m-tabbar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import TabbarConfig from '../util/tabbar.js'
|
||||
import config from '@/config'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
tabbar: TabbarConfig,
|
||||
// userName: uni.getStorageSync('userName'),
|
||||
// className: uni.getStorageSync('className'),
|
||||
// facePath: config.fileUrl + uni.getStorageSync('facePath'),
|
||||
// token: uni.getStorageSync('access_token')
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.page {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: linear-gradient(#eaf0f7, #f8f8f8);
|
||||
box-sizing: border-box;
|
||||
padding: 15vh 8vw;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,72 @@
|
|||
<template>
|
||||
<view>
|
||||
<div class="msg-list" v-for="(item, index) in msgList" :key="index" @click="handleDetail(item)">
|
||||
<div class="msg-title">{{ item.noticeName }}</div>
|
||||
<div class="msg-time">{{ item.createTime }}</div>
|
||||
</div>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import config from '@/config'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
userId: uni.getStorageSync('userId'),
|
||||
token: uni.getStorageSync('access_token'),
|
||||
// 消息列表
|
||||
msgList: []
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.getMsgList()
|
||||
},
|
||||
methods: {
|
||||
// 获取消息列表
|
||||
async getMsgList() {
|
||||
uni.request({
|
||||
url: config.bmwUrl + '/studentUsers/getNoticeList',
|
||||
method: 'post',
|
||||
data: {},
|
||||
header: {
|
||||
Authorization: this.token
|
||||
},
|
||||
success: res => {
|
||||
console.log('🚀 ~ getMsgList ~ res:', res)
|
||||
this.msgList = res.data
|
||||
console.log('🚀 ~ getMsgList ~ this.msgList:', this.msgList)
|
||||
}
|
||||
})
|
||||
},
|
||||
// 跳转消息详情
|
||||
handleDetail(item) {
|
||||
const params = {
|
||||
noticeName: item.noticeName,
|
||||
noticeContent: item.noticeContent,
|
||||
}
|
||||
uni.navigateTo({
|
||||
url: `/pages/YNEduApp/user/msgDetail?params=${JSON.stringify(params)}`
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.msg-list {
|
||||
margin: 10px;
|
||||
padding: 10px;
|
||||
background: #fff;
|
||||
border-radius: 5px;
|
||||
.msg-title {
|
||||
font-size: 16px;
|
||||
color: #333;
|
||||
}
|
||||
.msg-time {
|
||||
font-size: 14px;
|
||||
color: #999;
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
export default {
|
||||
color: "#161616",
|
||||
selectedColor: "#161616",
|
||||
borderStyle: "black",
|
||||
backgroundColor: "#ffffff",
|
||||
list: [{
|
||||
pagePath: "pages/realName/index/index",
|
||||
iconPath: "/static/realName/home.png",
|
||||
selectedIconPath: "/static/realName/homeSelected.png",
|
||||
text: "首页",
|
||||
//新版本新增,页面被打开方式,默认为reLaunch
|
||||
}, {
|
||||
pagePath: "pages/realName/workbench/index",
|
||||
iconPath: "/static/realName/work.png",
|
||||
selectedIconPath: "/static/realName/workSelected.png",
|
||||
text: "工作台"
|
||||
}, {
|
||||
pagePath: "pages/realName/workAttendance/index",
|
||||
iconPath: "/static/realName/attendance.png",
|
||||
selectedIconPath: "/static/realName/attendanceSelected.png",
|
||||
text: "考勤"
|
||||
}, {
|
||||
pagePath: "pages/realName/my/my",
|
||||
iconPath: "/static/realName/my.png",
|
||||
selectedIconPath: "/static/realName/mySelected.png",
|
||||
text: "我的"
|
||||
}]
|
||||
}
|
||||
|
|
@ -0,0 +1,40 @@
|
|||
<template>
|
||||
<view class="page">
|
||||
<u-navbar title="考勤" placeholder @leftClick="leftClick" bgColor="#00337A" :titleStyle="{ color: '#FFF', fontSize: '32rpx' }"/>
|
||||
<m-tabbar fixed fill :current="1" :tabbar="tabbar"></m-tabbar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import TabbarConfig from '../util/tabbar.js'
|
||||
import config from '@/config'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
tabbar: TabbarConfig,
|
||||
// userName: uni.getStorageSync('userName'),
|
||||
// className: uni.getStorageSync('className'),
|
||||
// facePath: config.fileUrl + uni.getStorageSync('facePath'),
|
||||
// token: uni.getStorageSync('access_token')
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.page {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background: linear-gradient(#eaf0f7, #f8f8f8);
|
||||
box-sizing: border-box;
|
||||
padding: 15vh 8vw;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
<template>
|
||||
<view class="page">
|
||||
<u-navbar title="工作台" placeholder @leftClick="leftClick" bgColor="#00337A" :titleStyle="{ color: '#FFF', fontSize: '32rpx' }"/>
|
||||
<view style="width: 100%;height: 84vh;">
|
||||
<scroll-view scroll-y="true">
|
||||
<view class="view-box">
|
||||
<view class="view-item" @click="goPersonEnter">
|
||||
<view><image class="img1" src="@/static/realName/base_person.png" style="width: 60rpx;height: 60rpx;" alt=""></view>
|
||||
<view style="font-size: 24rpx;">人员信息录入</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<m-tabbar fixed fill :current="3" :tabbar="tabbar"></m-tabbar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import TabbarConfig from '../util/tabbar.js'
|
||||
import config from '@/config'
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
tabbar: TabbarConfig,
|
||||
// userName: uni.getStorageSync('userName'),
|
||||
// className: uni.getStorageSync('className'),
|
||||
// facePath: config.fileUrl + uni.getStorageSync('facePath'),
|
||||
// token: uni.getStorageSync('access_token')
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
goPersonEnter(){
|
||||
uni.navigateTo({
|
||||
url: `/pages/realName/workbench/personEnter/index`
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.page {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background: linear-gradient(#eaf0f7, #f8f8f8);
|
||||
// box-sizing: border-box;
|
||||
// padding: 15vh 8vw;
|
||||
.view-box{
|
||||
width: 100%;height: 84vh;display: flex;flex-wrap: wrap;
|
||||
}
|
||||
.view-item{
|
||||
width: 33%;height: 200rpx;display: flex;flex-direction:column;align-items: center;justify-content: center;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
@ -0,0 +1,105 @@
|
|||
<template>
|
||||
<view class="page">
|
||||
<u-navbar class="u-navbar" title="人员信息录入" placeholder @leftClick="leftClick" leftIconColor="#fff" bgColor="#00337A" :titleStyle="{ color: '#FFF', fontSize: '32rpx' }"/>
|
||||
<view class="btn" @click="addPerson">新增人员信息</view>
|
||||
<view class="btn">修改人员信息</view>
|
||||
<view class="btn">人员识别查找</view>
|
||||
|
||||
<!-- 新增人员表单 -->
|
||||
<u-popup :show="addPopup" mode="center" @close="closeAdd" >
|
||||
<view style="width:600rpx;height: 100%;position: relative;background-color: #fff;">
|
||||
<view class="add-header">
|
||||
<view style="width: 10%;height: 80rpx;"></view>
|
||||
<view style="width: 80%;height: 80rpx;line-height: 80rpx;text-align: center;font-weight: bold;">选择人员类型</view>
|
||||
<u-icon style="width: 10%;" name="close" color="#000" size="24" @click="closeAdd"></u-icon>
|
||||
</view>
|
||||
<view class="add-form">
|
||||
<view class="btn2" @click="tempPeople">临时人员</view>
|
||||
<view class="btn2">固定人员</view>
|
||||
<view class="btn2">分包管理人员</view>
|
||||
</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
|
||||
|
||||
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
addPopup:false,
|
||||
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
console.log('🚀 ~ mounted ~ mounted-index:')
|
||||
},
|
||||
onShow() {
|
||||
},
|
||||
methods: {
|
||||
//新增人员信息
|
||||
addPerson(){
|
||||
this.addPopup=true;
|
||||
},
|
||||
closeAdd() {
|
||||
this.addPopup = false
|
||||
},
|
||||
tempPeople(){
|
||||
this.addPopup = false;
|
||||
uni.navigateTo({
|
||||
url: `/pages/realName/workbench/personEnter/tempPeople`
|
||||
})
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
// 返回
|
||||
leftClick() {
|
||||
console.log('返回')
|
||||
uni.navigateBack({
|
||||
delta: 1 // 返回
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.page {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #f8f8f8;
|
||||
box-sizing: border-box;
|
||||
padding: 0 20px;
|
||||
.btn{
|
||||
margin-top: 20rpx;
|
||||
padding: 20rpx;
|
||||
}
|
||||
.btn2{
|
||||
color: #999;
|
||||
margin-top: 20rpx;
|
||||
margin-left: 20rpx;
|
||||
padding: 20rpx;
|
||||
}
|
||||
.add-header{
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
margin: 0 auto;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
background-color: #fff;
|
||||
}
|
||||
.add-form{
|
||||
width: 100%;
|
||||
height: 20vh;
|
||||
background-color: #fff;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,143 @@
|
|||
<template>
|
||||
<view class="page">
|
||||
<u-navbar class="u-navbar" title="新增临时人员" placeholder @leftClick="leftClick" leftIconColor="#fff" bgColor="#00337A" :titleStyle="{ color: '#FFF', fontSize: '32rpx' }"/>
|
||||
<view class="header">
|
||||
<view class="header-item" :class="hIndex == 1 ? 'active' : ''" @click="hIndex = 1">
|
||||
身份证
|
||||
<view class="activeLine" v-if="hIndex == 1"></view>
|
||||
</view>
|
||||
<view class="header-item" :class="hIndex == 2 ? 'active' : ''" @click="hIndex = 2">
|
||||
关键信息
|
||||
<view class="activeLine" v-if="hIndex == 2"></view>
|
||||
</view>
|
||||
<view class="header-item" :class="hIndex == 3 ? 'active' : ''" @click="hIndex = 3">
|
||||
安全培训
|
||||
<view class="activeLine" v-if="hIndex == 3"></view>
|
||||
</view>
|
||||
<view class="header-item" :class="hIndex == 4 ? 'active' : ''" @click="hIndex = 4">
|
||||
其他
|
||||
<view class="activeLine" v-if="hIndex == 4"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content">
|
||||
<view v-show="hIndex == 1">
|
||||
<u--form class="idForm" :model="idForm" :rules="rules" ref="vForm" :errorType="errorType">
|
||||
<view class="visitor-input-box mb-40">
|
||||
<text>身份证号</text><text style="color: red;">*</text>
|
||||
<u-form-item prop='idCard' style="width:100%;height: 100%;" >
|
||||
<u--input
|
||||
v-model="visitorInfo.idCard"
|
||||
type="text" placeholder="请输入"
|
||||
maxlength="18" border="surround"
|
||||
clearable></u--input>
|
||||
</u-form-item>
|
||||
</view>
|
||||
<view class="visitor-input-box mb-40">
|
||||
<text>姓名</text><text style="color: red;">*</text>
|
||||
<u-form-item prop='userName' style="width:100%;height: 100%;" >
|
||||
<u--input
|
||||
v-model="visitorInfo.userName"
|
||||
type="text" placeholder="请输入"
|
||||
maxlength="15" border="surround"
|
||||
clearable></u--input>
|
||||
</u-form-item>
|
||||
</view>
|
||||
<view class="visitor-input-box mb-40">
|
||||
<text>手机号</text><text style="color: red;">*</text>
|
||||
<u-form-item prop='phone' style="width:100%;height: 100%;" >
|
||||
<u--input
|
||||
v-model="visitorInfo.phone"
|
||||
type="number" placeholder="请输入"
|
||||
maxlength="11" border="surround"
|
||||
clearable></u--input>
|
||||
</u-form-item>
|
||||
</view>
|
||||
|
||||
|
||||
<!-- <view class="submit-box">
|
||||
<u-button type="primary" shape="circle" class="submit-btn" @click="formSubmit"
|
||||
style="background: linear-gradient( 90deg, #5193FE 0%, #00EEF0 100%);"
|
||||
>确 定</u-button>
|
||||
<u-button shape="circle" class="submit-btn" @click="back">取 消</u-button>
|
||||
</view> -->
|
||||
</u--form>
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
hIndex:1,
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
console.log('🚀 ~ mounted ~ mounted-index:')
|
||||
},
|
||||
onShow() {
|
||||
},
|
||||
methods: {
|
||||
|
||||
|
||||
|
||||
|
||||
// 返回
|
||||
leftClick() {
|
||||
console.log('返回')
|
||||
uni.navigateBack({
|
||||
delta: 1 // 返回
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.page {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #f8f8f8;
|
||||
box-sizing: border-box;
|
||||
.header{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: flex;
|
||||
|
||||
.header-item{
|
||||
padding: 0 20rpx;
|
||||
height: 100rpx;
|
||||
color: #666;
|
||||
line-height: 100rpx;
|
||||
// display: flex;
|
||||
// justify-content: center;
|
||||
// align-items: center;
|
||||
|
||||
.activeLine{
|
||||
background: #00337A;
|
||||
border-radius: 10upx;
|
||||
width: 100%;
|
||||
height: 6upx;
|
||||
}
|
||||
}
|
||||
.active {
|
||||
// background: #fff;
|
||||
color: #333;
|
||||
font-weight: bolder;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 970 B |
|
After Width: | Height: | Size: 725 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 819 B |
|
After Width: | Height: | Size: 406 B |
|
After Width: | Height: | Size: 271 B |