Browse Source

1.0.5修复若干问题

test01 3 years ago
parent
commit
1315659cf4

+ 0 - 3
js/admin/index/content.jsx

@@ -95,11 +95,8 @@ export default class ContentRouter extends React.Component {
                     <Route path="/product" component={Product} />
                     <Route path="/productSort" component={ProductSort} />
                     <Route path="/weappShare" component={WeappShare} />
-<<<<<<< HEAD
                     <Route path="/links" component={Links} />
                     <Route path="/cities" component={Cities} />
-=======
->>>>>>> 094466872b31ebc5b3e9dcd460a498cd1e8a3a54
 
                     <Route path="/jzmList" component={JzmList} />
                     <Route path="/mcjList" component={McjList} />

+ 3 - 2
js/component/administration/linkCity/Cities.jsx

@@ -467,6 +467,7 @@ class Cities extends Component {
             </SpinContainer>
           </div>
           <Modal
+          width={'600px'}
             visible={this.state.visible}
             key={this.state.viewKey}
             title="新增/编辑热门"
@@ -509,14 +510,14 @@ class Cities extends Component {
                 hasFeedback
               >
                 <Input
-                style={{width:"120px"}}
+                style={{width:'140px'}}
                 value={this.state.url}
                   placeholder="请输入http://地址"
                   onChange={(e) => {
                     this.setState({ url: e.target.value });
                   }}
                 />
-                <span style={{ color: "red" }}>请输入http://地址</span>
+                <span style={{ color: "red",marginLeft:'10px' }}>请输入http://地址</span>
               </Form.Item>
               <Form.Item
                 {...formItemLayout}

+ 6 - 4
js/component/administration/linkCity/Links.jsx

@@ -434,6 +434,7 @@ class Links extends Component {
                   name: "",
                   url: "",
                   remarks: "",
+                  hid:"none"
                 });
               }}
               style={{ marginLeft: "100px" }}
@@ -459,6 +460,7 @@ class Links extends Component {
             </SpinContainer>
           </div>
           <Modal
+            width={'600px'}
             visible={this.state.visible}
             key={this.state.viewKey}
             title="新增/编辑友情链接"
@@ -501,14 +503,14 @@ class Links extends Component {
                 hasFeedback
               >
                 <Input
-                  style={{width:"120px"}}
-                  alue={this.state.url}
+                  style={{width:"140px"}}
+                  value={this.state.url}
                   placeholder="请输入http://地址"
                   onChange={(e) => {
                     this.setState({ url: e.target.value });
                   }}
                 />
-                <span style={{ color: "red" }}>请输入http://地址</span>
+                <span style={{ color: "red",marginLeft:'10px' }}>请输入http://地址</span>
               </Form.Item>
               <Form.Item
                 {...formItemLayout}
@@ -538,8 +540,8 @@ class Links extends Component {
                   }}
                   value={this.state.mutualChain || 0}
                 >
-                  <Radio value={1}>是</Radio>
                   <Radio value={0}>否</Radio>
+                  <Radio value={1}>是</Radio>
                 </RadioGroup>
               </Form.Item>
               <Form.Item