init version kelfy-mini for new gitea
This commit is contained in:
100
pages/xytj/actionsheet.wxss
Normal file
100
pages/xytj/actionsheet.wxss
Normal file
@@ -0,0 +1,100 @@
|
||||
.actionsheet-mask {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background-color: rgba(0, 0, 0, 0.4);
|
||||
z-index: 1000;
|
||||
}
|
||||
.actionsheet-panel {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background-color: #fff;
|
||||
z-index: 1001;
|
||||
border-radius: 32rpx 32rpx 0 0;
|
||||
max-height: 93vh;
|
||||
overflow-y: auto;
|
||||
padding-bottom: constant(safe-area-inset-bottom);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
.actionsheet-hd {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
/* width: 100%; */
|
||||
padding: 54rpx 40rpx 34rpx;
|
||||
/* position: fixed;
|
||||
top:0px;
|
||||
z-index:999;
|
||||
height: 100rpx; */
|
||||
|
||||
}
|
||||
.actionsheet-hd-tt {
|
||||
font-size: 40rpx;
|
||||
line-height: 56rpx;
|
||||
letter-spacing: 2rpx;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
}
|
||||
.actionsheet-icon-close {
|
||||
display: block;
|
||||
width: 48rpx;
|
||||
height: 48rpx;
|
||||
background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAYKADAAQAAAABAAAAYAAAAACpM19OAAAMO0lEQVR4Ae1d228VxxkfH3MHE4TD3QIEAQcK5VJcLrYqxQ+VQqs2UlWhKoqgok956lMb5Q9AaR7aPPWpLUGoilBVqY16kfLgSBE2YMStBYTFRQaVOwZiGzAYcH+/zc7Rnsv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PZJDVQPwZXjC035JmMfWCOyPOy2LHKtWQVJUeGgf9/Y3y2d5bIRAbYf28bQ/NB57jUTmxEUEiF3SiYkkjK2CJBe03PyfKZ/I33mshwDA/12IXWKCxCpIpkSviP8fhico5qfnSlASYjS8vQC/A/FoAlnwSvkFkCpkxOO2ks+bCVhO+D/EaJcO+ERKywAkRD+2H0x34tLfss6EEygQG2JErHSzrW0AMgTj46jbfgIhyk9LV4HxQkdMiA0xMsmTkQHIGH3aLyBsN658kBYiTSyICbExAZ+0xgZgIjQwn0Hgu7gm/JdADIgFMSE2pkGrFxTHFCsa+P9k/oreUaa2usbp6/o5gB9mtWNT8qUuNRmATDBpl/8jN4mmRWxVBUXlsNFBSWjD1Rt9Pp7vmVfm2bTBrYZJzV+AZMrBGr6Gj/H7l/LZOI0/AfC/ggGctH/ODCDBxog5/3e2EgyN2LkBKDP/h84ayIckXgwgxaOXlP9LcwlGTOzVAJSJtqERhtiDmOfne3X0x+TR+DHq90u4PkL38lPEVT1ZxkxjEng3gJQbGoL/m+BDXF6Px5cyTWOAfQ7XPgB/yDfwUrfUDCAFAnz+j4K38Xs37nlYePpHFkplvolHADaXZB7AaJYL01KdYkndANG88xRxHmQNQ7yH5+2IUzk5NSzd3YgPcqFsdK1mVL807utqgGgGeZZyeJxvJ6Y3OgHOt2EQJ/qxVCP8B9MG3JXSxc0Rcn1+VId63DvJoA/FeaAsz9Xk0Y4wCA8W5PmmLQCTB0w14T6IQ9lDeM4jF7jhkPfc/c9N0H3cCsrdiNwQF9JmKvo/EKRRXxn393kAAAAASUVORK5CYII=') center center no-repeat;
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
.actionsheet-box {
|
||||
border: 2rpx solid #F8F8F8;
|
||||
border-radius: 12rpx;
|
||||
margin: 20rpx;
|
||||
}
|
||||
.actionsheet-box-hd {
|
||||
position: relative;
|
||||
font-size: 32rpx;
|
||||
line-height: 44rpx;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
margin: 50rpx 0 34rpx;
|
||||
padding: 0 40rpx;
|
||||
}
|
||||
.actionsheet-box-hd:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 8rpx;
|
||||
top: 50%;
|
||||
width: 8rpx;
|
||||
height: 34rpx;
|
||||
transform: translateY(-50%);
|
||||
background-color: #3B71EB;
|
||||
}
|
||||
.actionsheet-box-bd {
|
||||
padding: 40rpx;
|
||||
border-top: 2rpx solid #F8F8F8;
|
||||
}
|
||||
.actionsheet-box-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
font-size: 28rpx;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
.actionsheet-box-item + .actionsheet-box-item {
|
||||
margin-top: 24rpx;
|
||||
}
|
||||
.actionsheet-box-item-label {
|
||||
color: #606266;
|
||||
}
|
||||
.actionsheet-box-item-sublabel {
|
||||
color: #909399;
|
||||
}
|
||||
.actionsheet-box-item-value {
|
||||
color: #606266;
|
||||
}
|
||||
.actionsheet-box-item-value.em {
|
||||
color: #3B71EB;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
816
pages/xytj/xytj.js
Normal file
816
pages/xytj/xytj.js
Normal file
@@ -0,0 +1,816 @@
|
||||
const util = require('../../utils/util.js');
|
||||
const api = require('../../config/api.js');
|
||||
const user = require('../../utils/user.js');
|
||||
|
||||
//获取应用实例
|
||||
const app = getApp();
|
||||
|
||||
Page({
|
||||
data: {
|
||||
actionsheetVisible: false,
|
||||
listStand: [],
|
||||
listAddtion: [],
|
||||
|
||||
//学生信息
|
||||
list:[],
|
||||
loadingHidden: true,
|
||||
flag: false,
|
||||
openid: '',
|
||||
|
||||
//任务信息
|
||||
xyrwList: [],
|
||||
rwname: '',
|
||||
rwstatus: '',
|
||||
rwempty: 0,
|
||||
batchno: '',
|
||||
//默认为0,从根节点开始
|
||||
parentid: 0,
|
||||
//学生归属的学校id
|
||||
deptid: 0,
|
||||
//学生选择
|
||||
studentxpList:[],
|
||||
studentxpListBackup: [],
|
||||
studentIndexes: '',
|
||||
studentcurrent: '',
|
||||
studentSwitch: false,
|
||||
|
||||
//班级选择
|
||||
classxpList:[],
|
||||
classxpListBackup: [],
|
||||
classIndexes: '',
|
||||
classcurrent: '',
|
||||
classSwitch: false,
|
||||
//学校选择
|
||||
schoolxpList:[],
|
||||
schoolxpListBackup: [],
|
||||
schoolIndexes: '',
|
||||
schoolcurrent: '',
|
||||
schoolSwitch: false,
|
||||
|
||||
//社区选择
|
||||
sqxpList:[],
|
||||
sqxpListBackup: [],
|
||||
sqIndexes: '',
|
||||
sqcurrent: '',
|
||||
sqSwitch: false,
|
||||
//街道选择
|
||||
deptxpList:[],
|
||||
deptxpListBackup: [],
|
||||
deptIndexes: '',
|
||||
deptcurrent: '',
|
||||
UserSwitch: false,
|
||||
//体检部门信息
|
||||
jdname: '',
|
||||
sqname: '',
|
||||
schoolname: '',
|
||||
classname: '',
|
||||
studentname: '',
|
||||
xytjinfo: {
|
||||
jdid: '',
|
||||
jdname: '',
|
||||
sqid: '',
|
||||
sqname: '',
|
||||
schoolid: '',
|
||||
schoolname: '',
|
||||
classid: '',
|
||||
classname: ''
|
||||
},
|
||||
// 下拉框选项组件
|
||||
dropvalue: '1',
|
||||
droplists: [
|
||||
{value:'1',text:'请选择项目名称'}
|
||||
],
|
||||
imgUrls: ["https://fy.btlsoln.com:8443/showFile/hospitalNotice/20220507/1651912958699.jpg",
|
||||
"https://fy.btlsoln.com:8443/showFile/hospitalNotice/20220507/1651912958699.jpg"],
|
||||
indicatorDots: false,
|
||||
autoplay: true,
|
||||
interval: 3000,
|
||||
duration: 500,
|
||||
checked: true
|
||||
},
|
||||
naviToAdd(){
|
||||
let state = 0
|
||||
wx.navigateTo({
|
||||
url: '/pages/studentMgr/studentMgr',
|
||||
})
|
||||
},
|
||||
handleActionsheet() {
|
||||
this.actionsheetVisible = !this.actionsheetVisible;
|
||||
this.setData({
|
||||
actionsheetVisible: this.actionsheetVisible
|
||||
});
|
||||
},
|
||||
|
||||
naviToDet: function(event) {
|
||||
console.log("naviToDet");
|
||||
|
||||
console.log(event, "evnet");
|
||||
const index = event.currentTarget.dataset.index
|
||||
console.log(index, 'selectindex');
|
||||
console.log(index.name, 'selectItem');
|
||||
|
||||
const selectName = index.name
|
||||
const selectNationId = index.nationId
|
||||
const selectClassName = index.className
|
||||
const selectSchoolName = index.schoolName
|
||||
const selectPatid = index.patid
|
||||
wx.navigateTo({
|
||||
url: '/pages/category/category?name=' + selectName + '&nationid=' + selectNationId + '&classname=' + selectClassName +
|
||||
'&schoolname=' + selectSchoolName + '&patid=' + selectPatid,
|
||||
})
|
||||
},
|
||||
naviToInfo: function(event) {
|
||||
console.log("naviToInfo");
|
||||
console.log(event, "evnet");
|
||||
const index = event.currentTarget.dataset.index
|
||||
console.log(index, 'selectindex');
|
||||
if(index.feeflag == "1"){
|
||||
this.getXyOrder(index.patid);
|
||||
}
|
||||
},
|
||||
getXyOrder(patid){
|
||||
let that = this;
|
||||
util.requestPost(api.listOrder, {
|
||||
patid: patid
|
||||
})
|
||||
.then(function(res) {
|
||||
console.log(res);
|
||||
if (res.errCode === '0') {
|
||||
console.log("listOrder res:");
|
||||
console.log(res);
|
||||
that.setData({
|
||||
listStand: res.listStand,
|
||||
listAddtion: res.listAddtion,
|
||||
actionsheetVisible: true
|
||||
});
|
||||
|
||||
}
|
||||
else{
|
||||
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
//取学生列表
|
||||
getPerList(batchno){
|
||||
var that = this;
|
||||
util.request(api.studentByparent, {
|
||||
openid: app.globalData.openId,
|
||||
batchno: batchno
|
||||
})
|
||||
.then(function(res) {
|
||||
if (res.code === 0) {
|
||||
console.log("list res:");
|
||||
console.log(res);
|
||||
console.log("list resdata:");
|
||||
console.log(res.data);
|
||||
that.setData({
|
||||
list: res.data
|
||||
});
|
||||
|
||||
console.log("list length", that.data.list.length);
|
||||
if(that.data.list.length == 0 ){
|
||||
that.setData({
|
||||
loadingHidden: false,
|
||||
flag: false
|
||||
});
|
||||
}else{
|
||||
//有体检人,取出默认体检人
|
||||
var filterNum = that.data.list.filter(function(person,index,arrs){
|
||||
return person.defaultflag==0
|
||||
});
|
||||
console.log("fileter");
|
||||
console.log(filterNum);
|
||||
|
||||
that.setData({
|
||||
loadingHidden: true,
|
||||
flag: true
|
||||
});
|
||||
}
|
||||
|
||||
that.setData({
|
||||
loadingHidden: true
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
//获取下园任务列表
|
||||
getXyrwList: function() {
|
||||
var that = this;
|
||||
util.request(api.xyrwinfo, {
|
||||
|
||||
})
|
||||
.then(function(res) {
|
||||
if (res.code === 0) {
|
||||
console.log("xyrwinfo resdata:");
|
||||
console.log(res.data);
|
||||
that.setData({
|
||||
xyrwList: res.data
|
||||
});
|
||||
|
||||
if(res.data.length == 0){
|
||||
that.setData({
|
||||
rwempty: 0
|
||||
});
|
||||
app.globalData.hasXyrw = false;
|
||||
}else{
|
||||
that.setData({
|
||||
rwempty: 1,
|
||||
rwname: res.data[0].batchName,
|
||||
rwstatus: res.data[0].batchStatus
|
||||
});
|
||||
app.globalData.hasXyrw = true;
|
||||
}
|
||||
|
||||
if(res.data[0].batchStatus == '1') {
|
||||
that.setData({
|
||||
rwstatus: '开始',
|
||||
batchno: res.data[0].batchno
|
||||
});
|
||||
that.getPerList(res.data[0].batchno);
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
//学生
|
||||
studentList: function() {
|
||||
var that = this;
|
||||
util.request(api.studentinfo, {
|
||||
deptid: this.data.deptid
|
||||
})
|
||||
.then(function(res) {
|
||||
if (res.code === 0) {
|
||||
console.log("studentinfo res:");
|
||||
console.log(res);
|
||||
console.log("studentinfo resdata:");
|
||||
console.log(res.data);
|
||||
that.setData({
|
||||
studentxpList: res.data,
|
||||
studentxpListBackup: res.data
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
//开启控件
|
||||
studentOn: function(){
|
||||
this.setData({
|
||||
studentSwitch: true
|
||||
})
|
||||
},
|
||||
//关闭控件
|
||||
studentShutdown: function(){
|
||||
let List = [];
|
||||
this.setData({
|
||||
studentSwitch: false
|
||||
})
|
||||
//恢复数据
|
||||
for(let i = 0;i < this.data.studentxpListBackup.length;i++){
|
||||
List.push(this.data.studentxpListBackup[i]);
|
||||
}
|
||||
this.setData({
|
||||
studentxpList: List,
|
||||
studentIndexes: ''
|
||||
})
|
||||
|
||||
},
|
||||
//条件输入事件
|
||||
setstudentIndexes(event){
|
||||
this.setData({
|
||||
studentIndexes: event.detail,
|
||||
});
|
||||
console.log("studentIndexes:" + event.detail)
|
||||
},
|
||||
//点击确定搜索时触发事件
|
||||
studentGo: function(){
|
||||
wx.showToast({
|
||||
title: '加载中',
|
||||
icon: "loading",
|
||||
duration: 1000
|
||||
})
|
||||
let row = [];
|
||||
if(this.data.studentIndexes){
|
||||
this.data.studentxpListBackup.forEach((item) => {
|
||||
if (item.name.indexOf(this.data.studentIndexes) > -1) {
|
||||
row.push(item);
|
||||
}
|
||||
});
|
||||
}else{
|
||||
row = this.data.studentxpListBackup
|
||||
}
|
||||
this.setData({
|
||||
studentcurrent: this.data.studentIndexes,
|
||||
studentxpList: row
|
||||
})
|
||||
},
|
||||
//用户选择某个选项后触发事件
|
||||
studentIdentification(event){
|
||||
let List = [];
|
||||
let Backups = this.data.studentxpListBackup;
|
||||
let id = event.detail.value.id;
|
||||
console.log("pick select value:");
|
||||
console.log(event.detail.value);
|
||||
console.log("pick select id:" + event.detail.index);
|
||||
|
||||
this.data.xytjinfo.studentid = event.detail.value.id;
|
||||
this.data.xytjinfo.studentname = event.detail.value.name;
|
||||
this.setData({ studentname: event.detail.value.name });
|
||||
//根据选择的id,获取下一级结构
|
||||
//this.setData({ parentid: event.detail.value.id});
|
||||
//this.studengList();
|
||||
|
||||
console.log("set select studentid:" + this.data.xytjinfo.studengid);
|
||||
console.log("set select studentname:" + this.data.xytjinfo.studengname);
|
||||
|
||||
for(let i = 0;i < Backups.length;i++){
|
||||
List.push(Backups[i]);
|
||||
}
|
||||
this.setData({
|
||||
studentxpList: List,
|
||||
})
|
||||
|
||||
console.log("pick after list:");
|
||||
console.log(this.data.studentxpList);
|
||||
console.log("pick after list backup");
|
||||
console.log(this.data.studentxpListBackup);
|
||||
this.studentShutdown();
|
||||
},
|
||||
//班级
|
||||
classList: function() {
|
||||
var that = this;
|
||||
util.request(api.deptinfo, {
|
||||
parentid: this.data.parentid
|
||||
})
|
||||
.then(function(res) {
|
||||
if (res.code === 0) {
|
||||
console.log("classinfo res:");
|
||||
console.log(res);
|
||||
console.log("classinfo resdata:");
|
||||
console.log(res.data);
|
||||
that.setData({
|
||||
classxpList: res.data,
|
||||
classxpListBackup: res.data
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
//开启控件
|
||||
classOn: function(){
|
||||
this.setData({
|
||||
classSwitch: true
|
||||
})
|
||||
},
|
||||
//关闭控件
|
||||
classShutdown: function(){
|
||||
let List = [];
|
||||
this.setData({
|
||||
classSwitch: false
|
||||
})
|
||||
//恢复数据
|
||||
for(let i = 0;i < this.data.classxpListBackup.length;i++){
|
||||
List.push(this.data.classxpListBackup[i]);
|
||||
}
|
||||
this.setData({
|
||||
classxpList: List,
|
||||
classIndexes: ''
|
||||
})
|
||||
|
||||
},
|
||||
//条件输入事件
|
||||
setclassIndexes(event){
|
||||
this.setData({
|
||||
classIndexes: event.detail,
|
||||
});
|
||||
console.log("classIndexes:" + event.detail)
|
||||
},
|
||||
//点击确定搜索时触发事件
|
||||
classGo: function(){
|
||||
wx.showToast({
|
||||
title: '加载中',
|
||||
icon: "loading",
|
||||
duration: 1000
|
||||
})
|
||||
let row = [];
|
||||
if(this.data.classIndexes){
|
||||
this.data.classxpListBackup.forEach((item) => {
|
||||
if (item.name.indexOf(this.data.classIndexes) > -1) {
|
||||
row.push(item);
|
||||
}
|
||||
});
|
||||
}else{
|
||||
row = this.data.classxpListBackup
|
||||
}
|
||||
this.setData({
|
||||
classcurrent: this.data.classIndexes,
|
||||
classxpList: row
|
||||
})
|
||||
},
|
||||
//用户选择某个选项后触发事件
|
||||
classIdentification(event){
|
||||
let List = [];
|
||||
let Backups = this.data.classxpListBackup;
|
||||
let id = event.detail.value.id;
|
||||
console.log("pick select value:");
|
||||
console.log(event.detail.value);
|
||||
console.log("pick select id:" + event.detail.index);
|
||||
|
||||
this.data.xytjinfo.classid = event.detail.value.id;
|
||||
this.data.xytjinfo.classname = event.detail.value.name;
|
||||
this.setData({ classname: event.detail.value.name });
|
||||
//根据选择的id,获取下一级结构
|
||||
this.setData({ deptid: event.detail.value.id});
|
||||
this.studentList();
|
||||
|
||||
console.log("set select classid:" + this.data.xytjinfo.classid);
|
||||
console.log("set select classname:" + this.data.xytjinfo.classname);
|
||||
|
||||
for(let i = 0;i < Backups.length;i++){
|
||||
List.push(Backups[i]);
|
||||
}
|
||||
this.setData({
|
||||
classxpList: List,
|
||||
})
|
||||
|
||||
console.log("pick after list:");
|
||||
console.log(this.data.classxpList);
|
||||
console.log("pick after list backup");
|
||||
console.log(this.data.classxpListBackup);
|
||||
this.classShutdown();
|
||||
},
|
||||
//学校
|
||||
schoolList: function() {
|
||||
var that = this;
|
||||
util.request(api.deptinfo, {
|
||||
parentid: this.data.parentid
|
||||
})
|
||||
.then(function(res) {
|
||||
if (res.code === 0) {
|
||||
console.log("schoolinfo res:");
|
||||
console.log(res);
|
||||
console.log("schoolinfo resdata:");
|
||||
console.log(res.data);
|
||||
that.setData({
|
||||
schoolxpList: res.data,
|
||||
schoolxpListBackup: res.data
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
//开启控件
|
||||
schoolOn: function(){
|
||||
this.setData({
|
||||
schoolSwitch: true
|
||||
})
|
||||
},
|
||||
//关闭控件
|
||||
schoolShutdown: function(){
|
||||
let List = [];
|
||||
this.setData({
|
||||
schoolSwitch: false
|
||||
})
|
||||
//恢复数据
|
||||
for(let i = 0;i < this.data.schoolxpListBackup.length;i++){
|
||||
List.push(this.data.schoolxpListBackup[i]);
|
||||
}
|
||||
this.setData({
|
||||
schoolxpList: List,
|
||||
schoolIndexes: ''
|
||||
})
|
||||
|
||||
},
|
||||
//条件输入事件
|
||||
setschoolIndexes(event){
|
||||
this.setData({
|
||||
schoolIndexes: event.detail,
|
||||
});
|
||||
console.log("schoolIndexes:" + event.detail)
|
||||
},
|
||||
//点击确定搜索时触发事件
|
||||
schoolGo: function(){
|
||||
wx.showToast({
|
||||
title: '加载中',
|
||||
icon: "loading",
|
||||
duration: 1000
|
||||
})
|
||||
let row = [];
|
||||
if(this.data.schoolIndexes){
|
||||
this.data.schoolxpListBackup.forEach((item) => {
|
||||
if (item.name.indexOf(this.data.schoolIndexes) > -1) {
|
||||
row.push(item);
|
||||
}
|
||||
});
|
||||
}else{
|
||||
row = this.data.schoolxpListBackup
|
||||
}
|
||||
this.setData({
|
||||
schoolcurrent: this.data.schoolIndexes,
|
||||
schoolxpList: row
|
||||
})
|
||||
},
|
||||
//用户选择某个选项后触发事件
|
||||
schoolIdentification(event){
|
||||
let List = [];
|
||||
let Backups = this.data.schoolxpListBackup;
|
||||
let id = event.detail.value.id;
|
||||
console.log("pick select value:");
|
||||
console.log(event.detail.value);
|
||||
console.log("pick select id:" + event.detail.index);
|
||||
|
||||
this.data.xytjinfo.schoolid = event.detail.value.id;
|
||||
this.data.xytjinfo.schoolname = event.detail.value.name;
|
||||
this.setData({ schoolname: event.detail.value.name });
|
||||
//根据选择的id,获取下一级结构
|
||||
this.setData({ parentid: event.detail.value.id});
|
||||
this.classList();
|
||||
|
||||
console.log("set select schoolid:" + this.data.xytjinfo.schoolid);
|
||||
console.log("set select schoolname:" + this.data.xytjinfo.schoolname);
|
||||
|
||||
for(let i = 0;i < Backups.length;i++){
|
||||
List.push(Backups[i]);
|
||||
}
|
||||
this.setData({
|
||||
schoolxpList: List,
|
||||
})
|
||||
|
||||
console.log("pick after list:");
|
||||
console.log(this.data.schoolxpList);
|
||||
console.log("pick after list backup");
|
||||
console.log(this.data.schoolxpListBackup);
|
||||
this.schoolShutdown();
|
||||
},
|
||||
|
||||
//社区
|
||||
sqList: function() {
|
||||
var that = this;
|
||||
util.request(api.deptinfo, {
|
||||
parentid: this.data.parentid
|
||||
})
|
||||
.then(function(res) {
|
||||
if (res.code === 0) {
|
||||
console.log("sqinfo res:");
|
||||
console.log(res);
|
||||
console.log("sqinfo resdata:");
|
||||
console.log(res.data);
|
||||
that.setData({
|
||||
sqxpList: res.data,
|
||||
sqxpListBackup: res.data
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
//开启控件
|
||||
sqOn: function(){
|
||||
this.setData({
|
||||
sqSwitch: true
|
||||
})
|
||||
},
|
||||
//关闭控件
|
||||
sqShutdown: function(){
|
||||
let List = [];
|
||||
this.setData({
|
||||
sqSwitch: false
|
||||
})
|
||||
//恢复数据
|
||||
for(let i = 0;i < this.data.sqxpListBackup.length;i++){
|
||||
List.push(this.data.sqxpListBackup[i]);
|
||||
}
|
||||
this.setData({
|
||||
sqxpList: List,
|
||||
sqIndexes: ''
|
||||
})
|
||||
|
||||
},
|
||||
//条件输入事件
|
||||
setsqIndexes(event){
|
||||
this.setData({
|
||||
sqIndexes: event.detail,
|
||||
});
|
||||
console.log("sqIndexes:" + event.detail)
|
||||
},
|
||||
//点击确定搜索时触发事件
|
||||
sqGo: function(){
|
||||
wx.showToast({
|
||||
title: '加载中',
|
||||
icon: "loading",
|
||||
duration: 1000
|
||||
})
|
||||
let row = [];
|
||||
if(this.data.sqIndexes){
|
||||
this.data.sqxpListBackup.forEach((item) => {
|
||||
if (item.name.indexOf(this.data.sqIndexes) > -1) {
|
||||
row.push(item);
|
||||
}
|
||||
});
|
||||
}else{
|
||||
row = this.data.sqxpListBackup
|
||||
}
|
||||
this.setData({
|
||||
sqcurrent: this.data.sqIndexes,
|
||||
sqxpList: row
|
||||
})
|
||||
},
|
||||
//用户选择某个选项后触发事件
|
||||
sqIdentification(event){
|
||||
let List = [];
|
||||
let Backups = this.data.sqxpListBackup;
|
||||
let id = event.detail.value.id;
|
||||
console.log("pick select value:");
|
||||
console.log(event.detail.value);
|
||||
console.log("pick select id:" + event.detail.index);
|
||||
|
||||
this.data.xytjinfo.sqid = event.detail.value.id;
|
||||
this.data.xytjinfo.sqname = event.detail.value.name;
|
||||
this.setData({ sqname: event.detail.value.name });
|
||||
//根据选择的id,获取下一级结构
|
||||
this.setData({ parentid: event.detail.value.id});
|
||||
this.schoolList();
|
||||
|
||||
console.log("set select sqid:" + this.data.xytjinfo.sqid);
|
||||
console.log("set select sqname:" + this.data.xytjinfo.sqname);
|
||||
|
||||
for(let i = 0;i < Backups.length;i++){
|
||||
List.push(Backups[i]);
|
||||
}
|
||||
this.setData({
|
||||
sqxpList: List,
|
||||
})
|
||||
|
||||
console.log("pick after list:");
|
||||
console.log(this.data.sqxpList);
|
||||
console.log("pick after list backup");
|
||||
console.log(this.data.sqxpListBackup);
|
||||
this.sqShutdown();
|
||||
},
|
||||
|
||||
//街道
|
||||
deptList: function() {
|
||||
var that = this;
|
||||
util.request(api.deptinfo, {
|
||||
parentid: this.data.parentid
|
||||
})
|
||||
.then(function(res) {
|
||||
if (res.code === 0) {
|
||||
console.log("deptinfo res:");
|
||||
console.log(res);
|
||||
console.log("deptinfo resdata:");
|
||||
console.log(res.data);
|
||||
that.setData({
|
||||
deptxpList: res.data,
|
||||
deptxpListBackup: res.data
|
||||
});
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
//条件输入事件
|
||||
setDeptIndexes(event){
|
||||
this.setData({
|
||||
deptIndexes: event.detail,
|
||||
});
|
||||
console.log("deptIndexes:" + event.detail)
|
||||
},
|
||||
//点击确定搜索时触发事件
|
||||
DeptGo: function(){
|
||||
wx.showToast({
|
||||
title: '加载中',
|
||||
icon: "loading",
|
||||
duration: 1000
|
||||
})
|
||||
let row = [];
|
||||
if(this.data.deptIndexes){
|
||||
this.data.deptxpListBackup.forEach((item) => {
|
||||
if (item.name.indexOf(this.data.deptIndexes) > -1) {
|
||||
row.push(item);
|
||||
}
|
||||
});
|
||||
}else{
|
||||
row = this.data.deptxpListBackup
|
||||
}
|
||||
this.setData({
|
||||
deptcurrent: this.data.deptIndexes,
|
||||
deptxpList: row
|
||||
})
|
||||
},
|
||||
|
||||
//开启控件
|
||||
UserOn: function(){
|
||||
this.setData({
|
||||
UserSwitch: true
|
||||
})
|
||||
},
|
||||
//关闭控件
|
||||
UserShutdown: function(){
|
||||
let List = [];
|
||||
this.setData({
|
||||
UserSwitch: false
|
||||
})
|
||||
//恢复数据
|
||||
for(let i = 0;i < this.data.deptxpListBackup.length;i++){
|
||||
List.push(this.data.deptxpListBackup[i]);
|
||||
}
|
||||
this.setData({
|
||||
deptxpList: List,
|
||||
deptIndexes: ''
|
||||
})
|
||||
|
||||
},
|
||||
|
||||
//用户选择某个选项后触发事件
|
||||
UserIdentification(event){
|
||||
let List = [];
|
||||
let Backups = this.data.deptxpListBackup;
|
||||
let id = event.detail.value.id;
|
||||
console.log("pick select value:");
|
||||
console.log(event.detail.value);
|
||||
console.log("pick select id:" + event.detail.index);
|
||||
|
||||
this.data.xytjinfo.jdid = event.detail.value.id;
|
||||
this.data.xytjinfo.jdname = event.detail.value.name;
|
||||
this.setData({ jdname: event.detail.value.name });
|
||||
//根据选择的id,获取下一级结构
|
||||
this.setData({ parentid: event.detail.value.id});
|
||||
this.sqList();
|
||||
console.log("set select jdid:" + this.data.xytjinfo.jdid);
|
||||
console.log("set select jdname:" + this.data.xytjinfo.jdname);
|
||||
|
||||
for(let i = 0;i < Backups.length;i++){
|
||||
List.push(Backups[i]);
|
||||
}
|
||||
this.setData({
|
||||
deptxpList: List,
|
||||
})
|
||||
|
||||
console.log("pick after list:");
|
||||
console.log(this.data.deptxpList);
|
||||
console.log("pick after list backup");
|
||||
console.log(this.data.deptxpListBackup);
|
||||
this.UserShutdown();
|
||||
},
|
||||
|
||||
|
||||
|
||||
onChange({ detail }) {
|
||||
this.setData({ checked: detail });
|
||||
},
|
||||
|
||||
onShareAppMessage: function() {
|
||||
return {
|
||||
title: '下园体检',
|
||||
desc: '下园体检',
|
||||
path: '/pages/index/index'
|
||||
}
|
||||
},
|
||||
|
||||
onPullDownRefresh() {
|
||||
wx.showNavigationBarLoading() //在标题栏中显示加载
|
||||
wx.hideNavigationBarLoading() //完成停止加载
|
||||
wx.stopPullDownRefresh() //停止下拉刷新
|
||||
},
|
||||
|
||||
|
||||
getImgList(){
|
||||
wx.request({
|
||||
url:'https://fy.btlsoln.com:8443/findHospitalNotice',
|
||||
method:"GET",
|
||||
data:{},
|
||||
header: {
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
success: (res)=> {
|
||||
console.log(res,'lunbotu')
|
||||
this.setData({
|
||||
imgUrls:res.data
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
onLoad: function(options) {
|
||||
console.log("xytj load");
|
||||
|
||||
},
|
||||
onReady: function() {
|
||||
// 页面渲染完成
|
||||
},
|
||||
onShow: function() {
|
||||
// 页面显示
|
||||
console.log("xytj onshow");
|
||||
this.getXyrwList();
|
||||
this.deptList();
|
||||
// 页面初始化 options为页面跳转所带来的参数
|
||||
//this.getPerList();
|
||||
|
||||
this.setData({
|
||||
loadingHidden: false,
|
||||
})
|
||||
|
||||
},
|
||||
onHide: function() {
|
||||
// 页面隐藏
|
||||
},
|
||||
onUnload: function() {
|
||||
// 页面关闭
|
||||
},
|
||||
|
||||
})
|
||||
3
pages/xytj/xytj.json
Normal file
3
pages/xytj/xytj.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
119
pages/xytj/xytj.wxml
Normal file
119
pages/xytj/xytj.wxml
Normal file
@@ -0,0 +1,119 @@
|
||||
<!--index.wxml-->
|
||||
<!-- <view class="banner">
|
||||
<swiper indicator-dots="{{indicatorDots}}"
|
||||
autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}" indicator-dots="true" circular="true">
|
||||
<block wx:for="{{imgUrls}}" wx:key="item">
|
||||
<swiper-item>
|
||||
<image src="{{item}}{{item.IMG}}" class="slide-image" />
|
||||
</swiper-item>
|
||||
</block>
|
||||
</swiper>
|
||||
</view> -->
|
||||
<view class="wrap">
|
||||
<view class="service">
|
||||
<icon></icon>
|
||||
<text>当前批次</text>
|
||||
</view>
|
||||
<view class = "rwempty" wx:if = "{{ rwempty }}" >{{ rwname }}</view>
|
||||
<!-- <view class = "pickempty" wx:if = "{{ rwempty }}" >{{ rwstatus }}</view> -->
|
||||
|
||||
<view class = "rwempty" wx:if = "{{ !rwempty }}" >当前无任务</view>
|
||||
<view class="rwtips" wx:if = "{{ rwempty }}" >
|
||||
<text>请点击幼儿姓名确定体检项目</text>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<view class="main">
|
||||
<view class="content">
|
||||
<loading hidden="{{loadingHidden}}">加载中...</loading>
|
||||
<view wx:if="{{loadingHidden}}">
|
||||
|
||||
<view wx:if="{{flag == true}}">
|
||||
<view class="studentitem" wx:for="{{list}}" wx:key="item" data-item="{{item}}" >
|
||||
<view class="up" data-index="{{item}}" bindtap="naviToDet" >
|
||||
<view class="name">{{item.name}}</view>
|
||||
<view class="msg">
|
||||
<view class="t1"></view>
|
||||
<view class="icon" wx:if="{{item.feeflag == 0 || item.feeflag == null}}">
|
||||
<view class="nofee" >未缴费</view>
|
||||
</view>
|
||||
<view class="icon" wx:else>
|
||||
<view class="mr" >已缴费</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="down" data-index="{{item}}" bindtap="naviToInfo">
|
||||
<view>{{item.nationId}}</view>
|
||||
<view class="msg">
|
||||
<view class="t1"></view>
|
||||
<view class="icon" wx:if="{{item.feeflag == 1}}">
|
||||
<view class="detail" >查看详情</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:else="{{flag == false}}" class="zw">暂无体检人信息,请点击下方“添加体检人”按钮,确认学生信息!</view>
|
||||
<view class="btn" bindtap="naviToAdd">添加体检人</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view
|
||||
class="actionsheet"
|
||||
hidden="{{!actionsheetVisible}}">
|
||||
<view class="actionsheet-mask" bindtap="handleActionsheet"></view>
|
||||
<scroll-view scroll-y class="actionsheet-panel">
|
||||
<view class="actionsheet-hd">
|
||||
<view class="actionsheet-hd-tt">缴费明细</view>
|
||||
<icon class="actionsheet-icon-close" bindtap="handleActionsheet"></icon>
|
||||
</view>
|
||||
<view class="actionsheet-bd">
|
||||
<view
|
||||
class="actionsheet-box"
|
||||
>
|
||||
<!-- wx:for="{{prescriptionList}}" -->
|
||||
<!-- wx:key="title" -->
|
||||
<view class="actionsheet-box-hd" wx:if="{{listStand.length !=0}}">基本项目</view>
|
||||
<!-- <view class="actionsheet-box-hd">{{item.title}}</view> -->
|
||||
<view class="actionsheet-box-bd" wx:if="{{listStand.length !=0}}">
|
||||
<view
|
||||
class="actionsheet-box-item"
|
||||
wx:for="{{listStand}}"
|
||||
wx:key='item'
|
||||
wx:for-item="items"
|
||||
>
|
||||
<view class="actionsheet-box-item-label-wrap">
|
||||
<view class="actionsheet-box-item-label">{{items.itemname}}</view>
|
||||
</view>
|
||||
<view class="actionsheet-box-item-value">{{items.itemprice}}</view>
|
||||
<!-- <view
|
||||
class="actionsheet-box-item-value {{boxItem.highlight ? 'em' : ''}}">{{boxItem.xmje}}</view> -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="actionsheet-box-hd" wx:if="{{listAddtion.length !=0}}">可选项目</view>
|
||||
<!-- <view class="actionsheet-box-hd">{{item.title}}</view> -->
|
||||
<view class="actionsheet-box-bd" wx:if="{{listAddtion.length !=0}}">
|
||||
<view
|
||||
class="actionsheet-box-item"
|
||||
wx:for="{{listAddtion}}"
|
||||
wx:key='item'
|
||||
wx:for-item="items"
|
||||
>
|
||||
<view class="actionsheet-box-item-label-wrap">
|
||||
<view class="actionsheet-box-item-label">{{items.itemname}}</view>
|
||||
</view>
|
||||
<view class="actionsheet-box-item-value">{{items.itemprice}}</view>
|
||||
<!-- <view
|
||||
class="actionsheet-box-item-value {{boxItem.highlight ? 'em' : ''}}">{{boxItem.xmje}}</view> -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
774
pages/xytj/xytj.wxss
Normal file
774
pages/xytj/xytj.wxss
Normal file
@@ -0,0 +1,774 @@
|
||||
@import './actionsheet.wxss';
|
||||
|
||||
.main{
|
||||
margin: 30rpx 0;
|
||||
width: 750rpx;
|
||||
}
|
||||
.content{
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.studentitem{
|
||||
height: 200rpx;
|
||||
width: 100%;
|
||||
border-radius: 5rpx;
|
||||
margin: 40rpx auto;
|
||||
box-shadow:0px 0px 5rpx #e2e2e2;
|
||||
background: rgba(245,249,255);
|
||||
padding: 30rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.zw{
|
||||
height: 250rpx;
|
||||
width: 100%;
|
||||
border-radius: 5rpx;
|
||||
margin: 40rpx auto;
|
||||
box-shadow:0px 0px 15rpx #e2e2e2;
|
||||
padding:0 30rpx;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 33rpx;
|
||||
color: #666;
|
||||
}
|
||||
.up{
|
||||
height: 80rpx;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
/* border: 1rpx solid #f10a44; */
|
||||
|
||||
}
|
||||
.name{
|
||||
font-size: 35rpx;
|
||||
height: 80rpx;
|
||||
padding-right: 30rpx;
|
||||
line-height: 80rpx;
|
||||
color: #333;
|
||||
}
|
||||
.msg{
|
||||
flex: 1;
|
||||
height: 70rpx;
|
||||
line-height: 80rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
/* border: 1rpx solid #85f10a; */
|
||||
|
||||
}
|
||||
.t1{
|
||||
height: 50rpx;
|
||||
width: 130rpx;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
font-size:33rpx;
|
||||
border-radius: 25rpx;
|
||||
/* color: rgba(45,135,255);
|
||||
background: rgba(226,237,254); */
|
||||
}
|
||||
.down{
|
||||
height: 80rpx;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
line-height: 80rpx;
|
||||
font-size: 30rpx;
|
||||
color: #666;
|
||||
}
|
||||
.icon{
|
||||
height: 50rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.mr{
|
||||
font-size: 33rpx;
|
||||
color: rgb(16, 150, 11);
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.nofee{
|
||||
font-size: 33rpx;
|
||||
color: rgb(150, 11, 23);
|
||||
margin-right: 15rpx;
|
||||
/* border: 1rpx solid #fd0404; */
|
||||
}
|
||||
.detail{
|
||||
font-size: 33rpx;
|
||||
color: rgba(52,120,247);
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.sw{
|
||||
margin-top: 5rpx;
|
||||
}
|
||||
.btn{
|
||||
height: 100rpx;
|
||||
margin-top: 150rpx;
|
||||
margin-bottom: 40rpx;
|
||||
width: 100%;
|
||||
background: rgba(0,110,255);
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 100rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 35rpx;
|
||||
letter-spacing: 5rpx;
|
||||
}
|
||||
|
||||
|
||||
.popsearch{
|
||||
margin-right: 15rpx;
|
||||
}
|
||||
.pickempty{
|
||||
font-size: 35rpx;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 80rpx;
|
||||
}
|
||||
.btnview{
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
margin-top: 80rpx;
|
||||
|
||||
}
|
||||
.btnClass {
|
||||
background: #4bc107 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.banner{
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
.slide-image{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.service{
|
||||
font-size: 35rpx;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.service icon{
|
||||
width: 40rpx;
|
||||
height: 15rpx;
|
||||
margin-right: 20rpx;
|
||||
background-color: #50CEBB;
|
||||
border-radius: 15rpx;
|
||||
}
|
||||
.wrap{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 0 30rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.rwempty{
|
||||
font-size: 35rpx;
|
||||
font-weight: bold;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
.rwtips{
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: rgb(253, 6, 6);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
||||
.banner image {
|
||||
width: 100%;
|
||||
height: 417rpx;
|
||||
}
|
||||
|
||||
.banner video {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.m-menu {
|
||||
background: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
padding-bottom: 0rpx;
|
||||
padding-top: 25rpx;
|
||||
}
|
||||
|
||||
.m-menu .item {
|
||||
width: 150rpx;
|
||||
height: 126rpx;
|
||||
}
|
||||
|
||||
.m-menu image {
|
||||
display: block;
|
||||
width: 58rpx;
|
||||
height: 58rpx;
|
||||
margin: 0 auto;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
|
||||
.m-menu text {
|
||||
display: block;
|
||||
font-size: 24rpx;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
line-height: 1;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.a-section {
|
||||
width: 750rpx;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
color: #333;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
|
||||
.a-section .h {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 130rpx;
|
||||
}
|
||||
|
||||
.a-section .h .txt {
|
||||
padding-right: 30rpx;
|
||||
background-size: 16.656rpx 27rpx;
|
||||
display: inline-block;
|
||||
height: 36rpx;
|
||||
font-size: 33rpx;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
|
||||
.loc_light_icon {
|
||||
color: #000;
|
||||
font-size: 10px;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 5px;
|
||||
background-clip: content-box;
|
||||
word-wrap:break-word;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.loc_light {
|
||||
color: #000;
|
||||
font-size: 10px;
|
||||
line-height: 10px;
|
||||
text-align: left;
|
||||
margin-bottom: 5px;
|
||||
background-clip: content-box;
|
||||
word-wrap:break-word;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.dark,
|
||||
.light {
|
||||
color: #000;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
text-align: left;
|
||||
margin-bottom: 5px;
|
||||
margin-top: 5px;
|
||||
background-clip: content-box;
|
||||
word-wrap:break-word;
|
||||
}
|
||||
|
||||
.dark {
|
||||
background-color: #39a9ed;
|
||||
}
|
||||
|
||||
.light {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
|
||||
.a-location .b{
|
||||
width: 750rpx;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.a-brand .b {
|
||||
width: 750rpx;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.a-brand .wrap {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.a-brand .img {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.a-brand .mt {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
padding: 27rpx 31rpx;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.a-brand .mt .brand {
|
||||
display: block;
|
||||
font-size: 33rpx;
|
||||
height: 43rpx;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.a-brand .mt .price, .a-brand .mt .unit {
|
||||
font-size: 25rpx;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.a-brand .item-1 {
|
||||
float: left;
|
||||
width: 375rpx;
|
||||
height: 252rpx;
|
||||
overflow: hidden;
|
||||
border-top: 1rpx solid #fff;
|
||||
margin-left: 1rpx;
|
||||
}
|
||||
|
||||
.a-brand .item-1:nth-child(2n+1) {
|
||||
margin-left: 0;
|
||||
width: 374rpx;
|
||||
}
|
||||
|
||||
.a-brand .item-1 .img {
|
||||
width: 375rpx;
|
||||
height: 253rpx;
|
||||
}
|
||||
|
||||
.a-coupon {
|
||||
width: 750rpx;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.a-coupon .b .item {
|
||||
position: relative;
|
||||
height: 200rpx;
|
||||
width: 700rpx;
|
||||
background: linear-gradient(to right, #cfa568, #e3bf79);
|
||||
margin-bottom: 10rpx;
|
||||
margin-left: 30rpx;
|
||||
margin-right: 30rpx;
|
||||
padding-top: 30rpx;
|
||||
}
|
||||
|
||||
.a-coupon .b .tag {
|
||||
height: 32rpx;
|
||||
background: #a48143;
|
||||
padding-left: 16rpx;
|
||||
padding-right: 16rpx;
|
||||
position: absolute;
|
||||
left: 20rpx;
|
||||
color: #fff;
|
||||
top: 20rpx;
|
||||
font-size: 20rpx;
|
||||
text-align: center;
|
||||
line-height: 32rpx;
|
||||
}
|
||||
|
||||
.a-coupon .b .content {
|
||||
margin-top: 24rpx;
|
||||
margin-left: 40rpx;
|
||||
display: flex;
|
||||
margin-right: 40rpx;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.a-coupon .b .content .left {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.a-coupon .b .discount {
|
||||
font-size: 50rpx;
|
||||
color: #b4282d;
|
||||
}
|
||||
|
||||
.a-coupon .b .min {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.a-coupon .b .content .right {
|
||||
width: 400rpx;
|
||||
}
|
||||
|
||||
.a-coupon .b .name {
|
||||
font-size: 44rpx;
|
||||
color: #fff;
|
||||
margin-bottom: 14rpx;
|
||||
}
|
||||
|
||||
.a-coupon .b .desc {
|
||||
font-size: 24rpx;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.a-coupon .b .time {
|
||||
font-size: 24rpx;
|
||||
color: #fff;
|
||||
line-height: 30rpx;
|
||||
}
|
||||
|
||||
.a-groupon {
|
||||
width: 750rpx;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.a-groupon .b .item {
|
||||
border-top: 1px solid #d9d9d9;
|
||||
margin: 0 20rpx;
|
||||
height: 244rpx;
|
||||
width: 710rpx;
|
||||
}
|
||||
|
||||
.a-groupon .b .img {
|
||||
margin-top: 12rpx;
|
||||
margin-right: 12rpx;
|
||||
float: left;
|
||||
width: 220rpx;
|
||||
height: 220rpx;
|
||||
}
|
||||
|
||||
.a-groupon .b .right {
|
||||
float: left;
|
||||
height: 244rpx;
|
||||
width: 476rpx;
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
}
|
||||
|
||||
.a-groupon .b .text {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
height: 244rpx;
|
||||
width: 476rpx;
|
||||
}
|
||||
|
||||
.a-groupon .b .name {
|
||||
float: left;
|
||||
display: block;
|
||||
color: #333;
|
||||
line-height: 50rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.a-groupon .b .desc {
|
||||
width: 476rpx;
|
||||
display: block;
|
||||
color: #999;
|
||||
line-height: 50rpx;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
|
||||
.a-groupon .b .price {
|
||||
width: 476rpx;
|
||||
display: flex;
|
||||
color: #ab956d;
|
||||
line-height: 50rpx;
|
||||
font-size: 33rpx;
|
||||
}
|
||||
|
||||
.a-groupon .b .counterPrice {
|
||||
text-decoration: line-through;
|
||||
font-size: 28rpx;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.a-groupon .b .retailPrice {
|
||||
margin-left: 30rpx;
|
||||
font-size: 28rpx;
|
||||
color: #a78845;
|
||||
}
|
||||
|
||||
.a-new .b {
|
||||
width: 750rpx;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
padding: 0 31rpx 45rpx 31rpx;
|
||||
}
|
||||
|
||||
.a-new .b .item {
|
||||
float: left;
|
||||
width: 302rpx;
|
||||
margin-top: 10rpx;
|
||||
margin-left: 21rpx;
|
||||
margin-right: 21rpx;
|
||||
}
|
||||
|
||||
.a-new .b .item-b {
|
||||
margin-left: 42rpx;
|
||||
}
|
||||
|
||||
.a-new .b .img {
|
||||
width: 302rpx;
|
||||
height: 302rpx;
|
||||
border-radius: 10rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.a-new .b .name {
|
||||
text-align: center;
|
||||
display: block;
|
||||
width: 302rpx;
|
||||
height: 35rpx;
|
||||
margin-bottom: 14rpx;
|
||||
overflow: hidden;
|
||||
font-size: 30rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.a-new .b .price {
|
||||
display: block;
|
||||
text-align: center;
|
||||
line-height: 30rpx;
|
||||
font-size: 30rpx;
|
||||
color: #ab956d;
|
||||
}
|
||||
|
||||
.a-popular {
|
||||
width: 750rpx;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.a-popular .b .item {
|
||||
border-top: 1px solid #d9d9d9;
|
||||
margin: 0 20rpx;
|
||||
height: 264rpx;
|
||||
width: 710rpx;
|
||||
}
|
||||
|
||||
.a-popular .b .img {
|
||||
margin-top: 12rpx;
|
||||
margin-right: 12rpx;
|
||||
float: left;
|
||||
width: 240rpx;
|
||||
height: 240rpx;
|
||||
border-radius: 10rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.a-popular .b .right {
|
||||
float: left;
|
||||
height: 264rpx;
|
||||
width: 456rpx;
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
}
|
||||
|
||||
.a-popular .b .text {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
height: 264rpx;
|
||||
width: 456rpx;
|
||||
}
|
||||
|
||||
.a-popular .b .name {
|
||||
width: 456rpx;
|
||||
display: block;
|
||||
color: #333;
|
||||
line-height: 50rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.a-popular .b .desc {
|
||||
width: 456rpx;
|
||||
display: block;
|
||||
color: #999;
|
||||
line-height: 50rpx;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
|
||||
.a-popular .b .price {
|
||||
width: 456rpx;
|
||||
display: block;
|
||||
color: #ab956d;
|
||||
line-height: 50rpx;
|
||||
font-size: 33rpx;
|
||||
}
|
||||
|
||||
.a-topic .b {
|
||||
height: 533rpx;
|
||||
width: 750rpx;
|
||||
padding: 0 0 48rpx 0;
|
||||
}
|
||||
|
||||
.a-topic .b .list {
|
||||
height: 533rpx;
|
||||
width: 750rpx;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.a-topic .b .item {
|
||||
display: inline-block;
|
||||
height: 533rpx;
|
||||
width: 680.5rpx;
|
||||
margin-left: 30rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.a-topic .b .item:last-child {
|
||||
margin-right: 30rpx;
|
||||
}
|
||||
|
||||
.a-topic .b .img {
|
||||
height: 387.5rpx;
|
||||
width: 680.5rpx;
|
||||
margin-bottom: 30rpx;
|
||||
}
|
||||
|
||||
.a-topic .b .np {
|
||||
height: 35rpx;
|
||||
margin-bottom: 13.5rpx;
|
||||
color: #333;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.a-topic .b .np .price {
|
||||
margin-left: 20.8rpx;
|
||||
color: #ab956d;
|
||||
}
|
||||
|
||||
.a-topic .b .desc {
|
||||
display: block;
|
||||
height: 30rpx;
|
||||
color: #999;
|
||||
font-size: 24rpx;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.good-grid {
|
||||
width: 750rpx;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.good-grid .h {
|
||||
display: flex;
|
||||
flex-flow: row nowrap;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 130rpx;
|
||||
font-size: 33rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.good-grid .b {
|
||||
width: 750rpx;
|
||||
padding: 0 6.25rpx;
|
||||
height: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.good-grid .b .item {
|
||||
float: left;
|
||||
background: #fff;
|
||||
width: 365rpx;
|
||||
margin-bottom: 6.25rpx;
|
||||
height: 452rpx;
|
||||
overflow: hidden;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.good-grid .b .item .a {
|
||||
height: 452rpx;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.good-grid .b .item-b {
|
||||
margin-left: 6.25rpx;
|
||||
}
|
||||
|
||||
.good-grid .item .img {
|
||||
margin-top: 20rpx;
|
||||
width: 302rpx;
|
||||
height: 302rpx;
|
||||
}
|
||||
|
||||
.good-grid .item .name {
|
||||
display: block;
|
||||
width: 365.625rpx;
|
||||
padding: 0 20rpx;
|
||||
overflow: hidden;
|
||||
height: 35rpx;
|
||||
margin: 11.5rpx 0 22rpx 0;
|
||||
text-align: center;
|
||||
font-size: 30rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.good-grid .item .price {
|
||||
display: block;
|
||||
width: 365.625rpx;
|
||||
height: 30rpx;
|
||||
text-align: center;
|
||||
font-size: 30rpx;
|
||||
color: #ab956d;
|
||||
}
|
||||
|
||||
.good-grid .t {
|
||||
height: 100rpx;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.search {
|
||||
height: 88rpx;
|
||||
width: 100%;
|
||||
padding: 0 30rpx;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.search .van-icon-search {
|
||||
line-height: 59rpx;
|
||||
}
|
||||
|
||||
.search .input {
|
||||
width: 690rpx;
|
||||
height: 56rpx;
|
||||
background: #ededed;
|
||||
border-radius: 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.search .txt {
|
||||
height: 42rpx;
|
||||
line-height: 42rpx;
|
||||
color: #666;
|
||||
padding-left: 10rpx;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
Reference in New Issue
Block a user