File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 55 <select
66 :name =" props.selectName"
77 :id =" props.selectName"
8- class =" bg-right-top w-full px-4 py-4 rounded-lg dd-bg-blue "
8+ : class =" useProfileBoxStyle ? 'profile-box-style' : 'default-style' "
99 @change =" $emit('update:value', $event.target.value)"
1010 >
1111 <option
@@ -30,6 +30,10 @@ const props = defineProps({
3030 type: String ,
3131 default: ' ' ,
3232 },
33+ useProfileBoxStyle: {
34+ type: Boolean ,
35+ default: false
36+ }
3337})
3438 </script >
3539<style lang="postcss" scoped>
@@ -38,10 +42,21 @@ const props = defineProps({
3842}
3943
4044select {
45+ @apply w-full p-4 rounded-lg dd-bg-blue bg-no-repeat appearance-none bg-origin-content;
46+ }
47+ .default-style {
4148 background-image : url('/icons/arrow.png' );
42- background-repeat : no-repeat;
4349 background-size : 0.9 rem ;
44- appearance : none;
45- background-position : 7.75 rem center;
50+ background-position : right center;
51+ }
52+ .profile-box-style {
53+ @apply h-10 w-40 border-2;
54+ padding : 6 px ;
55+ text-align : left;
56+ background : url('~/assets/icons/icon-eye-opened.svg' );
57+ background-repeat : no-repeat;
58+ background-position : right center;
59+ background-origin : content-box;
60+ background-size : 1.2 rem ;
4661}
4762 </style >
Original file line number Diff line number Diff line change 11<template >
22 <FormAppDropDown
3+ use-profile-box-style
34 :listOfItems =" permissions"
45 :selectName =" permissions[state.permissionStatus].text"
56 v-model:value =" state.permissionStatus"
You can’t perform that action at this time.
0 commit comments