浏览代码

Merge branch 'yaleji' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into yaleji

张延森 4 年前
父节点
当前提交
f1d2e40503

+ 1
- 1
project.config.json 查看文件

@@ -27,7 +27,7 @@
27 27
 			"outputPath": ""
28 28
 		},
29 29
 		"useIsolateContext": true,
30
-		"useCompilerModule": true,
30
+		"useCompilerModule": false,
31 31
 		"userConfirmedUseCompilerModuleSwitch": false
32 32
 	},
33 33
 	"compileType": "miniprogram",

+ 6
- 6
src/pages/project/detail/index.js 查看文件

@@ -841,20 +841,20 @@ export default class Index extends Component {
841 841
     return (
842 842
       <View className='bt-nav flex-h'>
843 843
         <View className="NewLeft">
844
-          <Button class='bt-nav__item' style={{ display: posterShow }} onClick={() => { this.togglePosterStatus(true) }}>
844
+          <View class='bt-nav__item' style={{ display: posterShow }} onClick={() => { this.togglePosterStatus(true) }}>
845 845
             <Image src={require('@/assets/img/icon11.png')} className='poster-img'></Image>
846 846
             <Text className="text">海报</Text>
847
-          </Button>
848
-          <Button class='bt-nav__item' open-type="share" style={{marginLeft: posterShow !== 'none' ? `0` : `15px`}}>
847
+          </View>
848
+          <View class='bt-nav__item' open-type="share" style={{marginLeft: posterShow !== 'none' ? `0` : `15px`}}>
849 849
             <Image src={require('@/assets/img/icon10.png')} className='fenxiang-img'></Image>
850 850
             <Text className="text">分享</Text>
851
-          </Button>
851
+          </View>
852 852
           {
853 853
             personType !== ROLE_CODE['CONSULTANT'] && (
854
-              <Button className='bt-nav__item' onClick={this.toRecomonedPage}>
854
+              <View className='bt-nav__item' onClick={this.toRecomonedPage}>
855 855
                 <Image src={require('@/assets/img/icon12.png')} className='kehutuijian-img'></Image>
856 856
                 <Text className="text">推荐客户</Text>
857
-              </Button>
857
+              </View>
858 858
             )
859 859
           }
860 860
         </View>

+ 1
- 1
src/pages/project/detail/index.scss 查看文件

@@ -13,7 +13,7 @@
13 13
   font-size: 0;
14 14
   white-space: nowrap;
15 15
   text-align: center;
16
-  > button {
16
+  > view {
17 17
     display: inline-block;
18 18
     vertical-align: middle;
19 19
     margin-left: 20px;

+ 1
- 1
src/pages/shop/index.js 查看文件

@@ -450,7 +450,7 @@ export default class Shop extends Component {
450 450
                             <View>
451 451
                               <View onClick={this.onViewDetail.bind(this, item)}>
452 452
                                 <View className='Img'>
453
-                                  <Image mode='widthFix' className='centerLabel' src={item.imgUrl} />
453
+                                  <Image mode='aspectFill' className='centerLabel' src={item.imgUrl} />
454 454
                                 </View>
455 455
                                 <View className='Title'>
456 456
                                   <Text>{item.goodsName}</Text>

+ 4
- 0
src/pages/shop/index.scss 查看文件

@@ -233,6 +233,10 @@
233 233
             position: relative;
234 234
             overflow: hidden;
235 235
             background: #f8f8f8;
236
+            > image {
237
+              width: 100%;
238
+              height: 100%;
239
+            }
236 240
           }
237 241
           > .Title {
238 242
             padding: 0 20px;