From 829d8e7b24bc171edb0d1053ad7b43f0788042c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=BF=97=E9=B9=8F?= <2916022834@qq.com> Date: Tue, 30 Sep 2025 13:24:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=BE=AE=E4=BF=A1=E8=B0=B7=E6=AD=8C?= =?UTF-8?q?=E8=A7=A3=E7=BB=91=E6=8C=89=E9=92=AE=E6=B7=BB=E5=8A=A0=E6=8F=90?= =?UTF-8?q?=E4=BA=8C=E6=AC=A1=E6=8F=90=E7=A4=BA=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/component/Account/frontPage/bindPage.vue | 54 +++++++++++++------- src/lang/cn.ts | 3 ++ src/lang/en.ts | 3 ++ 3 files changed, 42 insertions(+), 18 deletions(-) diff --git a/src/component/Account/frontPage/bindPage.vue b/src/component/Account/frontPage/bindPage.vue index 7ec33f51..825781f4 100644 --- a/src/component/Account/frontPage/bindPage.vue +++ b/src/component/Account/frontPage/bindPage.vue @@ -111,28 +111,46 @@ export default defineComponent({ .catch((res) => {accountHomeData.loadingShow = false}); } const ungroupWeiXinModel = ()=>{ - Https.axiosGet(Https.httpUrls.unbindWeChat,).then((rv)=>{ - message.success(t('frontPage.jsContent1')); - let value = { - accountExtendList:{ - WeChat:undefined, - Google:accountHomeData.userDetail.accountExtendList?.Google - } + Modal.confirm({ + title: t('frontPage.UnbindTip'), + okText: t('Yes'), + cancelText: t('No'), + mask:false, + centered:true, + onOk() { + Https.axiosGet(Https.httpUrls.unbindWeChat,).then((rv)=>{ + message.success(t('frontPage.jsContent1')); + let value = { + accountExtendList:{ + WeChat:undefined, + Google:accountHomeData.userDetail.accountExtendList?.Google + } + } + store.commit("upUserDetail", value) + }) } - store.commit("upUserDetail", value) - }) + }); } const ungroupGoogleModel = ()=>{ - Https.axiosGet(Https.httpUrls.unbindGoogle,).then((rv)=>{ - let value = { - accountExtendList:{ - WeChat:accountHomeData.userDetail.accountExtendList?.WeChat, - Google:undefined, - } + Modal.confirm({ + title: t('frontPage.UnbindTip'), + okText: t('Yes'), + cancelText: t('No'), + mask:false, + centered:true, + onOk() { + Https.axiosGet(Https.httpUrls.unbindGoogle,).then((rv)=>{ + let value = { + accountExtendList:{ + WeChat:accountHomeData.userDetail.accountExtendList?.WeChat, + Google:undefined, + } + } + store.commit("upUserDetail", value) + message.success(t('frontPage.jsContent1')); + }) } - store.commit("upUserDetail", value) - message.success(t('frontPage.jsContent1')); - }) + }); } const modifyEmail = ()=>{ bindPageDom.bindEmail.init('Modify') diff --git a/src/lang/cn.ts b/src/lang/cn.ts index 4ad24d17..1b459be2 100644 --- a/src/lang/cn.ts +++ b/src/lang/cn.ts @@ -825,6 +825,7 @@ export default { Modify: "修改", jsContent1: "取消绑定成功", jsContent2: "当前网络无法加载谷歌", + UnbindTip: "确认取消绑定吗?", }, Renew: { title: "选择你的最佳计划", @@ -1413,5 +1414,7 @@ export default { ToProductImage:'产品图', Relight:'打光', ChatRobot:'对话生成', + Yes:'是', + No:'否', }, }; diff --git a/src/lang/en.ts b/src/lang/en.ts index 1f2da2f7..621e7464 100644 --- a/src/lang/en.ts +++ b/src/lang/en.ts @@ -825,6 +825,7 @@ export default { Modify: "Modify", jsContent1: "Successful discharge", jsContent2: "The current network cannot load Google", + UnbindTip: "Are you sure to cancel the binding?", }, Renew: { title: "Find Your Ideal Plan", @@ -1413,5 +1414,7 @@ export default { ToProductImage:'ToProductImage', Relight:'Relight', ChatRobot:'ChatRobot', + Yes:'Yes', + No:'No', }, }; From 735043ae9d948cf6603cdc0eb710514768754556 Mon Sep 17 00:00:00 2001 From: zhangyh Date: Tue, 30 Sep 2025 14:08:06 +0800 Subject: [PATCH 2/2] =?UTF-8?q?style:=20printboard-generate=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=9B=BE=E6=A0=87=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 8 - src/assets/icons/CFolder.svg | 4 + src/assets/images/icon/folder.png | Bin 0 -> 302 bytes src/assets/images/icon/library.png | Bin 0 -> 632 bytes src/assets/images/icon/upload_black.png | Bin 0 -> 400 bytes src/assets/images/icon/upload_gray.png | Bin 0 -> 355 bytes src/component/HomePage/Generate.vue | 2596 ++++++++++++----------- 7 files changed, 1403 insertions(+), 1205 deletions(-) create mode 100644 src/assets/icons/CFolder.svg create mode 100644 src/assets/images/icon/folder.png create mode 100644 src/assets/images/icon/library.png create mode 100644 src/assets/images/icon/upload_black.png create mode 100644 src/assets/images/icon/upload_gray.png diff --git a/components.d.ts b/components.d.ts index fb059677..1796a907 100644 --- a/components.d.ts +++ b/components.d.ts @@ -9,10 +9,8 @@ export {} declare module 'vue' { export interface GlobalComponents { ABadge: typeof import('ant-design-vue/es')['Badge'] - ABreadcrumb: typeof import('ant-design-vue/es')['Breadcrumb'] ACheckbox: typeof import('ant-design-vue/es')['Checkbox'] AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider'] - ADatePicker: typeof import('ant-design-vue/es')['DatePicker'] ADrawer: typeof import('ant-design-vue/es')['Drawer'] ADropdown: typeof import('ant-design-vue/es')['Dropdown'] AImage: typeof import('ant-design-vue/es')['Image'] @@ -20,21 +18,15 @@ declare module 'vue' { AMenu: typeof import('ant-design-vue/es')['Menu'] AMenuItem: typeof import('ant-design-vue/es')['MenuItem'] AModal: typeof import('ant-design-vue/es')['Modal'] - APagination: typeof import('ant-design-vue/es')['Pagination'] APopover: typeof import('ant-design-vue/es')['Popover'] ARangePicker: typeof import('ant-design-vue/es')['RangePicker'] ASelect: typeof import('ant-design-vue/es')['Select'] ASelectOption: typeof import('ant-design-vue/es')['SelectOption'] ASlider: typeof import('ant-design-vue/es')['Slider'] - ASpace: typeof import('ant-design-vue/es')['Space'] ASpin: typeof import('ant-design-vue/es')['Spin'] - ASubMenu: typeof import('ant-design-vue/es')['SubMenu'] ASwitch: typeof import('ant-design-vue/es')['Switch'] ATable: typeof import('ant-design-vue/es')['Table'] - ATabPane: typeof import('ant-design-vue/es')['TabPane'] - ATabs: typeof import('ant-design-vue/es')['Tabs'] AUpload: typeof import('ant-design-vue/es')['Upload'] - ElCascader: typeof import('element-plus/es')['ElCascader'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/src/assets/icons/CFolder.svg b/src/assets/icons/CFolder.svg new file mode 100644 index 00000000..c1f88753 --- /dev/null +++ b/src/assets/icons/CFolder.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/assets/images/icon/folder.png b/src/assets/images/icon/folder.png new file mode 100644 index 0000000000000000000000000000000000000000..975dbaf2b502e7b020d3b3f48968be2f8ca20200 GIT binary patch literal 302 zcmeAS@N?(olHy`uVBq!ia0vp^0zfRt!3HF+tk*dLq&N#aB8wRqxP?KOkzv*x37{Zj zage(c!@6@aFM%AEbVpxD28NCO+!`9u$ z^nWyQYvz1q|Hbg|jqW6le-7H*+W(cp!f$ePZZ2x_I48X39h=(jn5XGBh0$w zwq8^I79G-OTG8OqAzSr+^LnO=B)-W<&M9QY?^|Mjk%95w5$+q$D-YybGaF=oF$&z2N*24qW5aN@#r#7~&jwwfcNjcf{an^LB{Ts5#)NLs literal 0 HcmV?d00001 diff --git a/src/assets/images/icon/library.png b/src/assets/images/icon/library.png new file mode 100644 index 0000000000000000000000000000000000000000..60b8e7bf267631489e70a4d5e26158e8fff0a014 GIT binary patch literal 632 zcmV-;0*C#HP)kn z8&MR+-%OgMkk-2B-Yna1&|QdhT}!(t2_%!rzAY}gsEams(Orq%bWs{6e;{2yE-kE#uy>H$axm+%;lyW@JOBgJ;NBG<6 zbl%kK^+VCoT=pKLx$qfy3ltp3shDj31QQ4^P1Br4c*^rsI2?AAxOv_;_Kt}kdCbA9 z@ZVrT^gG}QNLH)WhVoZ7n=N8CFPs?W<&8?E@`e2t#!KC9Hy#RwW{0{Ov#8=-Povae zF!)D!E2B{4N2ydgB6$JRUqOS(Q4?MmMk*HxyI=*AN49OtXp#e+_aWXr>7#3h(UWE_x(_ftW+xXFdB{C^L07o;fz<7|M#b; SlL7(&0000KOav3 literal 0 HcmV?d00001 diff --git a/src/assets/images/icon/upload_black.png b/src/assets/images/icon/upload_black.png new file mode 100644 index 0000000000000000000000000000000000000000..635249c78203b9e13bf14d2e28bf5527e44df2ff GIT binary patch literal 400 zcmV;B0dM|^P)V5i3OUN7#k_<)i=;L*!X0YT4`%yv4!!{X-7#x0wpC73eE{XVL}FG zU?DV|3+{Dm4;0_9cmNKQ#&dHdwT;wDx!mvLsPPqk17 zl}O_rrXzRb+M*81@GEnSyX3_wYmnUez9rW_lf;vk&KN(D(oCJ)F_sPyX|CUXB}e4f zI`GYVZe^?1T-)ph^N;zmx*~N2+KQPOACqSklPO0YRiaP|;W((=yF5fXLX$aIDwUVHr& zi-6|=(^89{%y6Hi5`3Wi!0TNf`F$>z96J1Yk9+9nTKjFe)kj{J>aX_S(aCWoX0nI> zS2oFeKJIn9)>Xe`I$-ZCWpw9;q`6qaCC(PU1e3(oH*}Qtt7lFXaCz -
-
- - - + -
-
-
-
-
-
-
- -
-
- -
- -
-
-
-
- - - - - - - - -
-
-
-
-
- -
-
- -
- -
-
-
-
- - - - - -
- -
-
- -
-
-
{{ item.label }}
-
-
-
{{ item.label }}
-
-
-
- -
-
- {{$t('Generate.Close')}} -
- -
- - -
-
-
-
-
{{item}}
-
{{item}}
-
-
-
-
-
+ +
+
+
+
- -
- -
- -
- - -
-
- -
-
- -
+ {{ item }}
-
- -
+
+ {{ item }} +
+
- - - +
+
+
+ +
+ +
+ +
+ + +
+
+ +
+
+ +
+
+
+ +
+
+ + + +