123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <template>
- <view @click="close">
- <view class="tui-alert-mask" :class="[show ? 'tui-alert-mask-show' : '']">
- <view
- :style="{ width: width ? width : '100%' }"
- style="position: absolute; top: 0; right: 0"
- >
- <view>
- <image
- src="./static/point_bg.png"
- style="width: 100%"
- mode="widthFix"
- />
- </view>
- <view style="text-align: center">
- <image
- src="./static/point_btn.png"
- style="width: 60%"
- mode="widthFix"
- />
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- name: "pointShare",
- props: {
- show: {
- type: Boolean,
- default: false,
- },
- width: {
- type: String,
- default: "100%",
- },
- },
- methods: {
- close() {
- this.$emit("close", {});
- },
- btnPay() {
- this.$emit("payment", { type: this.payType });
- },
- payTypeChange(e) {
- this.payType = e.detail.value;
- },
- },
- };
- </script>
- <style scoped>
- .tui-alert-mask1 {
- position: fixed;
- width: 100%;
- height: 100%;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background-color: rgba(0, 0, 0, 0.8);
- z-index: 99996;
- transition: all 0.3s ease-in-out;
- opacity: 0;
- visibility: hidden;
- }
- .tui-alert-mask {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: 1110;
- opacity: 0;
- outline: 0;
- text-align: center;
- -ms-transform: scale(1.185);
- transform: scale(1.185);
- backface-visibility: hidden;
- perspective: 2000upx;
- background: rgba(0, 0, 0, 0.6);
- transition: all 0.3s ease-in-out 0s;
- pointer-events: none;
- }
- .tui-alert-mask-show {
- opacity: 1;
- transition-duration: 0.3s;
- -ms-transform: scale(1);
- transform: scale(1);
- overflow-x: hidden;
- overflow-y: auto;
- pointer-events: auto;
- }
- .tui-alert-mask-show1 {
- visibility: visible;
- opacity: 1;
- }
- </style>
|