傅行帆 hace 5 años
padre
commit
1d97c75854

+ 2
- 2
src/pages/carouselFigure/advertisingList.jsx Ver fichero

@@ -84,8 +84,8 @@ const toEdit = (contentId) => () => {
84 84
       render: (x,row) => (
85 85
         <>
86 86
           <AuthButton name="admin.extendContent.id.put" noRight={null}>
87
-            <span style={{ color: '#1990FF', marginRight: '20px' }} onClick={changeStatus(row)}>{ row.status === 1 ? '禁用' : '启用' }<Icon type="vertical-align-top" className={styles.edit} /></span>
88
-            <span style={{ color: '#FF925C' }} onClick={toEdit(row.contentId)}>编辑<Icon type="form" className={styles.edit} /></span>
87
+            <span style={{ color: '#1990FF', marginRight: '20px',cursor: 'pointer' }} onClick={changeStatus(row)}>{ row.status === 1 ? '禁用' : '启用' }<Icon type="vertical-align-top" className={styles.edit} /></span>
88
+            <span style={{ color: '#FF925C',cursor: 'pointer' }} onClick={toEdit(row.contentId)}>编辑<Icon type="form" className={styles.edit} /></span>
89 89
           </AuthButton>
90 90
         </>
91 91
       )

+ 2
- 2
src/pages/carouselFigure/carouselFigureList.jsx Ver fichero

@@ -84,8 +84,8 @@ const toEditCarouse = (contentId) => () => {
84 84
       render: (x,row) => (
85 85
         <>
86 86
           <AuthButton name="admin.extendContent.id.put" noRight={null}>
87
-            <span style={{ color: '#1990FF', marginRight: '20px' }} onClick={changeStatus(row)}>{ row.status === 1 ? '禁用' : '启用' }<Icon type="vertical-align-top" className={styles.edit} /></span>
88
-            <span style={{ color: '#FF925C' }} onClick={toEditCarouse(row.contentId)}>编辑<Icon type="form" className={styles.edit} /></span>
87
+            <span style={{ color: '#1990FF', marginRight: '20px',cursor: 'pointer' }} onClick={changeStatus(row)}>{ row.status === 1 ? '禁用' : '启用' }<Icon type="vertical-align-top" className={styles.edit} /></span>
88
+            <span style={{ color: '#FF925C',cursor: 'pointer' }} onClick={toEditCarouse(row.contentId)}>编辑<Icon type="form" className={styles.edit} /></span>
89 89
           </AuthButton>
90 90
         </>
91 91
       )

+ 2
- 2
src/pages/integralMall/GoodsList.jsx Ver fichero

@@ -130,13 +130,13 @@ function header(props) {
130 130
       render: (x, row) => (
131 131
         <>
132 132
           <AuthButton name="admin.taGoods.change.put" noRight={null}>
133
-            <span style={{ color: '#EF273A', marginRight: '20px' }} onClick={changeGoodsStatus(row)}>
133
+            <span style={{ color: '#EF273A', marginRight: '20px',cursor: 'pointer' }} onClick={changeGoodsStatus(row)}>
134 134
               {row.status == 1 ? '下架' : '上架'}
135 135
               {<Icon type="shopping-cart" className={styles.shoppingCart} />}
136 136
             </span>
137 137
           </AuthButton>
138 138
           <AuthButton name="admin.taGoods.put" noRight={null}>
139
-            <span style={{ color: '#FF925C' }} onClick={toEditGoods(row.goodsId)}>
139
+            <span style={{ color: '#FF925C',cursor: 'pointer' }} onClick={toEditGoods(row.goodsId)}>
140 140
               编辑<Icon type="form" className={styles.edit} />
141 141
             </span>
142 142
           </AuthButton>

+ 2
- 2
src/pages/integralMall/achieve.jsx Ver fichero

@@ -93,12 +93,12 @@ const columns = [
93 93
       render: (x,row) => (
94 94
         <>
95 95
           <AuthButton name="admin.tdPointsRules.change.put" noRight={null}>
96
-            <span style={{ color: '#EF273A', marginRight: '20px' }} onClick={changeStatus(row)}>
96
+            <span style={{ color: '#EF273A', marginRight: '20px',cursor: 'pointer' }} onClick={changeStatus(row)}>
97 97
               {row.status == 1?'停用':'启用'}<Icon type="stop" className={styles.shoppingCart} />
98 98
             </span>
99 99
           </AuthButton>
100 100
           <AuthButton name="admin.tdPointsRules.put" noRight={null}>
101
-            <span style={{ color: '#FF925C' }}>
101
+            <span style={{ color: '#FF925C',cursor: 'pointer' }}>
102 102
               {row.buildingId != null ? '编辑'`${<Icon type="form" className={styles.edit} />}` : ''}
103 103
             </span>
104 104
           </AuthButton>

+ 4
- 4
src/pages/system/housingPolicy.jsx Ver fichero

@@ -88,12 +88,12 @@ const toEditPolicy = (policyId) => () => {
88 88
       render: (x,row) => (
89 89
         <>
90 90
           <AuthButton name="admin.taPolicy.id.put" noRight={null}>
91
-            <span style={{ color: '#1990FF' }} onClick={publicOrNoPublic(row)}>{ row.publishStatus === 0 ? '发布' : '取消发布' }<Icon type="close-circle" className={styles.edit} /></span>
92
-            <span style={{ color: '#1990FF', marginRight: '20px' }} onClick={topPolicy(row)}>{ row.weight === 1 ? '取消置顶' : '置顶' }<Icon type="vertical-align-top" className={styles.edit} /></span>
93
-            <span style={{ color: '#FF925C' }} onClick={toEditPolicy(row.policyId)}>编辑<Icon type="form" className={styles.edit} /></span>
91
+            <span style={{ color: '#1990FF',cursor: 'pointer' }} onClick={publicOrNoPublic(row)}>{ row.publishStatus === 0 ? '发布' : '取消发布' }<Icon type="close-circle" className={styles.edit} /></span>
92
+            <span style={{ color: '#1990FF', marginRight: '20px',cursor: 'pointer' }} onClick={topPolicy(row)}>{ row.weight === 1 ? '取消置顶' : '置顶' }<Icon type="vertical-align-top" className={styles.edit} /></span>
93
+            <span style={{ color: '#FF925C',cursor: 'pointer' }} onClick={toEditPolicy(row.policyId)}>编辑<Icon type="form" className={styles.edit} /></span>
94 94
           </AuthButton>
95 95
           <AuthButton name="admin.taPolicy.id.delete" noRight={null}>
96
-            <span style={{ color: '#FF925C' }} onClick={deletePolicy(row.policyId)}>删除<Icon type="form" className={styles.edit} /></span>
96
+            <span style={{ color: '#FF925C',cursor: 'pointer' }} onClick={deletePolicy(row.policyId)}>删除<Icon type="form" className={styles.edit} /></span>
97 97
           </AuthButton>
98 98
         </>
99 99
       )