This commit is contained in:
2025-06-19 14:44:00 +08:00
commit 342c482c6c
341 changed files with 41411 additions and 0 deletions

306
pages/sys/msg/details.vue Normal file
View File

@@ -0,0 +1,306 @@
<template>
<view class="wrap" style="padding-bottom: 60px;">
<view class="header">
<view class="userinfo" @click="navTo('info')">
<view class="image">
<!-- <image :src="avatarUrl"></image> -->
<u-avatar size="80" :src="avatarUrl"></u-avatar>
</view>
<view class="info" style="flex:1;display: flex;justify-content: space-between;">
<view>
<view class="username">请假</view>
<view class="usercode">王天翔</view>
</view>
<u-tag text="待审核" shape="circle" type="warning" style="height: 55rpx;" />
</view>
</view>
</view>
<u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
<!-- 当前套餐 -->
<view v-if="current === 0">
<u-gap height="20" bg-color="#f5f5f5"></u-gap>
<u-cell-group class="datails-examine">
<u-cell-item title="申请编号" label="211110" :arrow="false" :border-bottom="false"></u-cell-item>
<u-cell-item title="所属部门" label="人事部" :arrow="false" :border-bottom="false"></u-cell-item>
<u-cell-item title="请假类型" label="事假" :arrow="false" :border-bottom="false"></u-cell-item>
<u-cell-item title="开始时间" label="2021年10月25日09:00" :arrow="false" :border-bottom="false"></u-cell-item>
<u-cell-item title="结束时间" label="2021年10月25日18:00" :arrow="false" :border-bottom="false"></u-cell-item>
<u-cell-item title="时长" label="8h" :arrow="false" :border-bottom="false"></u-cell-item>
<u-cell-item title="请假事由" label="感冒了,请假一天,望领导批准!" :arrow="false" :border-bottom="false"></u-cell-item>
</u-cell-group>
<u-gap height="20" bg-color="#f5f5f5"></u-gap>
<u-time-line>
<u-time-line-item nodeTop="2">
<!-- 此处自定义了左边内容用一个图标替代 -->
<template v-slot:node>
<image class="user-images" src="/static/aidex/images/user06.png"></image>
</template>
<template v-slot:content>
<view style="justify-content: space-between;display: flex;">
<view class="u-order-title">发起人</view>
<view class="u-order-time">05-08 12:12</view>
</view>
</template>
</u-time-line-item>
<u-time-line-item nodeTop="2">
<!-- 此处自定义了左边内容用一个图标替代 -->
<template v-slot:node>
<image class="user-images" src="/static/aidex/images/user06.png"></image>
</template>
<template v-slot:content>
<view style="justify-content: space-between;display: flex;">
<view class="u-order-title">部门领导</view>
<view class="u-order-time">05-08 12:12</view>
</view>
<view class="u-order-desc">同意</view>
</template>
</u-time-line-item>
<u-time-line-item nodeTop="2">
<!-- 此处自定义了左边内容用一个图标替代 -->
<template v-slot:node>
<image class="user-images" src="/static/aidex/images/user06.png"></image>
</template>
<template v-slot:content>
<view style="justify-content: space-between;display: flex;">
<view class="u-order-title">公司领导</view>
<view class="u-order-time">05-08 12:12</view>
</view>
<view class="u-order-desc">同意</view>
</template>
</u-time-line-item>
</u-time-line>
<u-row gutter="32" class="bottom-box" justify="center">
<u-col span="5">
<view><u-button :plain="true" type="primary" shape="circle" @click="navTo('/pages/sys/home/index')">拒绝</u-button></view>
</u-col>
<u-col span="5">
<view><u-button type="primary" shape="circle" @click="navTo('/pages/sys/home/index')">确定</u-button></view>
</u-col>
</u-row>
</view>
<view v-if="current === 1">
<view class="search">
<u-search v-model="keywords" @custom="search" @search="search"></u-search>
</view>
<u-card class="task-list-item" :border="false" padding="20" margin="20rpx">
<view slot="head" style="display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;font-size: 30rpx;"><image class="user-images" src="/static/aidex/images/user06.png"></image>李毅的请假申请</view><view style="color: #999999;font-size: 22rpx;">2021年10月24日</view>
</view>
<view class="" slot="body">
<u-row gutter="16">
<u-col span="12">
<view class="apply-text"><span>假期类型</span>年假</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>开始时间</span>2021年10月25日14:30</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>结束时间</span>2021年10月27日14:30</view>
</u-col>
</u-row>
</view>
<view class="apply-list-foot" slot="foot" style="text-align: right;color: #58ca93;">
审批通过
</view>
</u-card>
<u-card class="task-list-item" :border="false" padding="20" margin="20rpx">
<view slot="head" style="display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;font-size: 30rpx;"><image class="user-images" src="/static/aidex/images/user06.png"></image>李毅的请假申请</view><view style="color: #999999;font-size: 22rpx;">2021年10月24日</view>
</view>
<view class="" slot="body">
<u-row gutter="16">
<u-col span="12">
<view class="apply-text"><span>假期类型</span>年假</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>开始时间</span>2021年10月25日14:30</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>结束时间</span>2021年10月27日14:30</view>
</u-col>
</u-row>
</view>
<view class="apply-list-foot" slot="foot" style="text-align: right;color: #58ca93;">
审批通过
</view>
</u-card>
<u-card class="task-list-item" :border="false" padding="20" margin="20rpx">
<view slot="head" style="display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;font-size: 30rpx;"><image class="user-images" src="/static/aidex/images/user06.png"></image>李毅的请假申请</view><view style="color: #999999;font-size: 22rpx;">2021年10月24日</view>
</view>
<view class="" slot="body">
<u-row gutter="16">
<u-col span="12">
<view class="apply-text"><span>假期类型</span>年假</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>开始时间</span>2021年10月25日14:30</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>结束时间</span>2021年10月27日14:30</view>
</u-col>
</u-row>
</view>
<view class="apply-list-foot" slot="foot" style="text-align: right;color: #f28c03;">
待审核
</view>
</u-card>
</view>
</view>
</template>
<script>
export default {
data() {
return {
show: false,
list: [{
name: '申请详情'
}, {
name: '查看数据',
}],
m2mSimflowList:[],
m2mOrderFlowList:[],
current: 0,
status: 'loadmore',
iconType: 'circle',
isDot: false,
loadText: {
loadmore: '点击加载更多',
loading: '正在加载...',
nomore: '没有更多了'
},
}
},
created(){
},
methods: {
change(index) {
this.current = index;
},
navTo(url) {
uni.navigateTo({
url: url
});
}
}
}
</script>
<style lang="scss" scoped>
page {
background-color: #f5f5f5;
}
.wrap .search{
background: #ffffff;
}
.apply-text{
font-size: 28rpx;
color: #333333;
span{
color: #999999;
}
}
.user-images{
width: 28px;
height:28px;
margin-right: 8px;
}
.apply-list-foot{
font-size: 28rpx;
}
.personnel-list{
display: flex;
align-items: center;
flex-wrap:wrap;
.personnel-user{
position: relative;
margin: 5px 9px 0;
}
.user-images{
width: 32px;
height:32px;
margin-right:0;
}
.iconfont{
position: absolute;
top:-12px;
right:-5px;
color: #FE0100;
}
}
.header {
background-color: #ffffff;
.userinfo {
display: flex;
padding: 20rpx 20rpx 10rpx;
.image {
flex-shrink: 0;
width: 80rpx;
height: 80rpx;
image {
border-radius: 100%;
width: 100%;
height: 100%;
}
}
.info {
display: flex;
flex-flow: wrap;
padding-left: 30rpx;
color: #333333;
.username {
width: 100%;
font-size: 32rpx;
}
.usercode {
padding: 0;
font-size: 24rpx;
color: #999999;
}
}
}
.logout {
flex-shrink: 0;
position: absolute;
right: 70rpx;
top: 65rpx;
.u-btn {
font-size: 30rpx;
}
}
}
.u-node {
width: 44rpx;
height: 44rpx;
border-radius: 100rpx;
display: flex;
justify-content: center;
align-items: center;
background: #d0d0d0;
}
.u-order-title {
color: #333333;
font-weight: bold;
font-size: 30rpx;
}
.u-order-desc {
color: rgb(150, 150, 150);
font-size: 28rpx;
margin-bottom: 6rpx;
}
.u-order-time {
color: rgb(200, 200, 200);
font-size: 26rpx;
}
</style>

