订单详情完成
Showing
2 changed files
with
84 additions
and
17 deletions
1 | <template> | 1 | <template> |
2 | <div class="order-list"> | 2 | <Card> |
3 | <Card class="order-list-card"> | ||
4 | <div class="search"> | 3 | <div class="search"> |
5 | <el-form | 4 | <el-form |
6 | class="count-form" | 5 | class="count-form" |
... | @@ -82,10 +81,7 @@ | ... | @@ -82,10 +81,7 @@ |
82 | <el-table-column align="center" label="操作" fixed="right"> | 81 | <el-table-column align="center" label="操作" fixed="right"> |
83 | <template v-slot="scope"> | 82 | <template v-slot="scope"> |
84 | <div> | 83 | <div> |
85 | <el-button | 84 | <el-button type="text" size="small" @click="handleDetail(scope.row)" |
86 | type="text" | ||
87 | size="small" | ||
88 | @click="handleDetail(scope.row)" | ||
89 | >查看</el-button | 85 | >查看</el-button |
90 | > | 86 | > |
91 | </div> | 87 | </div> |
... | @@ -97,7 +93,6 @@ | ... | @@ -97,7 +93,6 @@ |
97 | :total="total" | 93 | :total="total" |
98 | ></FooterPaginationfrom> | 94 | ></FooterPaginationfrom> |
99 | </Card> | 95 | </Card> |
100 | </div> | ||
101 | </template> | 96 | </template> |
102 | 97 | ||
103 | <script> | 98 | <script> |
... | @@ -164,15 +159,13 @@ export default { | ... | @@ -164,15 +159,13 @@ export default { |
164 | </script> | 159 | </script> |
165 | 160 | ||
166 | <style lang="scss" scoped> | 161 | <style lang="scss" scoped> |
167 | .order-list { | 162 | .search { |
168 | .order-list-card { | ||
169 | .search { | ||
170 | .count-form { | 163 | .count-form { |
171 | margin-top: 20px; | 164 | margin-top: 20px; |
172 | margin-left: 20px; | 165 | margin-left: 20px; |
173 | } | 166 | } |
174 | } | 167 | } |
175 | .status { | 168 | .status { |
176 | display: flex; | 169 | display: flex; |
177 | justify-content: center; | 170 | justify-content: center; |
178 | align-items: center; | 171 | align-items: center; |
... | @@ -187,8 +180,6 @@ export default { | ... | @@ -187,8 +180,6 @@ export default { |
187 | .yellow { | 180 | .yellow { |
188 | background-color: #ffaa00; | 181 | background-color: #ffaa00; |
189 | } | 182 | } |
190 | } | ||
191 | } | ||
192 | } | 183 | } |
193 | .flex-end { | 184 | .flex-end { |
194 | display: flex; | 185 | display: flex; | ... | ... |
1 | <template> | 1 | <template> |
2 | <Card>dsads</Card> | 2 | <div class="details"> |
3 | <div class="top mb10"> | ||
4 | <Card class="info"> | ||
5 | <h4 class="mb10">客户信息</h4> | ||
6 | <div class="item">姓名:刘非法</div> | ||
7 | <div class="item">性别:男</div> | ||
8 | <div class="item">证件类型:身份证</div> | ||
9 | <div class="item">证件号:232303199101294123</div> | ||
10 | <div class="item">微信昵称:</div> | ||
11 | <div class="item">状态:交流中</div> | ||
12 | <div class="item">年收入:7万</div> | ||
13 | <div class="item">地址:北京</div> | ||
14 | </Card> | ||
15 | <div class="video-wrapper"> | ||
16 | <VideoPlayer></VideoPlayer> | ||
17 | </div> | ||
18 | </div> | ||
19 | <Card class="mb10"> | ||
20 | <el-form label-width="50px" :model="form"> | ||
21 | <el-form-item label="备注"> | ||
22 | <el-input | ||
23 | type="textarea" | ||
24 | placeholder="请输入" | ||
25 | maxlength="200" | ||
26 | show-word-limit | ||
27 | :autosize="{ minRows: 4, maxRows: 6 }" | ||
28 | v-model.trim="form.remarks" | ||
29 | ></el-input> | ||
30 | </el-form-item> | ||
31 | </el-form> | ||
32 | </Card> | ||
33 | <div class="bottom"> | ||
34 | <el-button type="primary" @click="handleSubmit">提交</el-button> | ||
35 | </div> | ||
36 | </div> | ||
3 | </template> | 37 | </template> |
4 | 38 | ||
5 | <script> | 39 | <script> |
6 | export default {} | 40 | import VideoPlayer from '@/components/videoPlayer' |
41 | |||
42 | export default { | ||
43 | components: { | ||
44 | VideoPlayer | ||
45 | }, | ||
46 | data() { | ||
47 | return { | ||
48 | form: { | ||
49 | remarks: '' | ||
50 | } | ||
51 | } | ||
52 | }, | ||
53 | methods: { | ||
54 | handleSubmit() {} | ||
55 | } | ||
56 | } | ||
7 | </script> | 57 | </script> |
8 | 58 | ||
9 | <style></style> | 59 | <style lang="scss" scoped> |
60 | .details { | ||
61 | display: flex; | ||
62 | flex-flow: column nowrap; | ||
63 | .top { | ||
64 | display: flex; | ||
65 | flex-flow: row nowrap; | ||
66 | .info { | ||
67 | width: 330px; | ||
68 | margin-right: 10px; | ||
69 | .item { | ||
70 | margin-bottom: 5px; | ||
71 | font-size: 14px; | ||
72 | } | ||
73 | } | ||
74 | .video-wrapper { | ||
75 | flex: 1 0 300px; | ||
76 | // width: 300px; | ||
77 | height: 400px; | ||
78 | } | ||
79 | } | ||
80 | .bottom { | ||
81 | display: flex; | ||
82 | justify-content: center; | ||
83 | } | ||
84 | } | ||
85 | </style> | ... | ... |
-
Please register or sign in to post a comment