mycenter.vue 20 KB

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