抖音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.

120 lines
5.3 KiB

  1. <!-- 初始模板 -->
  2. <view tt:if="{{mouldType==0}}">
  3. <!-- <navbar color="{{typeLsit.sy_top_f.styleClass}}" background="{{typeLsit.sy_top.styleClass}}" text="首页"></navbar> -->
  4. <!-- style="padding-top:{{navigationBarHeight}}" -->
  5. <view class="container">
  6. <!-- <view style="height:{{navigationBarHeight1}} "></view> -->
  7. <!-- 会员信息 -->
  8. <view class="color_box" style="{{typeLsit.sy_bbg.styleClass}}">
  9. <!-- 所属集团 -->
  10. <view class="underling" bindtap="goSquareList" tt:if="{{squareName}}">
  11. <image class="underlingImg" mode="widthFix" src="https://formall.oss-accelerate.aliyuncs.com/cimg/dingwei.png">
  12. </image>
  13. <view class="underlingName">{{squareName}} ↓</view>
  14. </view>
  15. <view class='userinfo' tt:if="{{ifStoreApp!=1}}">
  16. <!-- 头像 -->
  17. <view class='infoLeft' style="{{typeLsit.sy_xxb.styleClass}}">
  18. <view class="user-avatar">
  19. <open-data class="open" type="userAvatarUrl"></open-data>
  20. </view>
  21. <!-- 成长值 -->
  22. <view class="user-data fl" bindtap='gotoChengzhangzhi' style="{{typeLsit.sy_xxb.styleClass}}">
  23. <view class='nameBox'>
  24. <open-data type="userNickName" style="{{typeLsit.sy_xxb_nf.styleClass}}"></open-data>
  25. <view class='chengzhangBox' style='background:{{chengzhangBox}}'>
  26. <text class='chengzhang'>{{levelName}}</text>
  27. </view>
  28. </view>
  29. <view class="view">
  30. <progress percent="{{upgradePercent}}" stroke-width="6" activeColor="{{activeColor}}" />
  31. <view class='remainchengzhangzhi' style="{{typeLsit.sy_xxb_cf.styleClass}}">还需{{upgradeScore}}成长值可升级
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <!-- 二维码 -->
  37. <view class='qrcode fr' bindtap='qrcode' style="{{typeLsit.sy_qrc.styleClass}}">
  38. <image src="{{typeLsit.sy_qrc.icon}}" class='qrcodeimg' mode='widthFix'></image>
  39. </view>
  40. </view>
  41. <!-- banner -->
  42. <c-banner tt:key="unique" list="{{list}}" />
  43. <!-- 频道 -->
  44. <view class="channelBox" tt:if="{{ifStoreApp!=1&&moduleList.length>0}}" style="{{typeLsit.sy_mbg.styleClass}}">
  45. <view class='kjBox' bindtap='goPage' data-obj="{{item}}" tt:for="{{moduleList}}" tt:key="{{index}}">
  46. <image src='{{item.icon}}' mode='aspectFill'></image>
  47. <view class="text">{{item.name}}</view>
  48. </view>
  49. </view>
  50. <view class='channelBox' tt:if="{{ifStoreApp==1}}" style="width:525rpx;">
  51. <view class='kjBox' bindtap='gotoBargain'>
  52. <image src='{{kanjia}}' mode='aspectFill'></image>
  53. <text>砍价</text>
  54. </view>
  55. <view class='kjBox' bindtap='gotoSpellGroup'>
  56. <image src='{{pintuan}}' mode='aspectFill'></image>
  57. <text>拼团</text>
  58. </view>
  59. <view class='kjBox' bindtap='gotoRushBuy'>
  60. <image src='{{xiaofeika}}' mode='aspectFill'></image>
  61. <text>限时抢购</text>
  62. </view>
  63. </view>
  64. </view>
  65. <view class='toutiao1' tt:if="{{showQg&&ifStoreApp!=1}}">
  66. <view class='xianshi' bindtap='gotoRushBuy'>
  67. <text>限时专区</text>
  68. <text>限时惊爆价 轻松拎回家</text>
  69. </view>
  70. <view class='xsCon'>
  71. <view tt:for="{{xslist}}" tt:key="index">
  72. <view class='igBox' data-couponId="{{item.couponId}}" data-couponChannelId="{{item.id}}"
  73. data-targetAd="{{item.targetAd}}" bindtap='gotodetail'>
  74. <image src='{{xslist[index].coverImg}}' mode='widthFix' class='imageH'></image>
  75. <view class='imTit'>{{xslist[index].title}}</view>
  76. </view>
  77. </view>
  78. <view>
  79. <view class='igBox' bindtap='gotoRushBuy'>
  80. <image src='{{more}}' mode='widthFix' class='more'></image>
  81. <view class='imTit'>更多...</view>
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. <!-- 爆款专区 -->
  87. <c-hot id="hot" />
  88. <view class='product' tt:if="{{showTopic}}" bindtap='gotoTopic'>
  89. <image src='{{cover}}' mode='widthFix'></image>
  90. </view>
  91. <c-coupons id="lists" bind:myevent="onGetCode" class="business" loadingtext="{{loadingtext}}"
  92. loading="{{loading}}" />
  93. <!-- 广告蒙层 -->
  94. <!-- <c-advertisement id="advertisement" tt:if="{{showGg&&!played&&!havePlayEd1}}" ggdata="{{ggdata}}" /> -->
  95. </view>
  96. <!-- 顶部签到成长值 -->
  97. <view class='signin' tt:if="{{fistLogin}}" animation="{{alphaData}}">
  98. <open-data class="open" type="userAvatarUrl"></open-data>
  99. <text class='text'>您今日签到成功,获得{{fistLogin}}成长值</text>
  100. </view>
  101. <view class="integralBox" tt:if="{{businessSwitch}}">
  102. <!--是未授权微信且未授权手机号 -->
  103. <navigator url="/pages/getuserinfo/index" open-type="navigate" tt:if="{{accreditFlag==1}}">
  104. <image src='https://formall.oss-accelerate.aliyuncs.com/cimg/self-help-integral.png' mode='widthFix'
  105. style="width: 100%;height: 100%;"></image>
  106. </navigator>
  107. <!-- 授权了微信 没授权手机号 -->
  108. <navigator url="/pages/getuserinfo/index" open-type="navigate" tt:if="{{accreditFlag==2}}">
  109. <image src='https://formall.oss-accelerate.aliyuncs.com/cimg/self-help-integral.png' mode='widthFix'
  110. style="width: 100%;height: 100%;"></image>
  111. </navigator>
  112. </view>
  113. </view>