123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <template>
- <div class="i-layout">
- <div class="address-con">
- <createInvoice class="address-scon" />
- </div>
- </div>
- </template>
- <script>
- import { mapState } from 'vuex'
- import invoices from '@/components/invoices'
- import createInvoice from '@/components/createInvoice'
- export default {
- components: {
- invoices,
- createInvoice
- },
- data () {
- return {
- }
- },
- computed: {
- ...mapState({
- address: state => state.user.address || {}
- })
- }
- }
- </script>
- <style lang="scss" scoped>
- .i-layout{
- margin-top: 10px;
- .address-input-con{
- padding: 16px 0 0;
- font-size: 12px;
- line-height: 1.5;
- color: rgba(0, 0, 0, 0.65);
- .address-input-item{
- display: flex;
- margin-bottom:8px;
- .address-sub{
- width: 100%;
- .top-title{
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- color: rgba(0, 0, 0, 0.85);
- padding: 0 0 8px;
- margin: 0;
- display: block;
- text-align: left;
- line-height: 1.5;
- &::before{
- display: inline-block;
- margin-right: 4px;
- content: "*";
- font-family: SimSun;
- line-height: 1;
- font-size: 12px;
- color: #f04134;
- }
- }
- }
- .address-name,.prov-name{
- width: 33.33%;
- padding-right:4px;
- flex-shrink: 0;
- }
- .prov-name{
- width: 50%;
- }
- .address-phone,.city-name{
- flex: auto;
- }
- }
- .bc-item{
- padding: 16px;
- margin: 8px 0;
- background-size: 18px 32px;
- background-repeat: no-repeat;
- background-position: left 16px top 16px;
- border: 1px solid #1fe4dc;
- position: relative;
- background-color: #f6f9ff;
- overflow-wrap: break-word;
- .bc-contact{
- font-size: 12px;
- color: rgba(0,0,0,.7);
- line-height: 18px;
- }
- .bc-locotion{
- font-size: 10px;
- color: rgba(0,0,0,.45);
- line-height: 12px;
- }
- .bc-edit{
- position: absolute;
- top: 16px;
- right: 16px;
- font-size: 12px;
- color: rgba(0,0,0,.7);
- line-height: 18px;
- }
- }
- .p-dec{
- line-height:32px;
- margin-bottom: 8px;
- }
- }
- .address-con{
- .sub-title{
- font-size: 14px;
- line-height: 21px;
- font-weight: 700;
- padding: 13px 16px;
- border-bottom: 1px solid #e9e9e9;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .address-scon{
- }
- }
- }
- </style>
|