C端小程序
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

115 rindas
4.6 KiB

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