抖音c端
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

65 Zeilen
3.3 KiB

  1. <!-- c:\Users\56817\Desktop\Working Space\3,TikTok-MiniPro\ttc\pages2\shopSelect\shopSelect.ttml -->
  2. <view class="continer">
  3. <view tt:if="{{ isShop }}" class="selectShop">
  4. <view class="nav">
  5. <view tt:if="{{ currentCity }}" class="item">当前城市:{{ currentCity }}</view>
  6. <view tt:if="{{ !currentCity }}" class="item">定位失败</view>
  7. <view class="item" bindtap="selectCity">切换城市</view>
  8. </view>
  9. <view tt:if="{{ mallList.length > 0 }}" class="shopList">
  10. <view class="item" tt:for="{{ mallList }}" tt:key="index" bindtap="goSetShop" data-item="{{ item }}">
  11. <view class="img">
  12. <image src="{{ item.merchantImgUrl }}"></image>
  13. </view>
  14. <view tt:if="{{ item.distance_str }}" class="infoBox">
  15. <view class="infoItem">{{ item.merchantName }}</view>
  16. <view class="infoItem">地址:{{ item.addr }}</view>
  17. <view class="infoItem">距您 {{ item.distance_str }}</view>
  18. </view>
  19. <view tt:if="{{ !item.distance_str }}" class="infoBox2">
  20. <view class="infoItem">{{ item.merchantName }}</view>
  21. <view class="infoItem">地址:{{ item.addr }}</view>
  22. </view>
  23. </view>
  24. </view>
  25. <view tt:if="{{ mallList.length <= 0 }}" class="shopList">
  26. <view class="takeingPlace">
  27. <view class="title">该城市暂无可用门店哦</view>
  28. <image src="../../assets/itemImg/place.png"></image>
  29. </view>
  30. </view>
  31. </view>
  32. <view tt:if="{{ !isShop }}" class="selectCity">
  33. <view class="nav">
  34. <view class="item" bindtap="selectShop">返回</view>
  35. </view>
  36. <view class="notice">请选择您所在城市</view>
  37. <scroll-view scroll-y="{{true}}" style="height:1400rpx;" scroll-with-animation="{{true}}"
  38. upper-threshold="{{50}}" lower-threshold="{{50}}" scroll-into-view="{{toView}}">
  39. <view tt:for="{{ tagArr }}" tt:key="index" class="indexList" id="{{ item }}">
  40. <view class="title">{{ item }}</view>
  41. <view class="item" bindtap="goFindShop" data-name="北京市">北京市</view>
  42. <view class="item" bindtap="goFindShop" data-name="武汉市">武汉市</view>
  43. <view class="item" bindtap="goFindShop" data-name="天津市">天津市</view>
  44. <view class="item" bindtap="goFindShop" data-name="石家庄市">石家庄市</view>
  45. <view class="item" bindtap="goFindShop" data-name="济南市">济南市</view>
  46. <view class="item" bindtap="goFindShop" data-name="长沙市">长沙市</view>
  47. </view>
  48. </scroll-view>
  49. </view>
  50. <view tt:if="{{ !isShop }}" class="indexBar" catchtouchmove="indexBarMove">
  51. <view class="{{ currentTag == item ? 'indexBarItem active' : 'indexBarItem' }}" tt:for="{{ tagArr }}"
  52. tt:key="index" id="{{ item }}" bindtap="tagBind">{{ item }}
  53. <view tt:if="{{ currentTag==item }}" class="tag">
  54. <view class="name">{{ item }}</view>
  55. <view class="tran"></view>
  56. </view>
  57. </view>
  58. </view>
  59. </view>