提交 9011f3b88615d98d01db6cdf9caa023b06283b54

作者 wangyu
2 个父辈 3b175612 90cabb8d

Merge branch 'dev_wy' into dev2.0

... ... @@ -405,7 +405,7 @@
405 405 <view class='modal_lg' style='' wx:if="{{showModal_reducetype}}">
406 406 <text class='text_modal_title'>请选择扣除方式</text>
407 407 <view class='divide_line_f5f5f5'></view>
408   - <view style='width:100%;display:flex;flex-direction:column;align-items:center;'>
  408 + <!-- <view style='width:100%;display:flex;flex-direction:column;align-items:center;'>
409 409 <view wx:for="{{reducetypeData}}" wx:for-index="idx">
410 410 <view wx:if="{{selected_reduceindex==idx}}">
411 411 <text class='text_item_blue float_left'>{{item}}</text>
... ... @@ -416,6 +416,18 @@
416 416 </view>
417 417 <view class='divide_line_f5f5f5'></view>
418 418 </view>
  419 + </view> -->
  420 + <view style='width:100%;display:flex;flex-direction:column;max-height:560rpx;overflow-y: scroll;'>
  421 + <view wx:for="{{reducetypeData}}" wx:for-index="idx" bindtap='goselect' id="{{idx}}">
  422 + <view wx:if="{{idx==selected_reduceindex}}" style='display:flex;flex-direction:row;'>
  423 + <view class='text_item_blue float_left'>{{item}}</view>
  424 + <image class='icon_choosed' src="/images/icon_chat_choosed.png"></image>
  425 + </view>
  426 + <view wx:else style='display:flex'>
  427 + <text class='text_item_black float_left'>{{item}}</text>
  428 + </view>
  429 + <view class='divide_line_f5f5f5'></view>
  430 + </view>
419 431 </view>
420 432 <view class='divide_line_f5f5f5'></view>
421 433
... ... @@ -430,7 +442,7 @@
430 442 <view class='modal_lg' style='' wx:if="{{showModal_addtype}}">
431 443 <text class='text_modal_title'>{{modalData.title}}</text>
432 444 <view class='divide_line_f5f5f5'></view>
433   - <view style='width:100%;display:flex;flex-direction:column;align-items:center;'>
  445 + <!-- <view style='width:100%;display:flex;flex-direction:column;align-items:center;'>
434 446 <block wx:for="{{modalData.datas}}" wx:for-index="idx">
435 447 <view wx:if="{{idx==selected_addindex}}">
436 448 <text class='text_item_blue float_left'>{{item.name}}</text>
... ... @@ -441,6 +453,18 @@
441 453 </view>
442 454 <view class='divide_line_f5f5f5'></view>
443 455 </block>
  456 + </view> -->
  457 + <view style='width:100%;display:flex;flex-direction:column;max-height:560rpx;overflow-y: scroll;'>
  458 + <view wx:for="{{modalData.datas}}" wx:for-index="idx" bindtap='goselect' id="{{idx}}">
  459 + <view wx:if="{{idx==selected_addindex}}" style='display:flex;flex-direction:row;'>
  460 + <text class='text_item_blue float_left'>{{item.name}}</text>
  461 + <image class='icon_choosed' src="/images/icon_chat_choosed.png"></image>
  462 + </view>
  463 + <view wx:else style='display:flex'>
  464 + <text class='text_item_black float_left'>{{item.name}}</text>
  465 + </view>
  466 + <view class='divide_line_f5f5f5'></view>
  467 + </view>
444 468 </view>
445 469 <view class='divide_line_f5f5f5'></view>
446 470 <view style='width:100%;display: flex;'>
... ...
... ... @@ -253,6 +253,12 @@ page {
253 253 letter-spacing: 0;
254 254 line-height: 18px;
255 255 padding: 30rpx;
  256 +
  257 + width: 500rpx;
  258 + text-align: center;
  259 + overflow: hidden;
  260 + text-overflow: ellipsis;
  261 + white-space: nowrap;
256 262 }
257 263
258 264 .text_item_black {
... ... @@ -262,6 +268,12 @@ page {
262 268 letter-spacing: 0;
263 269 line-height: 18px;
264 270 padding: 30rpx;
  271 +
  272 + width: 500rpx;
  273 + text-align: center;
  274 + overflow: hidden;
  275 + text-overflow: ellipsis;
  276 + white-space: nowrap;
265 277 }
266 278
267 279 .declare_style {
... ...
注册登录 后发表评论