Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohoblk-wap
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
ccbikai
9 years ago
Commit
c1c251ed248ac636d5417b12a8f45ce4854514bc
1 parent
ebe281f6
完善原因选择
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
public/scss/brand/_index.css
public/scss/index.css
public/vue/home/refund.vue
public/vue/home/refund/reason.vue
public/scss/brand/_index.css
deleted
100644 → 0
View file @
ebe281f
public/scss/index.css
View file @
c1c251e
...
...
@@ -4,4 +4,3 @@
@import
"product/index"
;
@import
"channel/index"
;
@import
"home/index"
;
@import
"brand/index"
;
...
...
public/vue/home/refund.vue
View file @
c1c251e
...
...
@@ -2,6 +2,7 @@
<div class="refund">
<product-list v-bind:title="title" v-bind:list="list" v-bind:refund-data="refundData"></product-list>
<div class="return-amount">
<!-- TODO:退货信息优化为组件 -->
<div class="return-amount-item">
退款方法
...
...
public/vue/home/refund/reason.vue
View file @
c1c251e
...
...
@@ -15,7 +15,7 @@
<div class="remark">
<textarea v-model="product.remark" rows="3" max-length="100" placeholder="退货原因说明"></textarea>
</div>
<div class="image-list clearfix">
<div
v-show="specialReturnReason.indexOf(product.reason.id) !== -1"
class="image-list clearfix">
<div class="image-item" v-for="image in imageListForShow">
<span v-on:click="deleteImage(image.index)" class="icon icon-close"></span>
<img v-bind:src="image.path">
...
...
@@ -50,6 +50,15 @@
name: '请选择'
}].concat(this.refundData.returnReason);
},
specialReturnReason() {
const list = [];
this.refundData.specialReturnReason.forEach(reason => {
list.push(reason.id);
});
return list;
},
imageListForShow() {
const list = [];
...
...
Please
register
or
login
to post a comment