From 5306aa30949e7a4cb7632da46ed7a786c5e61bde Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期一, 30 八月 2021 18:30:28 +0800
Subject: [PATCH] 2021-08-30

---
 src/views/design/header/index.jsx |   41 +++++++++++++++++++++++++++++++++++------
 1 files changed, 35 insertions(+), 6 deletions(-)

diff --git a/src/views/design/header/index.jsx b/src/views/design/header/index.jsx
index 5b14744..becaedf 100644
--- a/src/views/design/header/index.jsx
+++ b/src/views/design/header/index.jsx
@@ -295,7 +295,7 @@
   }
 
   render () {
-    const { mainMenu, editLevel } = this.props
+    const { mainMenu, editLevel, tabviews } = this.props
     const { menulist } = this.state
 
     return (
@@ -325,16 +325,45 @@
         {/* 杩涘叆缂栬緫鎸夐挳 */}
         {!editLevel ? <Icon onClick={this.enterEdit} className="edit-check" type="edit" /> : null}
         {!editLevel && options.sysType === 'local' && window.GLOB.systemType !== 'production' && this.props.memberLevel >= 20 ?
-          <span onClick={() => {window.open('#/appmanage')}} className="mobile" type="edit"> 搴旂敤绠$悊 <Icon type="arrow-right" /></span> : null
+          <div className="app-entrance entrance">
+            <div className="icon"><Icon type="appstore" /></div>
+            <div className="title">搴旂敤绠$悊</div>
+            <div className="detail">鍙垱寤哄強绠$悊PC銆乸ad鍙婄Щ鍔ㄧ绛変笉鍚岃澶囩殑搴旂敤锛屽疄鐜版槑绉戜簯APP銆佸井淇″叕浼楀彿銆佸皬绋嬪簭绛夊骞冲彴鐨勫簲鐢ㄥ叡浜��</div>
+            <Button type="primary" onClick={() => {window.open('#/appmanage')}}>
+              缂栬緫
+            </Button>
+          </div> : null
+        }
+        {editLevel === 'HS' && tabviews.length === 0 && options.sysType === 'local' && window.GLOB.systemType === 'production' && this.props.memberLevel >= 20 ?
+          <div className="app-prod-entrance entrance">
+            <div className="icon"><Icon type="appstore" /></div>
+            <div className="title">搴旂敤绠$悊</div>
+            <div className="detail">鍙垱寤哄強绠$悊PC銆乸ad鍙婄Щ鍔ㄧ绛変笉鍚岃澶囩殑搴旂敤锛屽疄鐜版槑绉戜簯APP銆佸井淇″叕浼楀彿銆佸皬绋嬪簭绛夊骞冲彴鐨勫簲鐢ㄥ叡浜��</div>
+            <Button type="primary" onClick={() => {window.open('#/appcheck')}}>
+              鏌ョ湅
+            </Button>
+          </div> : null
         }
         {!editLevel && options.sysType === 'local' && this.props.memberLevel >= 20 ?
-          <span onClick={() => {window.open('#/interface')}} className="interface" type="edit"> 鎺ュ彛璋冭瘯 <Icon type="arrow-right" /></span> : null
+          <div className="api-entrance entrance">
+            <div className="icon"><Icon type="api" /></div>
+            <div className="title">鎺ュ彛璋冭瘯</div>
+            <div className="detail">鍙嚜鍔ㄥ鐞嗙櫥褰曟帴鍙g殑鍙傛暟鍔犲瘑锛屼互鍙婁笟鍔℃帴鍙g殑绛惧悕璁$畻锛屾柟渚垮紑鍙戜汉鍛樼殑鎺ュ彛娴嬭瘯宸ヤ綔銆�</div>
+            <Button type="primary" onClick={() => {window.open('#/interface')}}>
+              缂栬緫
+            </Button>
+          </div> : null
         }
         {/* window.btoa(window.encodeURIComponent(JSON.stringify({ MenuType: 'home', MenuId: 'home_page_id', MenuName: '棣栭〉' }))) */}
         {!editLevel && window.GLOB.systemType !== 'production' && this.props.memberLevel >= 20 ?
-          <span className="home-edit" onClick={() => {window.open('#/menudesign/JTdCJTIyTWVudVR5cGUlMjIlM0ElMjJob21lJTIyJTJDJTIyTWVudUlkJTIyJTNBJTIyaG9tZV9wYWdlX2lkJTIyJTJDJTIyTWVudU5hbWUlMjIlM0ElMjIlRTklQTYlOTYlRTklQTElQjUlMjIlN0Q=')}}>
-            棣栭〉 <Icon type="arrow-right" />
-          </span> : null
+          <div className="home-entrance entrance">
+            <div className="icon"><Icon type="home" /></div>
+            <div className="title">棣栭〉</div>
+            <div className="detail">鍩轰簬鑷畾涔夐〉闈㈢殑棣栭〉璁捐锛屽彲瀹炵幇鐏垫椿鐨勫厓绱犻厤缃強鏍峰紡璋冩暣锛屽睍鐜板綋鍓嶇郴缁熺殑椋庢牸銆�</div>
+            <Button type="primary" onClick={() => {window.open('#/menudesign/JTdCJTIyTWVudVR5cGUlMjIlM0ElMjJob21lJTIyJTJDJTIyTWVudUlkJTIyJTNBJTIyaG9tZV9wYWdlX2lkJTIyJTJDJTIyTWVudU5hbWUlMjIlM0ElMjIlRTklQTYlOTYlRTklQTElQjUlMjIlN0Q=')}}>
+              缂栬緫
+            </Button>
+          </div> : null
         }
         {/* 缂栬緫鑿滃崟 */}
         {editLevel === 'level1' ? <EditMenu menulist={this.state.menulist} reload={this.reload} exitEdit={this.exitEdit}/> : null}

--
Gitblit v1.8.0