微信小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.9 KiB

  1. <!--pages/user/region/region.wxml-->
  2. <view class="ns" id="top_ban" style="height:{{isIPX?'88px':'64px'}};">
  3. <image src="/image/apply/back.png" style="top:{{isIPX?'54px':'30px'}};height: 19.0909px;" mode="widthFix" bindtap="back"></image>
  4. <text style="top:{{isIPX?'54px':'30px'}};">选择城市</text>
  5. </view>
  6. <view class="top_win" style="margin-top:{{isIPX?'103px':'74px'}};">
  7. <view class="top flex">
  8. <text>您的身份</text>
  9. </view>
  10. <view class="nowDress2 {{identity == 'bzy' ? 'active' : ''}}" data-type="bzy" bind:tap="identityChange">
  11. <text>报账员</text>
  12. </view>
  13. <view class="nowDress2 {{identity == 'spy' ? 'active' : ''}}" data-type="spy" bind:tap="identityChange">
  14. <text>审批员</text>
  15. </view>
  16. </view>
  17. <view class="top_win" style="margin-top:15px;">
  18. <view class="top flex">
  19. <text>您的位置</text>
  20. <!-- <view class="dw_box" bindtap="getLocation">
  21. <image src="/image/login/icon_update.png" style="width: 17px;height: 17px;margin-right: 5px;"></image>
  22. <text>重新定位</text>
  23. </view> -->
  24. </view>
  25. <view class="nowDress">
  26. <text>{{nowDress == '' ? '暂未选择':nowDress}}</text>
  27. </view>
  28. <van-index-bar highlight-color="#2C8E68" sticky sticky-offset-top="{{isIPX?'88':'64'}}">
  29. <van-collapse value="{{ activeNames }}" bind:change="onChange">
  30. <view class="list_bar" wx:for="{{list}}" wx:key="index">
  31. <van-index-anchor index="{{item.name}}" />
  32. <van-collapse-item title="{{cldItem.name}}" wx:for="{{item.value}}" wx:for-index="childrenIndex" wx:for-item="cldItem" wx:key="childrenIndex">
  33. <text class="list_bar_text" wx:for="{{cldItem.subset}}" wx:for-index="dressIndex" wx:for-item="dressItem" wx:key="dressIndex" data-url="{{dressItem.url}}" data-name="{{dressItem.name}}" data-parentname="{{cldItem.name}}" bindtap="goChangeUrl">{{dressItem.name}}</text>
  34. </van-collapse-item>
  35. </view>
  36. </van-collapse>
  37. </van-index-bar>
  38. </view>