my.wxml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386
  1. <block wx:if="{{active == 1}}">
  2. <view class="my_index">
  3. <view class="user_info">
  4. <view class="user">
  5. <view class="user_left">
  6. <image class="user_image" src="{{user.avatar}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bind:tap="goNovaURL" data-url="/common-page/pages/info/index" />
  7. <view class="name">{{user.nickname}}</view>
  8. </view>
  9. <view class="user-right">
  10. <van-icon name="qr" size="60rpx" color="white" bind:tap="goNovaURL" data-url="/nova-shop/pages/invite/index" />
  11. </view>
  12. </view>
  13. <view class="members">
  14. <van-icon name="gem" size="48rpx" />
  15. <view class="title">会员中心</view>
  16. <button class="members_button" bind:tap="toVIP">成为会员</button>
  17. </view>
  18. </view>
  19. <view class="change_info">
  20. <view class="change line">
  21. <view class="change_num">{{account.balance ? account.balance : 0}}</view>
  22. <view class="name">零钱</view>
  23. </view>
  24. <view class="change">
  25. <view class="change_num">{{account.credit? account.credit : 0}}</view>
  26. <view class="name">积分</view>
  27. </view>
  28. </view>
  29. <view class="order_info">
  30. <view class="title">我的订单</view>
  31. <view class="order_box">
  32. <block wx:for="{{orders}}" wx:key="index">
  33. <view class="order" data-url="{{item.url}}" bind:tap="goNovaURL">
  34. <image class="icon" src="{{item.image}}" />
  35. <view class="name">{{item.title}}</view>
  36. </view>
  37. </block>
  38. </view>
  39. </view>
  40. <view class="cell_info">
  41. <van-cell title="收货地址" link-type="navigateTo" url="/common-page/pages/address/index" is-link icon="location-o" />
  42. <van-cell title="购物车" link-type="navigateTo" url="/nova-shop/pages/shop-cart/index" is-link icon="cart-o" />
  43. <van-cell title="我的收藏" link-type="navigateTo" url="/common-page/pages/collect/index" is-link icon="cart-o" />
  44. <van-cell title="每日签到" link-type="navigateTo" url="/nova-common/pages/daily-check/index" is-link icon="calendar-o" />
  45. <van-cell title="优惠券" is-link icon="coupon-o" url="/nova-shop/pages/coupons/index" />
  46. <van-cell title="我的砍价商品" is-link icon="goods-collect-o" url="/nova-shop/pages/goods/helpGoods/bargainLog/index" />
  47. <van-cell title="我的拼团" is-link icon="apps-o" url="/nova-shop/pages/goods/groupBuy/myGroup/index" />
  48. <van-cell title="我的团队" is-link icon="friends-o" url="/nova-shop/pages/team/index" />
  49. <button open-type="contact">
  50. <view class="btn-left">
  51. <van-icon name="service-o" style="margin-right:10rpx" />
  52. 联系客服
  53. </view>
  54. <van-icon name="arrow" color="#999" size="32rpx" />
  55. </button>
  56. </view>
  57. </view>
  58. </block>
  59. <block wx:if="{{active == 2}}">
  60. <view class="top">
  61. <view class="name">
  62. <image src="{{user.avatar}}" class="portrait" bind:tap="goNovaURL" data-url="/common-page/pages/info/index"></image>
  63. <view class="txt">{{user.nickname}}</view>
  64. <!-- <view class="information" bind:tap="goNovaURL" data-url="/common-page/pages/info/index">编辑信息</view> -->
  65. <view class="user-right" style="margin: 145rpx 0rpx 0rpx 10rpx;">
  66. <van-icon name="qr" size="60rpx" color="white" bind:tap="goNovaURL" data-url="/nova-shop/pages/invite/index" />
  67. </view>
  68. </view>
  69. <view class="members" bind:tap="toVIP"></view>
  70. </view>
  71. <view class="box">
  72. <view class="change">
  73. <view class="change-txt">
  74. <view class="change-title">{{account.balance? account.balance : 0}}</view>
  75. <view class="change-ts">零钱</view>
  76. </view>
  77. <view class="change-txt">
  78. <view class="change-title">{{account.credit? account.credit : 0}}</view>
  79. <view class="change-ts">积分</view>
  80. </view>
  81. </view>
  82. <view class="order">
  83. <view class="my" data-url="/nova-shop/pages/myOrder/index" bind:tap="goNovaURL">
  84. <view class="my-order">我的订单</view>
  85. <view class="image">
  86. <van-icon name="arrow" />
  87. </view>
  88. </view>
  89. <view class="stay">
  90. <view wx:for="{{brandShop}}" wx:key="index">
  91. <view class="stay-box" data-url="{{item.url}}" bind:tap="goNovaURL">
  92. <image src="{{item.image}}" class="stay-image"></image>
  93. <view class="stay-txt">{{item.txt}}</view>
  94. </view>
  95. </view>
  96. </view>
  97. </view>
  98. <view class="address" bind:tap="goNovaURL" data-url="/nova-shop/pages/shop-cart/index">
  99. <view class="address-txt">
  100. <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211207/vccjqv091438.png" class="address-image"></image>
  101. <view class="address-title">购物车</view>
  102. </view>
  103. <view class="image">
  104. <van-icon name="arrow" />
  105. </view>
  106. </view>
  107. <view class="address" bind:tap="goNovaURL" data-url="/common-page/pages/collect/index">
  108. <view class="address-txt">
  109. <image src="https://file-cloud.fmode.cn/lb486SzXLP/20220303/j81vfu092452.png" class="address-image"></image>
  110. <view class="address-title">我的收藏</view>
  111. </view>
  112. <view class="image">
  113. <van-icon name="arrow" />
  114. </view>
  115. </view>
  116. <view class="address" bind:tap="goNovaURL" data-url="/common-page/pages/address/index">
  117. <view class="address-txt">
  118. <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211207/vccjqv091438.png" class="address-image"></image>
  119. <view class="address-title">收货地址</view>
  120. </view>
  121. <view class="image">
  122. <van-icon name="arrow" />
  123. </view>
  124. </view>
  125. <view class="address" bindtap="sign">
  126. <view class="address-txt">
  127. <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20220112/8qhlks120207.png" class="address-image"></image>
  128. <view class="address-title">每日签到</view>
  129. </view>
  130. <view class="image">
  131. <van-icon name="arrow" />
  132. </view>
  133. </view>
  134. <view class="address" bindtap="cellClick">
  135. <view class="address-txt">
  136. <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211207/2d4781091423.png" class="address-image"></image>
  137. <view class="address-title">优惠券</view>
  138. </view>
  139. <view class="image">
  140. <van-icon name="arrow" />
  141. </view>
  142. </view>
  143. <view class="address" bind:tap="goNovaURL" data-url="/nova-shop/pages/team/index">
  144. <view class="address-txt">
  145. <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20220104/121tmv024911.png" class="address-image"></image>
  146. <view class="address-title">我的团队</view>
  147. </view>
  148. <view class="image">
  149. <van-icon name="arrow" />
  150. </view>
  151. </view>
  152. <button class="address" open-type="contact">
  153. <view class="address-txt">
  154. <image src="https://file-cloud.fmode.cn/lb486SzXLP/20211207/6e976b091439.png" class="address-image"></image>
  155. <view class="addresss-title">客服中心</view>
  156. </view>
  157. <view class="images">
  158. <van-icon name="arrow" />
  159. </view>
  160. </button>
  161. <!-- <view class="address">
  162. <view class="exit">退出登录</view>
  163. </view> -->
  164. </view>
  165. </block>
  166. <block wx:if="{{active == 3}}">
  167. <view class="tops">
  168. <view class="name">
  169. <image src="{{user.avatar}}" class="portrait" bind:tap="goNovaURL" data-url="/common-page/pages/info/index"></image>
  170. <view class="txt">{{user.nickname}}</view>
  171. <!-- <view class="" bind:tap="goNovaURL" data-url="/common-page/pages/info/index">编辑信息</view> -->
  172. <view class="information">
  173. <van-icon name="qr" size="60rpx" color="white" bind:tap="goNovaURL" data-url="/nova-shop/pages/invite/index" />
  174. </view>
  175. </view>
  176. <view class="members" bind:tap="toVIP"></view>
  177. </view>
  178. <view class="boxs">
  179. <view class="changes">
  180. <view class="change-txt">
  181. <view class="change-title">{{account.balance? account.balance : 0}}</view>
  182. <view class="change-ts">零钱</view>
  183. </view>
  184. <view class="change-txt">
  185. <view class="change-title">{{account.credit? account.credit : 0}}</view>
  186. <view class="change-ts">积分</view>
  187. </view>
  188. </view>
  189. <view class="order">
  190. <view class="my" data-url="/nova-shop/pages/myOrder/index" bind:tap="goNovaURL">
  191. <view class="my-order">我的订单</view>
  192. <view class="image">
  193. <van-icon name="arrow" />
  194. </view>
  195. </view>
  196. <view class="stay">
  197. <view wx:for="{{brShop}}" wx:key="index">
  198. <view class="stay-box" data-url="{{item.url}}" bind:tap="goNovaURL">
  199. <image src="{{item.image}}" class="stay-image"></image>
  200. <view class="stay-txt">{{item.txt}}</view>
  201. </view>
  202. </view>
  203. </view>
  204. </view>
  205. <view class="addresss" bind:tap="goNovaURL" data-url="/nova-shop/pages/shop-cart/index">
  206. <view class="address-txt">
  207. <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/64e10n042743.png" class="address-image"></image>
  208. <view class="address-title">购物车</view>
  209. </view>
  210. <view class="image">
  211. <van-icon name="arrow" />
  212. </view>
  213. </view>
  214. <view class="addresss" bind:tap="goNovaURL" data-url="/common-page/pages/collect/index">
  215. <view class="address-txt">
  216. <image src="https://file-cloud.fmode.cn/lb486SzXLP/20220303/j81vfu092452.png" class="address-image"></image>
  217. <view class="address-title">我的收藏</view>
  218. </view>
  219. <view class="image">
  220. <van-icon name="arrow" />
  221. </view>
  222. </view>
  223. <view class="addresss" bind:tap="goNovaURL" data-url="/common-page/pages/address/index">
  224. <view class="address-txt">
  225. <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/64e10n042743.png" class="address-image"></image>
  226. <view class="address-title">收货地址</view>
  227. </view>
  228. <view class="image">
  229. <van-icon name="arrow" />
  230. </view>
  231. </view>
  232. <view class="addresss" bindtap="sign">
  233. <view class="address-txt">
  234. <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20220112/21v1dl020956.png" class="address-image"></image>
  235. <view class="address-title" bindtap="coupons">每日签到</view>
  236. </view>
  237. <view class="image">
  238. <van-icon name="arrow" />
  239. </view>
  240. </view>
  241. <view class="addresss" bindtap="cellClick">
  242. <view class="address-txt">
  243. <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/7ohgo6042744.png" class="address-image"></image>
  244. <view class="address-title" bindtap="coupons">优惠券</view>
  245. </view>
  246. <view class="image">
  247. <van-icon name="arrow" />
  248. </view>
  249. </view>
  250. <view class="addresss" bind:tap="goNovaURL" data-url="/nova-shop/pages/team/index">
  251. <view class="address-txt">
  252. <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20220104/521m03024916.png" class="address-image"></image>
  253. <view class="address-title">我的团队</view>
  254. </view>
  255. <view class="image">
  256. <van-icon name="arrow" />
  257. </view>
  258. </view>
  259. <button class="addresss" open-type="contact">
  260. <view class="address-txt">
  261. <image src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/t71qe0042744.png" class="address-image"></image>
  262. <view class="addresss-title">客服中心</view>
  263. </view>
  264. <view class="images">
  265. <van-icon name="arrow" />
  266. </view>
  267. </button>
  268. <!-- <view class="addres">
  269. <view class="exit">退出登录</view>
  270. </view> -->
  271. </view>
  272. </block>
  273. <block wx:if="{{active == 4}}">
  274. <view class="department">
  275. <view class="user_info2">
  276. <view class="user2">
  277. <image class="user_image2" src="{{user.avatar}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bind:tap="goNovaURL" data-url="/common-page/pages/info/index" />
  278. <view class="username">{{user.nickname}}</view>
  279. <view class="user-right">
  280. <van-icon name="qr" size="60rpx" color="black" bind:tap="goNovaURL" data-url="/nova-shop/pages/invite/index" />
  281. </view>
  282. </view>
  283. <view class="change_info2">
  284. <view class="change2">
  285. <view class="change_num2">{{account.balance? account.balance : 0}}</view>
  286. <view class="nmae2">零钱</view>
  287. </view>
  288. <view class="change2">
  289. <view class="change_num2">{{account.credit? account.credit : 0}}</view>
  290. <view class="nmae2">积分</view>
  291. </view>
  292. </view>
  293. <view class="members2" bind:tap="toVIP">
  294. <image class="members2_img" src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/bc1hvs045126.png" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" />
  295. </view>
  296. </view>
  297. <view class="order_info2">
  298. <view class="title2">
  299. <view class="my_order">我的订单</view>
  300. <view class="all_order">
  301. <view class="all_order_title">全部订单</view>
  302. <van-icon name="arrow" color="#c9c9c9" />
  303. </view>
  304. </view>
  305. <view class="order_box2">
  306. <block wx:for="{{orders_4}}" wx:key="index">
  307. <view class="order2" data-url="{{item.url}}" bind:tap="goNovaURL">
  308. <image class="icon2" src="{{item.image}}" />
  309. <view class="name2">{{item.title}}</view>
  310. </view>
  311. </block>
  312. </view>
  313. </view>
  314. <view class="cell_info2">
  315. <van-cell custom-class="van-cell" title="购物车" is-link bind:click="cellClick" url="/nova-shop/pages/shop-cart/index" />
  316. <van-cell custom-class="van-cell" title="我的收藏" is-link bind:click="cellClick" url="/common-page/pages/collect/index" />
  317. <van-cell custom-class="van-cell" title="每日签到" link-type="navigateTo" url="/nova-common/pages/daily-check/index" is-link />
  318. <van-cell custom-class="van-cell" title="收货地址" link-type="navigateTo" url="/common-page/pages/address/index" is-link />
  319. <van-cell custom-class="van-cell" title="优惠券" is-link bind:click="cellClick" />
  320. <van-cell custom-class="van-cell" title="我的团队" is-link link-type="navigateTo" url="/nova-shop/pages/team/index" />
  321. <button open-type="contact">
  322. <view class="btn-left_5">客服中心</view>
  323. <van-icon name="arrow" color="#999" size="32rpx" />
  324. </button>
  325. </view>
  326. </view>
  327. </block>
  328. <block wx:if="{{active == 5}}">
  329. <view class="my_index_5">
  330. <view class="user_info_5">
  331. <view class="user_5">
  332. <image class="user_image_5" src="{{user.avatar}}" mode="aspectFit|aspectFill|widthFix" lazy-load="false" binderror="" bindload="" bind:tap="goNovaURL" data-url="/common-page/pages/info/index" />
  333. <view class="user_right_5">
  334. <view class="right_name">{{user.nickname}}</view>
  335. <!-- <view class="membership_due">{{user_5.desc}}</view> -->
  336. <view class="user-right">
  337. <van-icon name="qr" size="60rpx" color="black" bind:tap="goNovaURL" data-url="/nova-shop/pages/invite/index" />
  338. </view>
  339. </view>
  340. </view>
  341. <view class="members_5" bind:tap="toVIP">
  342. <image class="members_image" src="https://file-cloud.fmode.cn/nCCirOU5zn/20211215/h1l7hv041447.png" />
  343. </view>
  344. </view>
  345. <view class="wallet_info">
  346. <view class="wallet">
  347. <view class="wallet_num">{{account.balance? account.balance : 0}}</view>
  348. <view class="wallet_name">零钱</view>
  349. </view>
  350. <view class="wallet">
  351. <view class="wallet_num">{{account.credit? account.credit : 0}}</view>
  352. <view class="wallet_name">积分</view>
  353. </view>
  354. </view>
  355. <view class="my_order_info">
  356. <view class="order_top" data-url="/nova-shop/pages/myOrder/index" bind:tap="goNovaURL">
  357. <view class="order_title">我的订单</view>
  358. <view class="all_order">
  359. <view class="all_order_title">全部订单</view>
  360. <van-icon name="arrow" color="#c9c9c9" />
  361. </view>
  362. </view>
  363. <view class="my_order_box">
  364. <block wx:for="{{orders_5}}" wx:key="index">
  365. <view class="order_5" data-url="{{item.url}}" bind:tap="goNovaURL">
  366. <image class="order_image" src="{{item.image}}" />
  367. <view class="order_name">{{item.title}}</view>
  368. </view>
  369. </block>
  370. </view>
  371. </view>
  372. <view class="cell_info_5">
  373. <van-cell custom-class="van-cell" title="购物车" is-link bind:click="cellClick" url="/nova-shop/pages/shop-cart/index" />
  374. <van-cell custom-class="van-cell" title="购物车" is-link link-type="navigateTo" url="/common-page/pages/collect/index" />
  375. <van-cell custom-class="van-cell" title="每日签到" link-type="navigateTo" url="/nova-common/pages/daily-check/index" is-link />
  376. <van-cell custom-class="van-cell" title="每日签到" link-type="navigateTo" url="/nova-common/pages/daily-check/index" is-link />
  377. <van-cell custom-class="van-cell" title="收货地址" link-type="navigateTo" url="/common-page/pages/address/index" is-link />
  378. <van-cell custom-class="van-cell" title="优惠券" is-link bind:click="cellClick" />
  379. <van-cell custom-class="van-cell" title="我的团队" is-link link-type="navigateTo" url="/nova-shop/pages/team/index" />
  380. <button open-type="contact">
  381. <view class="btn-left_5">客服中心</view>
  382. <van-icon name="arrow" color="#999" size="32rpx" />
  383. </button>
  384. </view>
  385. </view>
  386. </block>