Commit 97b24aee authored by Facius's avatar Facius

chore: 弹窗背景图

parent 0e8ff735
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
width="654rpx" width="654rpx"
:mask-close-able="false" :mask-close-able="false"
> >
<image
:src="tanchuangdingbuImage"
class="back-image"
mode="widthFix"
></image>
<view class="pop-view"> <view class="pop-view">
<view class="pop-title"> <view class="pop-title">
<text>{{ title }}</text> <text>{{ title }}</text>
...@@ -68,6 +73,9 @@ export default { ...@@ -68,6 +73,9 @@ export default {
} }
}, },
computed: { computed: {
tanchuangdingbuImage() {
return process.uniEnv.qn_base_url + 'tanchuangdingbu.png'
},
customStyleCancel() { customStyleCancel() {
return { return {
width: '264rpx', width: '264rpx',
...@@ -110,13 +118,20 @@ export default { ...@@ -110,13 +118,20 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.back-image {
width: 100%;
position: absolute;
top: 0;
left: 0;
}
.pop-view { .pop-view {
padding: 48rpx 40rpx; padding: 48rpx 40rpx;
min-height: 520rpx; min-height: 520rpx;
position: relative; position: relative;
background-image: linear-gradient(to top, #ffffff 0%, #e9f3ff 50%); // background-image: linear-gradient(to top, #ffffff 0%, #e9f3ff 50%);
background-size: 100% 240rpx; // background-size: 100% 240rpx;
background-repeat: no-repeat; // background-repeat: no-repeat;
.pop-title { .pop-title {
font-size: 40rpx; font-size: 40rpx;
margin-bottom: 30rpx; margin-bottom: 30rpx;
......
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
width="654rpx" width="654rpx"
:mask-close-able="false" :mask-close-able="false"
> >
<image
:src="tanchuangdingbuImage"
class="back-image"
mode="widthFix"
></image>
<view class="toast-pop"> <view class="toast-pop">
<view class="pop-title"> <view class="pop-title">
<text>{{ title }}</text> <text>{{ title }}</text>
...@@ -51,6 +56,9 @@ export default { ...@@ -51,6 +56,9 @@ export default {
return {} return {}
}, },
computed: { computed: {
tanchuangdingbuImage() {
return process.uniEnv.qn_base_url + 'tanchuangdingbu.png'
},
message() { message() {
switch (this.type) { switch (this.type) {
case 'select': case 'select':
...@@ -104,12 +112,18 @@ export default { ...@@ -104,12 +112,18 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.back-image {
width: 100%;
position: absolute;
top: 0;
left: 0;
}
.toast-pop { .toast-pop {
min-height: 480rpx; min-height: 480rpx;
position: relative; position: relative;
background-image: linear-gradient(to top, #ffffff 0%, #e9f3ff 50%); // background-image: linear-gradient(to top, #ffffff 0%, #e9f3ff 50%);
background-size: 100% 240rpx; // background-size: 100% 240rpx;
background-repeat: no-repeat; // background-repeat: no-repeat;
text-align: center; text-align: center;
.pop-title { .pop-title {
font-size: 40rpx; font-size: 40rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment