Skip to content

Commit 67cc989

Browse files
committed
code review 订单列表.vue 界面
1 parent c27b515 commit 67cc989

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/views/order/goodsOrder/index.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<template>
2+
<!-- TODO:挪到 mall/trade/order/index.vue -->
3+
<!-- TODO:咱的一些 html 标签,是不是可以按照一行,紧凑一点,嘿嘿,这样阅读起来方便一些 -->
24
<div class="app-container">
5+
6+
<!-- 搜索工作栏 -->
7+
<!-- TODO: inline 看看是不是需要; v-show= 那块逻辑还是要的 -->
38
<el-row :gutter="20">
49
<el-form
510
:model="queryParams"
@@ -133,6 +138,7 @@
133138
:row-class-name="rowClassName"
134139
border
135140
>
141+
<!-- TODO: 多选,咱先去掉哈 -->
136142
<el-table-column type="selection" :selectable="(row, index) => index % 2"/>
137143
<el-table-column label="商品" prop="goods" width="360">
138144
<template slot-scope="{ row, $index }">
@@ -162,13 +168,15 @@
162168
<el-button type="text">详情</el-button>
163169
<el-button type="text">备注</el-button>
164170
</el-col>
171+
<!-- TODO:关闭订单、修改地址、调整价格 -->
165172
</el-row>
166173
<div v-else class="goods-info">
167174
<img :src="row.picture"/>
168175
<span class="ellipsis-2">{{row.name}}</span>
169176
</div>
170177
</template>
171178
</el-table-column>
179+
<!-- TODO:需要考虑下,一个订单下,有多个商品的情况 -->
172180
<el-table-column label="单价(元)/数量" prop="fee" align="center" width="115">
173181
<template slot-scope="{ row }">
174182
<div>{{row.price}}</div>

0 commit comments

Comments
 (0)