Commit 85492f30 authored by 刘用法's avatar 刘用法

材料页面注释

parent 14630c97
<template> <template>
<view class="mtr-content"> <view class="mtr-content">
<view class="content-view"> <view class="content-view">
<!-- 材料列表 -->
<view class="mtr-tab"> <view class="mtr-tab">
<u-table align="center" border-color="#FFFFFF" color="#333333" font-size="rpx" :th-style="thStyle" <u-table align="center" border-color="#FFFFFF" color="#333333" font-size="rpx" :th-style="thStyle"
padding="0"> padding="0">
...@@ -17,6 +18,7 @@ ...@@ -17,6 +18,7 @@
</u-tr> </u-tr>
</u-table> </u-table>
</view> </view>
<!-- 其他 -->
<view class="mtr-other"> <view class="mtr-other">
<view class="line-view"></view> <view class="line-view"></view>
<view class="other-space"> <view class="other-space">
...@@ -49,6 +51,7 @@ ...@@ -49,6 +51,7 @@
</view> </view>
</view> </view>
</view> </view>
<!-- 底部确定按钮 -->
<view class="bottom-view"> <view class="bottom-view">
<u-button class="sure-button" type="primary" shape="circle" @click="handleSure" :custom-style="buttonStyle"> <u-button class="sure-button" type="primary" shape="circle" @click="handleSure" :custom-style="buttonStyle">
确定 确定
...@@ -61,8 +64,8 @@ ...@@ -61,8 +64,8 @@
export default { export default {
data() { data() {
return { return {
list: [], list: [], // 材料列表
other: [] other: [], // 其他列表
}; };
}, },
computed: { computed: {
...@@ -127,12 +130,14 @@ ...@@ -127,12 +130,14 @@
} }
}, },
methods: { methods: {
/* 其他添加新的 */
handleAdd() { handleAdd() {
this.other.push({ this.other.push({
title: '', title: '',
value: '' value: ''
}) })
}, },
/* 其他删除某个 */
handleSubtract(index) { handleSubtract(index) {
this.other.splice(index, 1) this.other.splice(index, 1)
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment