community.wxml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!--lionfish_comshop/pages/position/community.wxml-->
  2. <i-auth bind:authSuccess="authSuccess" needAuth="{{needAuth}}">
  3. <view>
  4. <view class="header-content">
  5. <image class="header-bg" src="{{common_header_backgroundimage?common_header_backgroundimage:'../../images/TOP_background@2x.png'}}"></image>
  6. <view class="search-content">
  7. <i-router-link openType="redirect" url="/lionfish_comshop/pages/position/cities">
  8. <view class="city-content">
  9. <image class="search-icon" src="../../images/icon-search.png"></image>
  10. {{city.districtName}}
  11. <image class="bottom-arrow" src="../../images/icon-bottom-arrow.png"></image>
  12. </view>
  13. </i-router-link>
  14. <view bindtap="linkSearch" class="search-ipt">
  15. <view class="ipt-class">请输入{{groupInfo.group_name}}名称</view>
  16. </view>
  17. </view>
  18. <block wx:if="{{!community.communityId}}">
  19. <view class="location-title">当前地址</view>
  20. <view class="location-msg">{{city.districtName}}</view>
  21. <view class="switch-btn">请选择您的{{groupInfo.group_name}}</view>
  22. </block>
  23. <block wx:else>
  24. <view class="location-title location-title-pad">当前{{groupInfo.group_name}}</view>
  25. <navigator class="local-community-card" openType="switchTab" url="/lionfish_comshop/pages/index/index">
  26. <image class="card-bg" src="../../images/community-desc-bg.png"></image>
  27. <view class="head-pic">
  28. <image class="head-pic-content" src="{{community.disUserHeadImg||community.headImg}}" wx:if="{{community.disUserHeadImg||community.headImg}}"></image>
  29. <image class="head-pic-content" src="../../images/head-bitmap.png" wx:else></image>
  30. </view>
  31. <view class="card-msg">
  32. <view class="group-master">{{groupInfo.owner_name}}:{{community.disUserName||community.realName}}</view>
  33. <view class="community-name">{{community.communityName}}</view>
  34. <view class="community-address">{{community.communityAddress||community.fullAddress}}</view>
  35. </view>
  36. </navigator>
  37. </block>
  38. </view>
  39. <!-- 曾用社区 -->
  40. <view class="community-list history-communities" style="display:none;" wx:if="{{!isNotHistory}}">
  41. <view class="title">曾用{{groupInfo.group_name}}</view>
  42. <i-community-item city="{{city}}" class="item-border" isOld="true" item="{{historyCommunity}}"></i-community-item>
  43. </view>
  44. <!-- 附近社区 -->
  45. <view class="community-list around-communities">
  46. <view class="title" style="border-color:{{skin.color}}">附近{{groupInfo.group_name}}</view>
  47. <i-community-item wx:if="{{communities.length}}" city="{{city}}" class="item-border" item="{{item}}" wx:for="{{communities}}" wx:key="id" groupInfo="{{groupInfo}}" hiddenDetails="{{index_hide_headdetail_address}}" skin="{{skin}}"></i-community-item>
  48. <view class='no-community' wx:if="{{isEmpty}}">
  49. <view class='flex-align' bindtap="openSetting" wx:if="{{!canGetGPS}}">
  50. <image src='../../images/noData.png'></image>
  51. <view>未获得您的位置信息,点击开启</view>
  52. </view>
  53. <block wx:else>
  54. <image src='../../images/noData.png'></image>
  55. <view>当前城市暂未开通服务,请更换城市或<navigator class='link-apply' url="/lionfish_comshop/moduleA/groupCenter/recruit">申请开通></navigator></view>
  56. </block>
  57. </view>
  58. <i-load-more loading="{{loadMore}}" tip="{{tip}}"></i-load-more>
  59. </view>
  60. <!-- 未打开定位 -->
  61. <!-- <view bindtap="openSetting" class="mars-mask" wx:if="{{!canGetGPS}}"></view> -->
  62. </view>
  63. </i-auth>