View File

@@ -0,0 +1,330 @@
<template>
<view class="wrap">
<view class="search">
<u-search v-model="keywords" @custom="search" @search="search"></u-search>
</view>
<u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
<view v-if="current === 0">
<scroll-view class="scroll-list msg-list-item" scroll-y="true">
<view class="msg-time">11:05</view>
<u-card class="task-list-item" :border="false" padding="20" margin="10rpx 20rpx" @click="navTo('/pages/sys/msg/details')">
<view slot="head" style="display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;font-size: 30rpx;"><image class="user-images" src="/static/aidex/images/user06.png"></image>李毅的请假申请</view><view style="color: #999999;font-size: 22rpx;">2021年10月24日</view>
</view>
<view class="" slot="body">
<u-row gutter="16">
<u-col span="12">
<view class="apply-text"><span>假期类型</span>年假</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>开始时间</span>2021年10月25日14:30</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>结束时间</span>2021年10月27日14:30</view>
</u-col>
</u-row>
</view>
<view class="apply-list-foot" slot="foot">
<u-row gutter="16">
<u-col span="6" text-align="center">
<view class="agree-text">同意</view>
</u-col>
<u-col span="6" text-align="center">
<view class="refuse-text">拒绝</view>
</u-col>
</u-row>
</view>
</u-card>
<view class="msg-time">11月10日 15:32</view>
<u-card class="task-list-item" :border="false" padding="20" margin="10rpx 20rpx">
<view slot="head" style="display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;font-size: 30rpx;"><image class="user-images" src="/static/aidex/images/user06.png"></image>李毅的请假申请</view><view style="color: #999999;font-size: 22rpx;">2021年10月24日</view>
</view>
<view class="" slot="body">
<u-row gutter="16">
<u-col span="12">
<view class="apply-text"><span>假期类型</span>年假</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>开始时间</span>2021年10月25日14:30</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>结束时间</span>2021年10月27日14:30</view>
</u-col>
</u-row>
</view>
<view class="apply-list-foot" slot="foot">
<u-row gutter="16">
<u-col span="6" text-align="center">
<view class="agree-text">同意</view>
</u-col>
<u-col span="6" text-align="center">
<view class="refuse-text">拒绝</view>
</u-col>
</u-row>
</view>
</u-card>
<view class="msg-time">11月08日 10:05</view>
<u-card class="task-list-item" :border="false" padding="20" margin="10rpx 20rpx">
<view slot="head" style="display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;font-size: 30rpx;"><image class="user-images" src="/static/aidex/images/user06.png"></image>李毅的请假申请</view><view style="color: #999999;font-size: 22rpx;">2021年10月24日</view>
</view>
<view class="" slot="body">
<u-row gutter="16">
<u-col span="12">
<view class="apply-text"><span>假期类型</span>年假</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>开始时间</span>2021年10月25日14:30</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>结束时间</span>2021年10月27日14:30</view>
</u-col>
</u-row>
</view>
<view class="apply-list-foot" slot="foot">
<u-row gutter="16">
<u-col span="6" text-align="center">
<view class="agree-text">同意</view>
</u-col>
<u-col span="6" text-align="center">
<view class="refuse-text">拒绝</view>
</u-col>
</u-row>
</view>
</u-card>
<u-divider>已经到底了</u-divider>
</scroll-view>
</view>
<view v-if="current === 1">
<scroll-view class="scroll-list msg-list-item" scroll-y="true">
<u-card class="task-list-item" :border="false" padding="20" margin="20rpx">
<view slot="head" style="display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;font-size: 30rpx;"><image class="user-images" src="/static/aidex/images/user06.png"></image>李毅的请假申请</view><view style="color: #999999;font-size: 22rpx;">2021年10月24日</view>
</view>
<view class="" slot="body">
<u-row gutter="16">
<u-col span="12">
<view class="apply-text"><span>假期类型</span>年假</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>开始时间</span>2021年10月25日14:30</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>结束时间</span>2021年10月27日14:30</view>
</u-col>
</u-row>
</view>
<view class="apply-list-foot" slot="foot" style="text-align: right;color: #58ca93;">
审批通过
</view>
</u-card>
<u-card class="task-list-item" :border="false" padding="20" margin="20rpx">
<view slot="head" style="display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;font-size: 30rpx;"><image class="user-images" src="/static/aidex/images/user06.png"></image>李毅的请假申请</view><view style="color: #999999;font-size: 22rpx;">2021年10月24日</view>
</view>
<view class="" slot="body">
<u-row gutter="16">
<u-col span="12">
<view class="apply-text"><span>假期类型</span>年假</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>开始时间</span>2021年10月25日14:30</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>结束时间</span>2021年10月27日14:30</view>
</u-col>
</u-row>
</view>
<view class="apply-list-foot" slot="foot" style="text-align: right;color: #58ca93;">
审批通过
</view>
</u-card>
<u-card class="task-list-item" :border="false" padding="20" margin="20rpx">
<view slot="head" style="display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;font-size: 30rpx;"><image class="user-images" src="/static/aidex/images/user06.png"></image>李毅的请假申请</view><view style="color: #999999;font-size: 22rpx;">2021年10月24日</view>
</view>
<view class="" slot="body">
<u-row gutter="16">
<u-col span="12">
<view class="apply-text"><span>假期类型</span>年假</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>开始时间</span>2021年10月25日14:30</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>结束时间</span>2021年10月27日14:30</view>
</u-col>
</u-row>
</view>
<view class="apply-list-foot" slot="foot" style="text-align: right;color: #58ca93;">
审批通过
</view>
</u-card>
<u-divider>已经到底了</u-divider>
</scroll-view>
</view>
<view v-if="current === 2">
<scroll-view class="scroll-list msg-list-item" scroll-y="true">
<u-card class="task-list-item" :border="false" padding="20" margin="20rpx">
<view slot="head" style="display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;font-size: 30rpx;"><image class="user-images" src="/static/aidex/images/user06.png"></image>李毅的请假申请</view><view style="color: #999999;font-size: 22rpx;">2021年10月24日</view>
</view>
<view class="" slot="body">
<u-row gutter="16">
<u-col span="12">
<view class="apply-text"><span>假期类型</span>年假</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>开始时间</span>2021年10月25日14:30</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>结束时间</span>2021年10月27日14:30</view>
</u-col>
</u-row>
</view>
<view class="apply-list-foot" slot="foot" style="text-align: right;color: #58ca93;">
审批通过
</view>
</u-card>
<u-card class="task-list-item" :border="false" padding="20" margin="20rpx">
<view slot="head" style="display: flex;align-items: center;justify-content: space-between;">
<view style="display: flex;align-items: center;font-size: 30rpx;"><image class="user-images" src="/static/aidex/images/user06.png"></image>李毅的请假申请</view><view style="color: #999999;font-size: 22rpx;">2021年10月24日</view>
</view>
<view class="" slot="body">
<u-row gutter="16">
<u-col span="12">
<view class="apply-text"><span>假期类型</span>年假</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>开始时间</span>2021年10月25日14:30</view>
</u-col>
<u-col span="12">
<view class="apply-text"><span>结束时间</span>2021年10月27日14:30</view>
</u-col>
</u-row>
</view>
<view class="apply-list-foot" slot="foot" style="text-align: right;color: #58ca93;">
审批通过
</view>
</u-card>
<u-divider>已经到底了</u-divider>
</scroll-view>
</view>
</view>
</template>
<script>
/**
* Copyright (c) 2013-Now http://aidex.vip All rights reserved.
*/
export default {
data() {
return {
keywords: '',
list: [{
name: '待办'
}, {
name: '已办',
}, {
name: '已发送',
}],
m2mSimflowList:[],
m2mOrderFlowList:[],
current: 0,
status: 'loadmore',
iconType: 'circle',
isDot: false,
loadText: {
loadmore: '点击加载更多',
loading: '正在加载...',
nomore: '没有更多了'
},
};
},
onLoad() {
},
methods: {
change(index) {
this.current = index;
},
navTo(url) {
uni.navigateTo({
url: url
});
},
search(value) {
this.$u.toast('搜索内容为:' + value)
}
}
};
</script>
<style lang="scss">
@import '../../../common/uni.css';
page {
background-color: #f5f5f5;
}
.wrap .search{
background: #ffffff;
}
.u-dropdown {
background: #ffffff;
}
.msg-time{
font-size: 26rpx;
padding: 5px 0;
color: #999999;
text-align: center;
}
.u-card__foot{
.u-icon{
margin-right: 10px;
}
}
.apply-text{
font-size: 28rpx;
color: #333333;
span{
color: #999999;
}
}
.user-images{
width: 28px;
height:28px;
margin-right: 8px;
}
.apply-list-foot{
font-size: 28rpx;
justify-content: space-around;
}
.personnel-list{
display: flex;
align-items: center;
flex-wrap:wrap;
.personnel-user{
position: relative;
margin: 5px 9px 0;
}
.user-images{
width: 32px;
height:32px;
margin-right:0;
}
.iconfont{
position: absolute;
top:-12px;
right:-5px;
color: #FE0100;
}
}
.agree-text{
color: #4094ff;
}
.refuse-text{
color: #ff4400;
}
</style>

