123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- <template>
- <view class="box">
- <view class="content">
- <view class="viewBg">
- <image src="../../static/img/icon_xinghao.png" mode="" style="width: 14rpx; height: 14rpx;"></image>
- <view class="leftTitle">退款原因</view>
- <picker class="width70" mode="selector" :range="reasonArray" @change="reasonChange" >
- <view class="blackColor" :class="{grayColor: reason==''}">{{reason?reason:'请选择'}}</view>
- </picker>
-
- <image src="../../static/img/rightArrow.png" mode="" style="width: 13rpx; height: 23rpx;"></image>
- </view>
-
- <view class="moneyBg">
- <view class="viewBg2">
- <image src="../../static/img/icon_xinghao.png" mode="" style="width: 14rpx; height: 14rpx;"></image>
- <view class="leftTitle">退款金额</view>
- <input class="blackColor" type="number" v-model ="money" placeholder="最大可退 ¥123"
- placeholder-style="color:#999999" />
-
- </view>
- <view class="grayColor">如全额退款,优惠券会退回到您的账户</view>
- </view>
-
-
- <view class="contentBg">
- <view class="leftTitle">补充描述</view>
-
- <textarea placeholder-style="color:#999999" placeholder="选填,请输入补充描述" v-model="exeContent"
- class="textareaCont" maxlength="-1" auto-height="true" @confirm="feedDone" />
-
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- maxMoney:'',
- reasonArray:['不想要了','质量不好'],
- reason:'',
- money:'',
- exeContent:'',
- }
- },
- methods: {
- feedDone(e) {
- this.exeContent = e.target.value
-
- },
- reasonChange(e){
- this.reason = this.reasonArray[e.detail.value];
- }
- }
- }
- </script>
- <style scoped>
- .box {
- min-height: 100vh;
- background: #F4F5F7;
- padding-top: 20rpx;
- }
-
- .content{
- background-color: #FFFFFF;
- border-radius: 10rpx;
- margin: 20rpx 24rpx;
- padding: 0 20rpx;
- }
- .viewBg{
- display: flex;
- align-items: center;
- padding: 30rpx 0;
- border-bottom: 1rpx solid #EEEEEE;
- }
- .width70{
- width: 70%;
- }
- .moneyBg{
- padding: 30rpx 0;
- border-bottom: 1rpx solid #EEEEEE;
- }
- .viewBg2{
- display: flex;
- align-items: center;
- margin-bottom: 20rpx;
- }
- .leftTitle{
- color: #333333;
- font-size: 28rpx;
- width: 130rpx;
- margin-right: 50rpx;
- }
- .blackColor{
- color: #333333;
- font-size: 28rpx;
- }
- .grayColor{
- color: #999999;
- font-size: 28rpx;
- }
- .textareaCont {
-
- width: 70%;
- font-size: 28rpx;
- color: #333333;
-
- }
- .contentBg{
- display: flex;
- align-items: center;
- padding: 30rpx 0;
-
- }
- </style>
|