mycenter.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  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">
  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 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=' + "2301618427"
  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. toMessage() {
  334. uni.navigateTo({
  335. url: 'message'
  336. });
  337. },
  338. // 进入个人资料
  339. handleInformation() {
  340. if (this.token !== '')
  341. uni.navigateTo({
  342. url: '/pages/mycenter/myinformation/myinformation'
  343. });
  344. else
  345. this.login()
  346. },
  347. // 进入收益页面
  348. toincome(tab) {
  349. console.log(tab)
  350. if (this.token !== '') {
  351. switch (tab) {
  352. case "can":
  353. uni.navigateTo({
  354. url: '/pages/mycenter/myincome?showTab=1'
  355. });
  356. break;
  357. case "ed":
  358. uni.navigateTo({
  359. url: '/pages/mycenter/myincome?showTab=2'
  360. });
  361. break;
  362. case "ing":
  363. uni.navigateTo({
  364. url: '/pages/mycenter/myincome?showTab=3'
  365. });
  366. break;
  367. }
  368. } else
  369. this.login()
  370. },
  371. // 进入我的任务页面
  372. tomytask(tab) {
  373. console.log(tab)
  374. if (this.token !== '') {
  375. var data = {
  376. tab: tab
  377. };
  378. data = JSON.stringify(data)
  379. uni.navigateTo({
  380. url: '/pages/mycenter/mytask/mytask?textObj=' + encodeURIComponent(data)
  381. });
  382. } else
  383. this.login()
  384. },
  385. // 保留两位小数点
  386. toDecimal(x) {
  387. var f = parseFloat(x);
  388. if (isNaN(f)) {
  389. return;
  390. }
  391. f = Math.round(x * 100) / 100;
  392. return f;
  393. },
  394. //弹出层
  395. change(e) {
  396. console.log('当前模式:' + e.type + ',状态:' + e.show);
  397. },
  398. togo2(type) {
  399. this.type2 = type
  400. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  401. this.$refs.popup2.open(type)
  402. // this.$refs.popup1.close()
  403. },
  404. togo3(type) {
  405. this.type3 = type
  406. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  407. this.$refs.popup3.open(type)
  408. // this.$refs.popup1.close()
  409. },
  410. togo4(type) {
  411. this.type4 = type
  412. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  413. this.$refs.popup4.open(type)
  414. // this.$refs.popup1.close()
  415. },
  416. },
  417. };
  418. </script>
  419. <style>
  420. /deep/ .share .uni-popup .uni-popup__wrapper {
  421. width: 70% !important;
  422. border-radius: 15rpx !important;
  423. }
  424. </style>
  425. <style lang="scss" scoped>
  426. p {
  427. font-size: 32rpx;
  428. }
  429. .head {
  430. display: flex;
  431. /* 垂直居中 */
  432. align-items: center;
  433. justify-content: space-between;
  434. height: 200rpx;
  435. position: relative;
  436. margin: 2% 3% 3%;
  437. }
  438. .head-left {
  439. display: flex;
  440. align-items: center;
  441. }
  442. .head-right {
  443. display: flex;
  444. }
  445. .default-head-avator {
  446. display: inline-block;
  447. margin: 0 25rpx;
  448. padding: 10rpx 10rpx 0 0;
  449. width: 120rpx;
  450. height: 120rpx;
  451. background-color: #F0D232;
  452. border-radius: 50%;
  453. }
  454. .head-avator {
  455. display: inline-block;
  456. margin: 0 25rpx;
  457. width: 120rpx;
  458. height: 120rpx;
  459. background-color: #F0D232;
  460. border-radius: 50%;
  461. }
  462. .head-text {
  463. display: inline-block;
  464. }
  465. .head-message {
  466. margin: 10rpx 20rpx 10rpx 100rpx;
  467. width: 60rpx;
  468. height: 60rpx;
  469. }
  470. .show-income1 {
  471. height: 150rpx;
  472. margin: 0 3%;
  473. }
  474. .show-income1-text {
  475. display: flex;
  476. align-items: center;
  477. justify-content: space-between;
  478. margin-top: 30rpx;
  479. margin-left: 20rpx;
  480. }
  481. .show-income1-text2 {
  482. flex: 1;
  483. display: flex;
  484. }
  485. .show-income1-btn {
  486. width: 200rpx;
  487. text-align: center;
  488. background-color: #F0D232;
  489. border-radius: 15rpx;
  490. font-size: 32rpx;
  491. line-height: 200%;
  492. }
  493. .show-income2 {
  494. display: flex;
  495. align-items: center;
  496. justify-content: space-between;
  497. height: 150rpx;
  498. margin: 0 3% 3%;
  499. background-color: #F0D232;
  500. border-radius: 10rpx;
  501. padding: 0 40rpx;
  502. }
  503. .show-income2-text {
  504. padding: 0 20rpx;
  505. text-align: center;
  506. }
  507. .show-body {
  508. height: 250rpx;
  509. margin: 0 3% 3%;
  510. }
  511. .show-body1 {
  512. display: flex;
  513. align-items: center;
  514. height: 80rpx;
  515. }
  516. .show-body1-text1 {
  517. display: flex;
  518. justify-content: flex-start;
  519. margin-left: 20rpx;
  520. // margin-right: 480rpx;
  521. }
  522. .show-body1-text2 {
  523. display: flex;
  524. justify-content: flex-end;
  525. margin-right: 20rpx;
  526. flex: 1;
  527. // display: flex;
  528. }
  529. .show-body1-icon {
  530. width: 30rpx;
  531. height: 30rpx;
  532. }
  533. .show-body2 {
  534. // display: flex;
  535. // align-items: center;
  536. // justify-content: space-between;
  537. display: flex;
  538. align-items: center;
  539. justify-content: space-between;
  540. padding: 0 40rpx;
  541. }
  542. .show-body2-text {
  543. // width: 150rpx;
  544. text-align: center;
  545. }
  546. .task-num-p {
  547. padding-bottom: 40rpx;
  548. font-size: 35rpx;
  549. font-weight: bold;
  550. color: #F0D232;
  551. }
  552. .shu-line {
  553. border: 1rpx solid #BCBCBC;
  554. float: left;
  555. height: 70rpx;
  556. margin: 0 10rpx;
  557. margin-bottom: 30rpx;
  558. }
  559. .show-info {
  560. display: flex;
  561. align-items: center;
  562. justify-content: space-between;
  563. padding: 0 40rpx;
  564. }
  565. .show-info-text {
  566. text-align: center;
  567. }
  568. .show-info-icon {
  569. width: 50rpx;
  570. height: 50rpx;
  571. padding-bottom: 20rpx;
  572. }
  573. .butto {
  574. text-align: center;
  575. }
  576. .option {
  577. padding: 20rpx;
  578. }
  579. .uni-margin-wrap {
  580. width: 690rpx;
  581. width: 100%;
  582. ;
  583. }
  584. .swiper {
  585. height: 300rpx;
  586. }
  587. .swiper-item {
  588. display: block;
  589. height: 300rpx;
  590. line-height: 300rpx;
  591. text-align: center;
  592. }
  593. .swiper-list {
  594. margin-top: 40rpx;
  595. margin-bottom: 0;
  596. }
  597. .uni-common-mt {
  598. margin-top: 60rpx;
  599. position: relative;
  600. }
  601. .info {
  602. position: absolute;
  603. right: 20rpx;
  604. }
  605. .uni-padding-wrap {
  606. width: 550rpx;
  607. padding: 0 100rpx;
  608. }
  609. .card {
  610. width: 88%;
  611. // height: 200rpx;
  612. padding: 24rpx;
  613. margin-top: 30rpx;
  614. border-radius: 15rpx;
  615. background-color: #ffffff;
  616. margin: 0 auto;
  617. box-shadow: 0px 0px 10rpx 2rpx #ffffff;
  618. }
  619. .iimmg {
  620. width: 80rpx;
  621. height: 80rpx;
  622. background-color: #FFFFFF;
  623. border-radius: 15%;
  624. }
  625. .iimmg image {
  626. width: 60%;
  627. height: 60%;
  628. padding: 20%;
  629. }
  630. .ppan {
  631. font-size: 60%;
  632. margin-top: 1%;
  633. }
  634. .headportrait {
  635. margin: 0 auto;
  636. width: 180rpx;
  637. height: 180rpx;
  638. background-color: #FEE58E;
  639. border-radius: 50%;
  640. }
  641. .task22 {
  642. width: 80%;
  643. height: 80%;
  644. padding: 10%;
  645. }
  646. .but1 {
  647. // width: 120%;
  648. text-align: center;
  649. background-color: #1890FF;
  650. color: #FFFFFF;
  651. border-radius: 10rpx;
  652. font-size: 34rpx;
  653. line-height: 150%;
  654. font-weight: 500;
  655. height: 60%;
  656. }
  657. .dou p {
  658. font-size: 26rpx;
  659. color: #333333;
  660. font-weight: 550;
  661. text-align: center;
  662. }
  663. .dou span {
  664. font-size: 24rpx;
  665. color: #666666;
  666. text-align: center;
  667. }
  668. .title-left {
  669. width: 4rpx;
  670. height: 80rpx;
  671. background: #E2E2E2;
  672. display: inline-block;
  673. border-radius: 1rpx;
  674. margin-top: 4rpx;
  675. vertical-align: top;
  676. }
  677. //弹窗
  678. .sharepage {
  679. width: 90%;
  680. margin: 0 auto;
  681. // position: relative;
  682. }
  683. /deep/ .share.uni-popup .uni-popup__wrapper {
  684. width: 70%;
  685. border-radius: 15rpx;
  686. }
  687. .Tasktext1 {
  688. // padding-top: 5%;
  689. padding: 0 0 0 1%;
  690. height: 80rpx;
  691. margin-top: 7%;
  692. text-align: center;
  693. }
  694. .Tasktext1 span {
  695. color: #333333;
  696. font-size: 100%;
  697. font-weight: 550;
  698. text-indent: 2em;
  699. }
  700. .Tasktext1 image {
  701. vertical-align: middle;
  702. width: 80rpx;
  703. height: 80rpx;
  704. display: inline-block;
  705. padding-right: 14rpx;
  706. }
  707. .sharemap {
  708. margin: 0 auto;
  709. text-align: center;
  710. margin-top: 15%;
  711. margin-bottom: 15%;
  712. }
  713. .sharemap image {
  714. width: 400rpx;
  715. height: 400rpx;
  716. }
  717. .butmin {
  718. height: 48rpx;
  719. background-color: #3397FA;
  720. color: #FFFFFF;
  721. line-height: 48rpx;
  722. }
  723. .tip_box {
  724. position: fixed;
  725. top: 0;
  726. right: 0;
  727. z-index: 9999;
  728. display: flex;
  729. justify-content: flex-end;
  730. align-items: flex-end;
  731. flex-direction: column;
  732. .arrow {
  733. width: 0;
  734. height: 0;
  735. border: 10rpx solid;
  736. border-color: transparent;
  737. }
  738. .container {
  739. display: flex;
  740. align-items: center;
  741. justify-content: center;
  742. padding: 16rpx 24rpx;
  743. .tips {
  744. flex: 1;
  745. padding-right: 12rpx;
  746. }
  747. .close {
  748. display: flex;
  749. align-items: center;
  750. height: 30rpx;
  751. width: 30rpx;
  752. .closeImg {
  753. height: 100%;
  754. width: 100%;
  755. }
  756. }
  757. }
  758. }
  759. .point {
  760. position: absolute;
  761. // top: 0;
  762. right: 5px;
  763. width: 6px;
  764. height: 6px;
  765. background: red;
  766. border-radius: 50%;
  767. }
  768. </style>