Browse Source

提交样式

chenzhfa 2 years ago
parent
commit
2653a606dc
1 changed files with 18 additions and 8 deletions
  1. 18 8
      app/components/Grid.js

+ 18 - 8
app/components/Grid.js

@@ -289,24 +289,34 @@ export default class Grid extends React.Component {
           >
           >
             库存:{ScaleUtil(item[this.props.invenKey])}(件)
             库存:{ScaleUtil(item[this.props.invenKey])}(件)
           </Text> */}
           </Text> */}
-          <View 
+          {/* <View 
               style = {{
               style = {{
                 flexDirection: 'row',
                 flexDirection: 'row',
                 justifyContent: 'space-between',
                 justifyContent: 'space-between',
-              }}>
-              <Text style={{fontSize:12}}>
+              }}> */}
+              <Text style={{
+              fontSize: 13,
+              color: '#999',
+              lineHeight: 18,
+              marginTop: 2,
+            }}>
                 {'型号:'+(item.model?(item.model.length>10?item.model.substr(0,10):item.model):"")}
                 {'型号:'+(item.model?(item.model.length>10?item.model.substr(0,10):item.model):"")}
               </Text>
               </Text>
-          </View>
-          <View 
+          {/* </View> */}
+          {/* <View 
               style = {{
               style = {{
                 flexDirection: 'row',
                 flexDirection: 'row',
                 justifyContent: 'space-between',
                 justifyContent: 'space-between',
-              }}>
-              <Text style={{fontSize:12}}>
+              }}> */}
+              <Text style={{
+              fontSize: 13,
+              color: '#999',
+              lineHeight: 18,
+              marginTop: 2,
+            }}>
                 {'规格:'+(item.specification?(item.specification.split("/")[0]+"/"+item.basicUnitName):"")}
                 {'规格:'+(item.specification?(item.specification.split("/")[0]+"/"+item.basicUnitName):"")}
               </Text>
               </Text>
-          </View>
+          {/* </View> */}
           <View
           <View
             style={{
             style={{
               flexDirection: 'row',
               flexDirection: 'row',