微信小程序
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

29 líneas
1.5 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 class="dw_box" bindtap="getLocation">
  10. <image src="/image/login/icon_update.png" style="width: 17px;height: 17px;margin-right: 5px;"></image>
  11. <text>重新定位</text>
  12. </view> -->
  13. </view>
  14. <view class="nowDress">
  15. <text>{{nowDress == '' ? '暂未选择':nowDress}}</text>
  16. </view>
  17. </view>
  18. <van-index-bar highlight-color="#2C8E68" sticky sticky-offset-top="{{isIPX?'88':'64'}}">
  19. <van-collapse value="{{ activeNames }}" bind:change="onChange">
  20. <view class="list_bar" wx:for="{{list}}" wx:key="index">
  21. <van-index-anchor index="{{item.name}}" />
  22. <van-collapse-item title="{{cldItem.name}}" wx:for="{{item.value}}" wx:for-index="childrenIndex" wx:for-item="cldItem" wx:key="childrenIndex">
  23. <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>
  24. </van-collapse-item>
  25. </view>
  26. </van-collapse>
  27. </van-index-bar>