吃个甘蔗嚼一年 vor 3 Jahren
Ursprung
Commit
a930a93faf

+ 3
- 3
src/components/BossCard/index.jsx Datei anzeigen

@@ -40,9 +40,9 @@ export default (props) => {
40 40
           <View className='cpn-card-text'>
41 41
             {(item.description).toString().length > 25 ? (item.description).substring(0, 25) + '...' : (item.description)}
42 42
           </View>
43
-          <View className='cpn-card-text' style={{marginTop: '10rpx'}}>
44
-            <Text className='cpn-card-text_ms'>¥</Text>
45
-            <Text className='cpn-card-text_mn'>{`${(item.actualPrice / 100)?.toFixed(2)}元`}</Text>
43
+          <View className='cpn-card-text' style={{ marginTop: '10rpx' }}>
44
+            {/* <Text className='cpn-card-text_ms'>¥</Text> */}
45
+            <Text className='cpn-card-text_mn'>{`${(item.actualPrice / 100)?.toFixed(2)}元`}</Text>
46 46
             <Text className='cpn-card-text_rm'>{`门市价${(item.standardPrice / 100)?.toFixed(2)}元`}</Text>
47 47
           </View>
48 48
           <View className='cpn-md-act'>

+ 1
- 1
src/components/CouponCard/Cashback/index.jsx Datei anzeigen

@@ -6,7 +6,7 @@ import './style.less'
6 6
 export default (props) => {
7 7
   const { money, prefix = '返现', style } = props
8 8
 
9
-  const yuan = !money ? 0 : Number(money / 100).toFixed(2)
9
+  const yuan = Number(money / 100).toFixed(2)
10 10
 
11 11
   return (
12 12
     <View className='cpn_cashback' style={style}>

+ 1
- 1
src/components/CouponCard/Media/Body.jsx Datei anzeigen

@@ -8,7 +8,7 @@ export default (props) => {
8 8
 
9 9
   return (
10 10
     <View className='coupun-media_body'>
11
-      <Star score={star} style={{ position: 'absolute', top: '26rpx', left: 0 }} />
11
+      <Star score={(star).toFixed(1)} style={{ position: 'absolute', top: '26rpx', left: 0 }} />
12 12
       <View>
13 13
         {props.children}
14 14
       </View>

+ 4
- 8
src/pages/MineUserAll/ContactMe/index.jsx Datei anzeigen

@@ -46,16 +46,12 @@ export default withLayout((props) => {
46 46
       <CustomNav title='联系我们' />
47 47
       <view style={{ padding: '60rpx 30rpx' }}>
48 48
         <view class='section'>
49
-          <textarea placeholder='请输入您的建议或意见!' id='content' />
49
+          <textarea autoHeight placeholder='请输入您的建议或意见!' id='content' />
50 50
         </view>
51
-        {/* <view className='content-Title'   >
52
-          如有需要平台将在24小时内添加您的微信,请留意您的手机信息。您也可直接截图后微信扫描二维码
51
+        <view className='weChate-image' >
52
+          <Image mode='aspectFit' src='https://yz-shigongli.oss-cn-shanghai.aliyuncs.com/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20210918145337.png' />
53 53
         </view>
54
-        <view className='content-Title'   >
55
-          <view>您也可直接截图后微信扫描二维码</view>
56
-          <view>添加客服企业微信号联系我们哟~</view>
57
-        </view> */}
58
-        <Image src='https://yz-shigongli.oss-cn-shanghai.aliyuncs.com/images/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20210918142121.png' style={{ width: '30vw', height: '30vw', margin: '0 auto', display: 'block' }} />
54
+
59 55
         <view className='button-info'>
60 56
           <Button className='button-box' onClick={submit}>提交</Button>
61 57
           <Button className='button-box-Cancel' onClick={back} >取消</Button>

+ 14
- 2
src/pages/MineUserAll/ContactMe/style.less Datei anzeigen

@@ -1,12 +1,24 @@
1 1
 .box-content {
2 2
   .section {
3
-    height: 254px;
4 3
     border: 1px solid #b5b5b5;
5 4
     font-size: 24px;
6 5
 
7 6
     box-shadow: 0px 4px 24px 0px rgba(0, 0, 0, 0.08);
8 7
     padding: 30px;
9 8
     textarea {
9
+      min-height: 150px;
10
+    }
11
+  }
12
+  .weChate-image {
13
+    box-sizing: border-box;
14
+    padding: 30px 0;
15
+    // width: 50vw;
16
+    height: 78vw;
17
+    margin: 4vw auto;
18
+
19
+    & > image {
20
+      display: block;
21
+      width: 100%;
10 22
       height: 100%;
11 23
     }
12 24
   }
@@ -25,7 +37,7 @@
25 37
   .button-info {
26 38
     width: calc(100% - 60px);
27 39
     position: absolute;
28
-    bottom: 10%;
40
+    bottom: 6%;
29 41
     .button-box {
30 42
       background: #274291;
31 43
       color: #fff;