mirror of
https://gitee.com/elegant_wings/dbd-meeting-wx-small.git
synced 2025-06-21 10:49:36 +08:00
1
This commit is contained in:
parent
8a0aad853e
commit
0849bb26f5
@ -1,4 +1,4 @@
|
||||
<view>
|
||||
<view class="containerView public">
|
||||
<form bindsubmit="fromsumb">
|
||||
<view style="background:white;padding:40rpx;margin-top:22rpx;">
|
||||
<view class="inputbox">
|
||||
@ -76,8 +76,6 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="wwBox">
|
||||
<button class="ww" formType='submit' wx:if="{{!id}}">立即申请</button>
|
||||
</view>
|
||||
<button class="ww" formType='submit' wx:if="{{!id}}">立即申请</button>
|
||||
</form>
|
||||
</view>
|
@ -1,116 +1,120 @@
|
||||
.page {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.containerView.public {
|
||||
background: #f5f5f5;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.wwBox {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
}
|
||||
|
||||
.ww {
|
||||
width: 88% !important;
|
||||
height: 100rpx;
|
||||
font-size: 28rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
line-height: 100rpx !important;
|
||||
background: #4C84FF;
|
||||
position: absolute !important;
|
||||
padding: 0 !important;
|
||||
border-radius: 8rpx !important;
|
||||
z-index: 5;
|
||||
margin: 60rpx 6%;
|
||||
margin-left: 6% !important;
|
||||
width: 88% !important;
|
||||
height: 100rpx;
|
||||
font-size: 28rpx;
|
||||
color: white;
|
||||
text-align: center;
|
||||
line-height: 100rpx !important;
|
||||
background: #4C84FF;
|
||||
padding: 0 !important;
|
||||
border-radius: 8rpx !important;
|
||||
z-index: 5;
|
||||
margin: 60rpx 6%;
|
||||
margin-left: 6% !important;
|
||||
}
|
||||
|
||||
picker {
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
padding-right: 10rpx;
|
||||
padding-top: 4rpx;
|
||||
border-bottom: 1rpx solid #EEEEEE;
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
padding-right: 10rpx;
|
||||
padding-top: 4rpx;
|
||||
border-bottom: 1rpx solid #EEEEEE;
|
||||
}
|
||||
|
||||
.picker-txt {
|
||||
font-size: 32rpx;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
.bshaw {
|
||||
padding: 10rpx 40rpx;
|
||||
padding: 10rpx 40rpx;
|
||||
}
|
||||
|
||||
.fontW {
|
||||
color: #000;
|
||||
display: inline-block;
|
||||
/* width: 400rpx; */
|
||||
line-height: 50rpx;
|
||||
color: #000;
|
||||
display: inline-block;
|
||||
/* width: 400rpx; */
|
||||
line-height: 50rpx;
|
||||
}
|
||||
|
||||
.fontWs {
|
||||
color: #000;
|
||||
display: inline-block;
|
||||
width: 90%;
|
||||
line-height: 50rpx;
|
||||
font-weight: 600;
|
||||
color: #000;
|
||||
display: inline-block;
|
||||
width: 90%;
|
||||
line-height: 50rpx;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
input {
|
||||
width: 100%;
|
||||
margin-top: -2rpx;
|
||||
padding-right: 30rpx;
|
||||
box-sizing: border-box;
|
||||
font-size: 32rpx;
|
||||
color: #393939;
|
||||
border-bottom: 1rpx solid #EEEEEE;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
width: 100%;
|
||||
margin-top: -2rpx;
|
||||
padding-right: 30rpx;
|
||||
box-sizing: border-box;
|
||||
font-size: 32rpx;
|
||||
color: #393939;
|
||||
border-bottom: 1rpx solid #EEEEEE;
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
}
|
||||
|
||||
.inputbox {
|
||||
font-size: 32rpx;
|
||||
margin-bottom: 40rpx;
|
||||
/* display: flex; */
|
||||
/* padding: 30rpx 0; */
|
||||
font-size: 32rpx;
|
||||
margin-bottom: 40rpx;
|
||||
/* display: flex; */
|
||||
/* padding: 30rpx 0; */
|
||||
}
|
||||
|
||||
.inputbox:nth-last-child(2) {
|
||||
border: none;
|
||||
border: none;
|
||||
}
|
||||
|
||||
textarea {
|
||||
height: 200rpx;
|
||||
color: #393939;
|
||||
font-size: 30rpx;
|
||||
height: 200rpx;
|
||||
color: #393939;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
|
||||
.uploFile {
|
||||
width: 140rpx;
|
||||
margin-bottom: 30rpx;
|
||||
padding: 20rpx 40rpx;
|
||||
background: #F7F7F7;
|
||||
margin-top: 10rpx;
|
||||
color: #4C84FF;
|
||||
border-radius: 50rpx;
|
||||
width: 140rpx;
|
||||
margin-bottom: 30rpx;
|
||||
padding: 20rpx 40rpx;
|
||||
background: #F7F7F7;
|
||||
margin-top: 10rpx;
|
||||
color: #4C84FF;
|
||||
border-radius: 50rpx;
|
||||
}
|
||||
|
||||
.del {
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
right: 34rpx;
|
||||
top: 36%;
|
||||
width: 46rpx;
|
||||
height: 46rpx;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
right: 34rpx;
|
||||
top: 36%;
|
||||
}
|
||||
|
||||
.fileBox {
|
||||
vertical-align: middle;
|
||||
box-sizing: border-box;
|
||||
padding: 20rpx 30rpx;
|
||||
background: #F8F8F8;
|
||||
margin-bottom: 10rpx;
|
||||
position: relative;
|
||||
vertical-align: middle;
|
||||
box-sizing: border-box;
|
||||
padding: 20rpx 30rpx;
|
||||
background: #F8F8F8;
|
||||
margin-bottom: 10rpx;
|
||||
position: relative;
|
||||
}
|
@ -45,7 +45,7 @@ Page({
|
||||
url: "/pages/myActivities/myActivities",
|
||||
},
|
||||
{
|
||||
name: "业务申请",
|
||||
name: "入驻管理",
|
||||
url: "/pages/my/serviceApply/serviceApply"
|
||||
},
|
||||
{
|
||||
|
@ -1,99 +1,96 @@
|
||||
let app = getApp()
|
||||
Page({
|
||||
data: {
|
||||
IMG_NAME: app.IMG_NAME,
|
||||
currentTab: 0,
|
||||
loading: false,
|
||||
noMore: 0,
|
||||
loadingFailed: false,
|
||||
pageNo: 1,
|
||||
indicatorDots: true,
|
||||
autoplay: true,
|
||||
interval: 3000,
|
||||
duration: 1000,
|
||||
type: '1',
|
||||
list: [],
|
||||
myOrderList: []
|
||||
},
|
||||
data: {
|
||||
IMG_NAME: app.IMG_NAME,
|
||||
currentTab: 1,
|
||||
loading: false,
|
||||
noMore: 0,
|
||||
loadingFailed: false,
|
||||
pageNo: 1,
|
||||
indicatorDots: true,
|
||||
autoplay: true,
|
||||
interval: 3000,
|
||||
duration: 1000,
|
||||
type: '1',
|
||||
list: [],
|
||||
myOrderList: []
|
||||
},
|
||||
|
||||
onLoad(e) {
|
||||
wx.setNavigationBarTitle({
|
||||
title: '业务申请',
|
||||
})
|
||||
this.getList()
|
||||
},
|
||||
onLoad(e) {
|
||||
this.getList()
|
||||
},
|
||||
|
||||
getList() {
|
||||
let that = this
|
||||
let workCondition = ''
|
||||
that.data.repairList = []
|
||||
if (that.data.currentTab == 0) {
|
||||
workCondition = '/applyPark/getByCurrentUser'
|
||||
} else if (that.data.currentTab == 1) {
|
||||
workCondition = '/settle/getByCurrentUser'
|
||||
} else if (that.data.currentTab == 2) {
|
||||
workCondition = '/applyMoveIn/getByCurrentUser'
|
||||
}
|
||||
app.AjaxRequest('get', {
|
||||
'content-type': 'application/json',
|
||||
'Authorization': 'Bearer ' + app.Getopenid()
|
||||
}, workCondition, {}, function (res) {
|
||||
if (res.code == 0) {
|
||||
that.setData({
|
||||
repairList: res.data
|
||||
getList() {
|
||||
let that = this
|
||||
let workCondition = ''
|
||||
that.data.repairList = []
|
||||
if (that.data.currentTab == 0) {
|
||||
workCondition = '/applyPark/getByCurrentUser'
|
||||
} else if (that.data.currentTab == 1) {
|
||||
workCondition = '/settle/getByCurrentUser'
|
||||
} else if (that.data.currentTab == 2) {
|
||||
workCondition = '/applyMoveIn/getByCurrentUser'
|
||||
}
|
||||
app.AjaxRequest('get', {
|
||||
'content-type': 'application/json',
|
||||
'Authorization': 'Bearer ' + app.Getopenid()
|
||||
}, workCondition, {}, function (res) {
|
||||
if (res.code == 0) {
|
||||
that.setData({
|
||||
repairList: res.data
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
|
||||
bannernav(e) {
|
||||
wx.navigateTo({
|
||||
url: e.currentTarget.dataset.uri,
|
||||
})
|
||||
},
|
||||
bannernav(e) {
|
||||
wx.navigateTo({
|
||||
url: e.currentTarget.dataset.uri,
|
||||
})
|
||||
},
|
||||
|
||||
navDetail(e) {
|
||||
var data = e.currentTarget.dataset
|
||||
wx.navigateTo({
|
||||
url: data.url + data.id
|
||||
})
|
||||
},
|
||||
navDetail(e) {
|
||||
var data = e.currentTarget.dataset
|
||||
wx.navigateTo({
|
||||
url: data.url + data.id
|
||||
})
|
||||
},
|
||||
|
||||
navapply(e) {
|
||||
let data = JSON.stringify(e.currentTarget.dataset.objlist)
|
||||
wx.navigateTo({
|
||||
url: '/pages/enterpriseServices/serviceList/serviceList?data=' + data
|
||||
})
|
||||
},
|
||||
navapply(e) {
|
||||
let data = JSON.stringify(e.currentTarget.dataset.objlist)
|
||||
wx.navigateTo({
|
||||
url: '/pages/enterpriseServices/serviceList/serviceList?data=' + data
|
||||
})
|
||||
},
|
||||
|
||||
// 滑动加载
|
||||
// scrollToLower: function (e) {
|
||||
// if (!this.data.loading && !this.data.noMore) {
|
||||
// this.setData({
|
||||
// loading: true,
|
||||
// pageNo: this.data.pageNo + 1
|
||||
// })
|
||||
// this.getData(true);
|
||||
// }
|
||||
// },
|
||||
// 滑动加载
|
||||
// scrollToLower: function (e) {
|
||||
// if (!this.data.loading && !this.data.noMore) {
|
||||
// this.setData({
|
||||
// loading: true,
|
||||
// pageNo: this.data.pageNo + 1
|
||||
// })
|
||||
// this.getData(true);
|
||||
// }
|
||||
// },
|
||||
|
||||
// 滑动切换
|
||||
swiperTab(e) {
|
||||
this.setData({
|
||||
currentTab: e.detail.current
|
||||
})
|
||||
this.getList()
|
||||
},
|
||||
// 滑动切换
|
||||
swiperTab(e) {
|
||||
this.setData({
|
||||
currentTab: e.detail.current
|
||||
})
|
||||
this.getList()
|
||||
},
|
||||
|
||||
//点击切换
|
||||
clickTab(e) {
|
||||
var that = this
|
||||
if (this.data.currentTab === e.target.dataset.current) {
|
||||
return false;
|
||||
} else {
|
||||
that.setData({
|
||||
currentTab: e.target.dataset.current
|
||||
})
|
||||
//点击切换
|
||||
clickTab(e) {
|
||||
var that = this
|
||||
if (this.data.currentTab === e.target.dataset.current) {
|
||||
return false;
|
||||
} else {
|
||||
that.setData({
|
||||
currentTab: e.target.dataset.current
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
@ -1,3 +1,4 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
"navigationBarTitleText": "入驻管理",
|
||||
"usingComponents": {}
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
<view class="page">
|
||||
<view class="swiper-tab">
|
||||
<view class="swiper-tab-item {{currentTab==0?'active':''}}" data-current="0" bindtap="clickTab">项目入孵</view>
|
||||
<!-- <view class="swiper-tab-item {{currentTab==0?'active':''}}" data-current="0" bindtap="clickTab">项目入孵</view> -->
|
||||
<view class="swiper-tab-item {{currentTab==1?'active':''}}" data-current="1" bindtap="clickTab">入驻申请</view>
|
||||
<view class="swiper-tab-item {{currentTab==2?'active':''}}" data-current="2" bindtap="clickTab">厂房申请</view>
|
||||
<!-- <view class="swiper-tab-item {{currentTab==2?'active':''}}" data-current="2" bindtap="clickTab">厂房申请</view> -->
|
||||
</view>
|
||||
|
||||
<swiper current="{{currentTab}}" duration="300" bindchange="swiperTab">
|
||||
|
Loading…
x
Reference in New Issue
Block a user