傅行帆 5 年之前
父節點
當前提交
3a028fa0d9

+ 3
- 3
src/pages/sample/h5/components/H5Card.jsx 查看文件

@@ -56,14 +56,14 @@ const H5Card = props => {
56 56
           padding: '0.1rem'
57 57
         }}
58 58
         // style={{ width: 480,height: 450,marginTop: 50,position: "relative" }}
59
-        cover={<img  width="100%" style={{height:'1.3rem'}} alt="example" onClick={toEdit} src={h5Data.coverImg} />}
59
+        cover={<img width="100%" style={{ height: '1.3rem' }} alt="example" onClick={toEdit} src={h5Data.coverImg} />}
60 60
         extra={<a onClick={deleteSample}>删除</a>}
61 61
         title={h5Data.status == 1 ? '已发布' : h5Data.status == 0 ? '未发布' : ''}
62 62
       >
63 63
         <Meta onClick={toEdit} title={h5Data.sampleName} />
64
-        <div style={{ position: "absolute", bottom: "50px", right: "20px", margin: '20px 0' }}>
64
+        <div style={{ position: "absolute", bottom: "50px", right: "0px", margin: '20px', }}>
65 65
           {(h5Data.tags || []).map((x, i) => {
66
-            return <Tag color={colerArr[i]}>{x}</Tag>
66
+            return <Tag style={{marginTop:'10px'}} color={colerArr[i]}>{x}</Tag>
67 67
           })}
68 68
         </div>
69 69
       </Card>

+ 0
- 3
src/pages/sample/h5/components/SelectContact.jsx 查看文件

@@ -99,7 +99,6 @@ const SelectContact = props => {
99 99
       key: 'drainageId',
100 100
       align: 'center',
101 101
       ellipsis: true,
102
-      render: text => <a>{text}</a>,
103 102
     },
104 103
     {
105 104
       title: '手机号',
@@ -107,7 +106,6 @@ const SelectContact = props => {
107 106
       key: 'drainageId',
108 107
       align: 'center',
109 108
       ellipsis: true,
110
-      render: text => <a>{text}</a>,
111 109
     },
112 110
     {
113 111
       title: '内部岗位',
@@ -115,7 +113,6 @@ const SelectContact = props => {
115 113
       key: 'drainageId',
116 114
       align: 'center',
117 115
       ellipsis: true,
118
-      render: text => <a>{text}</a>,
119 116
     },
120 117
     {
121 118
       title: '操作',

+ 1
- 1
src/pages/sample/h5/edit.jsx 查看文件

@@ -124,7 +124,7 @@ const header = props => {
124 124
             </Select>)}
125 125
           </Form.Item>
126 126
           <Form.Item label="权重" help="数值越大越靠前">
127
-            {getFieldDecorator('orderNo')(<InputNumber placeholder="权重越大,在列表中的排序越靠前" />)}
127
+            {getFieldDecorator('orderNo')(<InputNumber />)}
128 128
           </Form.Item>
129 129
           <Form.Item label="标签" help="标签长度6个字,最多3个标签">
130 130
             {getFieldDecorator('tags')(