Merge branch 'main' of ssh://gerrit.lilingkun.com:29418/G9Frontend
Change-Id: I1997bd7a8ab3cc32dc0e0616d0d83b90271dc0ee
diff --git a/src/app/user/page.tsx b/src/app/user/page.tsx
index 1172aeb..8201bc5 100644
--- a/src/app/user/page.tsx
+++ b/src/app/user/page.tsx
@@ -653,6 +653,10 @@
</TabPanel>
<TabPanel header="悬赏">
+ <div className="section-header">
+ <h1>我的悬赏</h1>
+ </div>
+
<div className="resource-list">
{rewardList.map((rewardItem) => (
<Card key={rewardItem.rewardId} className="resources-list-card"
@@ -1032,10 +1036,10 @@
</div>
<div className="form-field">
<div className="form-field-header">
- <label htmlFor="summary">更改定价</label>
+ <label htmlFor="price">更改定价</label>
</div>
<InputText
- id="summary"
+ id="price"
value={editRewardFormData.price}
onChange={(e) => setEditRewardFormData(prev => ({
...prev,
@@ -1046,10 +1050,10 @@
</div>
<div className="form-field">
<div className="form-field-header">
- <label htmlFor="detail">更改需求</label>
+ <label htmlFor="description">更改需求</label>
</div>
<InputTextarea
- id="detail"
+ id="description"
value={editRewardFormData.rewardDescription}
onChange={(e) => setEditRewardFormData(prev => ({
...prev,
@@ -1066,7 +1070,7 @@
</div>
<FileUpload
mode="advanced"
- name="resource-image"
+ name="reward-image"
customUpload
uploadHandler={async (e) => {
const formData = new FormData();