Commit c018bce5 authored by 张子雨's avatar 张子雨

feat: 优化线上代码

parent c12feea7
...@@ -2,15 +2,15 @@ const isProduction = process.env.NODE_ENV === 'production'; ...@@ -2,15 +2,15 @@ const isProduction = process.env.NODE_ENV === 'production';
const isPre = process.env.PRE_ENV === 'pre'; const isPre = process.env.PRE_ENV === 'pre';
const envAPi = { const envAPi = {
api: '//backstms-test9.liangkebang.net', api: '//backstms-test4.liangkebang.net',
kdspOpApi: 'https://kdsp-operation-test9.liangkebang.net', kdspOpApi: 'https://kdsp-operation-test4.liangkebang.net',
kdspApi: 'https://sc-op-api-test9.liangkebang.net', kdspApi: 'https://sc-op-api-test4.liangkebang.net',
goodsApi: 'https://sc-op-api-test9.liangkebang.net', goodsApi: 'https://sc-op-api-test4.liangkebang.net',
querysApi: 'https://sc-settlement-api-test9.liangkebang.net', querysApi: 'https://sc-settlement-api-test4.liangkebang.net',
// goodsApi: '//192.168.188.111:7000', // goodsApi: '//192.168.188.111:7000',
prologueDomain: 'https://mall-test9.liangkebang.net', prologueDomain: 'https://mall-test4.liangkebang.net',
qiniuHost: 'https://appsync.lkbang.net', qiniuHost: 'https://appsync.lkbang.net',
opapiHost: 'https://opapi-test9.liangkebang.net', opapiHost: 'https://opapi-test4.liangkebang.net',
}; };
const prodApi = { const prodApi = {
......
...@@ -846,7 +846,7 @@ class goodsManage extends Component { ...@@ -846,7 +846,7 @@ class goodsManage extends Component {
<Row> <Row>
<Table <Table
bordered bordered
rowKey={r => r.thirdSkuNo} // rowKey={r => r.thirdSkuNo}
pagination={false} pagination={false}
scroll={{ y: 300, x: 1200 }} scroll={{ y: 300, x: 1200 }}
dataSource={this.state.editData} dataSource={this.state.editData}
...@@ -887,7 +887,10 @@ class goodsManage extends Component { ...@@ -887,7 +887,10 @@ class goodsManage extends Component {
></Checkbox> ></Checkbox>
</Col> </Col>
<Col span={23} className={styles.imgBorder}> <Col span={23} className={styles.imgBorder}>
<p className={styles.ptop}>公共滑动图:</p> <p className={styles.ptop}>
公共滑动图:
<span className={styles.sizeTitle}>(图片最大上传2M)</span>
</p>
<FormItem> <FormItem>
{getFieldDecorator('commonImageList', { {getFieldDecorator('commonImageList', {
initialValue: this.state.initForm.commonImageList, initialValue: this.state.initForm.commonImageList,
...@@ -910,9 +913,10 @@ class goodsManage extends Component { ...@@ -910,9 +913,10 @@ class goodsManage extends Component {
></Checkbox> ></Checkbox>
</Col>, </Col>,
<Col span={23} className={styles.imgBorder}> <Col span={23} className={styles.imgBorder}>
<p className={styles.ptop}>{`滑动图${ <p className={styles.ptop}>
color === 'null' ? '' : `(${color})` {`滑动图${color === 'null' ? '' : `(${color})`}:`}
}:`}</p> <span className={styles.sizeTitle}>(图片最大上传2M)</span>
</p>
<FormItem key={color}> <FormItem key={color}>
{getFieldDecorator(`imageList[${color}]`, { {getFieldDecorator(`imageList[${color}]`, {
initialValue: initialValue:
...@@ -949,7 +953,10 @@ class goodsManage extends Component { ...@@ -949,7 +953,10 @@ class goodsManage extends Component {
></Checkbox> ></Checkbox>
</Col> </Col>
<Col span={23} className={styles.imgBorder}> <Col span={23} className={styles.imgBorder}>
<p className={styles.ptop}>详情图:</p> <p className={styles.ptop}>
详情图:
<span className={styles.sizeTitle}>(图片最大上传2M)</span>
</p>
<FormItem> <FormItem>
{getFieldDecorator('detailImageList', { {getFieldDecorator('detailImageList', {
initialValue: this.state.initForm.detailImageList, initialValue: this.state.initForm.detailImageList,
......
...@@ -95,3 +95,7 @@ ...@@ -95,3 +95,7 @@
.iptNumRight { .iptNumRight {
margin-right: 0 !important; margin-right: 0 !important;
} }
.sizeTitle {
font-size: 12px;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment