mycenter.vue 20 KB

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