Skip to content

Commit

Permalink
📝 feat(erd): 增加赞赏码
Browse files Browse the repository at this point in the history
  • Loading branch information
www.zerocode.net.cn committed Apr 13, 2023
1 parent 44a0cf0 commit 415daf1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion env-config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
window._env_ = {
API_URL: "http://localhost:9502",
API_URL: "https://erd.zerocode.net.cn",
}
2 changes: 1 addition & 1 deletion public/env-config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
window._env_ = {
API_URL: "http://localhost:9502",
API_URL: "https://erd.zerocode.net.cn",
}
Binary file added public/zanshang.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/layouts/DesignLayout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import shallow from "zustand/shallow";
import _ from 'lodash';
import {PageContainer, ProCard, ProLayout, ProSettings, WaterMark} from "@ant-design/pro-components";
import {history, Outlet, useSearchParams} from "@@/exports";
import {Me, TwoDimensionalCodeOne, TwoDimensionalCodeTwo, WeixinMiniApp} from "@icon-park/react";
import {Me, RedEnvelope, TwoDimensionalCodeOne, TwoDimensionalCodeTwo, WeixinMiniApp} from "@icon-park/react";
import {Button, Dropdown, Image, message, Popover} from "antd";
import {logout} from "@/utils/request";
import * as cache from "@/utils/cache";
Expand All @@ -26,6 +26,9 @@ export const siderWidth = 333;

export const headRightContent = [

<Popover placement="bottom" title="赏口饭吃" content={<Image src="/zanshang.jpg"/>} trigger="hover">
<RedEnvelope theme="filled" size="18" fill="#DE2910" strokeWidth={2}/>
</Popover>,
<Popover placement="bottom" title="公众号" content={<Image src="/mp.jpg"/>} trigger="hover">
<TwoDimensionalCodeOne theme="filled" size="18" fill="#DE2910" strokeWidth={2}/>
</Popover>,
Expand Down

0 comments on commit 415daf1

Please sign in to comment.