mycenter.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838
  1. <template>
  2. <view>
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view style="margin-top: 160rpx;"></view>
  6. <view>
  7. <view class="head" v-if="token">
  8. <view class="head-left">
  9. <view class="head-avator">
  10. <image :src="avatarUrl" mode="" style="width: 100%;height: 100%;" />
  11. </view>
  12. <view>
  13. <p style="padding-bottom: 20rpx;font-size: 35rpx;">{{information.talent_wx_nickname}}</p>
  14. <span style="display: flex;align-items: center;">
  15. <p style="font-size: 25rpx;">ID:{{information.id}}</p>
  16. <image :src="picture.icon_copy" mode="" style="width: 40rpx;height: 40rpx;"
  17. @click="handleCopy()" />
  18. </span>
  19. </view>
  20. </view>
  21. <view class="head-right">
  22. <image class="head-message" :src="picture.icon_message" @click="toMessage()"></image>
  23. <view v-if="hasUnReadMessage">
  24. <span class="point"></span>
  25. </view>
  26. </view>
  27. </view>
  28. <view class="head" v-if="!token">
  29. <view class="head-left">
  30. <view class="default-head-avator">
  31. <image :src="picture.defaultavatarUrl" mode="" @tap="login" style="width: 100%;height: 100%;">
  32. </image>
  33. </view>
  34. <view class="head-text">
  35. <p @tap="login" style="font-size: 35rpx;padding-bottom: 10rpx;">未登录</p>
  36. <p @tap="login" style="font-size: 30rpx;">点击登录账号</p>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="show-income1">
  41. <view>
  42. <view style="display: flex;align-items: center;">
  43. <p>我获得的收益总数</p>
  44. <image id="helpicon" :src="picture.icon_help" mode=""
  45. style="width: 35rpx;height: 35rpx;padding-left: 10rpx;" @click="showHelp = true" />
  46. </view>
  47. <view class="tip_box" v-if="showHelp" :style="{ top: boxTop + 'px'}">
  48. <view class="container" :style="{
  49. 'margin-right': cotainerMargin + 'px',
  50. backgroundColor: '#404040', borderRadius: '5px' }">
  51. <!-- 提示文字 -->
  52. <view class="tips">
  53. <p style="font-size: 24rpx;color: #fff">{{Text}}</p>
  54. </view>
  55. <view class="close" @click="showHelp = false">
  56. <image class="closeImg" src="../../static/delete.png" />
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. <view class="show-income1-text">
  62. <view>
  63. <p style="font-size: 40rpx;font-weight:bold;color: #F0D232;" @click="toincome('can')">
  64. {{information.showIncome?information.showIncome:'0.00'}}
  65. </p>
  66. </view>
  67. <view>
  68. <button class="show-income1-btn" type="default" @click="toincome('can')">去提现</button>
  69. </view>
  70. </view>
  71. </view>
  72. <view class="show-income2">
  73. <view class="show-income2-text" @click="toincome('can')">
  74. <p style="padding-bottom: 20rpx;">可提现</p>
  75. <p>{{information.showCanwithdraw?information.showCanwithdraw:'0.00'}}</p>
  76. </view>
  77. <view class="show-income2-text" @click="toincome('ed')">
  78. <p style="padding-bottom: 20rpx;">已提现</p>
  79. <p>{{information.showWithdrawed?information.showWithdrawed:'0.00'}}</p>
  80. </view>
  81. <view class="show-income2-text" @click="toincome('ing')">
  82. <p style="padding-bottom: 20rpx;">提现中</p>
  83. <p>{{information.showWithdrawing?information.showWithdrawing:'0.00'}}</p>
  84. </view>
  85. </view>
  86. <view class="show-body" style="border-bottom: 1rpx solid #c8c8c8;">
  87. <view class="show-body1">
  88. <view class="show-body1-text1" @click="tomytask('all')">
  89. <p>我的任务</p>
  90. </view>
  91. <view class="show-body1-text2" @click="tomytask('all')">
  92. <image class="show-body1-icon" :src="picture.icon_right"></image>
  93. </view>
  94. </view>
  95. <view class="show-body2">
  96. <view class="show-body2-text" @click="tomytask('all')">
  97. <p class="task-num-p">{{information.task_all?information.task_all:0}}</p>
  98. <p padding>全部任务</p>
  99. </view>
  100. <view class="show-body2-text" @click="tomytask('apply')">
  101. <p class="task-num-p">{{information.task_apply?information.task_apply:0}}
  102. <p>
  103. <p>已报名</p>
  104. </view>
  105. <view class="show-body2-text" @click="tomytask('execute')">
  106. <p class="task-num-p">{{information.task_execute?information.task_execute:0}}</p>
  107. <p>执行中</p>
  108. </view>
  109. <view class="show-body2-text" @click="tomytask('end')">
  110. <p class="task-num-p">{{ information.task_end ? information.task_end:0}}</p>
  111. <p>已结束</p>
  112. </view>
  113. </view>
  114. </view>
  115. <view class="show-body">
  116. <view class="show-info">
  117. <view class="show-info-text" @click="handleInformation()">
  118. <image class="show-info-icon" :src="picture.icon_person"></image>
  119. <p>我的信息</p>
  120. </view>
  121. </view>
  122. </view>
  123. <!-- 普通弹窗 公众号-->
  124. <uni-popup ref="popup2" class="share" background-color="#fff" @change="change">
  125. <view class="popup-content" :class="{ 'popup-height': type === 'left' || type === 'right' }">
  126. <view class="sharepage">
  127. <view class="Tasktext1">
  128. <image :src="picture.task15" mode=""></image>
  129. <span>YoungGee</span>
  130. </view>
  131. <view class="" style="margin-top: 5%;">
  132. <p style='color: #333333;font-size: 28rpx;text-align: center;'>不错过任何上新</p>
  133. </view>
  134. <view class="" style="margin-top: 5%;">
  135. <p style='color: #333333;font-size: 24rpx;'>公众号:</p>
  136. </view>
  137. <view class="sharemap">
  138. <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/gzh.png" mode="">
  139. </image>
  140. </view>
  141. </view>
  142. </view>
  143. </uni-popup>
  144. <!-- 普通弹窗 商务合作-->
  145. <uni-popup ref="popup3" class="share" background-color="#fff" @change="change">
  146. <view class="popup-content" :class="{ 'popup-height': type === 'left' || type === 'right' }">
  147. <view class="sharepage">
  148. <view class="Tasktext1">
  149. <image :src="picture.task15" mode=""></image>
  150. <span>YoungGee</span>
  151. </view>
  152. <view class="" style="margin-top: 5%;">
  153. <p style='color: #333333;font-size: 28rpx;text-align: center;'>商务合作请联系我们</p>
  154. </view>
  155. <view class="" style="margin-top: 5%;">
  156. <p style='color: #333333;font-size: 24rpx;'>电话:010-53355656</p>
  157. <p style='color: #333333;font-size: 24rpx;'>商务:</p>
  158. </view>
  159. <view class="sharemap" style="margin-bottom: 5%;margin-top: 5%;">
  160. <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/shangwu.png" mode="">
  161. </image>
  162. </view>
  163. </view>
  164. </view>
  165. </uni-popup>
  166. <!-- 普通弹窗 客服-->
  167. <uni-popup ref="popup4" class="share" background-color="#fff" @change="change">
  168. <view class="popup-content" :class="{ 'popup-height': type === 'left' || type === 'right' }">
  169. <view class="sharepage">
  170. <view class="Tasktext1">
  171. <image :src="picture.task15" mode=""></image>
  172. <span>YoungGee</span>
  173. </view>
  174. <view class="" style="margin-top: 5%;">
  175. <p style='color: #333333;font-size: 28rpx;text-align: center;'>扫码联系</p>
  176. </view>
  177. <view class="sharemap">
  178. <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/kefu.png" mode="">
  179. </image>
  180. </view>
  181. </view>
  182. </view>
  183. </uni-popup>
  184. </view>
  185. <!-- </view> -->
  186. </view>
  187. </template>
  188. <script>
  189. import mvBar from "@/components/mys_navBar/mysNavBar";
  190. // import getRouter from '@/components/utils.js';
  191. import {
  192. money
  193. } from '@/components/utils.js';
  194. export default {
  195. components: {
  196. mvBar,
  197. },
  198. data() {
  199. return {
  200. hasUnReadMessage: false,
  201. Text: "在平台产生的总收益【可提现+已提现+提现中】",
  202. showHelp: false,
  203. boxTop: 0,
  204. arrowMargin: 0,
  205. cotainerMargin: 0,
  206. screenWidth: 0,
  207. picture: {
  208. icon_help: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent_upload/icon-help.png',
  209. icon_copy: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent_upload/icon-copy.png',
  210. icon_person: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/youngee/talent_upload/icon-person.png',
  211. icon_location: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/youngee/talent_upload/icon-location.png',
  212. icon_account: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/youngee/talent_upload/icon-account.png',
  213. icon_rmb: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/youngee/talent_upload/icon-rmb.png',
  214. icon_message: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/youngee/talent_upload/icon-message.png',
  215. icon_right: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent_upload/icon-arrow-right.png',
  216. defaultavatarUrl: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/logoxin01.png',
  217. },
  218. token: '',
  219. nickName: '',
  220. avatarUrl: '',
  221. type: 'center',
  222. type2: 'center',
  223. type3: 'center',
  224. type4: 'center',
  225. mysNavConfig: {
  226. /* 开启单页显示首页图标 */
  227. isHome: true,
  228. /* 固定导航 */
  229. navFixed: true,
  230. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  231. navTitle: {
  232. text: "我的",
  233. color: "",
  234. fontSize: "32rpx", // px upx rpx
  235. fontWeight: "normal", // 100 - 700
  236. },
  237. },
  238. codeImg: '',
  239. information: {},
  240. };
  241. },
  242. onReady() {
  243. this.init()
  244. },
  245. async onShow() {
  246. // 显示加载中
  247. uni.showLoading({
  248. title: '加载中'
  249. });
  250. // 判断登陆是否过期
  251. this.token = uni.getStorageSync('token')
  252. await this.$https.get('/youngee/c/t/g/is-login')
  253. .then(res => {
  254. if (res.data.code == 403) {
  255. this.token = ""
  256. uni.hideLoading();
  257. }
  258. })
  259. if (this.token !== '') { // 若登录
  260. this.nickName = uni.getStorageSync('nickName');
  261. this.avatarUrl = uni.getStorageSync('avatarUrl');
  262. // 获取达人基本信息
  263. await this.$https.get('/youngee/c/t/g/get-talent-info')
  264. .then(res => {
  265. if (res.data.code === 0) {
  266. this.information = res.data.data
  267. this.information.showWithdrawing = money(this.information.withdrawing)
  268. this.information.showWithdrawed = money(this.information.withdrawed)
  269. this.information.showCanwithdraw = money(this.information.canwithdraw)
  270. this.information.showIncome = money(this.information.income)
  271. }
  272. });
  273. // 获取达人参与任务数量
  274. await this.$https.get('/youngee/c/t/g/get-task-num')
  275. .then(res => {
  276. console.log(res)
  277. if (res.data.code === 0) {
  278. this.information.task_all = res.data.data.all_num
  279. this.information.task_apply = res.data.data.sign_up_num
  280. this.information.task_execute = res.data.data.going_on_num
  281. this.information.task_end = res.data.data.completed_num
  282. }
  283. })
  284. await this.$https.get('/youngee/c/t/g/has-un-read-message')
  285. .then(res => {
  286. this.hasUnReadMessage = res.data.data === 0 ? false : true;
  287. })
  288. } else { // 未登录
  289. // this.login();
  290. }
  291. uni.hideLoading();
  292. },
  293. onLoad() {},
  294. methods: {
  295. init() {
  296. let rect = uni.getMenuButtonBoundingClientRect();
  297. let screenWidth = uni.getSystemInfoSync().screenWidth;
  298. // this.boxTop = rect.bottom;
  299. this.arrowMargin = rect.width * 0.75 + 4;
  300. this.cotainerMargin = screenWidth - rect.right;
  301. var that = this;
  302. const query = uni.createSelectorQuery().in(that);
  303. query.select('#helpicon').boundingClientRect(data => {
  304. this.boxTop = data.bottom;
  305. console.log(data)
  306. }).exec();
  307. },
  308. handleCopy() {
  309. wx.setClipboardData({
  310. data: this.information.id,
  311. success: function(res) {
  312. console.log("复制成功");
  313. }
  314. });
  315. },
  316. // 进入登录页面
  317. login() {
  318. uni.navigateTo({
  319. url: '../login/login'
  320. });
  321. },
  322. // 进入通知页面
  323. toMessage() {
  324. uni.navigateTo({
  325. url: 'message'
  326. });
  327. },
  328. // 进入个人资料
  329. handleInformation() {
  330. if (this.token !== '')
  331. uni.navigateTo({
  332. url: '/pages/mycenter/myinformation/myinformation'
  333. });
  334. else
  335. this.login()
  336. },
  337. // 进入收益页面
  338. toincome(tab) {
  339. console.log(tab)
  340. if (this.token !== '') {
  341. switch (tab) {
  342. case "can":
  343. uni.navigateTo({
  344. url: '/pages/mycenter/myincome?showTab=1'
  345. });
  346. break;
  347. case "ed":
  348. uni.navigateTo({
  349. url: '/pages/mycenter/myincome?showTab=2'
  350. });
  351. break;
  352. case "ing":
  353. uni.navigateTo({
  354. url: '/pages/mycenter/myincome?showTab=3'
  355. });
  356. break;
  357. }
  358. } else
  359. this.login()
  360. },
  361. // 进入我的任务页面
  362. tomytask(tab) {
  363. console.log(tab)
  364. if (this.token !== '') {
  365. var data = {
  366. tab: tab
  367. };
  368. data = JSON.stringify(data)
  369. uni.navigateTo({
  370. url: '/pages/mycenter/mytask/mytask?textObj=' + encodeURIComponent(data)
  371. });
  372. } else
  373. this.login()
  374. },
  375. // 保留两位小数点
  376. toDecimal(x) {
  377. var f = parseFloat(x);
  378. if (isNaN(f)) {
  379. return;
  380. }
  381. f = Math.round(x * 100) / 100;
  382. return f;
  383. },
  384. //弹出层
  385. change(e) {
  386. console.log('当前模式:' + e.type + ',状态:' + e.show);
  387. },
  388. togo2(type) {
  389. this.type2 = type
  390. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  391. this.$refs.popup2.open(type)
  392. // this.$refs.popup1.close()
  393. },
  394. togo3(type) {
  395. this.type3 = type
  396. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  397. this.$refs.popup3.open(type)
  398. // this.$refs.popup1.close()
  399. },
  400. togo4(type) {
  401. this.type4 = type
  402. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  403. this.$refs.popup4.open(type)
  404. // this.$refs.popup1.close()
  405. },
  406. },
  407. };
  408. </script>
  409. <style>
  410. /deep/ .share .uni-popup .uni-popup__wrapper {
  411. width: 70% !important;
  412. border-radius: 15rpx !important;
  413. }
  414. </style>
  415. <style lang="scss" scoped>
  416. p {
  417. font-size: 32rpx;
  418. }
  419. .head {
  420. display: flex;
  421. /* 垂直居中 */
  422. align-items: center;
  423. justify-content: space-between;
  424. height: 200rpx;
  425. position: relative;
  426. margin: 2% 3% 3%;
  427. }
  428. .head-left {
  429. display: flex;
  430. align-items: center;
  431. }
  432. .head-right {
  433. display: flex;
  434. }
  435. .default-head-avator {
  436. display: inline-block;
  437. margin: 0 25rpx;
  438. padding: 10rpx 10rpx 0 0;
  439. width: 120rpx;
  440. height: 120rpx;
  441. background-color: #F0D232;
  442. border-radius: 50%;
  443. }
  444. .head-avator {
  445. display: inline-block;
  446. margin: 0 25rpx;
  447. width: 120rpx;
  448. height: 120rpx;
  449. background-color: #F0D232;
  450. border-radius: 50%;
  451. }
  452. .head-text {
  453. display: inline-block;
  454. }
  455. .head-message {
  456. margin: 10rpx 20rpx 10rpx 100rpx;
  457. width: 60rpx;
  458. height: 60rpx;
  459. }
  460. .show-income1 {
  461. height: 150rpx;
  462. margin: 0 3%;
  463. }
  464. .show-income1-text {
  465. display: flex;
  466. align-items: center;
  467. justify-content: space-between;
  468. margin-top: 30rpx;
  469. margin-left: 20rpx;
  470. }
  471. .show-income1-text2 {
  472. flex: 1;
  473. display: flex;
  474. }
  475. .show-income1-btn {
  476. width: 200rpx;
  477. text-align: center;
  478. background-color: #F0D232;
  479. border-radius: 15rpx;
  480. font-size: 32rpx;
  481. line-height: 200%;
  482. }
  483. .show-income2 {
  484. display: flex;
  485. align-items: center;
  486. justify-content: space-between;
  487. height: 150rpx;
  488. margin: 0 3% 3%;
  489. background-color: #F0D232;
  490. border-radius: 10rpx;
  491. padding: 0 40rpx;
  492. }
  493. .show-income2-text {
  494. padding: 0 20rpx;
  495. text-align: center;
  496. }
  497. .show-body {
  498. height: 250rpx;
  499. margin: 0 3% 3%;
  500. }
  501. .show-body1 {
  502. display: flex;
  503. align-items: center;
  504. height: 80rpx;
  505. }
  506. .show-body1-text1 {
  507. display: flex;
  508. justify-content: flex-start;
  509. margin-left: 20rpx;
  510. // margin-right: 480rpx;
  511. }
  512. .show-body1-text2 {
  513. display: flex;
  514. justify-content: flex-end;
  515. margin-right: 20rpx;
  516. flex: 1;
  517. // display: flex;
  518. }
  519. .show-body1-icon {
  520. width: 30rpx;
  521. height: 30rpx;
  522. }
  523. .show-body2 {
  524. // display: flex;
  525. // align-items: center;
  526. // justify-content: space-between;
  527. display: flex;
  528. align-items: center;
  529. justify-content: space-between;
  530. padding: 0 40rpx;
  531. }
  532. .show-body2-text {
  533. // width: 150rpx;
  534. text-align: center;
  535. }
  536. .task-num-p {
  537. padding-bottom: 40rpx;
  538. font-size: 35rpx;
  539. font-weight: bold;
  540. color: #F0D232;
  541. }
  542. .shu-line {
  543. border: 1rpx solid #BCBCBC;
  544. float: left;
  545. height: 70rpx;
  546. margin: 0 10rpx;
  547. margin-bottom: 30rpx;
  548. }
  549. .show-info {
  550. display: flex;
  551. align-items: center;
  552. justify-content: space-between;
  553. padding: 0 40rpx;
  554. }
  555. .show-info-text {
  556. text-align: center;
  557. }
  558. .show-info-icon {
  559. width: 50rpx;
  560. height: 50rpx;
  561. padding-bottom: 20rpx;
  562. }
  563. .butto {
  564. text-align: center;
  565. }
  566. .option {
  567. padding: 20rpx;
  568. }
  569. .uni-margin-wrap {
  570. width: 690rpx;
  571. width: 100%;
  572. ;
  573. }
  574. .swiper {
  575. height: 300rpx;
  576. }
  577. .swiper-item {
  578. display: block;
  579. height: 300rpx;
  580. line-height: 300rpx;
  581. text-align: center;
  582. }
  583. .swiper-list {
  584. margin-top: 40rpx;
  585. margin-bottom: 0;
  586. }
  587. .uni-common-mt {
  588. margin-top: 60rpx;
  589. position: relative;
  590. }
  591. .info {
  592. position: absolute;
  593. right: 20rpx;
  594. }
  595. .uni-padding-wrap {
  596. width: 550rpx;
  597. padding: 0 100rpx;
  598. }
  599. .card {
  600. width: 88%;
  601. // height: 200rpx;
  602. padding: 24rpx;
  603. margin-top: 30rpx;
  604. border-radius: 15rpx;
  605. background-color: #ffffff;
  606. margin: 0 auto;
  607. box-shadow: 0px 0px 10rpx 2rpx #ffffff;
  608. }
  609. .iimmg {
  610. width: 80rpx;
  611. height: 80rpx;
  612. background-color: #FFFFFF;
  613. border-radius: 15%;
  614. }
  615. .iimmg image {
  616. width: 60%;
  617. height: 60%;
  618. padding: 20%;
  619. }
  620. .ppan {
  621. font-size: 60%;
  622. margin-top: 1%;
  623. }
  624. .headportrait {
  625. margin: 0 auto;
  626. width: 180rpx;
  627. height: 180rpx;
  628. background-color: #FEE58E;
  629. border-radius: 50%;
  630. }
  631. .task22 {
  632. width: 80%;
  633. height: 80%;
  634. padding: 10%;
  635. }
  636. .but1 {
  637. // width: 120%;
  638. text-align: center;
  639. background-color: #1890FF;
  640. color: #FFFFFF;
  641. border-radius: 10rpx;
  642. font-size: 34rpx;
  643. line-height: 150%;
  644. font-weight: 500;
  645. height: 60%;
  646. }
  647. .dou p {
  648. font-size: 26rpx;
  649. color: #333333;
  650. font-weight: 550;
  651. text-align: center;
  652. }
  653. .dou span {
  654. font-size: 24rpx;
  655. color: #666666;
  656. text-align: center;
  657. }
  658. .title-left {
  659. width: 4rpx;
  660. height: 80rpx;
  661. background: #E2E2E2;
  662. display: inline-block;
  663. border-radius: 1rpx;
  664. margin-top: 4rpx;
  665. vertical-align: top;
  666. }
  667. //弹窗
  668. .sharepage {
  669. width: 90%;
  670. margin: 0 auto;
  671. // position: relative;
  672. }
  673. /deep/ .share.uni-popup .uni-popup__wrapper {
  674. width: 70%;
  675. border-radius: 15rpx;
  676. }
  677. .Tasktext1 {
  678. // padding-top: 5%;
  679. padding: 0 0 0 1%;
  680. height: 80rpx;
  681. margin-top: 7%;
  682. text-align: center;
  683. }
  684. .Tasktext1 span {
  685. color: #333333;
  686. font-size: 100%;
  687. font-weight: 550;
  688. text-indent: 2em;
  689. }
  690. .Tasktext1 image {
  691. vertical-align: middle;
  692. width: 80rpx;
  693. height: 80rpx;
  694. display: inline-block;
  695. padding-right: 14rpx;
  696. }
  697. .sharemap {
  698. margin: 0 auto;
  699. text-align: center;
  700. margin-top: 15%;
  701. margin-bottom: 15%;
  702. }
  703. .sharemap image {
  704. width: 400rpx;
  705. height: 400rpx;
  706. }
  707. .butmin {
  708. height: 48rpx;
  709. background-color: #3397FA;
  710. color: #FFFFFF;
  711. line-height: 48rpx;
  712. }
  713. .tip_box {
  714. position: fixed;
  715. top: 0;
  716. right: 0;
  717. z-index: 9999;
  718. display: flex;
  719. justify-content: flex-end;
  720. align-items: flex-end;
  721. flex-direction: column;
  722. .arrow {
  723. width: 0;
  724. height: 0;
  725. border: 10rpx solid;
  726. border-color: transparent;
  727. }
  728. .container {
  729. display: flex;
  730. align-items: center;
  731. justify-content: center;
  732. padding: 16rpx 24rpx;
  733. .tips {
  734. flex: 1;
  735. padding-right: 12rpx;
  736. }
  737. .close {
  738. display: flex;
  739. align-items: center;
  740. height: 30rpx;
  741. width: 30rpx;
  742. .closeImg {
  743. height: 100%;
  744. width: 100%;
  745. }
  746. }
  747. }
  748. }
  749. .point {
  750. position: absolute;
  751. // top: 0;
  752. right: 5px;
  753. width: 6px;
  754. height: 6px;
  755. background: red;
  756. border-radius: 50%;
  757. }
  758. </style>