C端小程序
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

337 lignes
14 KiB

  1. <navbar text="我的" background='#26558b' color="white"></navbar>
  2. <view style="height:{{navigationBarHeight}} "></view>
  3. <view class="user">
  4. <view bindlongtap='showVersion' class='version'>
  5. <view wx:if="{{flag=='show'}}">版本号:{{appVersion}}</view>
  6. <view wx:if="{{flag=='hidden'}}"></view>
  7. </view>
  8. <view class="top" style='background:{{banneColor}}'>
  9. <!-- <view class='aboutUs' bindtap='gomallInfo' wx:if="{{aboutShow == true}}">
  10. <image class='aboutIcons' src="{{aboutUs}}" mode='widthFix'></image>
  11. <text>关于我们</text>
  12. </view> -->
  13. </view>
  14. <view class="top-content" wx:if="{{ifStoreApp!=1}}">
  15. <view class='user_title'>
  16. <view wx:if="{{!ifSetUserInfo}}" class="user-avatar" bindtap='gotoPhoneInfo'>
  17. <!-- <open-data class="open" type="userAvatarUrl"></open-data> -->
  18. <image wx:if="{{userAvatarUrl.length>1}}" class="userAvatarUrl" bindtap="goSetAvatar" src="{{userAvatarUrl}}"></image>
  19. <image wx:else class="userAvatarUrl" bindtap="goSetAvatar" src="https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0"></image>
  20. </view>
  21. <view wx:if="{{ifSetUserInfo}}" class="user-avatar" bindtap='gotoedit'>
  22. <!-- <open-data class="open" type="userAvatarUrl"></open-data> -->
  23. <image wx:if="{{userAvatarUrl.length>1}}" class="userAvatarUrl" bindtap="goSetAvatar" src="{{userAvatarUrl}}"></image>
  24. <image wx:else class="userAvatarUrl" bindtap="goSetAvatar" src="https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0"></image>
  25. </view>
  26. <view wx:if="{{!ifSetUserInfo}}" class="user-name" bindtap='gotoPhoneInfo'>
  27. <!-- <open-data class="name" type="userNickName"></open-data> -->
  28. <p class="name">登录/注册</p>
  29. <!-- 会员等级 -->
  30. <!-- <view class=' usre_level'style='background:{{levelBg}}'>
  31. <text class='chengzhang '>{{levelName}}</text>
  32. </view> -->
  33. </view>
  34. <view wx:if="{{ifSetUserInfo}}" class="user-name" bindtap='gotoedit'>
  35. <!-- <open-data class="name" type="userNickName"></open-data> -->
  36. <p class="name">{{userName}}</p>
  37. <!-- 会员等级 -->
  38. <!-- <view class=' usre_level'style='background:{{levelBg}}'>
  39. <text class='chengzhang '>{{levelName}}</text>
  40. </view> -->
  41. </view>
  42. <!-- -->
  43. <view class="user_phone" wx:if="{{curPhone}}" style="margin-top:20rpx;" bindtap='gotoPhoneInfo'>
  44. <!-- <text class="my">我的手机号:</text> -->
  45. <text class="chengzhang_h" style="color:#fff">{{curPhone}}</text>
  46. <text class="view">[微信授权手机号]</text>
  47. </view>
  48. <view class="user_phone" wx:if="{{!curPhone}}" style="margin-top:20rpx;" bindtap='gotoPhoneInfo'>
  49. <text class="view">[微信一键登录]</text>
  50. </view>
  51. <!-- -->
  52. <view class="marketTitleBox">
  53. <view class="marketName">{{memberName}}</view>
  54. <view class="levelName">{{levelName}}</view>
  55. <view bindtap="share">
  56. <view class="share">分享好友</view>
  57. </view>
  58. </view>
  59. <view class="user_growth_box">
  60. <navigator wx:if="{{ifSetUserInfo}}" url="/pages/specialcourtesy/specialcourtesy">
  61. <image src="{{rqCode}}" class="RQcode"></image>
  62. </navigator>
  63. <view wx:if="{{!ifSetUserInfo}}">
  64. <image src="{{rqCode}}" class="RQcode"></image>
  65. </view>
  66. <view class="memberBox">
  67. <view class="memberCode">会员码:{{ifSetUserInfo ? userId : '加入会员查看会员码,享受更多折扣优惠'}}</view>
  68. <view class="user-phone" bindtap='gotograde'>
  69. <text class="my">我的成长值:{{score}}</text>
  70. <!-- <text class="chengzhang_h"></text> -->
  71. <text class="my my_line">|</text>
  72. <!-- <text class="my">更多成长值</text> -->
  73. <text class="view" style='color:{{view}}'>更多成长值</text>
  74. </view>
  75. <view bindtap='goToIntegralmall'>
  76. <text class="integral">我的积分:{{credit}}</text>
  77. <text class="my my_line">|</text>
  78. <!-- <text class="my">更多成长值</text> -->
  79. <text class="view" style='color:{{view}}'>积分详情</text>
  80. </view>
  81. </view>
  82. <!-- <image src="{{memberLogo}}" class="memberLogo"></image> -->
  83. </view>
  84. </view>
  85. <view class="user-btns">
  86. <!-- 我的订单 -->
  87. <view class="link" bindtap="goToOrder">
  88. <view class="user-btn app-border-bottom">
  89. <view>
  90. <image class='icons' src="{{dingUrl}}" mode='widthFix'></image>我的订单
  91. </view>
  92. </view>
  93. </view>
  94. <!-- 我的券包 -->
  95. <view class="link" bindtap="goToCouponorder">
  96. <view class="user-btn app-border-bottom">
  97. <view>
  98. <image class='icons' src="{{quansUrl}}" mode='widthFix'></image>我的券包
  99. </view>
  100. <view>
  101. </view>
  102. </view>
  103. </view>
  104. <view class="link" bindtap="goToCardorder">
  105. <view class="user-btn app-border-bottom">
  106. <view>
  107. <image class='icons' src="{{cardiconUrl}}" mode='widthFix'></image>我的卡包
  108. </view>
  109. <view>
  110. </view>
  111. </view>
  112. </view>
  113. <!-- 积分商城 -->
  114. <view class="link" bindtap="goToIntegralmall">
  115. <view class="user-btn app-border-bottom">
  116. <view>
  117. <image class='icons' src="{{wmintegral}}" mode='widthFix'></image>积分商城
  118. </view>
  119. </view>
  120. </view>
  121. </view>
  122. </view>
  123. <view class='btns_bg'>
  124. <view bindtap="goToBargain">
  125. <view class="particulars_list">
  126. <view class="particulars_name">我的砍价</view>
  127. <view class="particulars_go">></view>
  128. </view>
  129. </view>
  130. <view bindtap="goToSpellGroup">
  131. <view class="particulars_list">
  132. <view class="particulars_name">我的拼团</view>
  133. <view class="particulars_go">></view>
  134. </view>
  135. </view>
  136. <view bindtap="goToMyactivity">
  137. <view class="particulars_list">
  138. <view class="particulars_name">我的活动</view>
  139. <view class="particulars_go">></view>
  140. </view>
  141. </view>
  142. <view bindtap="goToSetUserInfo">
  143. <view class="particulars_list">
  144. <view class="particulars_name">完善个人信息</view>
  145. <view class="particulars_go">></view>
  146. </view>
  147. </view>
  148. <view bindtap="goToSpecialcourtesy">
  149. <view class="particulars_list">
  150. <view class="particulars_name">特享礼遇</view>
  151. <view class="particulars_go">></view>
  152. </view>
  153. </view>
  154. <!-- <navigator url="/pages3/exchange/exchange" open-type="navigate">
  155. <view class="particulars_list">
  156. <view class="particulars_name">兑换</view>
  157. <view class="particulars_go">></view>
  158. </view>
  159. </navigator> -->
  160. <view bindtap="goToExchangeCard">
  161. <view class="particulars_list">
  162. <view class="particulars_name">绑定消费卡</view>
  163. <view class="particulars_go">></view>
  164. </view>
  165. </view>
  166. <view bindtap="goToQuestionnaire">
  167. <view class="particulars_list">
  168. <view class="particulars_name">问卷调查</view>
  169. <view class="particulars_go">></view>
  170. </view>
  171. </view>
  172. <!-- <view bindtap="suerService">
  173. <view class="particulars_list">
  174. <view class="particulars_name">联系客服</view>
  175. <view class="particulars_go">></view>
  176. </view>
  177. </view> -->
  178. <view bindtap="goToComplaint">
  179. <view class="particulars_list">
  180. <view class="particulars_name">投诉建议</view>
  181. <view class="particulars_go">></view>
  182. </view>
  183. </view>
  184. <view wx:if="{{businessSwitch}}" bindtap="goToBusinessSwitch">
  185. <view class="particulars_list">
  186. <view class="particulars_name">自助积分</view>
  187. <view class="particulars_go">></view>
  188. </view>
  189. </view>
  190. <navigator url="/pages/mallInfo/mallInfo" open-type="navigate">
  191. <view class="particulars_list">
  192. <view class="particulars_name">关于我们</view>
  193. <view class="particulars_go">></view>
  194. </view>
  195. </navigator>
  196. <!-- <view class="particulars_list" bindtap="getPrivacySetting">
  197. <view class="particulars_name">查看隐私协议</view>
  198. <view class="particulars_go">></view>
  199. </view> -->
  200. </view>
  201. <!-- <view class='btns_bg' wx:if="{{ifStoreApp!=1}}">
  202. <view class="user-btns"> -->
  203. <!-- 我的砍价 -->
  204. <!-- <navigator url="/pages/bargain/bargain?from=myhtml" open-type="navigate">
  205. <view class="user-btn app-border-bottom">
  206. <view>
  207. <image class='icons' src="{{wmbarginicon}}" mode='widthFix'></image>我的砍价</view>
  208. </view>
  209. </navigator> -->
  210. <!-- 我的拼团 -->
  211. <!-- <navigator url="/pages/spellGroup/spellGroup?from=myhtml" open-type="navigate">
  212. <view class="user-btn app-border-bottom">
  213. <view>
  214. <image class='icons' src="{{wmspellgroup}}" mode='widthFix'></image>我的拼团</view>
  215. </view>
  216. </navigator> -->
  217. <!-- 积分商城 -->
  218. <!-- <navigator url="/pages/integralmall/index">
  219. <view class="user-btn app-border-bottom">
  220. <view>
  221. <image class='icons' src="{{wmintegral}}" mode='widthFix'></image>积分商城</view>
  222. </view>
  223. </navigator> -->
  224. <!-- 当商场开启使用折扣按钮的时候, -->
  225. <!-- <navigator url="/pages/specialcourtesy/specialcourtesy">
  226. <view class="user-btn app-border-bottom">
  227. <view>
  228. <image class='icons' src="{{giftUrl}}" mode='widthFix'></image>特享礼遇</view>
  229. </view>
  230. </navigator> -->
  231. <!-- <navigator url="/pages/user/myactivity/index" open-type="navigate">
  232. <view class="user-btn app-border-bottom">
  233. <view>
  234. <image class='icons' src="{{myactivity}}" mode='widthFix'></image>我的活动</view>
  235. </view>
  236. </navigator> -->
  237. <!-- 兑换 -->
  238. <!-- <navigator url="/pages3/exchange/exchange" open-type="navigate">
  239. <view class="user-btn app-border-bottom">
  240. <view>
  241. <image class='icons' src="{{duihuan}}" mode='widthFix'></image>兑换</view>
  242. </view>
  243. </navigator> -->
  244. <!-- 地图 -->
  245. <!-- <navigator url="/pages/marketAtlas/marketAtlas" open-type="navigate">
  246. <view class="user-btn app-border-bottom">
  247. <view>
  248. <image class='icons' src="{{shoppingAtlas}}" mode='widthFix'></image>商场地图</view>
  249. </view>
  250. </navigator> -->
  251. <!-- 分享好友 -->
  252. <!-- <navigator url="/pages/shareFriend/shareFriend" open-type="navigate">
  253. <view class="user-btn app-border-bottom">
  254. <view>
  255. <image class='icons' src="{{fenxiang}}" mode='widthFix'></image>分享好友</view>
  256. </view>
  257. </navigator>
  258. </view>
  259. </view> -->
  260. <!-- 小马快店样式 -->
  261. <!-- <view class="top-content" wx:if="{{ifStoreApp==1}}">
  262. <view class='user_title '>
  263. <view class="user-avatar" bindtap='gotoedit'>
  264. <open-data class="open" type="userAvatarUrl"></open-data>
  265. </view>
  266. <view class="user-name" bindtap='gotoedit'>
  267. <open-data class="name" type="userNickName"></open-data>
  268. </view> -->
  269. <!-- <view class="user-btns"> -->
  270. <!-- 我的订单 -->
  271. <!-- <navigator url="/pages/order/index/index?id=all">
  272. <view class="user-btn app-border-bottom">
  273. <view>
  274. <image class='icons' src="{{dingUrl}}" mode='widthFix'></image>我的订单</view>
  275. </view>
  276. </navigator> -->
  277. <!-- 我的券包 -->
  278. <!-- <navigator url="/pages/couponorder/index/index">
  279. <view class="user-btn app-border-bottom">
  280. <view>
  281. <image class='icons' src="{{quansUrl}}" mode='widthFix'></image>我的券包</view>
  282. <view>
  283. <text class="couponnum" wx:if="{{couponNum=='couponNum'}}"></text>
  284. </view>
  285. </view>
  286. </navigator> -->
  287. <!-- 我的砍价 -->
  288. <!-- <navigator url="/pages/bargain/bargain?from=myhtml" open-type="navigate">
  289. <view class="user-btn app-border-bottom">
  290. <view>
  291. <image class='icons' src="{{wmbarginicon}}" mode='widthFix'></image>我的砍价</view>
  292. </view>
  293. </navigator> -->
  294. <!-- 我的拼团 -->
  295. <!-- <navigator url="/pages/spellGroup/spellGroup?from=myhtml" open-type="navigate">
  296. <view class="user-btn app-border-bottom">
  297. <view>
  298. <image class='icons' src="{{wmspellgroup}}" mode='widthFix'></image>我的拼团</view>
  299. </view>
  300. </navigator>
  301. </view>
  302. </view>
  303. </view> -->
  304. <view class="margin"></view>
  305. <view class='of' wx:if="{{canIUse}}">
  306. <official-account class="gzh"></official-account>
  307. </view>
  308. </view>
  309. <view class="outSide" wx:if="{{showPrivacy}}" bindtap="clickPrivacy">
  310. <view class="showPrivacy">
  311. <view class="title">隐私协议更新</view>
  312. <view class="content">
  313. 感谢您一直以来对我们的信任和支持。为了更好地保护您的个人信息安全我们已经更新了隐私协议。如您继续使用我们的服务即表示同意并接受更新后的隐私协议。如您有任何疑问或意见,欢迎您联系我们的客户服务团队。
  314. </view>
  315. <button class="agree" type="primary" open-type="agreePrivacyAuthorization" bindagreeprivacyauthorization="handleAgreePrivacyAuthorization">同意</button>
  316. <button class="check" bindtap="handleOpenPrivacyContract">查看《隐私保护指引》</button>
  317. <image bindtap="closePrivacy" class="delete" src="../pages3/assets/delete.png" mode="" />
  318. </view>
  319. </view>