Merge branch 'feat/liujie'
This commit is contained in:
@@ -454,20 +454,20 @@ function GameInfo(props) {
|
||||
{longitude && latitude && (
|
||||
<Map
|
||||
className="location-map-map"
|
||||
longitude={latitude}
|
||||
latitude={longitude}
|
||||
longitude={longitude}
|
||||
latitude={latitude}
|
||||
markers={[
|
||||
{
|
||||
id: 1,
|
||||
latitude: longitude,
|
||||
longitude: latitude,
|
||||
latitude,
|
||||
longitude,
|
||||
iconPath: require("@/static/detail/icon-stark.svg"),
|
||||
width: 16,
|
||||
height: 16,
|
||||
},
|
||||
]}
|
||||
includePoints={[
|
||||
{ latitude: longitude, longitude: latitude },
|
||||
{ latitude, longitude },
|
||||
{ latitude: currentLocation[0], longitude: currentLocation[1] },
|
||||
]}
|
||||
includePadding={{ left: 50, right: 50, top: 50, bottom: 50 }}
|
||||
@@ -573,12 +573,14 @@ function VenueInfo(props) {
|
||||
}
|
||||
|
||||
function genNTRPRequirementText(min, max) {
|
||||
if (min && max) {
|
||||
if (min && max && min !== max) {
|
||||
return `${min} - ${max} 之间`;
|
||||
} else if (max === 1) {
|
||||
return "没有要求";
|
||||
} else if (max) {
|
||||
return `${max} 以上`;
|
||||
}
|
||||
return "没有要求";
|
||||
return '-'
|
||||
}
|
||||
// 玩法要求
|
||||
function GamePlayAndRequirement(props) {
|
||||
|
||||
Reference in New Issue
Block a user