傅行帆 5 lat temu
rodzic
commit
3a028fa0d9

+ 3
- 3
src/pages/sample/h5/components/H5Card.jsx Wyświetl plik

56
           padding: '0.1rem'
56
           padding: '0.1rem'
57
         }}
57
         }}
58
         // style={{ width: 480,height: 450,marginTop: 50,position: "relative" }}
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
         extra={<a onClick={deleteSample}>删除</a>}
60
         extra={<a onClick={deleteSample}>删除</a>}
61
         title={h5Data.status == 1 ? '已发布' : h5Data.status == 0 ? '未发布' : ''}
61
         title={h5Data.status == 1 ? '已发布' : h5Data.status == 0 ? '未发布' : ''}
62
       >
62
       >
63
         <Meta onClick={toEdit} title={h5Data.sampleName} />
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
           {(h5Data.tags || []).map((x, i) => {
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
         </div>
68
         </div>
69
       </Card>
69
       </Card>

+ 0
- 3
src/pages/sample/h5/components/SelectContact.jsx Wyświetl plik

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

+ 1
- 1
src/pages/sample/h5/edit.jsx Wyświetl plik

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