specialTaskDetail.vue 35 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657
  1. <template>
  2. <view style="position: relative;">
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view :style="{marginTop:navH}"></view>
  6. <view class="" id="wrap0" v-show="!loading">
  7. <view class="home">
  8. <view class="uni-margin-wrap">
  9. <swiper class="swiper" circular :indicator-dots="true" :autoplay="true" :interval="3000"
  10. :duration="1000">
  11. <swiper-item v-for="item in carousel_images">
  12. <image :src="item" mode="aspectFill" style="width: 100%;height: 100%;"
  13. @click="handlePreviewImage1(item)">
  14. </image>
  15. </swiper-item>
  16. </swiper>
  17. <view class="">
  18. <view class="Tasktext">
  19. <image :src="information.PlatformInfo.platform_icon" mode=""></image>
  20. <span>{{information.project_name}}</span>
  21. </view>
  22. <view class="markcontent">
  23. <view style="display: flex;margin: 10rpx 0;">
  24. <p class="wvp">商品价值:</p>
  25. <p class="wvp">{{information.Product.ProductPrice}}元</p>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. <!-- <view class="interval"></view> -->
  32. <view class="home" style="padding-top: 0;">
  33. <view class="">
  34. <view class="circularmark">
  35. <p>任务信息</p>
  36. </view>
  37. <view class="markcontent">
  38. <view style="display: flex;margin: 10rpx 0;">
  39. <p class="label">社媒平台:</p>
  40. <p class="wvp">{{information.PlatformInfo.platform_name}}</p>
  41. </view>
  42. <view style="display: flex;margin: 10rpx 0;">
  43. <p class="label">商品类型:</p>
  44. <p class="wvp">{{information.Product.ProductType}}</p>
  45. </view>
  46. <view style="display: flex;;margin: 10rpx 0;">
  47. <p class="label">商品链接:</p>
  48. <span style="display: flex;align-items: center;"
  49. v-if="information.Product.ProductUrl === ''">
  50. <p class="wvp" style="padding: 0;">无</p>
  51. </span>
  52. <span style="display: flex;align-items: center;"
  53. v-if="information.Product.ProductUrl !== ''">
  54. <p class="wvp" style="padding: 0;">{{information.Product.ProductUrl|ellipsis}}</p>
  55. <image :src="icon_copy" mode="" style="width: 40rpx;height: 40rpx;"
  56. @click="handleCopy(information.Product.ProductUrl)" />
  57. </span>
  58. </view>
  59. </view>
  60. </view>
  61. </view>
  62. <view class="" id="wrap1">
  63. <view class="home" style="padding-top: 0;">
  64. <view class="">
  65. <view class="circularmark">
  66. <p>任务要求</p>
  67. </view>
  68. <view class="markcontent">
  69. <view style="display: flex;">
  70. <p class="wvp" style="margin: 10rpx 0;">内容形式:</p>
  71. <p class="wvp" style="margin: 10rpx 0;">{{information.content}}</p>
  72. </view>
  73. <p class="wvp" style="margin: 10rpx 0;">商品描述:</p>
  74. <text class="wvp" style="margin: 10rpx 0;" decode="true" user-select="true">
  75. {{information.Product.ProductDetail}} </text>
  76. </p>
  77. <p class="wvp" style="margin: 10rpx 0;">任务详情:</p>
  78. <text class="wvp" style="margin: 10rpx 0;" decode="true" user-select="true">
  79. {{information.project_detail}} </text>
  80. </view>
  81. </view>
  82. </view>
  83. </view>
  84. <view class="" id="wrap2">
  85. <view class="home" style="padding-top: 0;">
  86. <view class="">
  87. <view class="circularmark">
  88. <p>任务详情图</p>
  89. </view>
  90. <view class="markcontent1">
  91. <view class="diagram" style="font-size: 30rpx;margin: 0 30rpx;" v-if="hasNoProjectPhoto">
  92. <p>暂无详情说明</p>
  93. </view>
  94. <view class="diagram" v-for="item in information.ProjectPhoto">
  95. <image :src="item.photo_url" mode="widthFix"></image>
  96. </view>
  97. </view>
  98. </view>
  99. <!-- <view class="">
  100. <view class="circularmark">
  101. <p>商品详情图</p>
  102. </view>
  103. <view class="markcontent1">
  104. <view class="diagram" v-for="item in product_detail_images">
  105. <image :src="item" mode="widthFix"></image>
  106. </view>
  107. </view>
  108. </view> -->
  109. </view>
  110. <view class="interval2"></view>
  111. </view>
  112. <view class="signup">
  113. <button type="default" class="but1" :loading="loading" :class="{'on':item.title === '1',}"
  114. @click="toggle('bottom')" v-if="isSign===0">
  115. 开始执行</button>
  116. <button type="default" class="but1" disabled v-if="isSign===1 && isAgree === 1"> 等待审核 </button>
  117. <button type="default" class="but1" disabled v-if="isSign===1 && isAgree === 2"> 执行中 </button>
  118. <button type="default" class="but1" disabled v-if="isSign===1 && isAgree === 3"> 已结束 </button>
  119. <button type="default" class="but2" @click="toggle1('bottom')">
  120. <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/task8.png" mode=""></image>
  121. 分享
  122. </button>
  123. </view>
  124. <view>
  125. <!-- 底部普通弹窗 -->
  126. <uni-popup ref="popup1" background-color="#fff" @change="change" style="border-radius: 20rpx;">
  127. <view class="popup-content1" :class="{ 'popup-height': type === 'left' || type === 'right' }">
  128. <view
  129. style="display: flex; justify-content: space-around; margin-top: 10% ;margin-bottom: 3% ;">
  130. <view>
  131. <button class="tii2" data-name="shareBtn" open-type="share">
  132. <view class="circular" style="margin-top: 10% ;">
  133. <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/taskw.png"
  134. mode=""></image>
  135. </view>
  136. <p class="tii">发送给朋友</p>
  137. </button>
  138. </view>
  139. <view>
  140. <button class="tii2" @click="toggle2('center')">
  141. <view class="circular" style="margin-top: 10% ;">
  142. <image src="https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/taske.png"
  143. mode=""></image>
  144. </view>
  145. <p class="tii">生成分享码</p>
  146. </button>
  147. </view>
  148. </view>
  149. <button type="default" class="errar" @click="cancel()">取消</button>
  150. </view>
  151. </uni-popup>
  152. </view>
  153. <uni-popup ref="popup2" class="share1" background-color="#fff" @change="change">
  154. <view class="popup-content">
  155. <image :src="canvasUrl" mode="widthFix" style="width: 300px;height: 420px;margin-top: 30rpx;">
  156. </image>
  157. <mosoweCanvas ref="mosoweCanvasComponents" @canvasImage="_canvasImage" :lists="lists" height="420"
  158. width="300" imgType="png" />
  159. <view class="" style="text-align: center;margin: 5% 0;">
  160. <button class="butmin" size="mini" @tap="saveImage">保存</button>
  161. </view>
  162. </view>
  163. </uni-popup>
  164. </view>
  165. </view>
  166. </template>
  167. <script>
  168. import mosoweCanvas from "@/components/mosowe-canvas-image/mosowe-canvas-image";
  169. import mvBar from "@/components/mys_navBar/mysNavBar";
  170. import zSwiper from '@/components/z-swiper/index.vue'
  171. import {
  172. getQueryString,
  173. money
  174. } from '@/components/utils.js';
  175. import {
  176. saveImageToPhotosAlbum,
  177. showToast,
  178. downloadFile
  179. } from '@/uni_modules/sakura-canvas/js_sdk/util'
  180. export default {
  181. filters: {
  182. ellipsis(value) {
  183. if (!value) return "";
  184. if (value.length > 30) {
  185. return value.slice(0, 30) + "...";
  186. }
  187. return value;
  188. },
  189. },
  190. components: {
  191. mvBar,
  192. zSwiper,
  193. mosoweCanvas
  194. },
  195. data() {
  196. return {
  197. hasNoProjectPhoto: false,
  198. icon_copy: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent_upload/icon-copy.png',
  199. navH: getApp().globalData.navHeight,
  200. canvasUrl: '',
  201. loading: true,
  202. isSign: 0,
  203. isAgree: 0,
  204. strategy_id: 0,
  205. strategy: null,
  206. input_offer: 0.0,
  207. chooseBtn: 0,
  208. share: {
  209. title: "",
  210. path: '',
  211. imageUrl: '',
  212. desc: '',
  213. content: ''
  214. },
  215. poster: {},
  216. posterImg: '',
  217. canvasId: 'myCanvas',
  218. img: '',
  219. younggee_logo: "https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/younggee_logo.png",
  220. task_type_info: ["实体商品寄拍", "虚拟产品测评", "线下探店打卡", "素材微原创"],
  221. talent_type_info: ["美妆", "美食", "生活", "时尚", "测评", "旅行", "汽车", "萌宠", "游戏", "音乐", "舞蹈", "房产", "情感", "三农",
  222. "园艺", "随拍", "图文控", "二次元", "母婴亲子", "颜值达人", "剧情搞笑", "运动健身", "家居家装", "科技数码", "教育培训", "才艺技能", "艺术文化",
  223. "财经投资",
  224. ],
  225. product_types: [{
  226. value: 1,
  227. label: '3C及电器'
  228. },
  229. {
  230. value: 2,
  231. label: '食品饮料'
  232. },
  233. {
  234. value: 3,
  235. label: '服装配饰'
  236. },
  237. {
  238. value: 4,
  239. label: '医疗'
  240. },
  241. {
  242. value: 5,
  243. label: '房地产'
  244. },
  245. {
  246. value: 6,
  247. label: '家居建材'
  248. },
  249. {
  250. value: 7,
  251. label: '教育培训'
  252. },
  253. {
  254. value: 8,
  255. label: '出行旅游'
  256. },
  257. {
  258. value: 9,
  259. label: '游戏'
  260. },
  261. {
  262. value: 10,
  263. label: '互联网平台'
  264. },
  265. {
  266. value: 11,
  267. label: '汽车'
  268. },
  269. {
  270. value: 12,
  271. label: '文体娱乐'
  272. },
  273. {
  274. value: 13,
  275. label: '影视传媒'
  276. },
  277. {
  278. value: 14,
  279. label: '线下店铺'
  280. },
  281. {
  282. value: 15,
  283. label: '软件服务'
  284. },
  285. {
  286. value: 16,
  287. label: '美妆'
  288. },
  289. {
  290. value: 17,
  291. label: '母婴宠物'
  292. },
  293. {
  294. value: 18,
  295. label: '日化'
  296. },
  297. {
  298. value: 19,
  299. label: '其他'
  300. }
  301. ],
  302. title: '[东鑫记港式茶餐厅]南京东路|魔都新晋爆款茶餐厅来袭!99元抢门',
  303. price: '',
  304. tips: '识别二维码\n立即申请任务',
  305. head: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/task15.png',
  306. big: '',
  307. tabBarStyle: {},
  308. activeTab: 0,
  309. hei: '',
  310. hei1: '',
  311. topp0: '',
  312. topp1: '',
  313. topp2: '',
  314. scrollTop: '',
  315. activeColor: '#f2d22d',
  316. value: '',
  317. value1: '',
  318. sex: [],
  319. coop_choice: [],
  320. type: 'center',
  321. type1: 'center',
  322. type2: 'center',
  323. item: {
  324. title: '0'
  325. },
  326. // 视频轮播
  327. fullScreen: true,
  328. topFloat: true,
  329. fotterFloat: true,
  330. // 指示器样式
  331. mode: 'circle',
  332. indicatorPos: 'bottomCenter',
  333. list1: [{
  334. type: 'video',
  335. poster: 'https://img2.baidu.com/it/u=2141851239,1037607188&fm=26&fmt=auto&gp=0.jpg',
  336. src: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/a876efc0-4f35-11eb-97b7-0dc4655d6e68.mp4',
  337. },
  338. {
  339. type: 'image',
  340. src: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/home1.png'
  341. },
  342. {
  343. type: 'video',
  344. poster: 'https://img1.baidu.com/it/u=1297253752,1185196455&fm=26&fmt=auto&gp=0.jpg',
  345. src: 'https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/a876efc0-4f35-11eb-97b7-0dc4655d6e68.mp4',
  346. },
  347. {
  348. type: 'image',
  349. src: 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/home1.png'
  350. },
  351. ],
  352. carousel_images: ['https://img2.baidu.com/it/u=2141851239,1037607188&fm=26&fmt=auto&gp=0.jpg',
  353. 'https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/home1.png',
  354. ],
  355. dotIndex: 0, //指示器索引
  356. dotFloatIndex: 0, //位置指示器索引
  357. //轮播图
  358. swiper: {
  359. margin: "150rpx",
  360. index: 0,
  361. list: [
  362. ]
  363. },
  364. tar: false,
  365. mysNavConfig: {
  366. /* 占位开启 */
  367. // navPadding: true,
  368. /* 背景 */
  369. // bgColor: "#f8f8f8",
  370. /* 开启单页显示首页图标 */
  371. isHome: false,
  372. /* 固定导航 */
  373. navFixed: true,
  374. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  375. navTitle: {
  376. text: "任务详情",
  377. color: "",
  378. fontSize: "32rpx", // px upx rpx
  379. fontWeight: "500", // 100 - 700
  380. },
  381. btnType: "type2",
  382. onLeftClick: '/pages/tasksquare/tasksquare',
  383. /* type2 按钮 */
  384. type2Config: {
  385. // 左图标
  386. leftPath: "https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/png2.png",
  387. // 右图标
  388. rightPath: "https://horastar.obs.cn-east-3.myhuaweicloud.com/talent/png4.png",
  389. // 圆角
  390. radius: "40rpx",
  391. },
  392. },
  393. projectid: '',
  394. talent: {},
  395. account: [],
  396. information: {},
  397. zhanghaocode: '',
  398. product_detail_images: [],
  399. codeImg: '',
  400. queryAll: '',
  401. };
  402. },
  403. onShareAppMessage(res) {
  404. return {
  405. title: this.share.title,
  406. path: '/pages/tasksquare/specialTask/specialTaskDetail?id=' + this.projectid,
  407. imageUrl: this.share.imageUrl,
  408. desc: '',
  409. content: '',
  410. success(res) {
  411. uni.showToast({
  412. title: '分享成功'
  413. })
  414. },
  415. fail(res) {
  416. uni.showToast({
  417. title: '分享失败',
  418. icon: 'none'
  419. })
  420. }
  421. }
  422. },
  423. computed: {
  424. lists: {
  425. get() {
  426. let tmplist = [
  427. // 大图
  428. {
  429. type: 'image',
  430. content: this.img,
  431. width: 300,
  432. height: 320,
  433. x: 0,
  434. y: 0,
  435. },
  436. // 标题
  437. {
  438. type: 'text',
  439. content: this.title,
  440. color: '#333333',
  441. weight: 'bold',
  442. size: '12px',
  443. width: 200,
  444. height: 20,
  445. x: 20,
  446. y: 340,
  447. },
  448. // 文案2
  449. {
  450. type: 'text',
  451. content: "扫码立即报名",
  452. color: '#333333',
  453. size: '10px',
  454. width: 60,
  455. height: 20,
  456. x: 20,
  457. y: 370,
  458. },
  459. // logo
  460. // {
  461. // type: 'image',
  462. // content: this.younggee_logo,
  463. // width: 120,
  464. // height: 50,
  465. // x: 10,
  466. // y: 370,
  467. // },
  468. // 文案3
  469. {
  470. type: 'text',
  471. content: "发布任务请登录",
  472. color: '#333333',
  473. size: '10px',
  474. width: 70,
  475. height: 20,
  476. x: 20,
  477. y: 400,
  478. },
  479. {
  480. type: 'text',
  481. content: "www.younggee.com",
  482. color: '#333333',
  483. size: '10px',
  484. // style: 'italic',
  485. width: 60,
  486. height: 20,
  487. x: 90,
  488. y: 400,
  489. },
  490. // 二维码
  491. {
  492. type: 'qr',
  493. content: this.head,
  494. width: 80,
  495. height: 80,
  496. x: 215,
  497. y: 325,
  498. },
  499. ]
  500. return tmplist
  501. },
  502. set() {}
  503. }
  504. },
  505. async created() {},
  506. async onShow() {
  507. // 判断登录
  508. await this.isLogin();
  509. if (this.token === '') {
  510. uni.showModal({
  511. content: '请先登录',
  512. success: function(res) {
  513. if (res.confirm) {
  514. uni.navigateTo({
  515. url: '/pages/login/login'
  516. });
  517. } else if (res.cancel) {
  518. uni.navigateBack();
  519. }
  520. }
  521. });
  522. } else {
  523. this.loading = true;
  524. uni.showLoading({
  525. title: '加载中'
  526. });
  527. await this.postlist()
  528. await this.getTalentInfo();
  529. await this.getProjectDetail();
  530. await this.getTalentAccountInfo();
  531. if (this.account.length != 0) {
  532. await this.isSignUp();
  533. }
  534. this.loading = false;
  535. uni.hideLoading();
  536. }
  537. },
  538. onLoad(options) {
  539. // if (options.q) {
  540. // let queryAll = decodeURIComponent(options.q);
  541. // this.projectid = getQueryString(queryAll, 'id')
  542. // } else {
  543. // this.projectid = options.id
  544. // }
  545. console.log(options)
  546. this.projectid = options.id
  547. const scene = decodeURIComponent(options.scene);
  548. if (scene != "undefined") {
  549. this.projectid = scene;
  550. }
  551. this.share.path = 'https://younggee.com/wxapp/specialtaskdetail?action=taskdetail&id=' + this
  552. .projectid
  553. },
  554. onReady() { // 注意:想要拿到元素实例,需要在实例已经挂载到页面上才可以
  555. },
  556. methods: {
  557. handleCopy(content) {
  558. wx.setClipboardData({
  559. data: content,
  560. success: function(res) {
  561. console.log("复制成功");
  562. }
  563. });
  564. },
  565. postlist() {
  566. return this.$https.post('/youngee/c/p/get-qrcode', {
  567. scene: this.projectid,
  568. page: 'pages/tasksquare/specialTask/specialTaskDetail',
  569. // scene: this.taskid,
  570. // page: 'pages/task/taskdetails',
  571. })
  572. .then(res => {
  573. console.log(res)
  574. this.head = 'data:image/png;base64,' + res.data.data;
  575. })
  576. },
  577. // 判断登陆是否过期
  578. isLogin() {
  579. return this.$https.get('/youngee/c/t/g/is-login')
  580. .then(res => {
  581. if (res.data.code === 403) {
  582. // 登陆已失效
  583. this.token = ""
  584. } else {
  585. this.token = uni.getStorageSync('token')
  586. }
  587. })
  588. },
  589. handlePreviewImage1(item) {
  590. console.log("image src: ", item)
  591. let that = this
  592. wx.previewImage({
  593. current: item, // 当前显示图片的http链接
  594. urls: that.carousel_images // 需要预览的图片http链接列表
  595. })
  596. },
  597. handleCoopClick(value) {
  598. if (this.account[0].fans_count < value.followers_low) {
  599. // 提示“粉丝量不符合报名条件”
  600. uni.showToast({
  601. title: '粉丝量不符合报名条件',
  602. icon: 'none',
  603. duration: 2000
  604. });
  605. } else {
  606. this.strategy_id = value.strategy_id;
  607. this.strategy = value;
  608. }
  609. },
  610. getProjectDetail() {
  611. return this.$https.get('/youngee/c/t/g/get-project-detail' +
  612. "?" +
  613. "projectid" +
  614. "=" +
  615. this.projectid
  616. ).then(res => {
  617. this.information = res.data.data
  618. this.hasNoProjectPhoto = this.information.ProjectPhoto === null ? true : false;
  619. this.information.Product = JSON.parse(res.data.data.product_snap);
  620. this.information.Product.ProductPhoto = JSON.parse(res.data.data
  621. .product_photo_snap);
  622. this.information.Product.ProductPrice = money(this.information.Product
  623. .ProductPrice)
  624. console.log("Product: ", this.information.Product)
  625. // 分享图里的
  626. for (let i = 0; i < this.information.Product.ProductPhoto.length; i++) {
  627. if (this.information.Product.ProductPhoto[i].Symbol === 1) {
  628. this.img = this.information.Product.ProductPhoto[i].PhotoUrl
  629. this.share.imageUrl = this.information.Product.ProductPhoto[i].PhotoUrl
  630. }
  631. }
  632. this.title = this.information.project_name
  633. this.share.title = this.information.project_name
  634. this.information.Product.ProductType = this.product_types[parseInt(this.information
  635. .Product
  636. .ProductType) - 1].label
  637. // 轮播图、详情图
  638. this.carousel_images = []
  639. this.product_detail_images = []
  640. for (let i = 0; i < this.information.Product.ProductPhoto.length; i++) {
  641. if (this.information.Product.ProductPhoto[i].Symbol != 3) {
  642. this.carousel_images.push(this.information.Product.ProductPhoto[i]
  643. .PhotoUrl)
  644. if (this.information.Product.ProductPhoto[i].Symbol != 1)
  645. this.product_detail_images.push(this.information.Product.ProductPhoto[
  646. i].PhotoUrl)
  647. }
  648. }
  649. // 任务类型
  650. this.information.project_form = this.task_type_info[this.information.project_form -
  651. 1]
  652. // 任务形式
  653. if (this.information.content_type === 1) this.information.content = "图文"
  654. else if (this.information.content_type === 2) this.information.content = "视频"
  655. })
  656. },
  657. // 达人信息
  658. getTalentInfo() {
  659. return this.$https.get('/youngee/c/t/g/get-talent-info')
  660. .then(res => {
  661. console.log(res)
  662. this.talent = res.data.data
  663. })
  664. },
  665. //账号信息
  666. getTalentAccountInfo() {
  667. return this.$https.get('/youngee/c/t/g/get-talent-account')
  668. .then(res => {
  669. console.log(res)
  670. var accounts = res.data.data
  671. this.account = []
  672. if (res.data.code != -3) {
  673. for (var i = 0; i < accounts.length; i++) {
  674. if (this.information.project_platform === accounts[i].platform_id) {
  675. this.account.push(accounts[i])
  676. }
  677. }
  678. }
  679. })
  680. },
  681. isSignUp() {
  682. return this.$https.get('/youngee/c/t/g/is-sign-up-task' +
  683. "?" +
  684. "project_id" +
  685. "=" +
  686. this.projectid)
  687. .then(res => {
  688. if (res.data.code === 0) {
  689. this.isSign = res.data.data.is_sign;
  690. this.isAgree = res.data.data.is_agree;
  691. }
  692. })
  693. },
  694. onPageScroll(res) {
  695. uni.$emit('onPageScroll', res.scrollTop);
  696. this.scrollTop = res.scrollTop;
  697. // console.log(res.scrollTop);
  698. if (res.scrollTop <= this.topp1 - this.hei1) {
  699. // console.log(0)
  700. this.activeTab = 0
  701. }
  702. if (res.scrollTop > this.topp1 - this.hei1 && res.scrollTop < this.topp2 - this.hei1) {
  703. // console.log(1)
  704. this.activeTab = 1
  705. }
  706. if (res.scrollTop > this.topp2 - this.hei1) {
  707. // console.log(2)
  708. this.activeTab = 2
  709. }
  710. },
  711. //获取节点离顶部高度
  712. getInfo() {
  713. const query = uni.createSelectorQuery().in(this);
  714. query.select('#wrap0').boundingClientRect(data => {
  715. this.topp0 = data.top
  716. }).exec();
  717. query.select('#wrap1').boundingClientRect(data => {
  718. this.topp1 = data.top
  719. }).exec();
  720. query.select('#wrap2').boundingClientRect(data => {
  721. this.topp2 = data.top
  722. // console.log(this.topp2)
  723. }).exec();
  724. query.select('#wap').boundingClientRect(data => {
  725. // console.log(data)
  726. this.hei = data.height
  727. this.tabBarStyle = {
  728. height: data.height + data.height + 'px',
  729. width: '100% ',
  730. }
  731. }).exec();
  732. query.select('#wa').boundingClientRect(data => {
  733. // console.log(data)
  734. this.hei1 = data.height
  735. }).exec();
  736. },
  737. //视频轮播
  738. effect3dMarginMethed() {
  739. this.effect3dMargin++
  740. },
  741. //swiper滑动事件
  742. swiperChange: function(e) {
  743. this.swiper.index = e.detail.current;
  744. },
  745. //底部弹出层
  746. change(e) {
  747. console.log('当前模式:' + e.type + ',状态:' + e.show);
  748. },
  749. toggle(type) {
  750. let that = this
  751. if (that.talent.is_bind_info === 0 || that.talent.is_bind_location === 0 ||
  752. that.account.length === 0) {
  753. // 前往个人信息绑定三合一界面
  754. uni.showModal({
  755. content: '请先绑定个人信息',
  756. success: function(res) {
  757. if (res.confirm) {
  758. if (that.account.length === 0) {
  759. uni.navigateTo({
  760. url: '/pages/tasksquare/bindinfo?platform_id=' +
  761. that
  762. .information.project_platform
  763. })
  764. } else {
  765. uni.navigateTo({
  766. url: '/pages/tasksquare/bindinfo?platform_id=' +
  767. that.information.project_platform +
  768. '&account_id=' +
  769. that.account[0].account_id
  770. })
  771. };
  772. } else if (res.cancel) {
  773. console.log('用户点击取消');
  774. }
  775. }
  776. });
  777. } else {
  778. var data = {
  779. projectid: that.projectid,
  780. information: that.information,
  781. account: that.account[0].account_id,
  782. },
  783. data = JSON.stringify(data)
  784. uni.navigateTo({
  785. url: '/pages/tasksquare/specialTask/information?textObj=' + encodeURIComponent(
  786. data)
  787. });
  788. }
  789. },
  790. toggle1(type) {
  791. this.type1 = type
  792. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  793. this.$refs.popup1.open(type)
  794. },
  795. cancel() {
  796. this.$refs.popup1.close()
  797. },
  798. // 更新账号
  799. Reset() {
  800. console.log("Reset func running")
  801. uni.navigateTo({
  802. url: '/pages/mycenter/myinformation/bindaccount?platform_id=' + this
  803. .information
  804. .project_platform + '&account_id=' + this.account[0].account_id,
  805. success(res) {
  806. console.log(res);
  807. },
  808. fail(err) {
  809. console.log(err);
  810. }
  811. });
  812. },
  813. //进入信息确认页面
  814. determine() {
  815. console.log(this.strategy_id)
  816. if (this.strategy_id === 0 || this.strategy === null) {
  817. uni.showToast({
  818. title: '请选择合作方式',
  819. icon: 'none',
  820. duration: 2000
  821. });
  822. } else if (this.account[0].fans_count < this.strategy.followers_low) {
  823. // 提示“粉丝量不符合报名条件”
  824. uni.showToast({
  825. title: '粉丝量不符合报名条件',
  826. icon: 'none',
  827. duration: 2000
  828. });
  829. } else if (this.strategy.fee_form === 3 && this.strategy.offer === 0) {
  830. console.log(this.strategy)
  831. uni.showToast({
  832. title: '请填写自报价金额',
  833. icon: 'none',
  834. duration: 2000
  835. });
  836. } else {
  837. this.$refs.popup.close()
  838. var data = {
  839. projectid: this.projectid,
  840. information: this.information,
  841. account: this.account[0].account_id,
  842. strategy: this.strategy,
  843. },
  844. data = JSON.stringify(data)
  845. console.log("data")
  846. console.log(data)
  847. uni.navigateTo({
  848. url: '/pages/tasksquare/information?textObj=' + encodeURIComponent(data)
  849. });
  850. }
  851. },
  852. beginCanvas() {
  853. this.$refs.mosoweCanvasComponents.createCanvas();
  854. },
  855. _canvasImage(e) {
  856. console.log("url", e)
  857. this.canvasUrl = e;
  858. },
  859. // 保存图片
  860. async saveImage() {
  861. let {
  862. canvasUrl
  863. } = this
  864. let res = await saveImageToPhotosAlbum(canvasUrl)
  865. if (!res.success) return
  866. showToast('保存成功')
  867. this.$refs.popup2.close()
  868. },
  869. toggle2(type) {
  870. if (this.canvasUrl !== '') {
  871. this.type2 = type
  872. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  873. this.$refs.popup2.open(type)
  874. this.$refs.popup1.close()
  875. } else {
  876. this.beginCanvas()
  877. this.type2 = type
  878. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  879. this.$refs.popup2.open(type)
  880. this.$refs.popup1.close()
  881. }
  882. },
  883. }
  884. };
  885. </script>
  886. <style>
  887. /deep/ .share1 .uni-popup .uni-popup__wrapper {
  888. width: 300px !important;
  889. /* height: 500px !important; */
  890. display: flex;
  891. flex-direction: column;
  892. align-items: center;
  893. border-radius: 15rpx !important;
  894. }
  895. /deep/ .share.uni-popup .uni-popup__wrapper {
  896. width: 70%;
  897. border-radius: 15rpx;
  898. }
  899. </style>
  900. <style lang="scss" scoped>
  901. text {
  902. font-size: 24rpx;
  903. }
  904. #coop_box {
  905. // display: flex;
  906. margin-top: 15rpx;
  907. }
  908. #coop_box .coop_box_btn {
  909. display: flex;
  910. justify-content: center;
  911. align-items: center;
  912. // width: 700rpx;
  913. // height: 50rpx;
  914. border: 2px solid #f9f9f9;
  915. border-radius: 15rpx;
  916. font-size: 30rpx;
  917. text-align: center;
  918. // line-height: 40px;
  919. cursor: pointer;
  920. }
  921. .borderColor {
  922. border: 2px solid #f7d43c !important;
  923. }
  924. .offer_input {
  925. width: 50rpx;
  926. border: 1px solid #cccccc;
  927. }
  928. .wvp {
  929. color: #000;
  930. margin: 0 5rpx;
  931. }
  932. .wvp1 {
  933. padding: 0 30rpx;
  934. border-radius: 10rpx;
  935. margin: 0 10rpx;
  936. background-color: #f2d22d;
  937. border: 10rpx;
  938. }
  939. .my-canvas {
  940. position: fixed;
  941. top: -99999999999rpx;
  942. left: -99999999999rpx;
  943. z-index: -99999999999;
  944. opacity: 0;
  945. }
  946. .poster {
  947. width: 100vw;
  948. height: 100vh;
  949. display: flex;
  950. flex-flow: column nowrap;
  951. justify-content: center;
  952. overflow: hidden;
  953. }
  954. .container {
  955. padding: 40rpx;
  956. font-size: 28rpx;
  957. line-height: 48rpx;
  958. }
  959. .butmin {
  960. width: 200rpx;
  961. height: 65rpx;
  962. background-color: #f2d22d;
  963. border-radius: 20rpx;
  964. font-size: 36rpx;
  965. line-height: 2;
  966. }
  967. //视频轮播
  968. .full {
  969. position: relative;
  970. .btns {
  971. position: absolute;
  972. background-color: rgba(255, 255, 255, 0.5);
  973. z-index: 1;
  974. left: 100rpx;
  975. top: 50rpx;
  976. right: 100rpx;
  977. display: flex;
  978. justify-content: space-around;
  979. flex-wrap: wrap;
  980. >view {
  981. height: 60rpx;
  982. line-height: 60rpx;
  983. text-align: center;
  984. padding: 0 20rpx;
  985. }
  986. &.full {
  987. position: relative;
  988. left: 0;
  989. right: 0;
  990. >view {
  991. height: 60rpx;
  992. line-height: 60rpx;
  993. text-align: center;
  994. padding: 0 20rpx;
  995. background-color: rgba(0, 0, 0, 0.1);
  996. margin-bottom: 10rpx;
  997. }
  998. }
  999. }
  1000. }
  1001. //轮播图
  1002. page {
  1003. background-color: #fff;
  1004. }
  1005. .top-swiper {
  1006. margin-bottom: 30rpx;
  1007. .bg {
  1008. padding-top: var(--status-bar-height);
  1009. box-sizing: content-box;
  1010. width: 100%;
  1011. position: relative;
  1012. .image {
  1013. box-sizing: content-box;
  1014. position: absolute;
  1015. z-index: 1;
  1016. top: 0;
  1017. left: 0;
  1018. width: 100%;
  1019. height: 100%;
  1020. overflow: hidden;
  1021. &::after {
  1022. content: '';
  1023. position: absolute;
  1024. width: 100%;
  1025. height: 100%;
  1026. z-index: 1;
  1027. bottom: 0;
  1028. left: 0;
  1029. height: 65%;
  1030. background-image: linear-gradient(to bottom, transparent, #FFF);
  1031. }
  1032. >image {
  1033. position: absolute;
  1034. box-sizing: content-box;
  1035. padding: 60px;
  1036. top: 0;
  1037. left: 0;
  1038. width: 100%;
  1039. height: 80%;
  1040. top: -60px;
  1041. left: -60px;
  1042. filter: blur(50px);
  1043. }
  1044. }
  1045. }
  1046. .box {
  1047. padding-top: var(--status-bar-height);
  1048. box-sizing: content-box;
  1049. // position: absolute;
  1050. z-index: 5;
  1051. top: 0;
  1052. left: 0;
  1053. width: 100%;
  1054. height: auto;
  1055. }
  1056. .swiper {
  1057. height: 450rpx;
  1058. margin: 0 20rpx;
  1059. .le-img {
  1060. width: 100%;
  1061. height: 100%;
  1062. display: block;
  1063. transform: scale(0.8);
  1064. transition: transform 0.3s ease-in-out 0s;
  1065. border-radius: 4px;
  1066. &.le-active {
  1067. transform: scale(1);
  1068. }
  1069. }
  1070. }
  1071. }
  1072. //其他的
  1073. /deep/ .uni-data-checklist .checklist-group .checklist-box {
  1074. border-radius: 20rpx !important;
  1075. padding: 8rpx 30rpx !important;
  1076. border: 0 !important;
  1077. }
  1078. /deep/ .uni-data-checklist .checklist-group .checklist-box .checklist-content .checklist-text {
  1079. font-size: 24rpx;
  1080. color: #333333;
  1081. }
  1082. /deep/ .mini-btn {
  1083. height: 45rpx;
  1084. width: 150rpx;
  1085. line-height: 45rpx;
  1086. margin: 30rpx;
  1087. }
  1088. .butto {
  1089. text-align: center;
  1090. }
  1091. .option {
  1092. padding: 20rpx;
  1093. }
  1094. //轮播图
  1095. .uni-margin-wrap {
  1096. width: 690rpx;
  1097. width: 100%;
  1098. }
  1099. .swiper {
  1100. height: 750rpx;
  1101. display: flex;
  1102. justify-content: center;
  1103. }
  1104. .swiper-item {
  1105. display: block;
  1106. width: 100%;
  1107. height: 750rpx;
  1108. line-height: 750rpx;
  1109. text-align: center;
  1110. }
  1111. .swiper-list {
  1112. margin-bottom: 0;
  1113. }
  1114. .uni-common-mt {
  1115. margin-top: 60rpx;
  1116. position: relative;
  1117. }
  1118. .info {
  1119. position: absolute;
  1120. right: 20rpx;
  1121. }
  1122. .uni-padding-wrap {
  1123. width: 550rpx;
  1124. padding: 0 100rpx;
  1125. }
  1126. .Tasktext {
  1127. // padding-top: 5% ;
  1128. padding: 0 0 0 1%;
  1129. // height: 80rpx;
  1130. margin-top: 2%;
  1131. }
  1132. .Tasktext span {
  1133. color: #333333;
  1134. font-size: 100%;
  1135. font-weight: 550;
  1136. text-indent: 2em;
  1137. }
  1138. .Tasktext image {
  1139. vertical-align: middle;
  1140. width: 50rpx;
  1141. height: 50rpx;
  1142. display: inline-block;
  1143. padding-right: 14rpx;
  1144. }
  1145. .TitleText {
  1146. height: 30rpx;
  1147. background-color: #FDD442;
  1148. border-radius: 20rpx;
  1149. display: inline-block;
  1150. padding: 0rpx 20rpx 0rpx 20rpx;
  1151. line-height: 30rpx;
  1152. margin-right: 20rpx;
  1153. margin-top: 6%;
  1154. }
  1155. .TitleText p {
  1156. color: #C49A0A;
  1157. font-size: 50%;
  1158. }
  1159. .introduction {
  1160. width: 100%;
  1161. margin: 0 auto;
  1162. display: flex;
  1163. // justify-content: space-around;
  1164. margin-top: 2%;
  1165. }
  1166. .rleft p {
  1167. font-size: 24rpx;
  1168. color: #999999;
  1169. }
  1170. .rright p {
  1171. font-size: 24rpx;
  1172. color: #999999;
  1173. }
  1174. .tasks {
  1175. width: 100%;
  1176. margin: 0 auto;
  1177. display: flex;
  1178. justify-content: space-around;
  1179. margin-top: 5%;
  1180. }
  1181. .title-left {
  1182. width: 6rpx;
  1183. height: 80rpx;
  1184. background: #E2E2E2;
  1185. display: inline-block;
  1186. border-radius: 1rpx;
  1187. margin-top: 4rpx;
  1188. vertical-align: top;
  1189. }
  1190. .tasksleft p {
  1191. font-size: 30rpx;
  1192. text-align: center;
  1193. }
  1194. .tasksright p {
  1195. font-size: 30rpx;
  1196. text-align: center;
  1197. }
  1198. .interval {
  1199. width: 100%;
  1200. height: 40rpx;
  1201. background-color: #E4E4E4;
  1202. margin-top: 5%;
  1203. }
  1204. .circularmark {
  1205. margin: 2% auto;
  1206. width: 26%;
  1207. padding: 10rpx;
  1208. background-color: #f2d22d;
  1209. border-radius: 10rpx;
  1210. position: relative;
  1211. }
  1212. .circularmark p {
  1213. font-size: 85%;
  1214. text-align: center;
  1215. font-weight: 800;
  1216. }
  1217. .circularmark image {
  1218. width: 60rpx;
  1219. height: 68rpx;
  1220. position: absolute;
  1221. top: -30%;
  1222. left: -10%;
  1223. }
  1224. .btnn {
  1225. background-color: #3296FA;
  1226. border-radius: 20rpx;
  1227. font-size: 25rpx;
  1228. line-height: 34rpx;
  1229. }
  1230. .markcontent {
  1231. // width: 100%;
  1232. // background-color: #E4E4E4;
  1233. margin: 0 30rpx;
  1234. border-radius: 20rpx;
  1235. padding-top: 2%;
  1236. padding-bottom: 2%;
  1237. }
  1238. .markcontent p {
  1239. font-size: 24rpx;
  1240. // color: #333333;
  1241. // margin: 3% ;
  1242. }
  1243. .markcontent span {
  1244. font-size: 24rpx;
  1245. // color: #333333;
  1246. // margin: 3% ;
  1247. }
  1248. .interval2 {
  1249. width: 100%;
  1250. height: 100rpx;
  1251. background-color: #E4E4E4;
  1252. margin-top: 5%;
  1253. }
  1254. .markcontent1 {
  1255. width: 100%;
  1256. border-radius: 20rpx;
  1257. padding-top: 2%;
  1258. padding-bottom: 2%;
  1259. }
  1260. .markcontent1 p {
  1261. font-size: 24rpx;
  1262. // color: #333333;
  1263. // margin: 3% ;
  1264. // text-indent: 2em;
  1265. }
  1266. .trademark {
  1267. width: 120rpx;
  1268. height: 120rpx;
  1269. border-radius: 50%;
  1270. background-color: #f2d22d;
  1271. margin: 0 auto;
  1272. }
  1273. .trademark image {
  1274. width: 100%;
  1275. height: 100%;
  1276. }
  1277. .diagram {
  1278. width: 100%;
  1279. // height: 1000rpx;
  1280. }
  1281. .diagram image {
  1282. width: 100%;
  1283. // height: 100% ;
  1284. }
  1285. .but1 {
  1286. width: 60%;
  1287. background-color: #f2d22d;
  1288. border-radius: 20rpx;
  1289. font-size: 36rpx;
  1290. line-height: 200%;
  1291. letter-spacing: 10rpx;
  1292. font-weight: 500;
  1293. height: 80%;
  1294. &.on {
  1295. background-color: #C0C0C0;
  1296. }
  1297. }
  1298. /** 必须提升样式优先权(!important) **/
  1299. button[disabled] {
  1300. width: 60%;
  1301. border-radius: 20rpx;
  1302. font-size: 36rpx;
  1303. line-height: 200%;
  1304. letter-spacing: 10rpx;
  1305. font-weight: 500;
  1306. height: 80%;
  1307. color: white !important;
  1308. background: #c4c1c1 !important;
  1309. }
  1310. .but2 {
  1311. width: 25%;
  1312. background-color: #FFFFFF;
  1313. border: 2rpx solid #f2d22d;
  1314. border-radius: 20rpx;
  1315. font-size: 36rpx;
  1316. line-height: 180%;
  1317. letter-spacing: 10rpx;
  1318. font-weight: 500;
  1319. position: relative;
  1320. text-indent: 0.5em;
  1321. height: 80%;
  1322. }
  1323. .but2 image {
  1324. width: 19%;
  1325. height: 56%;
  1326. position: absolute;
  1327. left: 9%;
  1328. top: 21%;
  1329. }
  1330. .signup {
  1331. box-shadow: 0rpx 5rpx 40rpx #ccc;
  1332. width: 100%;
  1333. position: fixed;
  1334. bottom: 0rpx;
  1335. display: flex;
  1336. height: 90rpx;
  1337. padding-top: 2%;
  1338. background-color: #FFFFFF;
  1339. }
  1340. .pick {
  1341. width: 50rpx;
  1342. height: 50rpx;
  1343. vertical-align: middle;
  1344. }
  1345. .nex {
  1346. width: 100rpx;
  1347. height: 20rpx;
  1348. vertical-align: middle;
  1349. }
  1350. .sampledrawing {
  1351. display: flex;
  1352. width: 96%;
  1353. margin: 0 auto;
  1354. }
  1355. .samplecharacter {
  1356. flex: 1;
  1357. margin-top: 2%;
  1358. }
  1359. .samplecharacter p {
  1360. padding: 1%;
  1361. }
  1362. /deep/.uni-popup__content {
  1363. background-color: #4CD964;
  1364. border-radius: 20rpx !important;
  1365. }
  1366. /deep/.uni-popup__mask {
  1367. background: rgba(0, 0, 0, 0.5) !important;
  1368. }
  1369. .butto {
  1370. text-align: center;
  1371. }
  1372. /deep/ .mini-btn {
  1373. height: 70rpx;
  1374. width: 300rpx;
  1375. line-height: 70rpx;
  1376. margin: 10rpx;
  1377. font-size: 80%;
  1378. box-shadow: 0rpx 0rpx 0rpx 5rpx #f2d22d;
  1379. border: 0rpx solid #f2d22d !important;
  1380. }
  1381. /deep/ .uni-data-checklist .checklist-group .checklist-box.is--tag {
  1382. background-color: #FFFFFF !important;
  1383. box-shadow: 0rpx 0rpx 6rpx 0rpx #464100;
  1384. border-radius: 10rpx !important;
  1385. }
  1386. /deep/ .uni-data-checklist .checklist-group .checklist-box.is--tag.is-checked {
  1387. background-color: #f2d22d !important;
  1388. }
  1389. /deep/.uni-data-checklist .checklist-group .checklist-box.is--tag.is-checked .checklist-text {
  1390. color: #333333 !important;
  1391. }
  1392. /deep/.buu .uni-data-checklist .checklist-group {
  1393. flex-direction: column !important;
  1394. }
  1395. .surplus p {
  1396. margin-bottom: 17%;
  1397. margin-top: 8%;
  1398. font-size: 80%;
  1399. }
  1400. .circular {
  1401. width: 120rpx;
  1402. height: 120rpx;
  1403. border-radius: 50%;
  1404. background-color: #28EA71;
  1405. margin: 0 auto;
  1406. }
  1407. .circular image {
  1408. width: 60%;
  1409. height: 60%;
  1410. padding: 20%;
  1411. }
  1412. .tii {
  1413. text-align: center;
  1414. font-size: 26rpx;
  1415. margin-top: 2%;
  1416. }
  1417. .tii2 {
  1418. text-align: center;
  1419. font-size: 26rpx;
  1420. margin-top: 2%;
  1421. background-color: #FFFFFF;
  1422. }
  1423. .errar {
  1424. background-color: #FFFFFF;
  1425. }
  1426. .sharepage {
  1427. width: 90%;
  1428. margin: 0 auto;
  1429. position: relative;
  1430. }
  1431. .Tasktext1 {
  1432. // padding-top: 5% ;
  1433. padding: 0 0 0 1%;
  1434. height: 80rpx;
  1435. margin-top: 7%;
  1436. text-align: center;
  1437. }
  1438. .Tasktext1 span {
  1439. color: #333333;
  1440. font-size: 100%;
  1441. font-weight: 550;
  1442. text-indent: 2em;
  1443. }
  1444. .Tasktext1 image {
  1445. vertical-align: middle;
  1446. width: 80rpx;
  1447. height: 80rpx;
  1448. display: inline-block;
  1449. padding-right: 14rpx;
  1450. }
  1451. .sharemap {
  1452. margin: 0 auto;
  1453. text-align: center;
  1454. margin-top: 5%;
  1455. }
  1456. .sharemap image {
  1457. width: 400rpx;
  1458. height: 400rpx;
  1459. }
  1460. .Tasktext2 {
  1461. // padding-top: 5% ;
  1462. padding: 0 0 0 1%;
  1463. // height: 80rpx;
  1464. margin-top: 2%;
  1465. // text-align: center;
  1466. }
  1467. .Tasktext2 span {
  1468. color: #333333;
  1469. font-size: 88%;
  1470. font-weight: 600;
  1471. text-indent: 2em;
  1472. }
  1473. .Tasktext2 image {
  1474. vertical-align: middle;
  1475. width: 30rpx;
  1476. height: 30rpx;
  1477. display: inline-block;
  1478. padding-right: 14rpx;
  1479. }
  1480. .textti p {
  1481. font-size: 60%;
  1482. color: #999999;
  1483. text-align: center;
  1484. }
  1485. .immg image {
  1486. width: 200rpx;
  1487. height: 200rpx;
  1488. }
  1489. .immg {
  1490. line-height: 150%;
  1491. }
  1492. .immg p {
  1493. color: #333333;
  1494. font-size: 90%;
  1495. font-weight: 600;
  1496. }
  1497. .warr p {
  1498. font-weight: 500;
  1499. font-size: 90%;
  1500. &.lor {
  1501. border-bottom: 2rpx solid #f2d22d;
  1502. }
  1503. }
  1504. .label {
  1505. // font-weight: 600;
  1506. width: 130rpx;
  1507. }
  1508. </style>