Merge branch 'feat/liujie'
This commit is contained in:
@@ -27,7 +27,12 @@ const OrderList = () => {
|
|||||||
<View key={item.id} className={styles.orderItem}>
|
<View key={item.id} className={styles.orderItem}>
|
||||||
<View className={styles.orderTitle}></View>
|
<View className={styles.orderTitle}></View>
|
||||||
<View className={styles.gameInfo}>{item?.game_info?.title}</View>
|
<View className={styles.gameInfo}>{item?.game_info?.title}</View>
|
||||||
<View className={styles.orderActions}></View>
|
<View className={styles.orderActions}>
|
||||||
|
<View></View>
|
||||||
|
<View>
|
||||||
|
<Button>取消订单</Button>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -93,6 +93,12 @@
|
|||||||
padding: 15px 15px 0;
|
padding: 15px 15px 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow-x: scroll;
|
overflow-x: scroll;
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
color: transparent; /* 透明色 */
|
||||||
|
}
|
||||||
|
|
||||||
.detail-swiper-scroll-container {
|
.detail-swiper-scroll-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -394,10 +400,12 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
border-radius: 12px;
|
||||||
|
|
||||||
&-map {
|
&-map {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 95px;
|
height: 95px;
|
||||||
|
border-radius: 12px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -454,20 +454,20 @@ function GameInfo(props) {
|
|||||||
{longitude && latitude && (
|
{longitude && latitude && (
|
||||||
<Map
|
<Map
|
||||||
className="location-map-map"
|
className="location-map-map"
|
||||||
longitude={latitude}
|
longitude={longitude}
|
||||||
latitude={longitude}
|
latitude={latitude}
|
||||||
markers={[
|
markers={[
|
||||||
{
|
{
|
||||||
id: 1,
|
id: 1,
|
||||||
latitude: longitude,
|
latitude,
|
||||||
longitude: latitude,
|
longitude,
|
||||||
iconPath: require("@/static/detail/icon-stark.svg"),
|
iconPath: require("@/static/detail/icon-stark.svg"),
|
||||||
width: 16,
|
width: 16,
|
||||||
height: 16,
|
height: 16,
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
includePoints={[
|
includePoints={[
|
||||||
{ latitude: longitude, longitude: latitude },
|
{ latitude, longitude },
|
||||||
{ latitude: currentLocation[0], longitude: currentLocation[1] },
|
{ latitude: currentLocation[0], longitude: currentLocation[1] },
|
||||||
]}
|
]}
|
||||||
includePadding={{ left: 50, right: 50, top: 50, bottom: 50 }}
|
includePadding={{ left: 50, right: 50, top: 50, bottom: 50 }}
|
||||||
@@ -573,12 +573,14 @@ function VenueInfo(props) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function genNTRPRequirementText(min, max) {
|
function genNTRPRequirementText(min, max) {
|
||||||
if (min && max) {
|
if (min && max && min !== max) {
|
||||||
return `${min} - ${max} 之间`;
|
return `${min} - ${max} 之间`;
|
||||||
|
} else if (max === 1) {
|
||||||
|
return "没有要求";
|
||||||
} else if (max) {
|
} else if (max) {
|
||||||
return `${max} 以上`;
|
return `${max} 以上`;
|
||||||
}
|
}
|
||||||
return "没有要求";
|
return '-'
|
||||||
}
|
}
|
||||||
// 玩法要求
|
// 玩法要求
|
||||||
function GamePlayAndRequirement(props) {
|
function GamePlayAndRequirement(props) {
|
||||||
|
|||||||
Reference in New Issue
Block a user