feat: 生成分享图
This commit is contained in:
@@ -16,17 +16,13 @@ import { withAuth, RefundPopup } from "@/components";
|
||||
import { payOrder, generateOrderActions } from "@/utils";
|
||||
import emptyContent from "@/static/emptyStatus/publish-empty.png";
|
||||
import CustomerIcon from "@/static/order/customer.svg";
|
||||
import { insertDotInTags } from "@/game_pages/detail/utils/helper";
|
||||
import styles from "./index.module.scss";
|
||||
|
||||
dayjs.locale("zh-cn");
|
||||
|
||||
const PAGESIZE = 100;
|
||||
|
||||
// 将·作为连接符插入到标签文本之间
|
||||
function insertDotInTags(tags: string[]) {
|
||||
return tags.join("-·-").split("-");
|
||||
}
|
||||
|
||||
const diffDayMap = new Map([
|
||||
[0, "今天"],
|
||||
[1, "明天"],
|
||||
|
||||
Reference in New Issue
Block a user