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