diff --git a/src/pages/HotManage/components/BannerList/index.jsx b/src/pages/HotManage/components/BannerList/index.jsx index 224b802..5dff803 100644 --- a/src/pages/HotManage/components/BannerList/index.jsx +++ b/src/pages/HotManage/components/BannerList/index.jsx @@ -53,7 +53,7 @@ const BannerList = (props) => { title: "标题", dataIndex: "title", key: "title", - width: 240, + width: 140, }, { title: "跳转链接", @@ -65,7 +65,21 @@ const BannerList = (props) => { {data && data.map((hyperlink, index) => (
{index ? "H5:" : "App:"}
+ {hyperlink.action === "outward" + ? "外部链接:" + : hyperlink.action === "webViewHeaderInward" + ? "应用内打开内链(带头):" + : hyperlink.action === "webViewHeaderOutward" + ? "应用内打开外链(带头):" + : hyperlink.action === "webViewWithOutHeaderInward" + ? "应用内打开内链(不带头):" + : hyperlink.action === "webViewWithOutHeaderOutward" + ? "应用内打开外链(不带头):" + : index + ? "H5:" + : "App:"} +
{hyperlink.action === "outward" ? "外部链接:" + : hyperlink.action === "webViewHeaderInward" + ? "应用内打开内链(带头):" + : hyperlink.action === "webViewHeaderOutward" + ? "应用内打开外链(带头):" + : hyperlink.action === "webViewWithOutHeaderInward" + ? "应用内打开内链(不带头):" + : hyperlink.action === "webViewWithOutHeaderOutward" + ? "应用内打开外链(不带头):" : index - ? "App:" - : "H5:"} + ? "H5:" + : "App:"}
{hyperlink.action === "outward" ? "外部链接:" - : hyperlink.action === "webViewHeader" - ? "带头的WebView" - : hyperlink.action === "webViewWithOutHeader" - ? "不带头的WebView" + : hyperlink.action === "webViewHeaderInward" + ? "应用内打开内链(带头):" + : hyperlink.action === "webViewHeaderOutward" + ? "应用内打开外链(带头):" + : hyperlink.action === "webViewWithOutHeaderInward" + ? "应用内打开内链(不带头):" + : hyperlink.action === "webViewWithOutHeaderOutward" + ? "应用内打开外链(不带头):" : index ? "H5:" : "App:"} @@ -859,7 +863,7 @@ const NoticesContent = (props) => { placeholder="选择跳转形式" allowClear style={{ - width: 120, + width: 240, }} onChange={(e) => { form.setFieldsValue({ @@ -874,19 +878,27 @@ const NoticesContent = (props) => { options={[ { value: "inward", - label: "内部跳转", + label: "达人空间跳转", }, { value: "outward", - label: "外部浏览器跳转", + label: "打开新的浏览器页面", }, { - value: "webViewHeader", - label: "带头的WebView", + value: "webViewHeaderOutward", + label: "应用内打开外链(带头)", }, { - value: "webViewWithOutHeader", - label: "不带头的WebView", + value: "webViewHeaderInward", + label: "应用内打开内链(带头)", + }, + { + value: "webViewWithOutHeaderOutward", + label: "应用内打开外链(不带头)", + }, + { + value: "webViewWithOutHeaderInward", + label: "应用内打开内链(不带头)", }, ]} /> @@ -896,13 +908,14 @@ const NoticesContent = (props) => {