feat: 打卡记录样式
This commit is contained in:
2
dist/pages/my/index.js
vendored
2
dist/pages/my/index.js
vendored
File diff suppressed because one or more lines are too long
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
});
|
||||
|
||||
@@ -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 /> */}
|
||||
|
||||
{/* 个人客服 */}
|
||||
|
||||
Reference in New Issue
Block a user