98
pages/sys/msg/form.vue Normal file
View File

@@ -0,0 +1,98 @@
<template>
<view class="wrap">
<view class="article-title">AiDex Sharp快速开发平台</view>
<view class="article-meta">
系统管理员 发起于 2021-4-20 12:30</text>
</view>
<view class="article-content">
<p>
AiDex Sharp快速开发平台基于若依-ruoyi-vue项目扩展前端采用Ant-Design-VUE代码易读易懂界面简洁美观不仅仅是一个后台开发框架它是一个企业级快速开发解决方案我们将把UI交互快速开发能力追求到极致适配国产数据库国产中间件将支持多租户flowable工作流移动APP更多插件正在扩展中
</p>
<div class="banner-pic">
<image src="../../../static/aidex/images/new-pic.png"></image>
</div>
<p>
aidex 快速开发平台的主要目的是能够让初级的研发人员快速的开发出复杂的业务功能经典架构会的人多让开发者注重专注业务其余有平台来封装技术细节降低技术难度从而节省人力成本缩短项目周期提高软件安全质量
</p>
<p>
aidex 2013 年发布以来已被广大爱好者用到了企业政府医疗金融互联网等各个领域中aidex 架构精良易于扩展大众思维的设计模式工匠精神打磨每一个细节深入开发者的内心并荣获开源中国最受欢迎中国开源软件奖杯期间也帮助了不少刚毕业的大学生教师作为入门教材快速的去实践
</p>
<p>
aidex 的升级作者结合了多年总结和经验以及各方面的应用案例对架构完成了一次全部重构也纳入很多新的思想不管是从开发者模式底层架构逻辑处理还是到用户界面用户交互体验上都有很大的进步在不忘学习成本提高开发效率的情况下安全方面也做和很多工作包括身份认证密码策略安全审计日志收集等众多安全选项供你选择努力为大中小微企业打造全方位企业级快速开发解决方案
</p>`
</view>
<view class="article-foot"><u-icon name="eye" size="34" color="" label="30"></u-icon> <u-icon name="thumb-up" size="34" color="" label="15"></u-icon></view>
</view>
</template>
<script>
/**
* Copyright (c) 2013-Now http://aidex.vip All rights reserved.
*/
export default {
data() {
return {
};
},
onLoad() {
},
methods: {
navTo(url) {
uni.navigateTo({
url: url
});
}
}
};
</script>
<style lang="scss">
page {
background-color: #ffffff;
}
.article-title {
font-size: 40rpx;
font-weight: 400;
text-align: left;
padding-bottom: 10rpx;
font-weight: bold;
margin: 30rpx 30rpx 0;
color: #333333;
}
.article-meta {
padding: 10rpx 30rpx 30rpx;
color: #999999;
border-bottom: 1px solid #ededed;
}
.article-content {
padding: 30rpx 30rpx 0rpx;
overflow: hidden;
font-size: 30rpx;
line-height: 50rpx;
/deep/ p {
margin-bottom: 20rpx;
text-indent: 60rpx;
}
.banner-pic{
margin: 10px auto;
text-align: center;
uni-image{
width: 300px;
height: 160px;
box-shadow:0 3px 10px rgba(0,0,0,0.15);
}
}
}
.article-foot{
padding:0 30rpx 20rpx;
font-size: 26rpx;
color: #999999;
.u-icon{
margin-right: 10px;
}
}
</style>

151
pages/sys/msg/index.vue Normal file
View File

@@ -0,0 +1,151 @@
<template>
<view class="wrap">
<view class="search">
<u-search v-model="keywords" @custom="search" @search="search"></u-search>
</view>
<scroll-view class="scroll-list" scroll-y="true">
<view class="uni-list">
<uni-view class="uni-list-cell">
<view class="uni-media-list" @click="navTo('/pages/sys/msg/list-item')">
<view class="home-icon icon-color03">
<i class="iconfont icon-tongzhi1"><u-badge type="error" count="2"></u-badge></i>
</view>
<uni-view class="uni-media-list-body">
<uni-view class="uni-media-list-text-top"><span>通知公告</span><span style="font-size: 26rpx;color: #999999;">12:35</span></uni-view>
<uni-view class="uni-media-list-text-bottom">
<uni-text><span>关于元旦放假的通知</span></uni-text>
</uni-view>
</uni-view>
</view>
</uni-view>
<view class="uni-list-cell" @click="navTo('/pages/sys/msg/list-item')">
<uni-view class="uni-media-list">
<view class="home-icon icon-color04">
<i class="iconfont icon-xinwen"><u-badge type="error" count="1"></u-badge></i>
</view>
<uni-view class="uni-media-list-body">
<uni-view class="uni-media-list-text-top"><span>新闻动态</span><span style="font-size: 26rpx;color: #999999;">09:07</span></uni-view>
<uni-view class="uni-media-list-text-bottom">
<uni-text><span>神十三航天员圆满完成出舱任务</span></uni-text>
</uni-view>
</uni-view>
</uni-view>
</view>
<view class="uni-list-cell" @click="navTo('/pages/sys/msg/examine-item')">
<uni-view class="uni-media-list">
<view class="home-icon icon-color06">
<i class="iconfont icon-msg-system"></i>
</view>
<uni-view class="uni-media-list-body">
<uni-view class="uni-media-list-text-top"><span>日常办公</span><span style="font-size: 26rpx;color: #999999;">11月07日</span></uni-view>
<uni-view class="uni-media-list-text-bottom">
<uni-text><span>王梓涵提交的请假申请待你审批</span></uni-text>
</uni-view>
</uni-view>
</uni-view>
</view>
<view class="uni-list-cell" @click="navTo('/pages/sys/msg/list-item')">
<uni-view class="uni-media-list">
<view class="home-icon icon-color12">
<i class="iconfont icon-baoxiao"></i>
</view>
<uni-view class="uni-media-list-body">
<uni-view class="uni-media-list-text-top"><span>网上报销</span><span style="font-size: 26rpx;color: #999999;">11月06日</span></uni-view>
<uni-view class="uni-media-list-text-bottom">
<uni-text><span>吴天祥提交的差旅费报销待你审批</span></uni-text>
</uni-view>
</uni-view>
</uni-view>
</view>
<view class="uni-list-cell" @click="navTo('/pages/sys/msg/list-item')">
<uni-view class="uni-media-list">
<view class="home-icon icon-color04">
<i class="iconfont icon-tongzhi"></i>
</view>
<uni-view class="uni-media-list-body">
<uni-view class="uni-media-list-text-top"><span>我的邮件</span><span style="font-size: 26rpx;color: #999999;">11月06日</span></uni-view>
<uni-view class="uni-media-list-text-bottom">
<uni-text><span>邮件提醒邮件提醒15封新邮件未读</span></uni-text>
</uni-view>
</uni-view>
</uni-view>
</view>
</view>
</scroll-view>
</view>
</template>
<script>
/**
* Copyright (c) 2013-Now http://aidex.vip All rights reserved.
*/
export default {
data() {
return {
keywords: '',
};
},
onLoad() {
},
methods: {
navTo(url) {
uni.navigateTo({
url: url
});
},
search(value) {
this.$u.toast('搜索内容为:' + value)
}
}
};
</script>
<style lang="scss">
@import '../../../common/uni.css';
page {
background-color: #f5f5f5;
}
.wrap .search{
background: #ffffff;
}
.uni-title{
font-size: 30rpx;
color: #333333;
padding: 10px;
background: #fff;
border-top:1px solid #ededed;
margin-top: 20rpx;
}
.uni-media-list {
padding: 15px 15px;
}
.uni-media-list-body {
height: 42px;
padding-left:20rpx;
}
.uni-media-list-text-top{
height: 40rpx;
overflow: hidden;
width: 100%;
line-height: 40rpx;
font-size: 32rpx;
display: flex;
justify-content: space-between;
}
.uni-media-list-text-bottom {
width: 100%;
line-height: 24rpx;
font-size: 26rpx;
color: #666666;
span{
margin-right: 10rpx;
}
}
</style>

View File

@@ -0,0 +1,96 @@
<template>
<view class="wrap">
<view class="search">
<u-search v-model="keywords" @custom="search" @search="search"></u-search>
</view>
<scroll-view class="scroll-list msg-list-item" scroll-y="true">
<view class="msg-time">11:05</view>
<u-card title="用户分享内容到社交媒体或好友" sub-title="11月08日" padding="20" margin="0rpx 20rpx" thumb="/static/aidex/images/list-icon.png" @click="navTo('/pages/sys/msg/form')">
<view class="" slot="body">
<view class="u-body-item u-flex u-col-between u-p-t-0">
<view class="u-body-item-title u-line-2">在常用的社交分享组件中微信微信好友和朋友圈微博QQQQ好友和QQ空间是三大主要平台 ...</view>
</view>
</view>
<view class="" slot="foot"><u-icon name="eye" size="34" color="" label="30"></u-icon> <u-icon name="thumb-up" size="34" color="" label="7"></u-icon></view>
</u-card>
<view class="msg-time">11月10日 15:32</view>
<u-card title="用户分享内容到社交媒体或好友" sub-title="11月10日" padding="20" margin="0rpx 20rpx" thumb="/static/aidex/images/list-icon.png" @click="navTo('/pages/sys/msg/form')">
<view class="" slot="body">
<view class="u-body-item u-flex u-col-between u-p-t-0">
<view class="u-body-item-title u-line-2">在常用的社交分享组件中微信微信好友和朋友圈微博QQQQ好友和QQ空间是三大主要平台 ...</view>
</view>
</view>
<view class="" slot="foot"><u-icon name="eye" size="34" color="" label="30"></u-icon> <u-icon name="thumb-up" size="34" color="" label="15"></u-icon></view>
</u-card>
<view class="msg-time">11月08日 10:05</view>
<u-card title="用户分享内容到社交媒体或好友" sub-title="11月08日" padding="20" margin="0rpx 20rpx" thumb="/static/aidex/images/list-icon.png" @click="navTo('/pages/sys/msg/form')">
<view class="" slot="body">
<view class="u-body-item u-flex u-col-between u-p-t-0">
<view class="u-body-item-title u-line-2">在常用的社交分享组件中微信微信好友和朋友圈微博QQQQ好友和QQ空间是三大主要平台 ...</view>
</view>
</view>
<view class="" slot="foot"><u-icon name="eye" size="34" color="" label="30"></u-icon> <u-icon name="thumb-up" size="34" color="" label="15"></u-icon></view>
</u-card>
<view class="msg-time">11月08日 09:32</view>
<u-card title="用户分享内容到社交媒体或好友" sub-title="11月08日" padding="20" margin="0rpx 20rpx" thumb="/static/aidex/images/list-icon.png" @click="navTo('/pages/sys/msg/form')">
<view class="" slot="body">
<view class="u-body-item u-flex u-col-between u-p-t-0">
<view class="u-body-item-title u-line-2">在常用的社交分享组件中微信微信好友和朋友圈微博QQQQ好友和QQ空间是三大主要平台 ...</view>
</view>
</view>
<view class="" slot="foot"><u-icon name="eye" size="34" color="" label="30"></u-icon> <u-icon name="thumb-up" size="34" color="" label="15"></u-icon></view>
</u-card>
<u-divider>已经到底了</u-divider>
</scroll-view>
</view>
</template>
<script>
/**
* Copyright (c) 2013-Now http://aidex.vip All rights reserved.
*/
export default {
data() {
return {
keywords: '',
};
},
onLoad() {
},
methods: {
navTo(url) {
uni.navigateTo({
url: url
});
},
search(value) {
this.$u.toast('搜索内容为:' + value)
}
}
};
</script>
<style lang="scss">
@import '../../../common/uni.css';
page {
background-color: #f5f5f5;
}
.wrap .search{
background: #ffffff;
}
.msg-time{
font-size: 26rpx;
padding: 10px 0;
color: #999999;
text-align: center;
}
.u-card__foot{
.u-icon{
margin-right: 10px;
}
}
</style>