魏超 пре 5 година
родитељ
комит
ed398bb658
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2
    2
      src/pages/news/list/NewsList.jsx

+ 2
- 2
src/pages/news/list/NewsList.jsx Прегледај датотеку

@@ -181,11 +181,11 @@ function body(props) {
181 181
         bodyStyle={{ padding: '10px 20px' }}
182 182
       >
183 183
         <AuthButton name="admin.taNews.id.put" noRight={null}>
184
-        <span style={{ position: 'absolute', right: '100px', top: '19px', fontSize: ' 0.106rem',zIndex:1, color: '#FF7E48', cursor: 'pointer' }} onClick={topNews(data.weight, data.newsId)}>{ data.weight === 1 ? '取消置顶' : '置顶' }</span>
184
+        <span style={{ position: 'absolute', right: '83px', top: '16px', fontSize: ' 0.106rem',zIndex:1, color: '#FF7E48', cursor: 'pointer' }} onClick={topNews(data.weight, data.newsId)}>{ data.weight === 1 ? '取消置顶' : '置顶' }</span>
185 185
         </AuthButton>
186 186
 
187 187
         <AuthButton name="admin.taNews.id.put" noRight={null}>
188
-          <span style={{ position: 'absolute', right: '20px', top: '20px', fontSize: ' 0.106rem',zIndex:1, color: '#FF7E48', cursor: 'pointer' }} onClick={toEditList(data.newsId)}>
188
+          <span style={{ position: 'absolute', right: '10px', top: '17px', fontSize: ' 0.106rem',zIndex:1, color: '#FF7E48', cursor: 'pointer' }} onClick={toEditList(data.newsId)}>
189 189
             编辑
190 190
                   <Icon type="form" style={{ color: '#C0C4CC', marginLeft: '10px' }} />
191 191
           </span>