Bladeren bron

打开显示阿里云,aws

xy 7 jaren geleden
bovenliggende
commit
2a9f1d0148

+ 8 - 12
src/app/common/deploy/Deploy.jsx

@@ -8,22 +8,18 @@ import AmazonConfig from './amazon/AmazonConfig';
 
 import './index.css';
 
-const tabListNoTitle = [{
+const tabListNoTitle =
+[{
     key: 'tencent',
     tab: <FormattedMessage id='Tencent'/>,
+}, {
+    key: 'aliyun',
+    tab: <FormattedMessage id='Aliyun'/>,
+}, {
+    key: 'amazon',
+    tab: <FormattedMessage id='AWS'/>,
 }];
 
-// [{
-//     key: 'tencent',
-//     tab: <FormattedMessage id='Tencent'/>,
-// }, {
-//     key: 'aliyun',
-//     tab: <FormattedMessage id='Aliyun'/>,
-// }, {
-//     key: 'amazon',
-//     tab: <FormattedMessage id='AWS'/>,
-// }];
-
 
 class Deploy extends Component {
     constructor(props) {

+ 2 - 2
src/app/common/deploy/ali/AliConfig.jsx

@@ -1,5 +1,5 @@
 import React, {Component} from 'react';
-
+import {FormattedMessage} from 'react-intl';
 
 class AliConfig extends Component {
     constructor(props) {
@@ -13,7 +13,7 @@ class AliConfig extends Component {
     render() {
         return (
             <div>
-                aliyun
+                <p><b><FormattedMessage id="It is under development, please look forward to it. Thank you for your attention"/></b></p>
             </div>
         )
     }

+ 2 - 2
src/app/common/deploy/amazon/AmazonConfig.js

@@ -1,5 +1,5 @@
 import React, {Component} from 'react';
-
+import {FormattedMessage} from 'react-intl';
 
 class AmazonConfig extends Component {
     constructor(props) {
@@ -13,7 +13,7 @@ class AmazonConfig extends Component {
     render() {
         return (
             <div>
-                amazon
+                <p><b><FormattedMessage id="It is under development, please look forward to it. Thank you for your attention"/></b></p>
             </div>
         )
     }

+ 2 - 2
src/app/common/deploy/huawei/HuaweiConfig.jsx

@@ -1,5 +1,5 @@
 import React, {Component} from 'react';
-
+import {FormattedMessage} from 'react-intl';
 
 class HuaweiConfig extends Component {
     constructor(props) {
@@ -13,7 +13,7 @@ class HuaweiConfig extends Component {
     render() {
         return (
             <div>
-                huawei
+                <p><b><FormattedMessage id="It is under development, please look forward to it. Thank you for your attention"/></b></p>
             </div>
         )
     }

+ 3 - 18
src/app/common/manage/AliyunResult.js

@@ -1,34 +1,19 @@
 import React, {Component} from 'react';
 import {Switch, Input, Icon} from 'antd';
+import {FormattedMessage} from 'react-intl';
 
 class AliyunResult extends Component {
     constructor(props) {
         super(props);
         this.state = {
-            url: '1111',
-            checked: true
+
         }
     }
 
     render() {
         return (
             <div>
-                <div style={{width: 300}}>
-                    <span>URL: </span>
-                    <Input
-                        placeholder="display your URL"
-                        prefix={<Icon type="copy"/>}
-                        value={this.state.url}
-                        onChange={() => {}}
-                        disabled={!this.state.checked}
-                    />
-                </div>
-                <div style={{marginTop: 30}}>
-                    <span>fc switch </span>
-                    <Switch defaultChecked onChange={(checked) => {
-                        this.setState({checked})
-                    }}/>
-                </div>
+                <p><b><FormattedMessage id="It is under development, please look forward to it. Thank you for your attention"/></b></p>
             </div>
         )
     }

+ 2 - 17
src/app/common/manage/AmazonResult.js

@@ -1,6 +1,6 @@
 import React, {Component} from 'react';
 import {Switch, Input, Icon} from 'antd';
-
+import {FormattedMessage} from 'react-intl';
 class AmazonResult extends Component {
     constructor(props) {
         super(props);
@@ -13,22 +13,7 @@ class AmazonResult extends Component {
     render() {
         return (
             <div>
-                <div style={{width: 300}}>
-                    <span>URL: </span>
-                    <Input
-                        placeholder="display your URL"
-                        prefix={<Icon type="copy"/>}
-                        value={this.state.url}
-                        onChange={() => {}}
-                        disabled={!this.state.checked}
-                    />
-                </div>
-                <div style={{marginTop: 30}}>
-                    <span>fc switch </span>
-                    <Switch defaultChecked onChange={(checked) => {
-                        this.setState({checked})
-                    }}/>
-                </div>
+                <p><b><FormattedMessage id="It is under development, please look forward to it. Thank you for your attention"/></b></p>
             </div>
         )
     }

+ 8 - 12
src/app/common/manage/Manage.jsx

@@ -7,22 +7,18 @@ import AliyunResult from './AliyunResult';
 import AmazonResult from './AmazonResult';
 
 
-const tabListNoTitle = [{
+const tabListNoTitle =
+[{
     key: 'tencent',
     tab: <FormattedMessage id='Tencent'/>,
+}, {
+    key: 'aliyun',
+    tab: <FormattedMessage id='Aliyun'/>,
+}, {
+    key: 'amazon',
+    tab: <FormattedMessage id='AWS'/>,
 }];
 
-// [{
-//     key: 'tencent',
-//     tab: <FormattedMessage id='Tencent'/>,
-// }, {
-//     key: 'aliyun',
-//     tab: <FormattedMessage id='Aliyun'/>,
-// }, {
-//     key: 'amazon',
-//     tab: <FormattedMessage id='AWS'/>,
-// }];
-
 
 class Manage extends Component {
     constructor(props) {