feat: 打卡记录样式

This commit is contained in:
huxiaoshuang
2022-11-25 15:37:39 +08:00
parent 954f781cf9
commit 41d4f4c813
4 changed files with 78 additions and 63 deletions

File diff suppressed because one or more lines are too long

View File

@@ -8,9 +8,20 @@
margin-top: 40px;
display: flex;
flex-direction: column;
.checkBottom{
width: 100%;
// background-color: yellow;
display: flex;
flex-direction: row;
align-items: center;
}
}
}
--uploader-size{
// size: 260px;
}
}

View File

@@ -70,7 +70,7 @@ const CheckinDetail = () => {
deletable={false}
disabled={true}
showUpload={false}
previewSize={300} //预览大小
previewSize={400} //预览大小
/>
{/* <Image
width="80%"
@@ -80,7 +80,7 @@ const CheckinDetail = () => {
/> */}
</View>
<View>
<View className="checkBottom">
{/* 打卡日期 */}
{item?.checkTime && (
<View>
@@ -90,8 +90,10 @@ const CheckinDetail = () => {
{/* lbs定位 */}
{item?.location && <View>{item?.location}</View>}
{/* 删除按钮 */}
<View><Button></Button></View>
<View style={{color:'red',marginLeft:'10px'}}></View>
</View>
</View>
);
});

View File

@@ -203,65 +203,67 @@ const my = (props: any) => {
</Tabs>
</View> */}
<Cell
icon="star"
title="我参与的"
isLink
onClick={() => {
if (isin) {
// 跳转到目的页面,打开新页面
// Taro.navigateTo({
// url: "/pages/my/components/CheckinDetail/index",
// });
} else {
// Toast.fail({
// message: "请先登录",
// selector: "#vanToast-demo2",
// });
}
}}
/>
<Cell
icon="manager"
title="申请成为领队"
isLink
onClick={() => {
if (isin) {
// 跳转到目的页面,打开新页面
// Taro.navigateTo({
// url: "/pages/my/components/CheckinDetail/index",
// });
} else {
// Toast.fail({
// message: "请先登录",
// selector: "#vanToast-demo2",
// });
}
}}
/>
<View className="cellArr">
{type !== "people" ||true && (
<Cell
icon="manager"
title="打卡记录"
isLink
onClick={() => {
if (isin) {
// 跳转到目的页面,打开新页面
Taro.navigateTo({
url: "/pages/my/components/CheckinDetail/index",
});
} else {
Toast.fail({
message: "请先登录",
selector: "#vanToast-demo2",
});
}
}}
/>
)}
{type !== "people" ||
(true && (
<Cell
icon="manager"
title="打卡记录"
isLink
onClick={() => {
if (isin) {
// 跳转到目的页面,打开新页面
Taro.navigateTo({
url: "/pages/my/components/CheckinDetail/index",
});
} else {
Toast.fail({
message: "请先登录",
selector: "#vanToast-demo2",
});
}
}}
/>
))}
<Cell
icon="star"
title="我参与的"
isLink
onClick={() => {
if (isin) {
// 跳转到目的页面,打开新页面
// Taro.navigateTo({
// url: "/pages/my/components/CheckinDetail/index",
// });
} else {
// Toast.fail({
// message: "请先登录",
// selector: "#vanToast-demo2",
// });
}
}}
/>
<Cell
icon="manager"
title="申请成为领队"
isLink
onClick={() => {
if (isin) {
// 跳转到目的页面,打开新页面
// Taro.navigateTo({
// url: "/pages/my/components/CheckinDetail/index",
// });
} else {
// Toast.fail({
// message: "请先登录",
// selector: "#vanToast-demo2",
// });
}
}}
/>
{/* <Cell icon="manager" title="个人资料" isLink /> */}
{/* 个人客服 */}