页面优化
This commit is contained in:
parent
2fac414610
commit
58b92b9009
@ -463,6 +463,10 @@ Page({
|
||||
}
|
||||
}, err => {
|
||||
wx.hideLoading()
|
||||
_self.setData({
|
||||
showError: true,
|
||||
errorHint: '未查询到相关推荐的系统名称,请重新输入'
|
||||
})
|
||||
console.log(err)
|
||||
})
|
||||
},
|
||||
|
@ -74,7 +74,7 @@
|
||||
<view>金额:<text class="price">{{price/100}}元</text></view>
|
||||
<checkbox-group class="custom-checkbox" bindchange="doUrgent" wx:if="{{isShowUrgent}}">
|
||||
<checkbox checked="{{isUrgent}}" class="custom-wx-checkbox" disabled="{{isUrgentDisable}}">
|
||||
<tex style="color: #532A00;padding-left: 3rpx;font-weight: 400;">加急办理{{urgent/100}}元</tex>
|
||||
<text style="color: #532A00;padding-left: 3rpx;font-weight: 400;">加急办理{{urgent/100}}元</text>
|
||||
</checkbox>
|
||||
</checkbox-group>
|
||||
</view>
|
||||
@ -85,23 +85,21 @@
|
||||
<mp-half-screen-dialog show="{{isShowContact}}">
|
||||
<view slot="title">创建联系人</view>
|
||||
<view slot="desc">
|
||||
<view class="form-box">
|
||||
<view class="form-item">
|
||||
<view class="form-item-title">姓名</view>
|
||||
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactName}}" placeholder="请输入姓名" class="form-item-content" bindinput="inputContactName" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<view class="form-item-title">联系电话</view>
|
||||
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactPhone}}" placeholder="请输入联系电话" class="form-item-content" bindinput="inputContactPhone" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<view class="form-item-title no-after" style="padding-left: 16rpx;">联系邮箱</view>
|
||||
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactEmail}}" placeholder="请输入联系邮箱" class="form-item-content" bindinput="inputContactEmail" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<view class="form-item-title no-after" style="padding-left: 16rpx;">公司</view>
|
||||
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactCompany}}" placeholder="请输入公司名称" class="form-item-content" bindinput="inputContactCompany" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<view class="form-item-title">姓名</view>
|
||||
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactName}}" placeholder="请输入姓名" class="form-item-content" bindinput="inputContactName" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<view class="form-item-title">联系电话</view>
|
||||
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactPhone}}" placeholder="请输入联系电话" class="form-item-content" bindinput="inputContactPhone" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<view class="form-item-title no-after" style="padding-left: 16rpx;">联系邮箱</view>
|
||||
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactEmail}}" placeholder="请输入联系邮箱" class="form-item-content" bindinput="inputContactEmail" />
|
||||
</view>
|
||||
<view class="form-item">
|
||||
<view class="form-item-title no-after" style="padding-left: 16rpx;">公司</view>
|
||||
<input adjust-position="{{true}}" cursor-spacing="{{50}}" value="{{contactCompany}}" placeholder="请输入公司名称" class="form-item-content" bindinput="inputContactCompany" />
|
||||
</view>
|
||||
</view>
|
||||
<view slot="footer">
|
||||
@ -196,7 +194,7 @@
|
||||
<view class="coupons-list-box">
|
||||
<radio-group style="display: flex;flex-direction: column;" bindchange="changeLang">
|
||||
<block wx:for="{{langList}}" wx:key="index">
|
||||
<radio class="custom-radio" style="margin-top: 10px;width: 100vw;" checked="{{selectLang==item}}" value="{{item}}">
|
||||
<radio class="custom-radio" style="margin-top: 10px;width: 80vw;" checked="{{selectLang==item}}" value="{{item}}">
|
||||
<view>{{item}}</view>
|
||||
</radio>
|
||||
</block>
|
||||
|
@ -250,7 +250,7 @@ page {
|
||||
justify-content: center;
|
||||
align-items: flex-start;
|
||||
font-size: 14px;
|
||||
width: 100vw;
|
||||
background-color: #FFA900;
|
||||
}
|
||||
|
||||
.form-item {
|
||||
@ -258,8 +258,8 @@ page {
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
width: 80vw;
|
||||
padding: 10px;
|
||||
width: 80vw;
|
||||
}
|
||||
|
||||
.form-item-title {
|
||||
@ -296,7 +296,7 @@ page {
|
||||
text-align: center;
|
||||
color: #FFA900;
|
||||
text-align: center;
|
||||
margin: 20rpx;
|
||||
margin: 10rpx;
|
||||
padding: 5rpx 20rpx;
|
||||
}
|
||||
|
||||
@ -313,13 +313,15 @@ page {
|
||||
|
||||
.weui-half-screen-dialog__bd {
|
||||
padding-bottom: 40rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.coupons-list-box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.tickets {
|
||||
|
@ -11,21 +11,21 @@
|
||||
<!-- 付款信息 -->
|
||||
<view class="container-box">
|
||||
<view class="box-title">付款方信息</view>
|
||||
<view class="item">
|
||||
<view class="item center">
|
||||
<view class="title star">公司名称</view>
|
||||
<view class="content">
|
||||
<input class="input-box" placeholder="请输入公司名称" value="{{companyName}}" bindinput="inputCompanyName" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="item center">
|
||||
<view class="title star">开户银行</view>
|
||||
<view class="content"><input value="{{companyBank}}" bindinput="inputCompanyBank" class="input-box" placeholder="请输入开户银行" /></view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="item center">
|
||||
<view class="title star">银行账号</view>
|
||||
<view class="content"><input class="input-box" placeholder="请输入银行账号" value="{{companyBankNum}}" bindinput="inputCompanyNum" /></view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="item center">
|
||||
<view class="title star">打款时间</view>
|
||||
<view class="content">
|
||||
<picker mode="multiSelector" value="{{dateTime}}" bindchange="changeDateTime" bindcolumnchange="changeDateTimeColumn" range="{{dateTimeArray}}">
|
||||
@ -33,7 +33,6 @@
|
||||
<view class="time-picker">
|
||||
{{dateTimeArray[0][dateTime[0]]}}-{{dateTimeArray[1][dateTime[1]]}}-{{dateTimeArray[2][dateTime[2]]}} {{dateTimeArray[3][dateTime[3]]}}:{{dateTimeArray[4][dateTime[4]]}}:{{dateTimeArray[5][dateTime[5]]}}
|
||||
</view>
|
||||
<view class="time-icon" style="width: 16px;height: 16px;"></view>
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
|
@ -35,6 +35,10 @@ page {
|
||||
width: 85vw;
|
||||
}
|
||||
|
||||
.center {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.red {
|
||||
color: red;
|
||||
}
|
||||
@ -54,11 +58,20 @@ page {
|
||||
}
|
||||
|
||||
.time-picker-box {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
background-color: #FAFAFA;
|
||||
border: 1px solid #F0F0F0;
|
||||
border-radius: 2rpx;
|
||||
padding: 3px 8px;
|
||||
text-align: left;
|
||||
font-size: 12px;
|
||||
/* display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
width: 63vw;
|
||||
align-items: center;
|
||||
background-color: #FAFAFA;
|
||||
border: 1px solid #F0F0F0;
|
||||
padding: 5rpx 10rpx; */
|
||||
}
|
||||
|
||||
.weui-uploader__title {
|
||||
@ -93,6 +106,7 @@ page {
|
||||
width: 65px;
|
||||
height: 65px;
|
||||
border-radius: 5px;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
|
||||
|
||||
@ -134,11 +148,12 @@ page {
|
||||
.input-box {
|
||||
flex: 1;
|
||||
background-color: #FAFAFA;
|
||||
border: 1px solid #F0F0F0;
|
||||
border-radius: 2rpx;
|
||||
padding: 3px 8px;
|
||||
text-align: left;
|
||||
font-size: 12px;
|
||||
border: 1px solid #F0F0F0;
|
||||
|
||||
}
|
||||
|
||||
.item-v {
|
||||
|
@ -20,7 +20,7 @@
|
||||
</view>
|
||||
<view style="margin-top: 60px;">
|
||||
<container-loading loadingState="{{loadingState}}">
|
||||
<scroll-view scroll-y style="height: {{height}}px;" bindrefresherrefresh="doRefreshList" refresher-enabled refresher-triggered="{{listRefreshTrig}}" bindscrolltolower="doLoadMore" lower-threshold='30'>
|
||||
<scroll-view scroll-y style="height: 85vh;" bindrefresherrefresh="doRefreshList" refresher-enabled refresher-triggered="{{listRefreshTrig}}" bindscrolltolower="doLoadMore" lower-threshold='30'>
|
||||
<view class="coupons-list-box">
|
||||
<block wx:for="{{couponsList}}" wx:key="index">
|
||||
<view class="tickets {{tools.boderStyle(currentStatus)}}">
|
||||
|
Loading…
Reference in New Issue
Block a user