| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187 |
- <template>
- <view class="container">
- <view class="title" v-if="type === '1'">申请人</view>
- <view class="box" v-if="type === '1'">
- <img src="../../static/images/repairsImg/people.png" />
- <view class="box_info">张三</view>
- </view>
- <view class="title">协作对象</view>
- <view class="box" @click="handleHelpPeople">
- <img src="../../static/images/repairsImg/peoples.png" />
- <view class="box_info">张三、李四、王麻子</view>
- <img class="img" src="../../static/images/repairsImg/right.png" />
- </view>
- <view class="title">转单语音说明</view>
- <!-- 录音区域 -->
- <view class="voice">
- <view class="voice_box">
- <img src="../../static/images/repairsImg/voice.png" />
- </view>
- 点击录音
- </view>
- <view class="title">备注</view>
- <view class="textarea">
- <textarea placeholder-style="color:#CCCCCC" placeholder="请输入协作说明"></textarea>
- </view>
- <view class="btn2" v-if="type === '1'">
- <view class="btn_box type">拒绝</view>
- <view class="btn_box type2">派单</view>
- </view>
- <view class="btn" v-else>确认</view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- type: null
- }
- },
- onLoad(options) {
- console.log(options)
- if (options.type) {
- this.type = options.type
- }
- },
- methods: {
- handleHelpPeople() {
- uni.navigateTo({
- url: '/pagesRepairs/helpPeople/helpPeople'
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .container {
- box-sizing: border-box;
- padding: 0 30rpx;
- overflow-y: auto;
- .title {
- display: flex;
- align-items: center;
- height: 107rpx;
- font-size: 36rpx;
- font-weight: bold;
- }
- .box {
- display: flex;
- align-items: center;
- height: 94rpx;
- font-size: 32rpx;
- border-radius: 10rpx;
- border: 1rpx solid #cccccc;
- .box_info {
- flex: 1;
- }
- img {
- margin: 0 14rpx 0 30rpx;
- width: 48rpx;
- height: 48rpx;
- }
- .img {
- width: 40rpx;
- height: 40rpx;
- }
- }
- .voice {
- display: flex;
- align-items: center;
- height: 94rpx;
- font-size: 32rpx;
- color: #cccccc;
- border-radius: 10rpx;
- border: 1rpx solid #cccccc;
- .voice_box {
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 0 38rpx 0 33rpx;
- width: 101rpx;
- height: 47rpx;
- border-radius: 33rpx;
- box-shadow: 0px 0px 4rpx rgba(0, 0, 0, 0.25);
- img {
- width: 33rpx;
- height: 33rpx;
- }
- }
- }
- .textarea {
- height: 310rpx;
- border-radius: 10rpx;
- border: 1rpx solid #cccccc;
- textarea {
- box-sizing: border-box;
- padding: 25rpx 35rpx;
- width: 100%;
- font-size: 32rpx;
- }
- }
- .btn {
- position: absolute;
- bottom: 66rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- margin: auto;
- width: 690rpx;
- height: 100rpx;
- color: #fff;
- font-size: 32rpx;
- border-radius: 12rpx;
- background-color: #6fb6b8;
- }
- .btn2 {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin: 200rpx auto 70rpx;
- width: 690rpx;
- height: 100rpx;
- font-size: 32rpx;
- .btn_box {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 300rpx;
- height: 100rpx;
- border-radius: 12rpx;
- }
- .type {
- color: #fff;
- background-color: #6fb6b8;
- }
- .type2 {
- color: #6fb6b8;
- border: 1rpx solid #6fb6b8;
- }
- }
- }
- </style>
|