feat: 增加-个人小程序客服
This commit is contained in:
@@ -20,4 +20,22 @@
|
||||
|
||||
.cellArr{
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.wechat{
|
||||
padding-left: 35px;
|
||||
padding-right: 35px;
|
||||
// background-color: yellow;
|
||||
display: flex ;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
// justify-content: center;
|
||||
.wecahtBtn{
|
||||
width: 100%;
|
||||
// background-color: aqua;
|
||||
.van-button__text{
|
||||
position: relative;
|
||||
left: -245px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,12 +3,13 @@ import {
|
||||
Card,
|
||||
Cell,
|
||||
Col,
|
||||
Icon,
|
||||
Row,
|
||||
Tabbar,
|
||||
TabbarItem,
|
||||
Toast,
|
||||
} from "@antmjs/vantui";
|
||||
import { OpenData, View } from "@tarojs/components";
|
||||
import { OpenData, View ,Text} from "@tarojs/components";
|
||||
import react, { useEffect, useState } from "react";
|
||||
import TabbarCom from "../components/TabbarCom";
|
||||
import { Image } from "@antmjs/vantui";
|
||||
@@ -163,7 +164,7 @@ const my = (props: any) => {
|
||||
round
|
||||
width="100px"
|
||||
height="100px"
|
||||
src="cloud://cloud1-5g5xrgza12a0dd6d.636c-cloud1-5g5xrgza12a0dd6d-1253665791/images/images-2.jpg"
|
||||
src="cloud://citynew-0givkbre03955d8c.6369-citynew-0givkbre03955d8c-1253655588/images/touxiang/download-1.jpg"
|
||||
/>
|
||||
|
||||
{!isin && (
|
||||
@@ -203,26 +204,35 @@ const my = (props: any) => {
|
||||
</View> */}
|
||||
|
||||
<View className="cellArr">
|
||||
{type !== "people" && <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" && (
|
||||
<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 /> */}
|
||||
|
||||
{/* 个人客服 */}
|
||||
<View className="wechat">
|
||||
<Icon name="wechat" size="16px" className="icon"></Icon>
|
||||
{/* <Text>微信客服</Text> */}
|
||||
<Button open-type="contact" className="wecahtBtn">微信客服</Button>
|
||||
</View>
|
||||
|
||||
{type !== "people" && (
|
||||
<Cell
|
||||
title="微信客服"
|
||||
|
||||
Reference in New Issue
Block a user