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.

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