首页 > 其他分享 >好客租房174-地图找房createReact方法绘制小区覆盖物

好客租房174-地图找房createReact方法绘制小区覆盖物

时间:2023-02-11 14:00:45浏览次数:141  
标签:createReact 找房 top height width 174 border display block


好客租房174-地图找房createReact方法绘制小区覆盖物_html

 

好客租房174-地图找房createReact方法绘制小区覆盖物_覆盖物_02

.map{
height: 100%;
padding-top: 45px;
}

.container{
height: 100%;
}

.map :global(.am-navbar){
margin-top:-45px
}
/* 覆盖物样式: */
.bubble {
width: 70px;
height: 70px;
line-height: 1;
display: inline-block;
position: absolute;
border-radius: 100%;
background: rgba(12, 181, 106, 0.9);
color: #fff;
border: 2px solid rgba(255, 255, 255, 0.8);
text-align: center;
cursor: pointer;
}

.name {
padding: 18px 0 6px 0;
}
/* 小区的覆盖物样式: */

.rect {
height: 20px;
line-height: 19px;
width: 100px;
padding: 0 3px;
border-radius: 3px;
position: absolute;
background: rgba(12, 181, 106, 0.9);
cursor: pointer;
white-space: nowrap;
}

.arrow {
display: block;
width: 0;
height: 0;
margin: 0 auto;
border: 4px solid transparent;
border-top-width: 4px;
border-top-color: #00a75b;
}

.housename {
display: inline-block;
width: 70px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
vertical-align: middle;
}

.housenum {
display: inline-block;
width: 20px;
}

标签:createReact,找房,top,height,width,174,border,display,block
From: https://blog.51cto.com/u_15460007/6050268

相关文章

  • 好客租房153-地图找房模块功能分析
    ......
  • 好客租房171-地图找房renderOverlays
    renderOverlays1接受改id参数根据该id参数获取房源2调用getTypeAndZoom方法获取地图缩放级别覆盖物类别importReactfrom'react'//导入axiosimportaxiosfrom'axios'......
  • 每日一道思维题——CF1742F - Smaller
    题意:存在字符串s,t(初始使都为"a"),有1,2两种操作方式1.将s后面+d个字符串x2.将t后面+d个字符串x操作完成后,询问是否可以改变字符串s,t中字符顺序,使得s字典序小于t若可,输......
  • 华硕ROG玩家国度枪神2 plus屏幕校准调色 CMN1747
    我这个版本的枪神2plus的屏幕色域很广,131%sRGB,虽然色彩丰富,但是看起来感觉很费眼,有些动画看多了还头晕,必须得校准显示器+调色  这是老版的屏幕,奇美CMN1747,屏库上面名......
  • [CF1748F] Circular Xor Reversal
    题目描述Youhaveanarray$a_0,a_1,\ldots,a_{n-1}$oflength$n$.Initially,$a_i=2^i$forall$0\lei\ltn$.Notethatarray$a$iszero-i......
  • CF1748B题解
    题目传送门简要题意给定一个长度为\(n\)的只由数字\(0\)到\(9\)组成的字符串\(s\),求\(s\)中有多少个子串满足所有数字出现次数的最大值小于等于出现的不同数......
  • CF1748B-Diverse Substrings
    长度为n的字符串,求出子串(只能从头尾依次删字符来得到子串)中,相同字符出现的最高次数小于等于不同字符的个数,这样的子串的个数以1~n个字符作为起点,枚举终点的位置来判断每种......
  • AcWing1174. 受欢迎的牛
    题目描述每一头牛的愿望就是变成一头最受欢迎的牛。现在有\(N\)头牛,编号从\(1\)到\(N\),给你\(M\)对整数\((A,B)\),表示牛\(A\)认为牛\(B\)受欢迎。这种关系......
  • CF1743C
    题面描述有\(n\)个箱子,第\(i\)个箱子里面装着\(a_i\)个杂志。现在正在下雨,有一些箱子上面盖着盖板(如果一个箱子上盖了盖板,那么这个箱子里的杂志就不会被雨淋),并且可......
  • [CF1748E] Yet Another Array Counting Problem
    题目描述Thepositionoftheleftmostmaximumonthesegment$[l;r]$ofarray$x=[x_1,x_2,\ldots,x_n]$isthesmallestinteger$i$suchthat$l\l......