Sfoglia il codice sorgente

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/estateagents-admin-manager into dev

魏超 5 anni fa
parent
commit
73c9d74f11

+ 3
- 3
src/pages/h5SampleManager/h5Sample/detail.jsx Vedi File

@@ -93,7 +93,7 @@ const header = props => {
93 93
           <span>{demandData.sampleName}</span>
94 94
         </Form.Item>
95 95
         {demandData.sampleTryLink != '' && demandData.sampleTryLink != null && <Form.Item label="样例体验链接" help="请复制发送到手机,用手机微信打开,PC端打开样式比例与手机端不同,以手机端为准">
96
-          <span>{demandData.sampleTryLink}</span><span style={{marginLeft:'10px'}}><a onClick={(e) => copyLink(demandData.sampleTryLink)} style={{ color: 'orange' }}> <img src={copyImg} height="16px" width="14px" /> 复制链接</a></span>
96
+          <span>{demandData.sampleTryLink}</span><span style={{ marginLeft: '10px' }}><a onClick={(e) => copyLink(demandData.sampleTryLink)} style={{ color: 'orange' }}> <img src={copyImg} height="16px" width="14px" /> 复制链接</a></span>
97 97
         </Form.Item>}
98 98
         {demandData.sampleTryCode != '' && demandData.sampleTryCode != null && <Form.Item label="样例体验小程序码/二维码" help="请使用微信扫码查看样例体验">
99 99
           <img src={demandData.sampleTryCode} height="100px" width="120px" />
@@ -103,7 +103,7 @@ const header = props => {
103 103
           <DragableUploadImageList sampleId={sampleId}></DragableUploadImageList>
104 104
         </Form.Item>}
105 105
         <Form.Item label="样例内容">
106
-            {demandData.sampleType === 'rich' ? getFieldDecorator('sampleContent')(<Wangedit contenteditable={false}/>) : getFieldDecorator('sampleContentLink')(<a style={{color: "blue"}}  href={demandData.sampleContentLink} target="_blank" >{demandData.sampleContentLink}</a>)}
106
+          {demandData.sampleType === 'rich' ? getFieldDecorator('sampleContent')(<Wangedit contenteditable={false} />) : getFieldDecorator('sampleContentLink')(<a style={{ color: "blue" }} href={demandData.sampleContentLink} target="_blank" >{demandData.sampleContentLink}</a>)}
107 107
         </Form.Item>
108 108
         <Form.Item wrapperCol={{ span: 15, offset: 7 }}>
109 109
           <div style={{ margin: '0.16rem 0 0.06rem' }}>
@@ -115,7 +115,7 @@ const header = props => {
115 115
           </Button>
116 116
           </div>
117 117
         </Form.Item>
118
-        <div style={{ position: 'absolute', right: '0', bottom: '-16px' }}>
118
+        <div style={{ position: 'fixed', right: '0.4rem', bottom: '6%' }}>
119 119
           <div style={{ display: 'flex', alignItems: 'center', minWidth: '1.1rem', justifyContent: 'space-between' }}>我想办类似活动 <span style={{ color: '#EF273A', margin: '0 0.1rem' }}>>></span>
120 120
             <Button type="primary" onClick={toDetail(sampleId)} >
121 121
               提交需求

+ 6
- 6
src/pages/swiper/style.less Vedi File

@@ -9,10 +9,10 @@
9 9
 }
10 10
 
11 11
 .content{
12
-    width: 36vw;
12
+    width: 32vw;
13 13
     min-width: 757px;
14 14
     height: 21.3vw;
15
-    min-height: 435.6px;
15
+    min-height: 504px;
16 16
     position: absolute;
17 17
     left: 50%;
18 18
     top: 110px;
@@ -55,18 +55,18 @@
55 55
     }
56 56
 }
57 57
 .carousel {
58
-    width: 36vw;
58
+    width: 32vw;
59 59
     min-width: 757px;
60 60
     height: 21.3vw;
61
-    min-height: 435.6px;
61
+    min-height: 504px;
62 62
     border-radius: 10px;
63 63
     // overflow: hidden;
64 64
     
65 65
     .carouselItem{
66
-        width: 36vw;
66
+        width: 32vw;
67 67
         min-width: 757px;
68 68
         height: 21.3vw;
69
-        min-height: 435.6px;
69
+        min-height: 504px;
70 70
         position: relative;
71 71
         display: inline-block;
72 72
         .title{