Files
aida_front/src/component/Account/frontPage/mylnformation.vue

96 lines
2.2 KiB
Vue
Raw Normal View History

2024-08-05 16:16:08 +08:00
<template>
<div class="accountEdit_page">
<div class="accountEdit_page_body">
<div class="accountEdit_page_body_item">
2025-01-07 17:15:28 +08:00
<div class="accountEdit_page_body_item_name">{{$t('account.Country')}}:</div>
2024-08-05 16:16:08 +08:00
<div class="accountEdit_page_body_item_inut">
2025-01-07 17:15:28 +08:00
<input type="text" disabled :value="userDetail.Country">
2024-08-05 16:16:08 +08:00
</div>
</div>
<div class="accountEdit_page_body_item">
2025-01-07 17:15:28 +08:00
<div class="accountEdit_page_body_item_name">{{$t('account.CompanyName')}}:</div>
2024-08-05 16:16:08 +08:00
<div class="accountEdit_page_body_item_inut">
2025-01-07 17:15:28 +08:00
<input type="text" disabled :value="userDetail.CompanyName">
2024-08-05 16:16:08 +08:00
</div>
</div>
<div class="accountEdit_page_body_item">
2024-12-11 16:26:36 +08:00
<div class="gallery_btn" @click="setSubmit">
2024-09-03 16:39:06 +08:00
{{$t('account.Submit')}}
2024-08-05 16:16:08 +08:00
</div>
</div>
</div>
</div>
</template>
<script lang="ts">
2024-08-23 10:19:02 +08:00
import { defineComponent,computed,ref,reactive,nextTick,toRefs,createVNode, onMounted} from 'vue'
2024-08-05 16:16:08 +08:00
import { Https } from "@/tool/https";
import { Modal,message } from 'ant-design-vue';
import { useStore } from "vuex";
import { useI18n } from 'vue-i18n'
export default defineComponent({
components:{
},
setup() {
const store = useStore();
2024-12-18 17:38:43 +08:00
let userDetail:any= computed(()=>{
return store.state.UserHabit.userDetail
2024-08-23 10:19:02 +08:00
})
let accountHomeData:any = reactive({
2025-01-07 17:15:28 +08:00
Country:'',
CompanyName:'',
2024-08-05 16:16:08 +08:00
})
2024-08-23 10:19:02 +08:00
let setSubmit = ()=>{
2025-01-07 17:15:28 +08:00
2024-08-23 10:19:02 +08:00
}
2024-08-05 16:16:08 +08:00
return{
...toRefs(accountHomeData),
2024-12-18 17:38:43 +08:00
userDetail,
2024-08-23 10:19:02 +08:00
setSubmit,
2024-08-05 16:16:08 +08:00
}
},
data(){
return{
}
},
})
</script>
<style lang="less" scoped>
.accountEdit_page{
.accountEdit_page_body{
2024-12-11 16:26:36 +08:00
width: 85rem;
2024-08-05 16:16:08 +08:00
.accountEdit_page_body_item{
display: flex;
margin-bottom: 5rem;
2024-12-11 16:26:36 +08:00
flex-direction: column;
2024-08-05 16:16:08 +08:00
width: 100%;
2024-12-11 16:26:36 +08:00
.gallery_btn{
margin-left: auto;
2024-08-05 16:16:08 +08:00
}
input,textarea{
2024-12-11 16:26:36 +08:00
padding-left: 2.7rem;
border-radius: 1.6rem;
border: 2px solid #D0D0D0;
2024-08-05 16:16:08 +08:00
width: 100%;
2024-12-18 17:38:43 +08:00
font-size: 2rem;
2024-08-05 16:16:08 +08:00
}
2024-12-11 16:26:36 +08:00
input{
height: 7rem;
}
2024-08-05 16:16:08 +08:00
.accountEdit_page_body_item_name{
2024-12-11 16:26:36 +08:00
color: #000;
text-align: left;
font-size: 2rem;
2024-08-05 16:16:08 +08:00
}
.accountEdit_page_body_item_inut{
2024-12-11 16:26:36 +08:00
margin-top: 1.5rem;
2024-08-05 16:16:08 +08:00
flex: 1;
}
}
.accountEdit_page_body_item:last-child{
justify-content: center;
}
}
}
</style>