123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <template>
- <div class="popUp_box" v-if="popUpShow">
- <div class="popUp">
- <div class="icon" @click="closePopUp">
-
- <img src="@/assets/img/close1.png" alt="" class="icon_close">
- </div>
- <img src="@/assets/img/ok.png" alt="" class="img_ok">
- <div class="title">Information submitted successfully.</div>
- <div class="text">
- We will reply within ONE working day <br/>
- or you can contact us by order@sanyoubio.com.
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- name: "popUp",
- components: {
- },
- props: {
- popUpShow: {
- type: Boolean,
- default: false
- }
- },
- data() {
- return {
- }
- },
- methods: {
- // 关闭弹窗
- closePopUp() {
- this.$emit("closePopUp")
- }
- },
- created() {},
- mounted() {}
- }
- </script>
- <style lang="scss" scoped>
- @media screen and (min-width: 751px) and (max-width: 9999px) {
- .popUp_box{
- position: fixed;
- top: 0;
- left: 0;
- bottom: 0;
- right: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: rgba(0,0,0,.5);
- z-index: 99999;
- .popUp{
- width: 40%;
- min-width: 670px;
- position: relative;
- background-color: #fff;
- padding: 20px 20px 90px 20px;
- border-radius: 10px;
- .icon{
- position: absolute;
- top: 20px;
- right: 20px;
- width: 18px;
- display: flex;
- align-items: center;
- justify-content: center;
- cursor: pointer;
- .icon_close{
- width: 100%;
- }
- }
- .img_ok{
- display: block;
- width: 88px;
- margin:68px auto 0;
- }
- .title{
- margin-top: 26px;
- font-family: Source Han Sans CN;
- font-weight: bold;
- font-size: 24px;
- color: #000000;
- line-height: 21px;
- text-align: center;
- }
- .text{
- margin-top: 40px;
- font-family: Source Han Sans CN;
- font-weight: 400;
- font-size: 18px;
- color: #000000;
- line-height: 30px;
- text-align: center;
- }
- }
- }
- }
- @media screen and (min-width: 751px) and (max-width: 1200px) {
- }
- @media screen and (min-width: 0px) and (max-width: 750px) {
- }
- </style>
|