Commit 99e90a3d authored by youjie's avatar youjie

no message

parent 925edda2
......@@ -222,7 +222,11 @@
});
const methods = {
invite(){
return {
title: "微信邀请",
query: "/pages/login/login",
imageUrl: "https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664163809000_838.png",
};
},
usernameInput(val) {
data.Account = val.detail;
......
......@@ -23,12 +23,13 @@
margin-left: 27rpx;
}
.dataList-content{
padding: 150rpx 50rpx 0 50rpx;
padding: 150rpx 0rpx 0 0rpx;
}
.title{
font-size: 34rpx;
font-weight: 800;
color: #111111;
padding: 0 50rpx;
}
.text{
margin-top: 20rpx;
......@@ -36,6 +37,7 @@
font-size: 26rpx;
font-weight: 500;
color: #BEBEBE;
padding: 0 50rpx;
}
.dataList-box{
margin-bottom: 40rpx;
......@@ -44,7 +46,7 @@
height: 204rpx;
flex-grow: 1;
position: relative;
padding: 31rpx 40rpx 0 22rpx;
padding: 31rpx 0rpx 0 42rpx;
}
.dataList-image{
width: 177rpx;
......@@ -53,7 +55,7 @@
background-size: 100% 100%;
position: absolute;
bottom: 0;
left: 0;
left: 50rpx;
flex-direction: column;
justify-content: center;
align-items: center;
......@@ -70,13 +72,12 @@
}
.dataList-center{
background-color: #ffffff;
position: absolute;
left: 177rpx;
bottom: 0;
right: 0;
margin-top: 40rpx;
border-radius: 0 50rpx 50rpx 0;
padding: 33rpx 48rpx;
padding: 33rpx 48rpx 33rpx 157rpx;
box-shadow: 0px 6px 29px 0px rgba(76, 76, 76, 0.09);
margin-left: 50rpx;
margin-right: 50rpx;
}
.dataList-left{
flex-direction: column;
......@@ -109,13 +110,20 @@
.van-swipe-cell__left,
.van-swipe-cell__right {
position: absolute;
top: 0;
height: 100%;
right: -0rpx;
width:199rpx;
right: 0rpx;
bottom: 0;
width: 78rpx;
height: 166rpx;
line-height: 166rpx;
-webkit-transform: translate3d(100%, 0, 0);
transform: translate3d(100%, 0, 0);
text-align: center;
}
/deep/.van-swipe-cell__left .van-button--danger,
/deep/.van-swipe-cell__right .van-button--danger{
background: rgba(0,0,0,0);
border: 0;
}
</style>
<template>
<view class="pages">
......@@ -128,13 +136,12 @@
<view class="dataList-content">
<view class="title">在读小孩列表</view>
<view class="text">左滑可删除小孩信息</view>
<view class="dataList-box" style="overflow: hidden;">
<van-swipe-cell
id="swipe-cell"
:right-width="116"
async-close
:disabled="true"
@close="onClose">
<van-swipe-cell
id="swipe-cell"
:right-width="70"
async-close
:key="index"
@close="onClose">
<view class="dataList-form active">
<view class="dataList-image flex">
<image :src="imgBoy?imgBoy:imgGirl"
......@@ -155,12 +162,11 @@
<text>学习中/休学</text>
</view>
</view>
<view slot="right" class="van-swipe-cell__right">
<van-icon name="cross" color="#BCBCBC"></van-icon>
</view>
</view>
</van-swipe-cell>
</view>
<view slot="right" class="van-swipe-cell__right">
<van-icon name="cross" color="#BCBCBC" size="20" @click.stop="DelData(item)" ></van-icon>
</view>
</van-swipe-cell>
<van-empty description="暂无小孩" v-if="dataList.length === 0" />
<view v-if="dataList.length > 0">
<Loadmore :state="pageState" />
......@@ -227,12 +233,35 @@
break;
}
},
// 删除接口
DelData(item){
uni.showModal({
title: '提示',
content: '将要删除数据,是否继续',
success: function (res) {
if (res.confirm) {
let Msg = {
ExamId: item.ExamId
}
} else if (res.cancel) {
uni.showToast({
title:'已取消',
icon:'none',
duration: 500
})
}
}
});
},
jumpPage(url) {
uni.navigateTo({
url: url,
});
},
async getData() {
return
let res = await GetOrderPage(data.msg);
if (res) {
if (data.timer) data.timer = null;
......@@ -259,9 +288,9 @@
onLoad(options) {
this.msg.OrderType = options.type
this.getData();
uni.setNavigationBarTitle({
title: this.pageTitle
});
// uni.setNavigationBarTitle({
// title: this.pageTitle
// });
},
onReachBottom() {
if (this.msg.pageIndex < this.pageCount) {
......
......@@ -30,7 +30,7 @@
}
.Order_Number {
color: #0000ff;
color: #DC3241;
font-size: 24rpx;
}
.Order_Type{
......
......@@ -43,7 +43,7 @@
</view>
<view class="class-con class_status">
<view v-if="item.IsLeave === 1 && item.IsCheck == 2">状态:<text style="color:#E6A23C;">已请假</text></view>
<view v-if="item.IsLeave === 0 &&item.IsCheck === 0">状态:<text style="color:#0000FF">正常</text></view>
<view v-if="item.IsLeave === 0 &&item.IsCheck === 0">状态:<text style="color:#DC3241">正常</text></view>
<view v-if="item.IsLeave === 0 &&item.IsCheck === 1">状态:<text style="color:#F56C6C">缺勤</text></view>
</view>
<view class="btn-box">
......@@ -120,7 +120,7 @@ export default {
width: 12rpx;
height: 12rpx;
background-color: #ffffff;
border: 4rpx solid #0000ff;
border: 4rpx solid #DC3241;
border-radius: 50%;
margin-right: 20rpx;
}
......@@ -159,7 +159,7 @@ export default {
/deep/.leave-btn {
width: 142rpx;
height: 52rpx;
background-color: #0000ff;
background-color: #DC3241;
border-radius: 8rpx;
font-size: 26rpx;
font-family: PingFang SC;
......@@ -169,7 +169,7 @@ export default {
/deep/.already-leave-btn {
width: 142rpx;
height: 52rpx;
background-color: #0000ff;
background-color: #DC3241;
opacity: 0.5;
border-radius: 8rpx;
font-size: 26rpx;
......
......@@ -46,10 +46,10 @@
<view class="openorclose flex flex_center_center">
<van-divider contentPosition="center" style="width: 90%" v-if="isShowAllDay">
<van-icon name="arrow-up" size="40rpx" color="#0000ff" @click="changeCalendar" />
<van-icon name="arrow-up" size="40rpx" color="#DC3241" @click="changeCalendar" />
</van-divider>
<van-divider contentPosition="center" style="width: 90%" v-if="!isShowAllDay">
<van-icon name="arrow-down" size="40rpx" color="#0000ff" @click="changeCalendar" />
<van-icon name="arrow-down" size="40rpx" color="#DC3241" @click="changeCalendar" />
</van-divider>
</view>
</view>
......@@ -533,7 +533,7 @@
.calendar-active {
width: 50rpx;
height: 50rpx;
background-color: rgba(0, 0, 255, 0.9) !important;
background-color: rgba(220,50,65, 0.9) !important;
border-radius: 50%;
color: #FFFFFF !important;
}
......
//请求教育接口
let host = ''
if (process.env.NODE_ENV === "development") {
//host = 'http://localhost:5004/api'
host = 'https://jjswapi.oytour.com/api'
//host = 'http://192.168.10.11:8082/api'
//host = 'https://jjswapi.oytour.com/api'
host = 'http://192.168.10.206:5004/api'
// host = 'http://192.168.10.128:8900/api'
} else {
host = 'https://jjswapi.oytour.com/api'
}
......
//请求教育接口
let host = ''
if (process.env.NODE_ENV === "development") {
//host = 'http://localhost:5004/api'
//host = 'https://jjswapi.oytour.com/api'
host = 'http://192.168.10.206:5005/api'
// host = 'http://192.168.10.36:8082/api'
// host = 'http://192.168.10.128:8900/api'
} else {
host = 'https://jjswapi.oytour.com/api'
}
......
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