李志伟 před 2 roky
rodič
revize
01128415db
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 2
    2
      config/dev.js
  2. 1
    1
      src/pages/InformationInfo/InfoImgaText.jsx

+ 2
- 2
config/dev.js Zobrazit soubor

3
     NODE_ENV: '"development"'
3
     NODE_ENV: '"development"'
4
   },
4
   },
5
   defineConstants: {
5
   defineConstants: {
6
-    HOST: '"https://machine.njyunzhi.com"',
7
-    // HOST: '"http://192.168.89.25:7080"',
6
+    // HOST: '"https://machine.njyunzhi.com"',
7
+    HOST: '"http://192.168.89.25:7080"',
8
     OSS: '""',
8
     OSS: '""',
9
     // VERSION: '"2.0.33"',
9
     // VERSION: '"2.0.33"',
10
   },
10
   },

+ 1
- 1
src/pages/InformationInfo/InfoImgaText.jsx Zobrazit soubor

7
     <view className='cardext-box'>
7
     <view className='cardext-box'>
8
       {
8
       {
9
         item.contentType == 'image' ?
9
         item.contentType == 'image' ?
10
-          <Image key={item.extId} style={{ width: '100%' }} src={item.content} /> :
10
+          <Image key={item.extId} mode='widthFix' style={{ width: '100%' }} src={item.content} /> :
11
           <view style={{ textIndent: '2em' }} className='storezn'>{item.content}</view>
11
           <view style={{ textIndent: '2em' }} className='storezn'>{item.content}</view>
12
       }
12
       }
13
     </view>
13
     </view>