123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <template>
- <view>
- <view class="demandForm">
- <view class="form-item">
- <view class="item-title">需求分类</view>
- <view class="item-area">
- <input class="item-area-input" placeholder="请选择" placeholder-style="color: #979797;"></input>
- </view>
- </view>
- <view class="form-item">
- <view class="item-title">您的需求</view>
- <view class="item-area">
- <input class="item-area-input" placeholder="请输入您的要求" placeholder-style="color: #979797;"></input>
- </view>
- </view>
- <view class="form-item">
- <view class="item-title">期望价格</view>
- <view class="item-area-mult">
- <view class="item-area-mult-box">
- <input class="item-area-input" type="digit" placeholder="请输入"
- placeholder-style="color: #979797;"></input>
- </view>
- <view>元</view>
- </view>
- </view>
- <view class="form-item">
- <view class="item-title">服务地址</view>
- <view class="item-area">
- <input class="item-area-input" placeholder="请选择地址" placeholder-style="color: #979797;"></input>
- </view>
- </view>
- <view class="form-item">
- <view class="item-title">期望服务时间</view>
- <view class="item-area">
- <input class="item-area-input" placeholder="请选择时间" placeholder-style="color: #979797;"></input>
- </view>
- </view>
- <view class="form-item">
- <view class="item-title">添加图片</view>
- <view class="item-area-image">
- <view class="item-area-imageBox">
- <u-icon name="plus" color="#B4B5B5" size="40"></u-icon>
- </view>
- </view>
- </view>
- </view>
- <view class="bottomEmpty"></view>
- <view class="bottomArea">
- <view class="bottomLeft">
- <text class="bottomLeft-title">应付金额:</text>
- <text style="font-weight: 600;color: #CA151C;">¥</text>
- <text class="bottomLeft-money">300</text>
- </view>
- <view class="bottomButton" @tap="submit">确认提交</view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- }
- },
- methods: {
- submit() {
- },
- }
- }
- </script>
- <style lang="scss">
- .demandForm {
- padding: 40rpx 70rpx 10rpx;
- background-color: #FFFFFF;
- .form-item {
- margin-bottom: 35rpx;
- .item-area-mult {
- margin-top: 15rpx;
- width: 100%;
- display: flex;
- align-items: center;
- // justify-content: space-between;
- font-size: 28rpx;
- color: #979797;
- .item-area-mult-box {
- width: 90%;
- height: 100rpx;
- margin-right: 15rpx;
- padding: 0 36rpx;
- background: #F7F7F7;
- .item-area-input {
- height: 100rpx;
- }
- }
- }
- .item-area-image {
- margin-top: 15rpx;
- .item-area-imageBox {
- width: 200rpx;
- height: 200rpx;
- background: #F7F7F7;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- }
- .item-area {
- margin-top: 15rpx;
- padding: 0 36rpx;
- width: 100%;
- height: 100rpx;
- background: #F7F7F7;
- font-size: 28rpx;
- color: #979797;
- .item-area-input {
- height: 100rpx;
- }
- }
- }
- }
- .bottomEmpty {
- margin-top: 80rpx;
- height: 130rpx;
- }
- .bottomArea {
- position: fixed;
- bottom: 0;
- z-index: 100;
- width: 100%;
- height: 130rpx;
- padding: 0 40rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- background-color: #FFFFFF;
- box-shadow: -10rpx -12rpx 12rpx 2rpx rgba(52, 85, 73, 0.16);
- .bottomLeft {
- .bottomLeft-money {
- font-size: 40rpx;
- font-weight: 600;
- color: #CA151C;
- }
- }
- .bottomButton {
- width: 360rpx;
- height: 88rpx;
- background-color: #CA151C;
- border-radius: 54rpx;
- color: #FFFFFF;
- font-size: 36rpx;
- line-height: 88rpx;
- text-align: center;
- }
- }
- </style>
|