File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change 94
94
</div >
95
95
</div >
96
96
</div >
97
+
98
+ <transition name =" fade" >
99
+ <div v-show =" show_modal" class =" fixed inset-0 z-30" >
100
+ <!-- background -->
101
+ <div
102
+ v-show =" show_modal"
103
+ @click =" showModal()"
104
+ class =" bg-filter bg-white opacity-25 fixed inset-0 w-full h-full z-20"
105
+ ></div >
106
+ <!-- -->
107
+ <main
108
+ class =" flex flex-col items-center justify-center h-full w-full"
109
+ >
110
+ <transition name =" fade-up-down" >
111
+ <div
112
+ v-show =" show_modal"
113
+ class =" modal-wrapper inline-block flex items-center z-30"
114
+ >
115
+ <div
116
+ class =" modal max-w-md mx-auto xl:max-w-5xl lg:max-w-5xl md:max-w-2xl bg-white max-h-screen shadow-lg flex-row rounded relative"
117
+ >
118
+ <div
119
+ class =" modal-header p-5 bg-gray-900 text-gray-900 rounded-t"
120
+ >
121
+ <h5 class =" text-white text-2xl uppercase" >
122
+ this is header
123
+ </h5 >
124
+ </div >
125
+ <div
126
+ class =" modal-body p-5 w-full h-full overflow-y-auto "
127
+ >
128
+ <p class =" text-justify" >
129
+ cilis omnis nam illum maiores, porro
130
+ velit deserunt neque. Lorem ipsum dolor,
131
+ sit amet consectetur adipisicing elit.
132
+ Esse, voluptates eveniet labore dolorum
133
+ molestiae, modi saepe fugiat minima
134
+ repudiandae repellendus obcaecati
135
+ voluptatibus ab tenetur recusandae eius
136
+ quos at maiores atque consectetur
137
+ facilis! Nisi fuga
138
+ </p >
139
+ </div >
140
+ <div
141
+ class =" modal-footer py-3 px-5 border0-t text-right"
142
+ >
143
+ <button
144
+ class =" bg-green-500 px-5 py-2 text-white"
145
+ @click =" showModal()"
146
+ >
147
+ OK
148
+ </button >
149
+ </div >
150
+ </div >
151
+ </div >
152
+ </transition >
153
+ </main >
154
+ </div >
155
+ </transition >
97
156
</nav >
98
157
</template >
99
158
You can’t perform that action at this time.
0 commit comments