index.wxml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!--index.wxml-->
  2. <import src="/wxSearch/wxSearch.wxml"/>
  3. <template is="wxSearch" data="{{wxSearchData}}"/>
  4. <import src="../../wxSearch/wxSearch.wxml" />
  5. <template is="wxSearch" data="{{wxSearchData}}" />
  6. <!--<view wx:if="{{!hasUserInfo && canIUse}}">
  7. <view class='header'>
  8. <image src='../../images/2.jpg'></image>
  9. </view>
  10. <view class='content'>
  11. <view>申请获取以下权限</view>
  12. <text>获得你的公开信息(昵称,头像等)</text>
  13. </view>--!>
  14. <!-- <button class='bottom' type='primary' open-type="getUserInfo" lang="zh_CN" bindgetuserinfo="bindGetUserInfo"> -->
  15. <!-- <button class='bottom' wx:if="{{!hasUserInfo && canIUse}}" open-type="getUserInfo" bindgetuserinfo="getUserInfo">登录授权 </button>
  16. </view> -->
  17. <!-- <block wx:else> -->
  18. <view class="remind-copy">长按复制公众号,可以去微信搜索关注</view>
  19. <view class='center-space'></view>
  20. <block wx:for="{{gongMessage}}" wx:for-item="item">
  21. <view class='center-space-gong'></view>
  22. <!-- 公众号信息 -->
  23. <view class='gong-content' bindtap='to_articel_list' data-index="{{index}}" bindlongtap='copy' bindtouchend="touchend">
  24. <view>
  25. <image class='gong-img' src="{{item.headpath}}"></image>
  26. </view>
  27. <view class='gong-message'>
  28. <view class='gong-name'>{{item.name}}</view>
  29. <view class='gong-describe'>{{item.describes}}</view>
  30. <text selectable='true'></text>
  31. </view>
  32. </view>
  33. </block>
  34. <!-- 悬浮后台图标 -->
  35. <!-- <view class='background-color'>
  36. <view class='admin' bindtap='showModal'>留言板后台管理中心</view>
  37. </view> -->
  38. <!-- </block> -->
  39. <view>
  40. <modal title="后台登录" style='color: #000;font-size: 32rpx;' hidden="{{modalHidden}}" confirm-text="确定" cancel-text="取消" bindconfirm="modalBindaconfirm" bindcancel="modalBindcancel">
  41. <view class='reply-content' >只有管理员才能进行登录,您的ip地址已记录。</view>
  42. <input bindinput='getInputContent' class='reply-input' placeholder='请输入密码' value='{{inputContent}}' placeholder-style='font-size: 32rpx;'></input></modal>
  43. </view>