...
|
...
|
@@ -8,13 +8,13 @@ |
|
|
<slot name="type">退货原因</slot>
|
|
|
|
|
|
<span class="icon icon-right"></span>
|
|
|
<select v-model="product.reason.id" name="reason">
|
|
|
<select class="reason" v-model="product.reason.id" name="reason">
|
|
|
<option v-for="reason in reasons" v-bind:value="reason.id" selected="{{reason.id === product.reason.id}}">{{reason.name}}</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
<template v-if="specialReasons.indexOf(product.reason.id) !== -1">
|
|
|
<div class="remark">
|
|
|
<textarea v-model="product.remark" rows="3" max-length="100" placeholder="原因说明"></textarea>
|
|
|
<textarea v-model="product.remark" rows="4" max-length="100" placeholder="原因说明"></textarea>
|
|
|
</div>
|
|
|
<div class="image-list clearfix">
|
|
|
<div class="image-item" v-for="image in imageListForShow">
|
...
|
...
|
@@ -83,14 +83,14 @@ |
|
|
font-size: 32px;
|
|
|
line-height: 90px;
|
|
|
background: #f6f6f6;
|
|
|
|
|
|
&:after {
|
|
|
content: "";
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
height: 30px;
|
|
|
border-top: 1px solid #eee;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.tip {
|
|
|
position: relative;
|
|
|
padding: 0 30px;
|
...
|
...
|
@@ -132,14 +132,19 @@ |
|
|
line-height: 90px;
|
|
|
color: #b0b0b0;
|
|
|
}
|
|
|
|
|
|
.reason {
|
|
|
margin-right: 25px;
|
|
|
}
|
|
|
}
|
|
|
.remark {
|
|
|
margin-top: 20px;
|
|
|
padding: 0 30px;
|
|
|
background: #fff;
|
|
|
border-top: 1px solid #eee;
|
|
|
height: 190px;
|
|
|
|
|
|
textarea {
|
|
|
margin-top: 30px;
|
|
|
margin-top: 25px;
|
|
|
width: 100%;
|
|
|
font-size: 24px;
|
|
|
line-height: 40px;
|
...
|
...
|
@@ -149,16 +154,20 @@ |
|
|
}
|
|
|
.image-list {
|
|
|
padding: 30px;
|
|
|
padding-top: 5px;
|
|
|
background: #fff;
|
|
|
|
|
|
.image-item {
|
|
|
position: relative;
|
|
|
float: left;
|
|
|
margin-right: 20px;
|
|
|
width: 150px;
|
|
|
height: 150px;
|
|
|
margin-right: 25px;
|
|
|
width: 154px;
|
|
|
height: 154px;
|
|
|
|
|
|
&:last-child {
|
|
|
margin-right: 0;
|
|
|
}
|
|
|
|
|
|
.icon-close {
|
|
|
position: absolute;
|
|
|
right: -20px;
|
...
|
...
|
|