hookehuyr

feat(收款设置): 添加分账协议照片字段并替换箭头图标为组件

- 在用户信息接口和状态管理中新增division_agree_pic字段
- 将页面中的文本箭头替换为RectRight图标组件
1 /* 1 /*
2 * @Date: 2023-12-22 10:29:37 2 * @Date: 2023-12-22 10:29:37
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-08-07 14:42:13 4 + * @LastEditTime: 2025-08-07 15:28:56
5 * @FilePath: /jgdl/src/api/index.js 5 * @FilePath: /jgdl/src/api/index.js
6 * @Description: 用户相关API接口 6 * @Description: 用户相关API接口
7 */ 7 */
...@@ -47,6 +47,7 @@ export const payCheckAPI = (params) => fn(fetch.post(Api.PAY_CHECK, params)); ...@@ -47,6 +47,7 @@ export const payCheckAPI = (params) => fn(fetch.post(Api.PAY_CHECK, params));
47 * @param idcard_effect_end 身份证有效期结束 47 * @param idcard_effect_end 身份证有效期结束
48 * @param idcard_address 身份证地址 48 * @param idcard_address 身份证地址
49 * @param is_signed 是否阅读协议 49 * @param is_signed 是否阅读协议
50 + * @param division_agree_pic 分账协议照片
50 * @returns 51 * @returns
51 */ 52 */
52 export const updateProfileAPI = (params) => fn(fetch.post(Api.UPDATE_PROFILE, params)); 53 export const updateProfileAPI = (params) => fn(fetch.post(Api.UPDATE_PROFILE, params));
......
1 <!-- 1 <!--
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-08-07 15:16:21 4 + * @LastEditTime: 2025-08-07 15:36:39
5 * @FilePath: /jgdl/src/pages/collectionSettings/index.vue 5 * @FilePath: /jgdl/src/pages/collectionSettings/index.vue
6 * @Description: 收款设置 6 * @Description: 收款设置
7 --> 7 -->
...@@ -19,7 +19,8 @@ ...@@ -19,7 +19,8 @@
19 <text class="setting-status" :class="{ 'status-set': accountInfo.bankName }"> 19 <text class="setting-status" :class="{ 'status-set': accountInfo.bankName }">
20 {{ accountInfo.bankName ? '已设置' : '未设置' }} 20 {{ accountInfo.bankName ? '已设置' : '未设置' }}
21 </text> 21 </text>
22 - <text class="arrow">></text> 22 + <!-- <text class="arrow">></text> -->
23 + <RectRight color="#999" size="10" />
23 </view> 24 </view>
24 </view> 25 </view>
25 26
...@@ -32,7 +33,8 @@ ...@@ -32,7 +33,8 @@
32 <text class="setting-status" :class="{ 'status-set': identityInfo.userName }"> 33 <text class="setting-status" :class="{ 'status-set': identityInfo.userName }">
33 {{ identityInfo.userName ? '已设置' : '未设置' }} 34 {{ identityInfo.userName ? '已设置' : '未设置' }}
34 </text> 35 </text>
35 - <text class="arrow">></text> 36 + <!-- <text class="arrow">></text> -->
37 + <RectRight color="#999" size="10" />
36 </view> 38 </view>
37 </view> 39 </view>
38 </view> 40 </view>
...@@ -59,7 +61,8 @@ ...@@ -59,7 +61,8 @@
59 <text class="bank-text" :class="{ 'bank-selected': tempAccountInfo.bankName }"> 61 <text class="bank-text" :class="{ 'bank-selected': tempAccountInfo.bankName }">
60 {{ getBankNameById(tempAccountInfo.bankName) || '请选择银行' }} 62 {{ getBankNameById(tempAccountInfo.bankName) || '请选择银行' }}
61 </text> 63 </text>
62 - <text class="arrow-down">></text> 64 + <!-- <text class="arrow-down">></text> -->
65 + <RectRight color="#999" size="10" />
63 </view> 66 </view>
64 </view> 67 </view>
65 68
...@@ -224,7 +227,8 @@ ...@@ -224,7 +227,8 @@
224 <text class="date-text" :class="{ 'date-selected': tempIdentityInfo.idcard_effect_begin }"> 227 <text class="date-text" :class="{ 'date-selected': tempIdentityInfo.idcard_effect_begin }">
225 {{ tempIdentityInfo.idcard_effect_begin || '请选择开始日期' }} 228 {{ tempIdentityInfo.idcard_effect_begin || '请选择开始日期' }}
226 </text> 229 </text>
227 - <text class="arrow-down">></text> 230 + <!-- <text class="arrow-down">></text> -->
231 + <RectRight color="#999" size="10" />
228 </view> 232 </view>
229 </view> 233 </view>
230 234
...@@ -235,7 +239,8 @@ ...@@ -235,7 +239,8 @@
235 <text class="date-text" :class="{ 'date-selected': tempIdentityInfo.idcard_effect_end }"> 239 <text class="date-text" :class="{ 'date-selected': tempIdentityInfo.idcard_effect_end }">
236 {{ tempIdentityInfo.idcard_effect_end || '请选择结束日期' }} 240 {{ tempIdentityInfo.idcard_effect_end || '请选择结束日期' }}
237 </text> 241 </text>
238 - <text class="arrow-down">></text> 242 + <!-- <text class="arrow-down">></text> -->
243 + <RectRight color="#999" size="10" />
239 </view> 244 </view>
240 </view> 245 </view>
241 246
...@@ -318,6 +323,8 @@ import { ref, onMounted, computed } from "vue"; ...@@ -318,6 +323,8 @@ import { ref, onMounted, computed } from "vue";
318 import Taro from "@tarojs/taro"; 323 import Taro from "@tarojs/taro";
319 import "./index.less"; 324 import "./index.less";
320 325
326 +import { RectRight } from '@nutui/icons-vue-taro'
327 +
321 // 导入接口 328 // 导入接口
322 import { updateProfileAPI, getProfileAPI } from '@/api/index' 329 import { updateProfileAPI, getProfileAPI } from '@/api/index'
323 import { getBanksAPI } from '@/api/other' 330 import { getBanksAPI } from '@/api/other'
......
1 /* 1 /*
2 * @Date: 2025-01-08 18:00:00 2 * @Date: 2025-01-08 18:00:00
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-08-07 14:43:22 4 + * @LastEditTime: 2025-08-07 15:29:21
5 * @FilePath: /jgdl/src/stores/user.js 5 * @FilePath: /jgdl/src/stores/user.js
6 * @Description: 用户状态管理 6 * @Description: 用户状态管理
7 */ 7 */
...@@ -35,6 +35,7 @@ export const useUserStore = defineStore('user', { ...@@ -35,6 +35,7 @@ export const useUserStore = defineStore('user', {
35 idcard_effect_begin: '', 35 idcard_effect_begin: '',
36 idcard_effect_end: '', 36 idcard_effect_end: '',
37 idcard_address: '', 37 idcard_address: '',
38 + division_agree_pic: '',
38 }, 39 },
39 isAuthenticated: false, 40 isAuthenticated: false,
40 isLoading: false 41 isLoading: false
...@@ -136,6 +137,7 @@ export const useUserStore = defineStore('user', { ...@@ -136,6 +137,7 @@ export const useUserStore = defineStore('user', {
136 idcard_effect_begin: '', 137 idcard_effect_begin: '',
137 idcard_effect_end: '', 138 idcard_effect_end: '',
138 idcard_address: '', 139 idcard_address: '',
140 + division_agree_pic: '',
139 } 141 }
140 this.isAuthenticated = false 142 this.isAuthenticated = false
141 }, 143 },
......