xujing преди 5 години
родител
ревизия
ecc1e8a14d

+ 4
- 2
src/pages/activity/detail/index.js Целия файл

@@ -373,8 +373,10 @@ export default class Detail extends Component {
373 373
                   </View>
374 374
                   <View className="detail-con">
375 375
                     <View className="detail-con__title">活动详情</View>
376
-                    <import src='../../../components/wxParse/wxParse.wxml' />
377
-                    <template is='wxParse' data='{{wxParseData:article.nodes}}' />
376
+                    {/* <View >{detail.desc}</View> */}
377
+                    <richText nodes={detail.desc} ></richText>
378
+                    {/* <import src='../../../components/wxParse/wxParse.wxml' />
379
+                    <template is='wxParse' data='{{wxParseData:article.nodes}}' /> */}
378 380
                   </View>
379 381
                   <View style="color:#999;font-size:15px;margin:0 auto 90px auto;text-align:center">已经到底了~</View>
380 382
 

+ 2
- 2
src/pages/person/personDetail/editDetail/index.js Целия файл

@@ -176,7 +176,7 @@ export default class editDetail extends Component {
176 176
           <View className='edit edit-phone'>电话号码</View>
177 177
           <Input type='text' className='edit' value={user.tel ? user.tel : user.phone} data-id='phone' onInput={this.BindInfo.bind(this)} />
178 178
         </View>
179
-        {
179
+        {/* {
180 180
           isAgent && (<View className='col_box'>
181 181
             <View className='edit edit-phone'>经纪人类型</View>
182 182
             <Picker mode='selector' className='edit' className='selector' range={this.state.selector} onChange={this.onChange}>
@@ -190,7 +190,7 @@ export default class editDetail extends Component {
190 190
           (isChannel && user.personType == 'estate agent') && (<View className='col_box'>
191 191
             <Input type='text' placeholder='请输入渠道码' className='channelCode' data-id='channelCode' onInput={this.BindInfo.bind(this)} />
192 192
           </View>)
193
-        }
193
+        } */}
194 194
         <View className='comfire' onClick={this.clickEditAgent}>保存</View>
195 195
       </View>
196 196
     )

+ 1
- 1
src/pages/person/personDetail/editDetail/index.scss Целия файл

@@ -26,7 +26,7 @@
26 26
   .comfire{
27 27
     width:680px;
28 28
     height:90px;
29
-    background:rgba(255,71,64,1);
29
+    background:$primary-color;
30 30
     border-radius:14px;
31 31
     margin: 0 auto;
32 32
     text-align: center;