index.wxml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  1. <view>
  2. <view class="groupCenter">
  3. <view class="basicInform">
  4. <view class="user-avatar">
  5. <image class="userAvatarUrl" src="{{member_info.avatar}}"></image>
  6. </view>
  7. <view class="userInfo">
  8. <view class="user-name">
  9. <text>{{community_info.head_name}}</text>
  10. <view bindtap="goEdit" class="edit-name">
  11. <text class="iconfont icon-edit"></text>
  12. <text>编辑</text>
  13. </view>
  14. </view>
  15. <view class="userId">
  16. <text>ID:{{community_info.re_id}}</text>
  17. <view bindtap="goScan" class="scan-code">
  18. <text class="iconfont icon-erweima icon-scan"></text>
  19. </view>
  20. </view>
  21. <view class="address text-overflow1" bindtap="changeMycommunion" style="width:400rpx;">
  22. 绑定{{groupInfo.group_name}}:{{community_info.community_name}}<text class="iconfont icon-youjiantou"></text>
  23. </view>
  24. <view class="address" wx:if="{{community_info.is_show_head_level==1}}">
  25. <text>{{groupInfo.owner_name}}等级:{{community_info.head_level_info.levelname}}(分佣比例:{{community_info.head_level_info.commission}}%)</text>
  26. </view>
  27. </view>
  28. </view>
  29. <view class="distributionCon">
  30. <view class="distribution">
  31. <view class="myDistribution">
  32. <text>{{groupInfo.owner_name}}概况</text>
  33. <view class="shareGroup bule fsz-24" bindtap="handleShareActionsheet">
  34. 打印二维码 <text class="iconfont icon-youjiantou fsz-24"></text>
  35. </view>
  36. </view>
  37. <view class="incomeCon">
  38. <view class="income">
  39. <text class="incomeTop">{{commission_info.mix_total_money}}</text>
  40. <text class="incomeBottom">总收入(元)</text>
  41. </view>
  42. <view class="income" bindtap="confirmMessage">
  43. <text class="incomeTop">{{total_order_count}}</text>
  44. <view class="incomeBottom">总订单 <text class="iconfont icon-shuoming red fsz-24"></text></view>
  45. </view>
  46. <view class="income">
  47. <text class="incomeTop">{{total_member_count}}</text>
  48. <text class="incomeBottom">会员数</text>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="effectData">
  54. <view class="effect">
  55. <view class="myEffect">
  56. <text>今日详情</text>
  57. <view class="shareGroup bule fsz-24" bindtap='goLink' data-link='/lionfish_comshop/moduleA/groupCenter/ranking' wx:if="{{is_show_community_ranking==1}}">
  58. {{groupInfo.owner_name}}排行 <text class="iconfont icon-youjiantou fsz-24"></text>
  59. </view>
  60. </view>
  61. <view class="incomeCon">
  62. <view class="income">
  63. <text class="incomeTop">{{today_order_count}}</text>
  64. <view class="incomeBottom" data-type="1">
  65. <text>订单总数(笔)</text>
  66. </view>
  67. </view>
  68. <view class="income">
  69. <text class="incomeTop">{{today_effect_order_count}}</text>
  70. <view class="incomeBottom" data-type="2">
  71. <text>有效订单(笔)</text>
  72. </view>
  73. </view>
  74. <view class="income">
  75. <text class="incomeTop">{{today_pay_order_count}}</text>
  76. <view class="incomeBottom" data-type="3">
  77. <text>付款人数</text>
  78. </view>
  79. </view>
  80. <view class="income">
  81. <text class="incomeTop">{{head_today_pay_money}}</text>
  82. <view class="incomeBottom" data-type="3">
  83. <text>销售额(元)</text>
  84. </view>
  85. </view>
  86. </view>
  87. <view class="incomeCon">
  88. <view class="income">
  89. <text class="incomeTop">{{today_add_head_member}}</text>
  90. <view class="incomeBottom" data-type="1">
  91. <text>新增会员数</text>
  92. </view>
  93. </view>
  94. <view class="income">
  95. <text class="incomeTop">{{today_after_sale_order_count}}</text>
  96. <view class="incomeBottom" data-type="2">
  97. <text>售后订单(笔)</text>
  98. </view>
  99. </view>
  100. <view class="income">
  101. <text class="incomeTop">{{today_pre_total_money}}</text>
  102. <view class="incomeBottom" data-type="3">
  103. <text>预估收入</text>
  104. </view>
  105. </view>
  106. <view class="income">
  107. <text class="incomeTop">{{today_invite_head_member}}</text>
  108. <view class="incomeBottom" data-type="3">
  109. <text>今日访客</text>
  110. </view>
  111. </view>
  112. </view>
  113. </view>
  114. </view>
  115. <view class="groupCenterCon">
  116. <view class="order" wx:if="{{isShow}}">
  117. <view class="myOrders">
  118. <text>我的团单</text>
  119. <view bindtap="goOrder" class="allGroupOrder" data-status="0">
  120. <text>查看全部</text>
  121. <image class="rightArrowImg" src="../../images/rightArrowImg.png"></image>
  122. </view>
  123. </view>
  124. <view class="orderTab">
  125. <view bindtap="goOrder" class="order_status" data-status="1">
  126. <text class="num" wx:if="{{waitSendNum!=0}}">{{waitSendNum}}</text>
  127. <image class="distributionIcon" src="../../images/distributionIcon-order.png"></image>
  128. <text>待配送</text>
  129. </view>
  130. <view bindtap="goOrder" class="order_status" data-status="2">
  131. <text class="num" wx:if="{{waitSignNum!=0}}">{{waitSignNum}}</text>
  132. <image class="receiveIcon" src="../../images/receiveIcon-order.png"></image>
  133. <text>待签收</text>
  134. </view>
  135. <view bindtap="goOrder" class="order_status" data-status="3">
  136. <text class="num" wx:if="{{waitPickNum!=0}}">{{waitPickNum}}</text>
  137. <image class="needPickIcon" src="../../images/needPickIcon-order.png"></image>
  138. <text>待提货</text>
  139. </view>
  140. <view bindtap="goOrder" class="order_status" data-status="4">
  141. <text class="num" wx:if="{{completeNum!=0}}">{{completeNum}}</text>
  142. <image class="completeIcon" src="../../images/completeIcon-order.png"></image>
  143. <text>已完成</text>
  144. </view>
  145. </view>
  146. </view>
  147. <view class="record">
  148. <navigator hoverClass="none" url="/lionfish_comshop/moduleA/groupCenter/communityMembers" wx:if="{{isShow}}">
  149. <view class="recordList">
  150. <text class="recordListTit">{{groupInfo.group_name}}用户</text>
  151. <view class="rightText">待核销 <image class="rightArrowImg" src="../../images/rightArrowImg.png"></image></view>
  152. </view>
  153. </navigator>
  154. <navigator hoverClass="none" url="/lionfish_comshop/moduleA/solitaire/groupIndex" wx:if="{{is_open_solitaire==1}}">
  155. <view class="recordList">
  156. <text class="recordListTit">接龙中心</text>
  157. <image class="rightArrowImg" src="../../images/rightArrowImg.png"></image>
  158. </view>
  159. </navigator>
  160. <navigator hoverClass="none" url="/lionfish_comshop/moduleA/groupCenter/distributionList">
  161. <view class="recordList">
  162. <text class="recordListTit">结算记录</text>
  163. <image class="rightArrowImg" src="../../images/rightArrowImg.png"></image>
  164. </view>
  165. </navigator>
  166. <navigator hoverClass="none" url="/lionfish_comshop/moduleA/groupCenter/wallet">
  167. <view class="recordList">
  168. <text class="recordListTit">我的钱包</text>
  169. <image class="rightArrowImg" src="../../images/rightArrowImg.png"></image>
  170. </view>
  171. </navigator>
  172. <navigator style="display:none;" hoverClass="none" url="/lionfish_comshop/moduleA/groupCenter/settlementList">
  173. <view class="recordList borNone">
  174. <text class="recordListTit">结算记录</text>
  175. <image class="rightArrowImg" src="../../images/rightArrowImg.png"></image>
  176. </view>
  177. </navigator>
  178. <navigator hoverClass="none" url="/lionfish_comshop/moduleA/groupCenter/list">
  179. <view class="recordList">
  180. <text class="recordListTit">配送单</text>
  181. <image class="rightArrowImg" src="../../images/rightArrowImg.png"></image>
  182. </view>
  183. </navigator>
  184. <navigator hoverClass="none" url="/lionfish_comshop/moduleA/groupCenter/closure" wx:if="{{open_community_addhexiaomember==1}}">
  185. <view class="recordList">
  186. <text class="recordListTit">核销管理</text>
  187. <image class="rightArrowImg" src="../../images/rightArrowImg.png"></image>
  188. </view>
  189. </navigator>
  190. <navigator hoverClass="none" url="/lionfish_comshop/moduleA/groupCenter/gruopInfo" wx:if="{{open_community_head_leve>0}}">
  191. <view class="recordList borNone">
  192. <text class="recordListTit">{{groupInfo.owner_name}}{{commiss_diy_name}}</text>
  193. <image class="rightArrowImg" src="../../images/rightArrowImg.png"></image>
  194. </view>
  195. </navigator>
  196. </view>
  197. </view>
  198. </view>
  199. <view bindtap="confirmMessage" class="hide-dialog" wx:if="{{dialogShow}}"></view>
  200. <view class="dialog-tips" wx:if="{{dialogShow}}">
  201. <view class="dialog-title">
  202. <text>总订单</text>
  203. </view>
  204. <view class="dialog-content">
  205. <text>总订单包含{{groupInfo.group_name}}用户已取消订单、退款订单、部分退款订单</text>
  206. </view>
  207. <button bindtap="confirmMessage" class="dialog-btn">
  208. <text>我知道了</text>
  209. </button>
  210. </view>
  211. </view>
  212. <mp-actionSheet bindactiontap="btnClick" show="{{showActionsheet}}" actions="{{shareActionsheet}}" title="推广{{groupInfo.group_name}}"></mp-actionSheet>
  213. <i-modal bind:cancel="closeQrcodeModal" scrollUp="{{false}}" visible="{{showQrcodeModal}}">
  214. <view class="coder-content">
  215. <view bindtap="closeQrcodeModal" class="icon-wrap">
  216. <image class="icon-close" src="../../images/icon-sku-close.png"></image>
  217. </view>
  218. <view class="t1">打印二维码</view>
  219. <view class="code-img border-bottom pb10">
  220. <image class="img" src="{{qrcode}}" mode="widthFix"></image>
  221. </view>
  222. <view class="t2 bule weight fsz-28" bindtap="saveImgToThumb">保存图片</view>
  223. </view>
  224. </i-modal>