正在显示
2 个修改的文件
包含
38 行增加
和
2 行删除
| @@ -405,7 +405,7 @@ | @@ -405,7 +405,7 @@ | ||
| 405 | <view class='modal_lg' style='' wx:if="{{showModal_reducetype}}"> | 405 | <view class='modal_lg' style='' wx:if="{{showModal_reducetype}}"> |
| 406 | <text class='text_modal_title'>请选择扣除方式</text> | 406 | <text class='text_modal_title'>请选择扣除方式</text> |
| 407 | <view class='divide_line_f5f5f5'></view> | 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 | <view wx:for="{{reducetypeData}}" wx:for-index="idx"> | 409 | <view wx:for="{{reducetypeData}}" wx:for-index="idx"> |
| 410 | <view wx:if="{{selected_reduceindex==idx}}"> | 410 | <view wx:if="{{selected_reduceindex==idx}}"> |
| 411 | <text class='text_item_blue float_left'>{{item}}</text> | 411 | <text class='text_item_blue float_left'>{{item}}</text> |
| @@ -416,6 +416,18 @@ | @@ -416,6 +416,18 @@ | ||
| 416 | </view> | 416 | </view> |
| 417 | <view class='divide_line_f5f5f5'></view> | 417 | <view class='divide_line_f5f5f5'></view> |
| 418 | </view> | 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 | </view> | 431 | </view> |
| 420 | <view class='divide_line_f5f5f5'></view> | 432 | <view class='divide_line_f5f5f5'></view> |
| 421 | 433 | ||
| @@ -430,7 +442,7 @@ | @@ -430,7 +442,7 @@ | ||
| 430 | <view class='modal_lg' style='' wx:if="{{showModal_addtype}}"> | 442 | <view class='modal_lg' style='' wx:if="{{showModal_addtype}}"> |
| 431 | <text class='text_modal_title'>{{modalData.title}}</text> | 443 | <text class='text_modal_title'>{{modalData.title}}</text> |
| 432 | <view class='divide_line_f5f5f5'></view> | 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 | <block wx:for="{{modalData.datas}}" wx:for-index="idx"> | 446 | <block wx:for="{{modalData.datas}}" wx:for-index="idx"> |
| 435 | <view wx:if="{{idx==selected_addindex}}"> | 447 | <view wx:if="{{idx==selected_addindex}}"> |
| 436 | <text class='text_item_blue float_left'>{{item.name}}</text> | 448 | <text class='text_item_blue float_left'>{{item.name}}</text> |
| @@ -441,6 +453,18 @@ | @@ -441,6 +453,18 @@ | ||
| 441 | </view> | 453 | </view> |
| 442 | <view class='divide_line_f5f5f5'></view> | 454 | <view class='divide_line_f5f5f5'></view> |
| 443 | </block> | 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 | </view> | 468 | </view> |
| 445 | <view class='divide_line_f5f5f5'></view> | 469 | <view class='divide_line_f5f5f5'></view> |
| 446 | <view style='width:100%;display: flex;'> | 470 | <view style='width:100%;display: flex;'> |
| @@ -253,6 +253,12 @@ page { | @@ -253,6 +253,12 @@ page { | ||
| 253 | letter-spacing: 0; | 253 | letter-spacing: 0; |
| 254 | line-height: 18px; | 254 | line-height: 18px; |
| 255 | padding: 30rpx; | 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 | .text_item_black { | 264 | .text_item_black { |
| @@ -262,6 +268,12 @@ page { | @@ -262,6 +268,12 @@ page { | ||
| 262 | letter-spacing: 0; | 268 | letter-spacing: 0; |
| 263 | line-height: 18px; | 269 | line-height: 18px; |
| 264 | padding: 30rpx; | 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 | .declare_style { | 279 | .declare_style { |
请
注册
或
登录
后发表评论