C端小程序
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

135 righe
5.7 KiB

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