refactor: refs #7347 update checkbox and icon implementation
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
0e561c3d41
commit
303a1c3be9
|
@ -319,14 +319,7 @@ input::-webkit-inner-spin-button {
|
||||||
.q-item > .q-item__section:has(.q-checkbox) {
|
.q-item > .q-item__section:has(.q-checkbox) {
|
||||||
max-width: fit-content;
|
max-width: fit-content;
|
||||||
}
|
}
|
||||||
.vn-row > * .q-checkbox r {
|
|
||||||
min-width: 80%;
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
.vn-row > .q-checkbox.row.items-center {
|
|
||||||
max-width: fit-content;
|
|
||||||
}
|
|
||||||
.q-field__inner {
|
.q-field__inner {
|
||||||
.q-field__control {
|
.q-field__control {
|
||||||
min-height: auto !important;
|
min-height: auto !important;
|
||||||
|
@ -366,4 +359,4 @@ input::-webkit-inner-spin-button {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
}
|
}
|
|
@ -283,10 +283,11 @@ const expanded = ref([]);
|
||||||
@click="props.expand = !props.expand"
|
@click="props.expand = !props.expand"
|
||||||
>
|
>
|
||||||
<QTd auto-width>
|
<QTd auto-width>
|
||||||
<QToggle
|
<QIcon
|
||||||
v-model="props.expand"
|
:class="props.expand ? '' : 'rotate-270'"
|
||||||
checked-icon="vn:eye"
|
name="expand_circle_down"
|
||||||
unchecked-icon="remove"
|
size="md"
|
||||||
|
:color="props.expand ? 'primary' : 'white'"
|
||||||
/>
|
/>
|
||||||
</QTd>
|
</QTd>
|
||||||
|
|
||||||
|
|
|
@ -59,27 +59,11 @@ onMounted(() => weekdayStore.initStore());
|
||||||
v-for="(detail, index) in details"
|
v-for="(detail, index) in details"
|
||||||
:key="index"
|
:key="index"
|
||||||
class="full-width flex q-mb-lg"
|
class="full-width flex q-mb-lg"
|
||||||
style="flex-direction: column"
|
|
||||||
>
|
>
|
||||||
<div class="column full-width">
|
<span class="header">
|
||||||
<div class="flex">
|
{{ getHeaderTitle(detail.shipped) }}
|
||||||
<span class="header">
|
</span>
|
||||||
{{ getHeaderTitle(detail.shipped) }}
|
<QTable flat :columns="columns" :rows="detail.lines" class="full-width" />
|
||||||
</span>
|
|
||||||
<span class="header">
|
|
||||||
{{ getHeaderTitle(detail.shipped) }}
|
|
||||||
</span>
|
|
||||||
<span class="header">
|
|
||||||
{{ getHeaderTitle(detail.shipped) }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<QTable
|
|
||||||
flat
|
|
||||||
:columns="columns"
|
|
||||||
:rows="detail.lines"
|
|
||||||
class="full-width"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</QCard>
|
</QCard>
|
||||||
</QPage>
|
</QPage>
|
||||||
|
@ -87,7 +71,7 @@ onMounted(() => weekdayStore.initStore());
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
.header {
|
.header {
|
||||||
flex: 1 0 33%;
|
min-width: 100% !important;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
|
|
Loading…
Reference in New Issue