dev01 1 年之前
父节点
当前提交
df60fbc41c
共有 2 个文件被更改,包括 8 次插入8 次删除
  1. 7 7
      src/pages/template/templatelist.js
  2. 1 1
      src/pages/template/templatelist.scss

+ 7 - 7
src/pages/template/templatelist.js

@@ -42,18 +42,18 @@ export default class TemplateList extends Component {
                   })
                 }}
               >
-                <View className='list__item__left'>
-                  <View className='list__item__left-one'>{item.name}</View>
-                  <View className='list__item__left-two'>创建时间:{item.createAt}</View>
-                  <View className='list__item__left-two'>更新时间:{item.updateAt}</View>
-                  <View className='list__item__left-bottom'>
-                    <View className='list__item__left-bottom_g'
+                <View className='list__item-left'>
+                  <View className='list__item-left-one'>{item.name}</View>
+                  <View className='list__item-left-two'>创建时间:{item.createAt}</View>
+                  <View className='list__item-left-two'>更新时间:{item.updateAt}</View>
+                  <View className='list__item-left-bottom'>
+                    <View className='list__item-left-bottom_g'
                       onClick={e => {
                         e.stopPropagation()
                         this.props.creatReports(item)
                       }}
                     >使用该模板</View>
-                    <View className='list__item__left-bottom_d'
+                    <View className='list__item-left-bottom_d'
                       onClick={e => {
                         e.stopPropagation()
                         this.setState({

+ 1 - 1
src/pages/template/templatelist.scss

@@ -21,7 +21,7 @@
     border-radius: 10px;
     margin-bottom: 17px;
 
-    &__left {
+    &-left {
       width: 100%;
       display: flex;
       flex-direction: column;