C端小程序
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

130 satır
5.4 KiB

  1. <navbar text="首页"></navbar>
  2. <view class="container" style="padding-top:{{navigationBarHeight}};">
  3. <!-- 所属集团 -->
  4. <view class="underling" bindtap="goSquareList" wx:if="{{isShowSqare}}">
  5. <image class="underlingImg" mode="widthFix" src="https://formall.oss-accelerate.aliyuncs.com/cimg/dingwei.png"></image>
  6. <view class="underlingName" >{{"当前广场"}} ↓</view>
  7. </view>
  8. <!-- 会员信息 -->
  9. <view class='userinfo' wx:if="{{ifStoreApp!=1}}">
  10. <!-- 头像 -->
  11. <view class='infoLeft'>
  12. <view class="user-avatar">
  13. <open-data class="open" type="userAvatarUrl"></open-data>
  14. </view>
  15. <!-- 成长值 -->
  16. <view class="user-data fl" bindtap='gotoChengzhangzhi'>
  17. <view class='nameBox'>
  18. <open-data type="userNickName"></open-data>
  19. <view class='chengzhangBox' style='background:{{chengzhangBox}}'>
  20. <text class='chengzhang'>{{levelName}}</text>
  21. </view>
  22. </view>
  23. <view class="view">
  24. <progress percent="{{upgradePercent}}" stroke-width="6" activeColor="{{activeColor}}" />
  25. <view class='remainchengzhangzhi'>还需{{upgradeScore}}成长值可升级</view>
  26. </view>
  27. </view>
  28. </view>
  29. <!-- 二维码 -->
  30. <view class='qrcode fr' bindtap='qrcode'>
  31. <image src="{{barcode}}" class='qrcodeimg' mode='widthFix'></image>
  32. </view>
  33. </view>
  34. <!-- banner -->
  35. <c-banner wx:key="unique" list="{{list}}" />
  36. <!-- 频道 -->
  37. <view class='channelBox' wx:if="{{ifStoreApp!=1}}">
  38. <view class='kjBox' bindtap='gotoBargain'>
  39. <image src='{{kanjia}}' mode='aspectFill'></image>
  40. <text>砍价</text>
  41. </view>
  42. <view class='kjBox' bindtap='gotoSpellGroup'>
  43. <image src='{{pintuan}}' mode='aspectFill'></image>
  44. <text>拼团</text>
  45. </view>
  46. <view class='kjBox' bindtap='goLive' wx:if="{{liveFlag}}">
  47. <image src='{{live}}' mode='aspectFill'></image>
  48. <text>直播厅</text>
  49. </view>
  50. <view class='kjBox' bindtap='gotoCard'>
  51. <image src='{{xiaofeika}}' mode='aspectFill'></image>
  52. <text>消费卡</text>
  53. </view>
  54. <!-- <view class='kjBox' bindtap='gotogame'>
  55. <image src='{{xingyun}}' mode='aspectFill' bindtap=''></image>
  56. <text>游戏频道</text>
  57. </view> -->
  58. <view class='kjBox' bindtap='gotoJfsc'>
  59. <image src='{{jfshangcheng}}' mode='aspectFill'></image>
  60. <text>积分商城</text>
  61. </view>
  62. </view>
  63. <!-- 频道 -->
  64. <view class='channelBox' wx:if="{{ifStoreApp==1}}" style="width:525rpx;">
  65. <view class='kjBox' bindtap='gotoBargain'>
  66. <image src='{{kanjia}}' mode='aspectFill'></image>
  67. <text>砍价</text>
  68. </view>
  69. <view class='kjBox' bindtap='gotoSpellGroup'>
  70. <image src='{{pintuan}}' mode='aspectFill'></image>
  71. <text>拼团</text>
  72. </view>
  73. <view class='kjBox' bindtap='gotoRushBuy'>
  74. <image src='{{xiaofeika}}' mode='aspectFill'></image>
  75. <text>限时抢购</text>
  76. </view>
  77. </view>
  78. <!-- 每日头条 限时抢购 -->
  79. <!-- <view class='toutiao' bindtap='gotoRushBuy' wx:if="{{showQg&&ifStoreApp!=1}}" >
  80. <view class='imgBox'>
  81. <image src='{{toutiao}}' mode='aspectFill'></image>
  82. </view>
  83. <view>
  84. 今日好物推荐,
  85. <text>'{{xslist[0].title}}'</text>原价 <text>{{xslist[0].priceStr}}</text> 现价...
  86. </view>
  87. <view class='qg' style='border-color:{{qg}}'>抢购</view>
  88. </view> -->
  89. <!--限时抢购 -->
  90. <view class='toutiao1' wx:if="{{showQg&&ifStoreApp!=1}}" >
  91. <view class='xianshi' bindtap='gotoRushBuy'>
  92. <text>限时专区</text>
  93. <text>限时惊爆价 轻松拎回家</text>
  94. </view>
  95. <view class='xsCon'>
  96. <view wx:for="{{xslist}}" wx:key="index">
  97. <view class='igBox'data-couponId="{{item.couponId}}" data-couponChannelId="{{item.id}}" data-targetAd="{{item.targetAd}}" bindtap='gotodetail'>
  98. <image src='{{xslist[index].coverImg}}' mode='widthFix' class='imageH' ></image>
  99. <view class='imTit'>{{xslist[index].title}}</view>
  100. </view>
  101. </view>
  102. <view>
  103. <view class='igBox' bindtap='gotoRushBuy'>
  104. <image src='{{more}}' mode='widthFix' class='more' ></image>
  105. <view class='imTit'>更多...</view>
  106. </view>
  107. </view>
  108. </view>
  109. </view>
  110. <view class="game-entry" bindtap='gotogame'>
  111. <image src="{{usergift}}" mode="widthFix" class="gameimg"></image>
  112. </view>
  113. <!-- 爆款专区 -->
  114. <c-hot id="hot"/>
  115. <view class='product' wx:if="{{showTopic}}" bindtap='gotoTopic'>
  116. <image src='{{cover}}' mode='widthFix' ></image>
  117. </view>
  118. <c-coupons id="lists" bind:myevent="onGetCode" class="business" loadingtext="{{loadingtext}}" loading="{{loading}}" />
  119. <!-- 游戏蒙层 -->
  120. <g-entry id="listss" wx:if="{{showGame&&!played&&!havePlayEd}}" gamedata="{{gamedata}}" bind:myevent="" />
  121. <!-- 广告蒙层 -->
  122. <c-advertisement id="advertisement" wx:if="{{showGg&&!played&&!havePlayEd1}}" ggdata="{{ggdata}}"/>
  123. </view>
  124. <!-- 顶部签到成长值 -->
  125. <view class='signin' wx:if="{{fistLogin}}" animation="{{alphaData}}">
  126. <open-data class="open" type="userAvatarUrl"></open-data>
  127. <text class='text'>您今日签到成功,获得{{fistLogin}}成长值</text>
  128. </view>