index.vue 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443
  1. <template>
  2. <view>
  3. <view class="ucenter-page">
  4. <view class="top">
  5. <!-- <image class='profile-info-backimg' src='/static/images/myinfo.png' mode="aspectFit"/> -->
  6. <view class="profile-info" @tap="goLogin">
  7. <image class="avatar" :src="userInfo.avatarUrl ? userInfo.avatarUrl : '/static/images/new/icon-user.png'" mode="aspectFit"></image>
  8. <view class="info">
  9. <view class="user-name-wrapper">
  10. <text class="name">{{ userInfo.nickName }}</text>
  11. <!-- <view class="jz-badge" wx:if="{{hasLogin&&isMember}}">J</view> -->
  12. </view>
  13. <text class="cert" v-if="hasLogin">{{ userInfo.mobile }}</text>
  14. <!-- #ifdef MP-TOUTIAO -->
  15. <view v-if="hasLogin && !userInfo.avatarUrl" @tap="dyLogin" class="plus">完善信息</view>
  16. <!-- #endif -->
  17. <!-- open-type="getUserInfo" -->
  18. <!-- <progress percent="50" wx:if="{{hasLogin}}" class="process" activeColor="white" backgroundColor="#808080" stroke-width="8rpx"></progress> -->
  19. </view>
  20. <!-- 超级鲸会员
  21. <view class="jz-member-wrapper" wx:if="{{hasLogin}}">
  22. <view class="is-member" wx:if="{{isMember}}" bindtap="goMemberCenter">
  23. <view class="is-member-right">
  24. <text>超级鲸会员</text>
  25. <van-icon name="arrow" color="#5D3A11" />
  26. </view>
  27. </view>
  28. <view class="not-member" wx:else bindtap="goMemberCenter">
  29. <text>开通超级鲸会员</text>
  30. <van-icon name="arrow" color="#5D3A11" />
  31. </view>
  32. </view> -->
  33. <!-- <view>
  34. <image class='profile-info-qr-image' wx:if="{{hasLogin}}" src='/static/images/qrcode.png'
  35. bindtap="createQrcode"></image>
  36. </view> -->
  37. </view>
  38. </view>
  39. <!-- 引荐人 -->
  40. <!-- <view class="recommend-module" wx:if="{{hasLogin&&isdis}}">
  41. <view class="recommend-main">
  42. <view class="recommend-top">
  43. <image src='/static/images/new/icon-recommend.png'></image>
  44. <text>鲸致团长</text>
  45. <view class="recomend-center" bindtap="goReferee">
  46. <text>鲸致团长</text>
  47. <van-icon name="arrow" color="#2A2A2A" />
  48. </view>
  49. </view>
  50. <view class="adv-text">鲸致团长|合作安心·月月分佣</view>
  51. </view>
  52. </view> -->
  53. <view class="container">
  54. <!-- <view class="main-module">
  55. <view class="coupon-block" bindtap='goCoupon'>
  56. <text class="num">{{couponCount}}</text>
  57. <text class="module-text">优惠券</text>
  58. </view>
  59. <view class="favor-good" bindtap='goCollect'>
  60. <text class="num">{{collectCount}}</text>
  61. <text class="module-text">收藏商品</text>
  62. </view>
  63. </view> -->
  64. <!-- 我的订单 -->
  65. <view class="order-block" style="margin-top: 20rpx">
  66. <!-- <view class="my-order-title">
  67. <view>我的订单</view>
  68. <view class="whole-order" bindtap='goOrder'>
  69. <text>全部订单</text>
  70. </view>
  71. </view> -->
  72. <view class="order-module">
  73. <view class="tool-item" @tap="goOrderIndex" data-index="1" data-route="/pages/ucenter/order/order">
  74. <image class="tool-img" mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-dfk.png"></image>
  75. <text class="tool-text">待付款</text>
  76. </view>
  77. <view class="tool-item" @tap="goOrderIndex" data-index="2" data-route="/pages/ucenter/order/order">
  78. <image class="tool-img" mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-fwz.png"></image>
  79. <text class="tool-text">服务中</text>
  80. </view>
  81. <!-- <view class="tool-item" bindtap='goOrderIndex' data-index='4' data-route='/pages/ucenter/order/order'>
  82. <image class="tool-img" mode="aspectFit" src='https://mall.zhaijieshi.cc/file/wx-dy/order-03.png'></image>
  83. <text class="tool-text">待评价</text>
  84. </view> -->
  85. <view class="tool-item" @tap="goAftersaleList">
  86. <image class="tool-img" mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-tksh.png"></image>
  87. <text class="tool-text">退款售后</text>
  88. </view>
  89. <view class="tool-item" @tap="goOrderIndex" data-index="0">
  90. <image class="tool-img" mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-qbdd.png"></image>
  91. <text class="tool-text">全部订单</text>
  92. </view>
  93. </view>
  94. </view>
  95. <view>
  96. <view class="tool-module middle-module dy-module">
  97. <view class="tool-item" @tap="goAddress">
  98. <image class="tool-img" mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/ui/icon-address.png"></image>
  99. <view class="text-wrapper">
  100. <text class="tool-text">服务地址</text>
  101. <image class="tool-img arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  102. </view>
  103. </view>
  104. <view class="tool-item" @tap="goCoupon">
  105. <image class="tool-img" mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/ucenter/icon-01.png"></image>
  106. <view class="text-wrapper">
  107. <text class="tool-text">卡券包</text>
  108. <image class="tool-img arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  109. </view>
  110. </view>
  111. <!-- <view class="tool-item">
  112. <contact-button style="opacity:0;position:absolute;" type="default-dark" session-from="weapp" size="27"> </contact-button>
  113. <image class="tool-img" mode="aspectFit" src='https://mall.zhaijieshi.cc/file/jzmall/weixin/ucenter/icon-06.png'></image>
  114. <text class="tool-text">联系客服</text>
  115. </view> -->
  116. <view class="tool-item contact-wrapper" @tap="goIM">
  117. <!-- <button class="contact-btn" open-type="contact">客服</button> -->
  118. <image
  119. class="tool-img"
  120. mode="aspectFit"
  121. src="https://mall.zhaijieshi.cc/file/jzmall/weixin/ucenter/icon-06.png"
  122. style="width: 34rpx; height: 28rpx"
  123. ></image>
  124. <view class="text-wrapper">
  125. <text class="tool-text">联系客服</text>
  126. <image class="tool-img arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  127. </view>
  128. </view>
  129. <view class="tool-item" @tap="goSnow" v-if="isSnow">
  130. <image class="tool-img" mode="aspectFit" src="/static/images/new/snow.png"></image>
  131. <view class="text-wrapper">
  132. <text class="tool-text">直播小雪花</text>
  133. <image class="tool-img arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  134. </view>
  135. </view>
  136. <view class="tool-item" @tap="goHelp">
  137. <image class="tool-img" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/icon-fwsm.png"></image>
  138. <view class="text-wrapper">
  139. <text class="tool-text">服务说明</text>
  140. <image class="tool-img arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  141. </view>
  142. </view>
  143. <view class="tool-item" @tap="aboutUs">
  144. <image class="tool-img" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/icon-us.png"></image>
  145. <view class="text-wrapper">
  146. <text class="tool-text">关于我们</text>
  147. <image class="tool-img arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  148. </view>
  149. </view>
  150. <view class="tool-item" @tap="goFeedback">
  151. <image
  152. class="tool-img"
  153. mode="aspectFit"
  154. src="https://mall.zhaijieshi.cc/file/jzmall/weixin/ucenter/icon-07.png"
  155. style="width: 34rpx; height: 24rpx"
  156. ></image>
  157. <view class="text-wrapper">
  158. <text class="tool-text">意见反馈</text>
  159. <image class="tool-img arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  160. </view>
  161. </view>
  162. <!-- #ifdef MP-TOUTIAO -->
  163. <view class="tool-item" @tap="aboutCompany">
  164. <image class="tool-img" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/icon-us.png"></image>
  165. <view class="text-wrapper">
  166. <text class="tool-text">资质展示</text>
  167. <image class="tool-img arrow" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/arrow-grey.png"></image>
  168. </view>
  169. </view>
  170. <!-- #endif -->
  171. </view>
  172. <!--
  173. <view class="tool-module bottom-module">
  174. <view class="tool-item" bindtap='goHelp'>
  175. <image class="tool-img" mode="aspectFit" src='https://mall.zhaijieshi.cc/file/jzmall/weixin/ucenter/icon-09.png'></image>
  176. <text class="tool-text">帮助中心</text>
  177. </view>
  178. <view class="tool-item">
  179. </view>
  180. <view class="tool-item">
  181. </view>
  182. <view class="tool-item">
  183. </view>
  184. </view> -->
  185. </view>
  186. <!-- <view class="tool-module">
  187. <view class="tool-item" bindtap='goOrderIndex' data-index='1' data-route='/pages/ucenter/order/order'>
  188. <image class="tool-img" mode="aspectFit"
  189. src='/static/images/mycenter-01.png'></image>
  190. <text class="tool-text">待付款</text>
  191. </view>
  192. <view class="tool-item" bindtap='goOrderIndex' data-index='3' data-route='/pages/ucenter/order/order'>
  193. <image class="tool-img" mode="aspectFit"
  194. src='/static/images/mycenter-02.png'></image>
  195. <text class="tool-text">待上门</text>
  196. </view>
  197. <view class="tool-item" bindtap='goOrderIndex' data-index='4' data-route='/pages/ucenter/order/order'>
  198. <image class="tool-img" mode="aspectFit"
  199. src='/static/images/mycenter-03.png'></image>
  200. <text class="tool-text">待评价</text>
  201. </view>
  202. <view class="tool-item" bindtap='goOrder'>
  203. <image class="tool-img" mode="aspectFit"
  204. src='/static/images/mycenter-04.png'></image>
  205. <text class="tool-text">全部订单</text>
  206. </view>
  207. </view>
  208. <view class="tool-module">
  209. <view class="tool-item" bindtap='goAddress'>
  210. <image class="tool-img" mode="aspectFit"
  211. src='/static/images/mycenter-05.png'></image>
  212. <text class="tool-text">服务地址</text>
  213. </view>
  214. <view class="tool-item">
  215. <contact-button style="opacity:0;position:absolute;" type="default-dark" session-from="weapp" size="27"> </contact-button>
  216. <image class="tool-img" mode="aspectFit"
  217. src='/static/images/mycenter-06.png'></image>
  218. <text class="tool-text">联系客服</text>
  219. </view>
  220. <view class="tool-item" bindtap='goFeedback'>
  221. <image class="tool-img" mode="aspectFit"
  222. src='/static/images/mycenter-07.png'></image>
  223. <text class="tool-text">意见反馈</text>
  224. </view>
  225. <view class="tool-item" bindtap='aboutUs'>
  226. <image class="tool-img" mode="aspectFit"
  227. src='/static/images/mycenter-08.png'></image>
  228. <text class="tool-text">关于我们</text>
  229. </view>
  230. </view>
  231. <view class="tool-module">
  232. <view class="tool-item" bindtap='goHelp'>
  233. <image class="tool-img" mode="aspectFit"
  234. src='/static/images/mycenter-09.png'></image>
  235. <text class="tool-text">帮助中心</text>
  236. </view>
  237. <view class="tool-item" bindtap='goStar'>
  238. <image class="tool-img" mode="aspectFit"
  239. src='/static/images/mycenter-10.png'></image>
  240. <text class="tool-text">引荐人</text>
  241. </view>
  242. <view class="tool-item" bindtap='goAftersaleList'>
  243. <image class="tool-img" mode="aspectFit"
  244. src='/static/images/mycenter-04.png'></image>
  245. <text class="tool-text">售后列表</text>
  246. </view>
  247. <view class="tool-item">
  248. </view>
  249. <view class="tool-item">
  250. </view>
  251. </view> -->
  252. <!-- <view class='user_tool'>
  253. <view class='user_tool_row' bindtap='goOrder'>
  254. <view class='user_row_left'>我的订单</view>
  255. <van-icon class='user_row_right' name="arrow" />
  256. </view> -->
  257. <!-- <view class='user_column'>
  258. <view class='user_column_item' bindtap='goOrderIndex' data-index='1' data-route='/pages/ucenter/order/order'>
  259. <text class="user_column_item_badge" wx:if="{{order.unpaid != 0}}">{{order.unpaid}}</text>
  260. <image class='user_column_item_image' src='/static/images/money.png'>
  261. </image>
  262. <view class='user_column_item_text'>待付款</view>
  263. </view> -->
  264. <!-- <view class='user_column_item' bindtap='goOrderIndex' data-index='2' data-route='/pages/ucenter/order/order'>
  265. <text class="user_column_item_badge" wx:if="{{order.unship != 0}}">{{order.unship}}</text>
  266. <image class='user_column_item_image' src='/static/images/car.png'></image>
  267. <view class='user_column_item_text'>待发货</view>
  268. </view> -->
  269. <!-- <view class='user_column_item' bindtap='goOrderIndex' data-index='3' data-route='/pages/ucenter/order/order'>
  270. <text class="user_column_item_badge" wx:if="{{order.unrecv != 0}}">{{order.unrecv}}</text>
  271. <image class='user_column_item_image' src='/static/images/box.png'></image>
  272. <view class='user_column_item_text'>待上门</view>
  273. </view>
  274. <view class='user_column_item' bindtap='goOrderIndex' data-index='4' data-route='/pages/ucenter/order/order'>
  275. <text class="user_column_item_badge" wx:if="{{order.uncomment != 0}}">{{order.uncomment}}</text>
  276. <image class='user_column_item_image' src='/static/images/msg.png'></image>
  277. <view class='user_column_item_text'>待评价</view>
  278. </view>
  279. <view class='user_column_item' bindtap='goAfterSale'>
  280. <image class='user_column_item_image' src='/static/images/sale.png'></image>
  281. <view class='user_column_item_text'>售后</view>
  282. </view>
  283. </view>
  284. </view>
  285. <view class='user_tool'>
  286. <view class='user_tool_row'>
  287. <view class='user_tool_row_title'>核心服务</view>
  288. </view>
  289. <view class='user_column'>
  290. <view class='user_column_item' bindtap='goStar'>
  291. <image class='user_column_item_image' src='/static/images/group.png'></image>
  292. <view class='user_column_item_text' wx:if="{{isdis}}">合伙人</view>
  293. <view class='user_column_item_text' wx:if="{{!isdis}}">加入合伙人</view>
  294. </view> -->
  295. <!-- <view class='user_column_item' bindtap='goCoupon'>
  296. <image class='user_column_item_image' src='/static/images/coupon.png'></image>
  297. <view class='user_column_item_text'>优惠卷</view>
  298. </view>
  299. <view class='user_column_item' bindtap='goCollect'>
  300. <image class='user_column_item_image' src='/static/images/collect.png'></image>
  301. <view class='user_column_item_text'>商品收藏</view>
  302. </view> -->
  303. <!--<view class='user_column_item' bindtap='goFootprint'>
  304. <image class='user_column_item_image' src='https://zc-oss-wechat.oss-cn-zhangjiakou.aliyuncs.com/icon/footprint.png'></image>
  305. <view class='user_column_item_text'>浏览足迹</view>
  306. </view>
  307. <view class='user_column_item' bindtap='goGroupon'>
  308. <image class='user_column_item_image' src='/static/images/peoples.png'></image>
  309. <view class='user_column_item_text'>我的拼团</view>
  310. </view>-->
  311. <!-- <view class='user_column_item' bindtap='goAddress'>
  312. <image class='user_column_item_image' src='/static/images/address.png'></image>
  313. <view class='user_column_item_text'>地址管理</view>
  314. </view>
  315. </view>
  316. </view> -->
  317. <!-- <view class="user_tool">
  318. <view class='user_tool_row'>
  319. <view class='user_tool_row_title'>必备工具</view>
  320. </view>
  321. <view class='user_tool_column'> -->
  322. <!--<view class='user_tool_column_item' bindtap='goRegistr' wx:if="{{!isnid}}">
  323. <image class='user_tool_column_item_image' src='/static/images/ic.png'></image>
  324. <view class='user_tool_column_item_text'>实名认证</view>
  325. </view>-->
  326. <!-- <view class='user_column_item' bindtap='goHelp'>
  327. <image class='user_column_item_image' src='/static/images/help.png'></image>
  328. <view class='user_column_item_text'>帮助中心</view>
  329. </view>
  330. <view class='user_column_item' bindtap='goFeedback'>
  331. <image class='user_column_item_image' src='/static/images/feedback.png'></image>
  332. <view class='user_column_item_text'>意见反馈</view>
  333. </view>
  334. <view class='user_column_item'>
  335. <contact-button style="opacity:0;position:absolute;" type="default-dark" session-from="weapp" size="27">
  336. </contact-button>
  337. <image class='user_column_item_image' src='/static/images/customer.png'></image>
  338. <view class='user_column_item_text'>联系客服</view>
  339. </view>
  340. <view class='user_column_item' bindtap='aboutUs'>
  341. <image class='user_column_item_image' src='/static/images/about.png'></image>
  342. <view class='user_column_item_text'>关于我们</view>
  343. </view>
  344. </view> -->
  345. <!-- </view> -->
  346. <view class="logout" v-if="hasLogin" @tap="exitLogin">退出登录</view>
  347. </view>
  348. </view>
  349. <view class="login-out-wrapper" v-if="logoutTipShow">
  350. <view class="login-out-tip">
  351. <image class="tip-img" mode="aspectFit" src="https://mall.zhaijieshi.cc/file/wx-dy/icon-alert.png"></image>
  352. <view class="tips">亲,确定退出此账号?</view>
  353. <view class="select-wrapper">
  354. <view class="confirm" @tap="confOut">确定</view>
  355. <view class="cancel" @tap="cancelOut">取消</view>
  356. </view>
  357. </view>
  358. </view>
  359. </view>
  360. </template>
  361. <script>
  362. var util = require('../../../../utils/util.js');
  363. var api = require('../../../../config/api.js');
  364. var user = require('../../../../utils/user.js');
  365. var app = getApp();
  366. export default {
  367. data() {
  368. return {
  369. userInfo: {
  370. nickName: '点击登录',
  371. avatarUrl: '/static/images/new/icon-user.png',
  372. isDis: false,
  373. mobile: ''
  374. },
  375. order: {
  376. unpaid: 0,
  377. unship: 0,
  378. unrecv: 0,
  379. uncomment: 0
  380. },
  381. hasLogin: false,
  382. isdis: false,
  383. //是否分销员
  384. issign: true,
  385. //是否注册完成了信息,
  386. isMember: false,
  387. //是否是会员
  388. logoutTipShow: false,
  389. isSnow: false,
  390. //是否显示小雪花入口
  391. talentId: '',
  392. couponCount: ''
  393. };
  394. },
  395. onLoad: function (options) {
  396. // 页面初始化 options为页面跳转所带来的参数
  397. console.info('pages/tabBar/ucenter/index/index onload');
  398. },
  399. onReady: function () {},
  400. onShow: function () {
  401. console.info(app.globalData.hasLogin);
  402. //获取用户的登录信息
  403. if (app.globalData.hasLogin) {
  404. let userInfo = uni.getStorageSync('userInfo');
  405. //console.info(userInfo);
  406. this.setData({
  407. userInfo: userInfo,
  408. hasLogin: true
  409. });
  410. app.globalData.userInfo = userInfo;
  411. //console.log(app.globalData.hasLogin);
  412. //console.log(userInfo);
  413. // #ifdef MP-TOUTIAO
  414. let that = this;
  415. util.request(api.UserIndex).then(function (res) {
  416. if (res.errno === 0) {
  417. console.log(res);
  418. that.setData({
  419. // collectCount: res.data.collectCount,
  420. couponCount: res.data.couponCount,
  421. order: res.data.order,
  422. isdis: res.data.isdis,
  423. issign: res.data.issign,
  424. isMember: res.data.level == '1' ? true : false,
  425. isSnow: res.data.isSnow,
  426. talentId: res.data.talentId
  427. });
  428. app.globalData.isMember = res.data.level == '1' ? true : false;
  429. }
  430. });
  431. // #endif
  432. }
  433. },
  434. onHide: function () {
  435. // 页面隐藏
  436. },
  437. onUnload: function () {
  438. // 页面关闭
  439. },
  440. methods: {
  441. goAftersaleList() {
  442. console.log('来了');
  443. if (this.hasLogin) {
  444. uni.navigateTo({
  445. url: '/pages/ucenter/aftersaleList/aftersaleList'
  446. });
  447. } else {
  448. uni.navigateTo({
  449. url: '/pages/auth/login/login'
  450. });
  451. }
  452. },
  453. goLogin() {
  454. if (!this.hasLogin) {
  455. uni.navigateTo({
  456. url: '/pages/auth/login/login'
  457. });
  458. }
  459. },
  460. goOrder() {
  461. if (this.hasLogin) {
  462. try {
  463. uni.setStorageSync('tab', 0);
  464. } catch (e) {
  465. console.log('CatchClause', e);
  466. console.log('CatchClause', e);
  467. }
  468. uni.navigateTo({
  469. url: '/pages/ucenter/order/order'
  470. });
  471. } else {
  472. uni.navigateTo({
  473. url: '/pages/auth/login/login'
  474. });
  475. }
  476. },
  477. goOrderIndex(e) {
  478. if (this.hasLogin) {
  479. let tab = e.currentTarget.dataset.index;
  480. let route = e.currentTarget.dataset.route;
  481. uni.navigateTo({
  482. url: '/pages/ucenter/order/order?tab=' + tab
  483. });
  484. } else {
  485. uni.navigateTo({
  486. url: '/pages/auth/login/login'
  487. });
  488. }
  489. },
  490. goSign() {
  491. uni.navigateTo({
  492. url: '/pages/ucenter/parter/sign/index'
  493. });
  494. },
  495. goStar() {
  496. if (this.hasLogin) {
  497. if (this.isdis) {
  498. let url = '/pages/ucenter/parter/index';
  499. // if(!this.data.isnid)//是否实名过
  500. // url="/pages/auth/register/register";
  501. //跳转
  502. uni.navigateTo({
  503. url: url
  504. });
  505. } else {
  506. uni.navigateTo({
  507. url: '/pages/ucenter/parter/join/joinapply'
  508. });
  509. }
  510. } else {
  511. uni.navigateTo({
  512. url: '/pages/auth/login/login'
  513. });
  514. }
  515. },
  516. goCoupon() {
  517. if (this.hasLogin) {
  518. uni.navigateTo({
  519. url: '/pages/ucenter/couponList/couponList'
  520. });
  521. } else {
  522. uni.navigateTo({
  523. url: '/pages/auth/login/login'
  524. });
  525. }
  526. },
  527. goCollect() {
  528. if (this.hasLogin) {
  529. uni.navigateTo({
  530. url: '/pages/ucenter/collect/collect'
  531. });
  532. } else {
  533. uni.navigateTo({
  534. url: '/pages/auth/login/login'
  535. });
  536. }
  537. },
  538. goFeedback(e) {
  539. if (this.hasLogin) {
  540. uni.navigateTo({
  541. url: '/pages/ucenter/feedback/feedback'
  542. });
  543. } else {
  544. uni.navigateTo({
  545. url: '/pages/auth/login/login'
  546. });
  547. }
  548. },
  549. goRegistr() {
  550. if (this.hasLogin) {
  551. uni.navigateTo({
  552. url: '/pages/auth/register/register'
  553. });
  554. } else {
  555. uni.navigateTo({
  556. url: '/pages/auth/login/login'
  557. });
  558. }
  559. },
  560. goFootprint() {
  561. if (this.hasLogin) {
  562. uni.navigateTo({
  563. url: '/pages/ucenter/footprint/footprint'
  564. });
  565. } else {
  566. uni.navigateTo({
  567. url: '/pages/auth/login/login'
  568. });
  569. }
  570. },
  571. goAddress() {
  572. if (this.hasLogin) {
  573. uni.navigateTo({
  574. url: '/pages/ucenter/address/address'
  575. });
  576. } else {
  577. uni.navigateTo({
  578. url: '/pages/auth/login/login'
  579. });
  580. }
  581. },
  582. dyLogin: function () {
  583. let that = this;
  584. console.log();
  585. uni.getUserProfile({
  586. // 声明获取用户个人信息后的用途,后续会展示在弹窗中,请谨慎填写
  587. success: (res) => {
  588. console.log(res);
  589. let params = res;
  590. if (params.userInfo == null) {
  591. uni.showToast({
  592. title: '未授权,无法完善信息',
  593. icon: 'success',
  594. duration: 3000
  595. });
  596. return;
  597. }
  598. // e.userInfo.encryptedData = e.encryptedData;
  599. util.request(api.UserInfo, params.userInfo, 'POST')
  600. .then((response) => {
  601. if (response.errno == 0) {
  602. app.globalData.userInfo = response.data;
  603. uni.setStorageSync('userInfo', response.data);
  604. that.setData({
  605. // issign: true,
  606. userInfo: response.data
  607. });
  608. uni.showToast({
  609. title: '信息完善成功',
  610. icon: 'success',
  611. duration: 3000
  612. });
  613. }
  614. })
  615. .catch((err) => {
  616. console.info(err);
  617. uni.showToast({
  618. title: '请求失败,稍后再试',
  619. icon: 'success',
  620. duration: 3000
  621. });
  622. });
  623. },
  624. fail(res) {
  625. uni.showToast({
  626. title: '未授权,无法完善信息',
  627. icon: 'success',
  628. duration: 3000
  629. });
  630. return;
  631. }
  632. });
  633. },
  634. goAfterSale: function () {
  635. if (this.hasLogin) {
  636. uni.navigateTo({
  637. url: '/pages/ucenter/aftersaleList/aftersaleList'
  638. });
  639. } else {
  640. uni.navigateTo({
  641. url: '/pages/auth/login/login'
  642. });
  643. }
  644. },
  645. goSnow() {
  646. uni.navigateTo({
  647. url: '/pages/goods/snowGoodsList/snowGoodsList?talentId=' + this.talentId
  648. });
  649. },
  650. aboutUs: function () {
  651. uni.navigateTo({
  652. url: '/pages/ucenter/about/about'
  653. });
  654. },
  655. aboutCompany: function () {
  656. uni.navigateTo({
  657. url: '/pages/ucenter/company/company'
  658. });
  659. },
  660. goHelp: function () {
  661. uni.navigateTo({
  662. url: '/pages/ucenter/help/help'
  663. });
  664. },
  665. createQrcode: function () {
  666. //二维码生成
  667. util.request(
  668. api.QrCodeCreate,
  669. {
  670. path: '/pages/index/index'
  671. },
  672. 'POST'
  673. ).then(function (res) {
  674. console.log(res);
  675. uni.previewImage({
  676. current: res.data.imgUrl,
  677. // 当前显示图片的http链接
  678. urls: [res.data.imgUrl] // 需要预览的图片http链接列表
  679. });
  680. });
  681. },
  682. exitLogin: function () {
  683. this.setData({
  684. logoutTipShow: true
  685. });
  686. },
  687. cancelOut: function () {
  688. this.setData({
  689. logoutTipShow: false
  690. });
  691. },
  692. confOut: function () {
  693. util.request(api.AuthLogout, {}, 'POST');
  694. app.globalData = {};
  695. uni.removeStorageSync('token');
  696. uni.removeStorageSync('userInfo');
  697. uni.removeStorageSync('addressInfo');
  698. uni.removeStorageSync('openId');
  699. uni.reLaunch({
  700. url: '/pages/tabBar/ucenter/index/index'
  701. });
  702. },
  703. exitLogin1: function () {
  704. uni.showModal({
  705. title: '',
  706. confirmColor: '#b4282d',
  707. content: '退出登录?',
  708. success: function (res) {
  709. if (!res.confirm) {
  710. return;
  711. }
  712. util.request(api.AuthLogout, {}, 'POST');
  713. app.globalData = {};
  714. uni.removeStorageSync('token');
  715. uni.removeStorageSync('userInfo');
  716. uni.removeStorageSync('addressInfo');
  717. uni.reLaunch({
  718. url: '/pages/tabBar/ucenter/index/index'
  719. });
  720. // wx.reLaunch({
  721. // url: '/pages/index/index'
  722. // });
  723. }
  724. });
  725. },
  726. goMemberCenter() {
  727. uni.navigateTo({
  728. url: '/pages/member/memberCenter/memberCenter'
  729. });
  730. },
  731. goBuyMember() {
  732. uni.navigateTo({
  733. url: '/pages/member/buyMember/buyMember'
  734. });
  735. },
  736. goIM() {
  737. console.info('goIm');
  738. uni.navigateTo({
  739. url: '/pages/chat/im/im'
  740. });
  741. }
  742. }
  743. };
  744. </script>
  745. <style>
  746. page {
  747. height: 100%;
  748. width: 100%;
  749. background: #f4f4f4;
  750. }
  751. .container {
  752. /* background: #f4f4f4; */
  753. height: auto;
  754. /* overflow: hidden; */
  755. width: 750rpx;
  756. padding: 0 30rpx 40rpx;
  757. /* filter: blur(5rpx);*/
  758. background: transparent;
  759. }
  760. .top {
  761. /* height: 210rpx;
  762. background: #09afff; */
  763. /* position: relative; */
  764. height: 274rpx;
  765. background: url('https://mall.zhaijieshi.cc/file/wx-dy/top-bg.png') no-repeat center bottom;
  766. background-size: 750rpx 274rpx;
  767. }
  768. .profile-info {
  769. /*background-color: #ab956d; */
  770. display: flex;
  771. align-items: center;
  772. padding: 30rpx 0 0 42rpx;
  773. font-size: 28rpx;
  774. /* border-radius: 10rpx;
  775. margin:15rpx ;*/
  776. /* margin-top: -180rpx; */
  777. }
  778. .profile-info-backimg {
  779. width: 100%;
  780. height: 180rpx;
  781. /* z-index: -1; */
  782. position: absolute;
  783. }
  784. .profile-info .avatar {
  785. height: 128rpx;
  786. width: 128rpx;
  787. border-radius: 50%;
  788. border: 2rpx solid #fff;
  789. }
  790. .profile-info .info {
  791. flex: 1;
  792. height: 108rpx;
  793. padding: 16rpx 0 0 48rpx;
  794. /* width: 414rpx; */
  795. color: #fff;
  796. margin: 0 20rpx 0 0;
  797. }
  798. .user-name-wrapper {
  799. height: 36rpx;
  800. margin: 0 0 20rpx 0;
  801. display: flex;
  802. align-items: center;
  803. }
  804. .profile-info .name {
  805. /* font-weight: bold; */
  806. font-size: 34rpx;
  807. margin-bottom: 5rpx;
  808. max-width: 340rpx;
  809. overflow: hidden;
  810. white-space: nowrap;
  811. text-overflow: ellipsis;
  812. }
  813. .profile-info .cert {
  814. line-height: 44rpx;
  815. font-size: 20rpx;
  816. /* width: 158px; */
  817. height: 44rpx;
  818. background: rgba(255, 255, 255, 0.2);
  819. border-radius: 44px;
  820. padding: 0 10rpx;
  821. /* margin-bottom: 5rpx; */
  822. }
  823. .profile-info .plus {
  824. font-size: 24rpx;
  825. width: 120rpx;
  826. line-height: 40rpx;
  827. margin: -60rpx 0 0 300rpx;
  828. background: rgba(255, 255, 255, 0.2);
  829. border-radius: 40px;
  830. height: 40rpx;
  831. color: #fff;
  832. text-align: center;
  833. }
  834. .profile-info-img-star {
  835. width: 10rpx;
  836. height: 10rpx;
  837. }
  838. .profile-info .level {
  839. display: block;
  840. height: 30rpx;
  841. line-height: 30rpx;
  842. margin-bottom: 10rpx;
  843. color: #7f7f7f;
  844. font-size: 30rpx;
  845. }
  846. .profile-info-qr-image {
  847. width: 80rpx;
  848. height: 80rpx;
  849. margin-top: 30rpx;
  850. margin-left: 150rpx;
  851. }
  852. .process {
  853. border-radius: 2rpx;
  854. }
  855. .user_tool {
  856. height: 250rpx;
  857. background: #fff;
  858. border-radius: 10rpx;
  859. margin: 15rpx 0;
  860. }
  861. .user_tool_row {
  862. /* border: 1px solid black;
  863. border-bottom: 1px solid #fafafa;*/
  864. height: 86rpx;
  865. line-height: 86rpx;
  866. }
  867. .user_tool_row_title {
  868. height: 86rpx;
  869. font-weight: 550;
  870. line-height: 86rpx;
  871. margin-left: 35rpx;
  872. font-size: 32rpx;
  873. color: #000;
  874. }
  875. .user_tool_row_title_left {
  876. float: left;
  877. }
  878. .user_tool_column {
  879. height: 140rpx;
  880. display: flex;
  881. justify-content: center;
  882. align-items: center;
  883. }
  884. .user_tool_column_item {
  885. width: 25%;
  886. height: 100rpx;
  887. background: #fff;
  888. text-align: center;
  889. position: relative;
  890. margin-top: 5rpx;
  891. }
  892. .user_tool_column_item_text {
  893. /* border: 1px solid black; */
  894. margin-top: 5rpx;
  895. font-size: 26rpx;
  896. color: #555;
  897. }
  898. .user_tool_column_item_image {
  899. width: 50rpx;
  900. height: 50rpx;
  901. margin-top: 5rpx;
  902. }
  903. .user_area {
  904. /* border: 1px solid black; */
  905. width: 100%;
  906. height: 226rpx;
  907. /* margin: 0 auto; */
  908. margin-top: -8rpx;
  909. background: #fff;
  910. /* border-top: 1px solid #f4f4f4; */
  911. }
  912. .user_row {
  913. /* border: 1px solid black; */
  914. height: 86rpx;
  915. line-height: 86rpx;
  916. border-bottom: 1px solid #fafafa;
  917. }
  918. .user_row_left {
  919. /* border: 1px solid #757575; */
  920. float: left;
  921. height: 86rpx;
  922. font-weight: 550;
  923. line-height: 86rpx;
  924. margin-left: 35rpx;
  925. font-size: 26rpx;
  926. letter-spacing: 1rpx;
  927. color: #000;
  928. font-size: 32rpx;
  929. }
  930. .user_row_right {
  931. /* border: 1px solid #757575; */
  932. float: right;
  933. height: 40rpx;
  934. width: 40rpx;
  935. font-weight: 550;
  936. line-height: 86rpx;
  937. margin-right: 30rpx;
  938. margin-top: 24rpx;
  939. }
  940. .user_column {
  941. /* border: 1px solid black; */
  942. height: 140rpx;
  943. display: flex;
  944. justify-content: center;
  945. align-items: center;
  946. }
  947. .user_column_item {
  948. width: 30%;
  949. height: 140rpx;
  950. background: #fff;
  951. text-align: center;
  952. position: relative;
  953. }
  954. .user_column_item_badge {
  955. height: 30rpx;
  956. width: 30rpx;
  957. position: absolute;
  958. background: #b4282d;
  959. color: #fff;
  960. border-radius: 50%;
  961. margin-top: 20rpx;
  962. margin-left: 40rpx;
  963. font-size: 20rpx;
  964. }
  965. .user_column_item_image {
  966. width: 50rpx;
  967. height: 50rpx;
  968. margin-top: 30rpx;
  969. }
  970. .user_column_item_text {
  971. /* border: 1px solid black; */
  972. margin-top: 5rpx;
  973. font-size: 24rpx;
  974. color: #555;
  975. /*color: #252a48;*/
  976. }
  977. .separate {
  978. background: #e0e3da;
  979. width: 100%;
  980. height: 6rpx;
  981. }
  982. .user_column_item_phone {
  983. width: 30%;
  984. height: 140rpx;
  985. text-align: center;
  986. display: flex;
  987. justify-content: center;
  988. align-items: center;
  989. flex-wrap: wrap;
  990. float: left;
  991. background: #fff;
  992. border-radius: 0;
  993. }
  994. .user_column_item_phone::after {
  995. border: none;
  996. border-radius: 0;
  997. }
  998. .logout {
  999. margin-top: 28rpx;
  1000. height: 84rpx;
  1001. width: 100%;
  1002. line-height: 84rpx;
  1003. text-align: center;
  1004. background: #fff;
  1005. font-size: 28rpx;
  1006. border-radius: 14rpx;
  1007. }
  1008. /* 新版页面 */
  1009. .main-module {
  1010. border-radius: 10rpx;
  1011. background: #fff;
  1012. height: 106rpx;
  1013. margin: 28rpx 0;
  1014. padding: 24rpx 40rpx 16rpx;
  1015. display: flex;
  1016. justify-content: space-around;
  1017. align-items: center;
  1018. }
  1019. .coupon-block,
  1020. .favor-good {
  1021. display: flex;
  1022. flex-direction: column;
  1023. height: 66rpx;
  1024. justify-content: space-between;
  1025. align-items: center;
  1026. flex: 1;
  1027. line-height: 24rpx;
  1028. }
  1029. .devide-line {
  1030. height: 80rpx;
  1031. width: 2rpx;
  1032. background: #bbb;
  1033. }
  1034. .main-module .num {
  1035. font-weight: bold;
  1036. font-size: 24rpx;
  1037. }
  1038. .main-module .module-text {
  1039. color: #000;
  1040. font-size: 24rpx;
  1041. }
  1042. /* .order-block{
  1043. height: 200rpx;
  1044. padding:24rpx 22rpx;
  1045. border-radius:10rpx;
  1046. background:#fff;
  1047. margin:0 0 28rpx;
  1048. } */
  1049. .my-order-title {
  1050. height: 28rpx;
  1051. font-size: 26rpx;
  1052. display: flex;
  1053. justify-content: space-between;
  1054. align-items: center;
  1055. margin: 0 0 40rpx 0;
  1056. }
  1057. .my-order-title > view:first-child {
  1058. font-weight: bold;
  1059. }
  1060. .whole-order {
  1061. color: #85868a;
  1062. font-size: 24rpx;
  1063. display: flex;
  1064. align-items: center;
  1065. }
  1066. .order-module {
  1067. height: 80rpx;
  1068. display: flex;
  1069. justify-content: space-between;
  1070. align-items: center;
  1071. }
  1072. .tool-module {
  1073. height: 80rpx;
  1074. /* padding:24rpx 22rpx; */
  1075. display: flex;
  1076. justify-content: space-between;
  1077. align-items: center;
  1078. /* margin:28rpx 0; */
  1079. }
  1080. .middle-module-wrapper {
  1081. padding: 40rpx 22rpx 30rpx;
  1082. border-radius: 10rpx;
  1083. background: #fff;
  1084. }
  1085. .tool-img {
  1086. /* width: 60rpx;
  1087. height: 50rpx; */
  1088. width:72rpx;
  1089. height: 58rpx;
  1090. margin-bottom:20rpx;
  1091. }
  1092. .tool-item {
  1093. /* display: flex;
  1094. justify-content: space-between;
  1095. align-items: center;
  1096. flex-direction: column;
  1097. height: 82rpx;
  1098. width: 110rpx; */
  1099. display: flex;
  1100. justify-content: space-between;
  1101. align-items: center;
  1102. flex-direction: column;
  1103. /* flex:1; */
  1104. width:100rpx;
  1105. }
  1106. .tool-item .tool-text {
  1107. font-size: 24rpx;
  1108. line-height: 24rpx;
  1109. }
  1110. .tool-item .middle-module {
  1111. }
  1112. .tool-module.bottom-module {
  1113. margin: 40rpx 0 0;
  1114. }
  1115. .member-crown {
  1116. width: 48rpx;
  1117. height: 48rpx;
  1118. z-index: 999;
  1119. }
  1120. .jz-badge {
  1121. width: 34rpx;
  1122. height: 34rpx;
  1123. background: linear-gradient(0deg, #f1e3c8 0%, #e6c162 100%);
  1124. border-radius: 50%;
  1125. margin: 0 0 14rpx 0;
  1126. font-size: 32rpx;
  1127. color: #5d3a11;
  1128. line-height: 32rpx;
  1129. text-align: center;
  1130. margin: 0 0 0 14rpx;
  1131. }
  1132. .jz-member-wrappe {
  1133. max-width: 210rpx;
  1134. }
  1135. .not-member {
  1136. width: 210rpx;
  1137. height: 42rpx;
  1138. background: linear-gradient(78deg, #f1e3c8, #e6c162);
  1139. border-radius: 22rpx 0 0 22rpx;
  1140. display: flex;
  1141. align-items: center;
  1142. justify-content: flex-end;
  1143. font-size: 24rpx;
  1144. color: #5d3a11;
  1145. }
  1146. .is-member {
  1147. width: 200rpx;
  1148. height: 48rpx;
  1149. display: flex;
  1150. align-items: center;
  1151. font-size: 24rpx;
  1152. color: #5d3a11;
  1153. }
  1154. .is-member .is-member-right {
  1155. background: url('https://mall.zhaijieshi.cc/file/jzmall/weixin/member/member-star1.png') no-repeat center center;
  1156. background-size: 100% 100%;
  1157. height: 48rpx;
  1158. display: flex;
  1159. align-items: center;
  1160. width: 200rpx;
  1161. padding-left: 52rpx;
  1162. }
  1163. .is-member .is-member-right text {
  1164. font-size: 24rpx;
  1165. }
  1166. .recommend-module {
  1167. height: 750rpx;
  1168. height: 148rpx;
  1169. padding: 0 28rpx;
  1170. margin: -28rpx 0 0;
  1171. background: #09afff;
  1172. }
  1173. .recommend-main {
  1174. width: 696rpx;
  1175. height: 148rpx;
  1176. padding: 0 28rpx;
  1177. background: url('https://mall.zhaijieshi.cc/file/jzmall/weixin/member/recommend-bg.png') no-repeat center top;
  1178. background-size: 100% 100%;
  1179. color: #fff;
  1180. }
  1181. .recommend-top {
  1182. height: 84rpx;
  1183. display: flex;
  1184. font-size: 30rpx;
  1185. font-weight: bold;
  1186. align-items: center;
  1187. justify-content: space-between;
  1188. }
  1189. .recommend-top image {
  1190. width: 42rpx;
  1191. height: 42rpx;
  1192. margin: 0 30rpx 0 0;
  1193. }
  1194. .recommend-top > text {
  1195. flex: 1;
  1196. }
  1197. .recomend-center {
  1198. width: 168rpx;
  1199. height: 44rpx;
  1200. background: #efd671;
  1201. border-radius: 22rpx;
  1202. display: flex;
  1203. align-items: center;
  1204. justify-content: center;
  1205. font-size: 24rpx;
  1206. color: #2a2a2a;
  1207. }
  1208. .adv-text {
  1209. height: 64rpx;
  1210. line-height: 64rpx;
  1211. font-size: 24rpx;
  1212. }
  1213. .dy-module {
  1214. width: 690rpx;
  1215. height: auto;
  1216. background: #ffffff;
  1217. border-radius: 15rpx;
  1218. padding: 10rpx 30rpx;
  1219. flex-direction: column;
  1220. }
  1221. .dy-module .tool-item {
  1222. flex-direction: row;
  1223. width: 630rpx;
  1224. height: 84rpx;
  1225. }
  1226. .text-wrapper {
  1227. flex: 1;
  1228. border-bottom: 1rpx solid #efefef;
  1229. height: 84rpx;
  1230. line-height: 84rpx;
  1231. display: flex;
  1232. align-items: center;
  1233. justify-content: space-between;
  1234. }
  1235. .dy-module .tool-item:last-child .text-wrapper {
  1236. border-bottom: none;
  1237. }
  1238. .dy-module .tool-img {
  1239. /* width: 34rpx;
  1240. height: 34rpx;
  1241. margin-right: 14rpx; */
  1242. width:28rpx;
  1243. height: 28rpx;
  1244. margin:0 18rpx 0 0;
  1245. }
  1246. .dy-module .tool-item .tool-text {
  1247. font-size: 28rpx;
  1248. }
  1249. .dy-module .arrow.tool-img {
  1250. width:28rpx;
  1251. height:20rpx;
  1252. opacity: 0.8;
  1253. margin:0;
  1254. }
  1255. .order-module {
  1256. width: 690rpx;
  1257. height: 180rpx;
  1258. background: #ffffff;
  1259. border-radius: 15rpx;
  1260. padding: 0 20rpx;
  1261. margin: -82rpx 0 20rpx;
  1262. padding:0 40rpx;
  1263. }
  1264. .order-module .tool-item {
  1265. flex: 1;
  1266. padding: 36rpx 0 38rpx;
  1267. height: 180rpx;
  1268. }
  1269. .login-out-wrapper {
  1270. width: 750rpx;
  1271. height: 100vh;
  1272. background: rgba(0, 0, 0, 0.5);
  1273. display: flex;
  1274. align-items: center;
  1275. justify-content: center;
  1276. position: fixed;
  1277. top: 0;
  1278. bottom: 0;
  1279. }
  1280. .login-out-tip {
  1281. width: 576rpx;
  1282. height: 350rpx;
  1283. background: #ffffff;
  1284. border-radius: 20rpx;
  1285. position: relative;
  1286. padding: 142rpx 66rpx 50rpx;
  1287. }
  1288. .tip-img {
  1289. position: absolute;
  1290. width: 218rpx;
  1291. height: 218rpx;
  1292. top: -104rpx;
  1293. left: 178rpx;
  1294. }
  1295. .login-out-wrapper .tips {
  1296. /* font-weight: bold; */
  1297. color: #333333;
  1298. line-height: 38rpx;
  1299. height: 38rpx;
  1300. font-size: 36rpx;
  1301. text-align: center;
  1302. margin-bottom: 48rpx;
  1303. }
  1304. .select-wrapper {
  1305. height: 70rpx;
  1306. display: flex;
  1307. align-items: center;
  1308. justify-content: space-between;
  1309. }
  1310. .select-wrapper .confirm {
  1311. width: 200rpx;
  1312. height: 70rpx;
  1313. line-height: 70rpx;
  1314. border: 2rpx solid #999999;
  1315. border-radius: 70rpx;
  1316. font-size: 30rpx;
  1317. text-align: center;
  1318. }
  1319. .select-wrapper .cancel {
  1320. width: 200rpx;
  1321. height: 70rpx;
  1322. line-height: 70rpx;
  1323. background: #00c0ff;
  1324. border-radius: 70rpx;
  1325. color: #ffffff;
  1326. font-size: 30rpx;
  1327. text-align: center;
  1328. }
  1329. .contact-wrapper {
  1330. position: relative;
  1331. }
  1332. .contact-btn {
  1333. position: absolute;
  1334. top: 0;
  1335. left: 0;
  1336. width: 630rpx;
  1337. height: 90rpx;
  1338. opacity: 0;
  1339. z-index: 99;
  1340. }
  1341. </style>