This commit is contained in:
齐斌 2025-09-23 18:22:24 +08:00
parent 8c047e1ea4
commit 663f2a74eb
4 changed files with 26 additions and 23 deletions

View File

@ -1,5 +1,5 @@
$theme-primary: #BA4A8F;
$theme-darker: #C1B2E5;
$theme-darker: #DCA4C7;
$theme-dark: #DFD7F2;
$basic-white: #FFFFFF;
$basic-black: #000000;

View File

@ -163,7 +163,7 @@
<n-button
tertiary
class="fl-mr-md"
:style="`width: 161px; background: ${themeDarker}; color: #ffffff`"
:style="`width: 161px;`"
@click="handleDialogInitiateCancel"
>
取消
@ -547,12 +547,12 @@
<div
@click="handleAddMailAddress"
class="col-2 row justify-center border-1 border-solid border-primary cursor-pointer"
style="
:style="`
padding: 8px 0;
border-radius: 5px;
background: #fff;
color: #46299d;
"
color: ${themeColor};`"
>
<span>新增地址</span>
</div>
@ -570,8 +570,9 @@
</n-button>
<n-button
tertiary
style="width: 161px; background: #46299d; color: #fff"
style="width: 161px; color: #fff"
type="primary"
:loading="state.saveAddressEditBtnLoading"
@click="saveEditReceiveAddress"
:disabled="!state.canUseSaveAddressBtn"
@ -708,7 +709,7 @@ const cascaderRefs = ref([]);
//
const themeColor = computed(() => settingConfig.themeColor);
const themeDarker = '#C1B2E5'; // $theme-darker
const basicWhite = '#FFFFFF'; // $basic-white
const state = reactive({
@ -2384,7 +2385,7 @@ const getProvinceCityAreaOptions = async () => {
align-items: center;
justify-content: space-between;
padding: 13px 35px;
background-color: rgb(238, 233, 248);
background-color: $theme-darker;
margin: 0 16px;
border-radius: 4px;
.receive-artwork-address-info {
@ -2412,7 +2413,7 @@ const getProvinceCityAreaOptions = async () => {
}
.edit-receive-address-btn {
span {
color: #409eff;
color: $theme-primary;
cursor: pointer;
font-size: 18px;
}

View File

@ -389,16 +389,16 @@ const updateImg = () => {
duration: 2,
});
//
const updateChatAvatarRes = await updateChatAvatar({
erpUserId: state.info.ID, //erpid
avatar: state.avatar, //url
type: "" //erperp
})
if(updateChatAvatarRes.status === 0){
message.success("更新聊天系统头像成功")
} else {
message.error(updateChatAvatarRes.msg)
}
// const updateChatAvatarRes = await updateChatAvatar({
// erpUserId: state.info.ID, //erpid
// avatar: state.avatar, //url
// type: "" //erperp
// })
// if(updateChatAvatarRes.status === 0){
// message.success("")
// } else {
// message.error(updateChatAvatarRes.msg)
// }
state.avatar = "";
} else {
message.error(res.msg);

View File

@ -72,8 +72,9 @@
</div>
</template>
<a-button class="col-10 fl-mt-sm"
type="primary"
shape="round"
style="background: #370d9b; border: none; color: #fff"
style="border: none; color: #fff"
:loading="state.btnLoading">导出excel</a-button>
</a-popover>
@ -112,7 +113,8 @@
</div>
</div>
</template>
<a-button style="background: #370d9b; border: none; color: #fff"
<a-button style="border: none; color: #fff"
type="primary"
class="col-10 fl-mt-sm"
shape="round"
:loading="state.btnLoading">导出图片等资源</a-button>