C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

109 line
4.4 KiB

  1. <view class="container">
  2. <!-- 会员信息 -->
  3. <view class='userinfo clearfix' >
  4. <!-- 头像 -->
  5. <view class='infoLeft'>
  6. <!-- 成长值 -->
  7. <view class="user-data fl" bindtap='gotoChengzhangzhi'>
  8. <open-data type="userNickName"></open-data>
  9. <view class='chengzhangBox' style='background:{{chengzhangBox}}'>
  10. <text class='chengzhang'>{{levelName}}</text>
  11. </view>
  12. <view class="view">
  13. <!-- 成长值<text class="score">{{score}}</text> -->
  14. <progress percent="{{upgradePercent}}" stroke-width="6" activeColor="{{activeColor}}" />
  15. <view class='remainchengzhangzhi'>还需{{upgradeScore}}成长值可升级</view>
  16. </view>
  17. </view>
  18. <!-- 积分 -->
  19. <!-- <view class='fl integral' bindtap='gotouser'>
  20. <view class='clearfix'>
  21. <text class='jifen fl'>积分</text>
  22. <text class='jifenNumber fl'>{{credit}}</text>
  23. </view>
  24. <image src="{{duihuan}}" class='duihuanimg' mode='widthFix'></image>
  25. </view> -->
  26. </view>
  27. <view class="user-avatar">
  28. <open-data class="open" type="userAvatarUrl"></open-data>
  29. </view>
  30. <!-- 二维码 -->
  31. <view class='qrcode fr' bindtap='qrcode'>
  32. <image src="{{barcode}}" class='qrcodeimg' mode='widthFix'></image>
  33. </view>
  34. </view>
  35. <!-- banner -->
  36. <c-banner wx:key="unique" list="{{list}}" />
  37. <!-- 频道 -->
  38. <view class='channelBox'>
  39. <view class='kjBox' bindtap='gotoBargain'>
  40. <image src='{{kanjia}}' mode='aspectFill'></image>
  41. <text>砍价</text>
  42. </view>
  43. <view class='kjBox' bindtap='gotoSpellGroup'>
  44. <image src='{{pintuan}}' mode='aspectFill'></image>
  45. <text>拼团</text>
  46. </view>
  47. <view class='kjBox' bindtap='gotoCard'>
  48. <image src='{{xiaofeika}}' mode='aspectFill'></image>
  49. <text>消费卡</text>
  50. </view>
  51. <view class='kjBox' bindtap='gotogame' >
  52. <image src='{{xingyun}}' mode='aspectFill' bindtap=''></image>
  53. <text>幸运卡牌</text>
  54. </view>
  55. <view class='kjBox' bindtap='gotoJfsc'>
  56. <image src='{{jfshangcheng}}' mode='aspectFill'></image>
  57. <text>积分商城</text>
  58. </view>
  59. </view>
  60. <!-- 每日头条 限时抢购 -->
  61. <view class='toutiao' bindtap='gotoRushBuy'>
  62. <view class='imgBox'>
  63. <image src='{{toutiao}}' mode='aspectFill'></image>
  64. </view>
  65. <view>
  66. 今日好物推荐,
  67. <text>'{{xslist[0].title}}'</text>原价 <text>{{xslist[0].priceStr}}</text> 现价...
  68. </view>
  69. <view class='qg' style='border-color:{{qg}}'><text>抢购</text></view>
  70. </view>
  71. <!-- 专题 -->
  72. <view class='product' wx:if="{{showTopic}}" bindtap='gotoTopic'>
  73. <!-- <view class='ztTitle'>点击进入{{Ttitle}}</view> -->
  74. <view class='gift' >
  75. <image src='{{giftHr}}' mode='aspectFill' ></image>
  76. </view>
  77. <view class='textBox'>
  78. <view class='name'>{{name}}</view>
  79. <view class='title'>{{title}}</view>
  80. </view>
  81. <view class='next'>
  82. <image src='{{next}}' mode='aspectFill' ></image>
  83. </view>
  84. <!-- <image src='{{cover}}' bindtap='gotoTopic' mode='aspectFill'></image> -->
  85. </view>
  86. <!-- 爆款专区 -->
  87. <c-hot id="hot"/>
  88. <!-- 砍价专场 -->
  89. <!-- <c-bargain id="bargain"/> -->
  90. <!-- 拼团专场 -->
  91. <!-- <c-spellGroup id="spellGroup"/> -->
  92. <!-- 小游戏暂时注释 -->
  93. <view class='game' wx-if="{{showIf}}">
  94. <view class='game-entry'>
  95. <image src="{{guanbi1}}" bindtap="close" style='width:30rpx;height:30rpx;position:absolute;right:0;top:-20rpx;' mode='widthFix'></image>
  96. <image src="{{usergift}}" bindtap="gotogame" class='gameimg' mode='widthFix'></image>
  97. </view>
  98. </view>
  99. <!-- 限时抢购和消费卡 -->
  100. <!-- <c-rushtobyCard id="rushtobyCard"/> -->
  101. <c-coupons id="lists" bind:myevent="onGetCode" class="business" loadingtext="{{loadingtext}}" loading="{{loading}}" />
  102. <g-entry id="listss" wx:if="{{showGame&&!played&&!havePlayEd}}" gamedata="{{gamedata}}" bind:myevent="" />
  103. </view>
  104. <!-- 顶部签到成长值 -->
  105. <view class='signin' wx:if="{{fistLogin}}" animation="{{alphaData}}">
  106. <open-data class="open" type="userAvatarUrl"></open-data>
  107. <text class='text'>您今日签到成功,获得{{fistLogin}}成长值</text>
  108. </view>