From 0472ec32cadb4f9bca6dbab82ac33a42e76f37ed Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 28 六月 2022 16:24:15 +0800
Subject: [PATCH] 菜单栏&时间轴

---
 src/menu/components/card/cardsimplecomponent/options.jsx |   48 ++++++++++++++++++++++++------------------------
 1 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/src/menu/components/card/cardsimplecomponent/options.jsx b/src/menu/components/card/cardsimplecomponent/options.jsx
index f013902..7b397d1 100644
--- a/src/menu/components/card/cardsimplecomponent/options.jsx
+++ b/src/menu/components/card/cardsimplecomponent/options.jsx
@@ -111,6 +111,18 @@
       ],
     },
     {
+      type: 'radio',
+      field: 'open',
+      label: '鎵撳紑鏂瑰紡',
+      initval: setting.open || 'blank',
+      required: false,
+      options: [
+        {value: 'blank', label: appType !== 'mob' ? '鏂扮獥鍙�' : '鏂伴〉闈�'},
+        {value: 'self', label: appType !== 'mob' ? '褰撳墠绐楀彛' : '褰撳墠椤甸潰'},
+      ],
+      forbid: appType !== 'pc' && appType !== 'mob'
+    },
+    {
       type: appType ? 'select' : 'cascader',
       field: 'menu',
       label: '鍏宠仈鑿滃崟',
@@ -127,18 +139,6 @@
       required: true,
       options: [],
       span: 24
-    },
-    {
-      type: 'radio',
-      field: 'open',
-      label: '鎵撳紑鏂瑰紡',
-      initval: setting.open || 'blank',
-      required: false,
-      options: [
-        {value: 'blank', label: '鏂扮獥鍙�'},
-        {value: 'self', label: '褰撳墠绐楀彛'},
-      ],
-      forbid: appType !== 'pc'
     },
     {
       type: 'select',
@@ -236,25 +236,16 @@
       options: appType ? appmenulist : menulist,
     },
     {
-      type: 'textarea',
-      field: 'linkurl',
-      label: '閾炬帴',
-      initval: setting.linkurl || '',
-      required: true,
-      options: [],
-      span: 24
-    },
-    {
       type: 'radio',
       field: 'open',
       label: '鎵撳紑鏂瑰紡',
       initval: setting.open || 'blank',
       required: false,
       options: [
-        {value: 'blank', label: '鏂扮獥鍙�'},
-        {value: 'self', label: '褰撳墠绐楀彛'},
+        {value: 'blank', label: appType !== 'mob' ? '鏂扮獥鍙�' : '鏂伴〉闈�'},
+        {value: 'self', label: appType !== 'mob' ? '褰撳墠绐楀彛' : '褰撳墠椤甸潰'},
       ],
-      forbid: appType !== 'pc'
+      forbid: appType !== 'pc' && appType !== 'mob'
     },
     {
       type: 'radio',
@@ -267,6 +258,15 @@
         {value: 'false', label: '鍚�'},
       ],
     },
+    {
+      type: 'textarea',
+      field: 'linkurl',
+      label: '閾炬帴',
+      initval: setting.linkurl || '',
+      required: true,
+      options: [],
+      span: 24
+    },
   ]
 
   return cardSettingForm

--
Gitblit v1.8.0