This commit is contained in:
2025-09-14 00:21:54 +08:00
commit d40b3bbd62
766 changed files with 36275 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
.cover-view {
position: absolute;
top: calc(50% - 75px);
left: calc(50% - 150px);
/* opacity: .7; */
}
.flex-wrp{
display:flex;
}
.flex-item{
width: 100px;
height: 150px;
font-size: 13px;
}
.demo-text-1 {
background: rgba(26, 173, 25, 0.7);
}
.demo-text-2 {
background: rgba(39, 130, 215, 0.7);
}
.demo-text-3 {
background: rgba(255, 255, 255, 0.7);
}

View File

@@ -0,0 +1,13 @@
Page({
onShareAppMessage() {
return {
title: 'cover-view',
path: 'page/component/pages/cover-view/cover-view',
};
},
data: {
latitude: 23.099994,
longitude: 113.324520,
},
});

View File

@@ -0,0 +1,3 @@
{
"navigationBarTitleText": "cover-view"
}

View File

@@ -0,0 +1,21 @@
<view class="container">
<view class="page-body">
<view class="page-section page-section-gap">
<map
style="width: 100%; height: 300px;"
latitude="{{latitude}}"
longitude="{{longitude}}"
>
<cover-view class="cover-view">
<cover-view class="container">
<cover-view class="flex-wrp" style="flex-direction:row;">
<cover-view class="flex-item demo-text-1"></cover-view>
<cover-view class="flex-item demo-text-2"></cover-view>
<cover-view class="flex-item demo-text-3"></cover-view>
</cover-view>
</cover-view>
</cover-view>
</map>
</view>
</view>
</view>