specialTaskDetail.vue 36 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670
  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_location === 0) {
  752. // 前往个人信息绑定三合一界面
  753. uni.showModal({
  754. content: '请先绑定个人信息',
  755. success: function(res) {
  756. if (res.confirm) {
  757. if (that.account.length === 0) {
  758. uni.navigateTo({
  759. url: '/pages/tasksquare/bindinfo?platform_id=' +
  760. that
  761. .information.project_platform
  762. })
  763. } else {
  764. uni.navigateTo({
  765. url: '/pages/tasksquare/bindinfo?platform_id=' +
  766. that.information.project_platform +
  767. '&account_id=' +
  768. that.account[0].account_id
  769. })
  770. };
  771. } else if (res.cancel) {
  772. console.log('用户点击取消');
  773. }
  774. }
  775. });
  776. } else if (that.account.length === 0) {
  777. uni.showModal({
  778. content: '请先绑定社媒账号',
  779. success: function(res) {
  780. if (res.confirm) {
  781. uni.navigateTo({
  782. url: '/pages/mycenter/myinformation/bindaccount?platform_id=' +
  783. that.information.project_platform
  784. });
  785. } else if (res.cancel) {
  786. console.log('用户点击取消');
  787. }
  788. }
  789. });
  790. } else {
  791. var data = {
  792. projectid: that.projectid,
  793. information: that.information,
  794. account: that.account[0].account_id,
  795. },
  796. data = JSON.stringify(data)
  797. uni.navigateTo({
  798. url: '/pages/tasksquare/specialTask/information?textObj=' + encodeURIComponent(
  799. data)
  800. });
  801. }
  802. },
  803. toggle1(type) {
  804. this.type1 = type
  805. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  806. this.$refs.popup1.open(type)
  807. },
  808. cancel() {
  809. this.$refs.popup1.close()
  810. },
  811. // 更新账号
  812. Reset() {
  813. console.log("Reset func running")
  814. uni.navigateTo({
  815. url: '/pages/mycenter/myinformation/bindaccount?platform_id=' + this
  816. .information
  817. .project_platform + '&account_id=' + this.account[0].account_id,
  818. success(res) {
  819. console.log(res);
  820. },
  821. fail(err) {
  822. console.log(err);
  823. }
  824. });
  825. },
  826. //进入信息确认页面
  827. determine() {
  828. console.log(this.strategy_id)
  829. if (this.strategy_id === 0 || this.strategy === null) {
  830. uni.showToast({
  831. title: '请选择合作方式',
  832. icon: 'none',
  833. duration: 2000
  834. });
  835. } else if (this.account[0].fans_count < this.strategy.followers_low) {
  836. // 提示“粉丝量不符合报名条件”
  837. uni.showToast({
  838. title: '粉丝量不符合报名条件',
  839. icon: 'none',
  840. duration: 2000
  841. });
  842. } else if (this.strategy.fee_form === 3 && this.strategy.offer === 0) {
  843. console.log(this.strategy)
  844. uni.showToast({
  845. title: '请填写自报价金额',
  846. icon: 'none',
  847. duration: 2000
  848. });
  849. } else {
  850. this.$refs.popup.close()
  851. var data = {
  852. projectid: this.projectid,
  853. information: this.information,
  854. account: this.account[0].account_id,
  855. strategy: this.strategy,
  856. },
  857. data = JSON.stringify(data)
  858. console.log("data")
  859. console.log(data)
  860. uni.navigateTo({
  861. url: '/pages/tasksquare/information?textObj=' + encodeURIComponent(data)
  862. });
  863. }
  864. },
  865. beginCanvas() {
  866. this.$refs.mosoweCanvasComponents.createCanvas();
  867. },
  868. _canvasImage(e) {
  869. console.log("url", e)
  870. this.canvasUrl = e;
  871. },
  872. // 保存图片
  873. async saveImage() {
  874. let {
  875. canvasUrl
  876. } = this
  877. let res = await saveImageToPhotosAlbum(canvasUrl)
  878. if (!res.success) return
  879. showToast('保存成功')
  880. this.$refs.popup2.close()
  881. },
  882. toggle2(type) {
  883. if (this.canvasUrl !== '') {
  884. this.type2 = type
  885. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  886. this.$refs.popup2.open(type)
  887. this.$refs.popup1.close()
  888. } else {
  889. this.beginCanvas()
  890. this.type2 = type
  891. // open 方法传入参数 等同在 uni-popup 组件上绑定 type属性
  892. this.$refs.popup2.open(type)
  893. this.$refs.popup1.close()
  894. }
  895. },
  896. }
  897. };
  898. </script>
  899. <style>
  900. /deep/ .share1 .uni-popup .uni-popup__wrapper {
  901. width: 300px !important;
  902. /* height: 500px !important; */
  903. display: flex;
  904. flex-direction: column;
  905. align-items: center;
  906. border-radius: 15rpx !important;
  907. }
  908. /deep/ .share.uni-popup .uni-popup__wrapper {
  909. width: 70%;
  910. border-radius: 15rpx;
  911. }
  912. </style>
  913. <style lang="scss" scoped>
  914. text {
  915. font-size: 24rpx;
  916. }
  917. #coop_box {
  918. // display: flex;
  919. margin-top: 15rpx;
  920. }
  921. #coop_box .coop_box_btn {
  922. display: flex;
  923. justify-content: center;
  924. align-items: center;
  925. // width: 700rpx;
  926. // height: 50rpx;
  927. border: 2px solid #f9f9f9;
  928. border-radius: 15rpx;
  929. font-size: 30rpx;
  930. text-align: center;
  931. // line-height: 40px;
  932. cursor: pointer;
  933. }
  934. .borderColor {
  935. border: 2px solid #f7d43c !important;
  936. }
  937. .offer_input {
  938. width: 50rpx;
  939. border: 1px solid #cccccc;
  940. }
  941. .wvp {
  942. color: #000;
  943. margin: 0 5rpx;
  944. }
  945. .wvp1 {
  946. padding: 0 30rpx;
  947. border-radius: 10rpx;
  948. margin: 0 10rpx;
  949. background-color: #f2d22d;
  950. border: 10rpx;
  951. }
  952. .my-canvas {
  953. position: fixed;
  954. top: -99999999999rpx;
  955. left: -99999999999rpx;
  956. z-index: -99999999999;
  957. opacity: 0;
  958. }
  959. .poster {
  960. width: 100vw;
  961. height: 100vh;
  962. display: flex;
  963. flex-flow: column nowrap;
  964. justify-content: center;
  965. overflow: hidden;
  966. }
  967. .container {
  968. padding: 40rpx;
  969. font-size: 28rpx;
  970. line-height: 48rpx;
  971. }
  972. .butmin {
  973. width: 200rpx;
  974. height: 65rpx;
  975. background-color: #f2d22d;
  976. border-radius: 20rpx;
  977. font-size: 36rpx;
  978. line-height: 2;
  979. }
  980. //视频轮播
  981. .full {
  982. position: relative;
  983. .btns {
  984. position: absolute;
  985. background-color: rgba(255, 255, 255, 0.5);
  986. z-index: 1;
  987. left: 100rpx;
  988. top: 50rpx;
  989. right: 100rpx;
  990. display: flex;
  991. justify-content: space-around;
  992. flex-wrap: wrap;
  993. >view {
  994. height: 60rpx;
  995. line-height: 60rpx;
  996. text-align: center;
  997. padding: 0 20rpx;
  998. }
  999. &.full {
  1000. position: relative;
  1001. left: 0;
  1002. right: 0;
  1003. >view {
  1004. height: 60rpx;
  1005. line-height: 60rpx;
  1006. text-align: center;
  1007. padding: 0 20rpx;
  1008. background-color: rgba(0, 0, 0, 0.1);
  1009. margin-bottom: 10rpx;
  1010. }
  1011. }
  1012. }
  1013. }
  1014. //轮播图
  1015. page {
  1016. background-color: #fff;
  1017. }
  1018. .top-swiper {
  1019. margin-bottom: 30rpx;
  1020. .bg {
  1021. padding-top: var(--status-bar-height);
  1022. box-sizing: content-box;
  1023. width: 100%;
  1024. position: relative;
  1025. .image {
  1026. box-sizing: content-box;
  1027. position: absolute;
  1028. z-index: 1;
  1029. top: 0;
  1030. left: 0;
  1031. width: 100%;
  1032. height: 100%;
  1033. overflow: hidden;
  1034. &::after {
  1035. content: '';
  1036. position: absolute;
  1037. width: 100%;
  1038. height: 100%;
  1039. z-index: 1;
  1040. bottom: 0;
  1041. left: 0;
  1042. height: 65%;
  1043. background-image: linear-gradient(to bottom, transparent, #FFF);
  1044. }
  1045. >image {
  1046. position: absolute;
  1047. box-sizing: content-box;
  1048. padding: 60px;
  1049. top: 0;
  1050. left: 0;
  1051. width: 100%;
  1052. height: 80%;
  1053. top: -60px;
  1054. left: -60px;
  1055. filter: blur(50px);
  1056. }
  1057. }
  1058. }
  1059. .box {
  1060. padding-top: var(--status-bar-height);
  1061. box-sizing: content-box;
  1062. // position: absolute;
  1063. z-index: 5;
  1064. top: 0;
  1065. left: 0;
  1066. width: 100%;
  1067. height: auto;
  1068. }
  1069. .swiper {
  1070. height: 450rpx;
  1071. margin: 0 20rpx;
  1072. .le-img {
  1073. width: 100%;
  1074. height: 100%;
  1075. display: block;
  1076. transform: scale(0.8);
  1077. transition: transform 0.3s ease-in-out 0s;
  1078. border-radius: 4px;
  1079. &.le-active {
  1080. transform: scale(1);
  1081. }
  1082. }
  1083. }
  1084. }
  1085. //其他的
  1086. /deep/ .uni-data-checklist .checklist-group .checklist-box {
  1087. border-radius: 20rpx !important;
  1088. padding: 8rpx 30rpx !important;
  1089. border: 0 !important;
  1090. }
  1091. /deep/ .uni-data-checklist .checklist-group .checklist-box .checklist-content .checklist-text {
  1092. font-size: 24rpx;
  1093. color: #333333;
  1094. }
  1095. /deep/ .mini-btn {
  1096. height: 45rpx;
  1097. width: 150rpx;
  1098. line-height: 45rpx;
  1099. margin: 30rpx;
  1100. }
  1101. .butto {
  1102. text-align: center;
  1103. }
  1104. .option {
  1105. padding: 20rpx;
  1106. }
  1107. //轮播图
  1108. .uni-margin-wrap {
  1109. width: 690rpx;
  1110. width: 100%;
  1111. }
  1112. .swiper {
  1113. height: 750rpx;
  1114. display: flex;
  1115. justify-content: center;
  1116. }
  1117. .swiper-item {
  1118. display: block;
  1119. width: 100%;
  1120. height: 750rpx;
  1121. line-height: 750rpx;
  1122. text-align: center;
  1123. }
  1124. .swiper-list {
  1125. margin-bottom: 0;
  1126. }
  1127. .uni-common-mt {
  1128. margin-top: 60rpx;
  1129. position: relative;
  1130. }
  1131. .info {
  1132. position: absolute;
  1133. right: 20rpx;
  1134. }
  1135. .uni-padding-wrap {
  1136. width: 550rpx;
  1137. padding: 0 100rpx;
  1138. }
  1139. .Tasktext {
  1140. // padding-top: 5% ;
  1141. padding: 0 0 0 1%;
  1142. // height: 80rpx;
  1143. margin-top: 2%;
  1144. }
  1145. .Tasktext span {
  1146. color: #333333;
  1147. font-size: 100%;
  1148. font-weight: 550;
  1149. text-indent: 2em;
  1150. }
  1151. .Tasktext image {
  1152. vertical-align: middle;
  1153. width: 50rpx;
  1154. height: 50rpx;
  1155. display: inline-block;
  1156. padding-right: 14rpx;
  1157. }
  1158. .TitleText {
  1159. height: 30rpx;
  1160. background-color: #FDD442;
  1161. border-radius: 20rpx;
  1162. display: inline-block;
  1163. padding: 0rpx 20rpx 0rpx 20rpx;
  1164. line-height: 30rpx;
  1165. margin-right: 20rpx;
  1166. margin-top: 6%;
  1167. }
  1168. .TitleText p {
  1169. color: #C49A0A;
  1170. font-size: 50%;
  1171. }
  1172. .introduction {
  1173. width: 100%;
  1174. margin: 0 auto;
  1175. display: flex;
  1176. // justify-content: space-around;
  1177. margin-top: 2%;
  1178. }
  1179. .rleft p {
  1180. font-size: 24rpx;
  1181. color: #999999;
  1182. }
  1183. .rright p {
  1184. font-size: 24rpx;
  1185. color: #999999;
  1186. }
  1187. .tasks {
  1188. width: 100%;
  1189. margin: 0 auto;
  1190. display: flex;
  1191. justify-content: space-around;
  1192. margin-top: 5%;
  1193. }
  1194. .title-left {
  1195. width: 6rpx;
  1196. height: 80rpx;
  1197. background: #E2E2E2;
  1198. display: inline-block;
  1199. border-radius: 1rpx;
  1200. margin-top: 4rpx;
  1201. vertical-align: top;
  1202. }
  1203. .tasksleft p {
  1204. font-size: 30rpx;
  1205. text-align: center;
  1206. }
  1207. .tasksright p {
  1208. font-size: 30rpx;
  1209. text-align: center;
  1210. }
  1211. .interval {
  1212. width: 100%;
  1213. height: 40rpx;
  1214. background-color: #E4E4E4;
  1215. margin-top: 5%;
  1216. }
  1217. .circularmark {
  1218. margin: 2% auto;
  1219. width: 26%;
  1220. padding: 10rpx;
  1221. background-color: #f2d22d;
  1222. border-radius: 10rpx;
  1223. position: relative;
  1224. }
  1225. .circularmark p {
  1226. font-size: 85%;
  1227. text-align: center;
  1228. font-weight: 800;
  1229. }
  1230. .circularmark image {
  1231. width: 60rpx;
  1232. height: 68rpx;
  1233. position: absolute;
  1234. top: -30%;
  1235. left: -10%;
  1236. }
  1237. .btnn {
  1238. background-color: #3296FA;
  1239. border-radius: 20rpx;
  1240. font-size: 25rpx;
  1241. line-height: 34rpx;
  1242. }
  1243. .markcontent {
  1244. // width: 100%;
  1245. // background-color: #E4E4E4;
  1246. margin: 0 30rpx;
  1247. border-radius: 20rpx;
  1248. padding-top: 2%;
  1249. padding-bottom: 2%;
  1250. }
  1251. .markcontent p {
  1252. font-size: 24rpx;
  1253. // color: #333333;
  1254. // margin: 3% ;
  1255. }
  1256. .markcontent span {
  1257. font-size: 24rpx;
  1258. // color: #333333;
  1259. // margin: 3% ;
  1260. }
  1261. .interval2 {
  1262. width: 100%;
  1263. height: 100rpx;
  1264. background-color: #E4E4E4;
  1265. margin-top: 5%;
  1266. }
  1267. .markcontent1 {
  1268. width: 100%;
  1269. border-radius: 20rpx;
  1270. padding-top: 2%;
  1271. padding-bottom: 2%;
  1272. }
  1273. .markcontent1 p {
  1274. font-size: 24rpx;
  1275. // color: #333333;
  1276. // margin: 3% ;
  1277. // text-indent: 2em;
  1278. }
  1279. .trademark {
  1280. width: 120rpx;
  1281. height: 120rpx;
  1282. border-radius: 50%;
  1283. background-color: #f2d22d;
  1284. margin: 0 auto;
  1285. }
  1286. .trademark image {
  1287. width: 100%;
  1288. height: 100%;
  1289. }
  1290. .diagram {
  1291. width: 100%;
  1292. // height: 1000rpx;
  1293. }
  1294. .diagram image {
  1295. width: 100%;
  1296. // height: 100% ;
  1297. }
  1298. .but1 {
  1299. width: 60%;
  1300. background-color: #f2d22d;
  1301. border-radius: 20rpx;
  1302. font-size: 36rpx;
  1303. line-height: 200%;
  1304. letter-spacing: 10rpx;
  1305. font-weight: 500;
  1306. height: 80%;
  1307. &.on {
  1308. background-color: #C0C0C0;
  1309. }
  1310. }
  1311. /** 必须提升样式优先权(!important) **/
  1312. button[disabled] {
  1313. width: 60%;
  1314. border-radius: 20rpx;
  1315. font-size: 36rpx;
  1316. line-height: 200%;
  1317. letter-spacing: 10rpx;
  1318. font-weight: 500;
  1319. height: 80%;
  1320. color: white !important;
  1321. background: #c4c1c1 !important;
  1322. }
  1323. .but2 {
  1324. width: 25%;
  1325. background-color: #FFFFFF;
  1326. border: 2rpx solid #f2d22d;
  1327. border-radius: 20rpx;
  1328. font-size: 36rpx;
  1329. line-height: 180%;
  1330. letter-spacing: 10rpx;
  1331. font-weight: 500;
  1332. position: relative;
  1333. text-indent: 0.5em;
  1334. height: 80%;
  1335. }
  1336. .but2 image {
  1337. width: 19%;
  1338. height: 56%;
  1339. position: absolute;
  1340. left: 9%;
  1341. top: 21%;
  1342. }
  1343. .signup {
  1344. box-shadow: 0rpx 5rpx 40rpx #ccc;
  1345. width: 100%;
  1346. position: fixed;
  1347. bottom: 0rpx;
  1348. display: flex;
  1349. height: 90rpx;
  1350. padding-top: 2%;
  1351. background-color: #FFFFFF;
  1352. }
  1353. .pick {
  1354. width: 50rpx;
  1355. height: 50rpx;
  1356. vertical-align: middle;
  1357. }
  1358. .nex {
  1359. width: 100rpx;
  1360. height: 20rpx;
  1361. vertical-align: middle;
  1362. }
  1363. .sampledrawing {
  1364. display: flex;
  1365. width: 96%;
  1366. margin: 0 auto;
  1367. }
  1368. .samplecharacter {
  1369. flex: 1;
  1370. margin-top: 2%;
  1371. }
  1372. .samplecharacter p {
  1373. padding: 1%;
  1374. }
  1375. /deep/.uni-popup__content {
  1376. background-color: #4CD964;
  1377. border-radius: 20rpx !important;
  1378. }
  1379. /deep/.uni-popup__mask {
  1380. background: rgba(0, 0, 0, 0.5) !important;
  1381. }
  1382. .butto {
  1383. text-align: center;
  1384. }
  1385. /deep/ .mini-btn {
  1386. height: 70rpx;
  1387. width: 300rpx;
  1388. line-height: 70rpx;
  1389. margin: 10rpx;
  1390. font-size: 80%;
  1391. box-shadow: 0rpx 0rpx 0rpx 5rpx #f2d22d;
  1392. border: 0rpx solid #f2d22d !important;
  1393. }
  1394. /deep/ .uni-data-checklist .checklist-group .checklist-box.is--tag {
  1395. background-color: #FFFFFF !important;
  1396. box-shadow: 0rpx 0rpx 6rpx 0rpx #464100;
  1397. border-radius: 10rpx !important;
  1398. }
  1399. /deep/ .uni-data-checklist .checklist-group .checklist-box.is--tag.is-checked {
  1400. background-color: #f2d22d !important;
  1401. }
  1402. /deep/.uni-data-checklist .checklist-group .checklist-box.is--tag.is-checked .checklist-text {
  1403. color: #333333 !important;
  1404. }
  1405. /deep/.buu .uni-data-checklist .checklist-group {
  1406. flex-direction: column !important;
  1407. }
  1408. .surplus p {
  1409. margin-bottom: 17%;
  1410. margin-top: 8%;
  1411. font-size: 80%;
  1412. }
  1413. .circular {
  1414. width: 120rpx;
  1415. height: 120rpx;
  1416. border-radius: 50%;
  1417. background-color: #28EA71;
  1418. margin: 0 auto;
  1419. }
  1420. .circular image {
  1421. width: 60%;
  1422. height: 60%;
  1423. padding: 20%;
  1424. }
  1425. .tii {
  1426. text-align: center;
  1427. font-size: 26rpx;
  1428. margin-top: 2%;
  1429. }
  1430. .tii2 {
  1431. text-align: center;
  1432. font-size: 26rpx;
  1433. margin-top: 2%;
  1434. background-color: #FFFFFF;
  1435. }
  1436. .errar {
  1437. background-color: #FFFFFF;
  1438. }
  1439. .sharepage {
  1440. width: 90%;
  1441. margin: 0 auto;
  1442. position: relative;
  1443. }
  1444. .Tasktext1 {
  1445. // padding-top: 5% ;
  1446. padding: 0 0 0 1%;
  1447. height: 80rpx;
  1448. margin-top: 7%;
  1449. text-align: center;
  1450. }
  1451. .Tasktext1 span {
  1452. color: #333333;
  1453. font-size: 100%;
  1454. font-weight: 550;
  1455. text-indent: 2em;
  1456. }
  1457. .Tasktext1 image {
  1458. vertical-align: middle;
  1459. width: 80rpx;
  1460. height: 80rpx;
  1461. display: inline-block;
  1462. padding-right: 14rpx;
  1463. }
  1464. .sharemap {
  1465. margin: 0 auto;
  1466. text-align: center;
  1467. margin-top: 5%;
  1468. }
  1469. .sharemap image {
  1470. width: 400rpx;
  1471. height: 400rpx;
  1472. }
  1473. .Tasktext2 {
  1474. // padding-top: 5% ;
  1475. padding: 0 0 0 1%;
  1476. // height: 80rpx;
  1477. margin-top: 2%;
  1478. // text-align: center;
  1479. }
  1480. .Tasktext2 span {
  1481. color: #333333;
  1482. font-size: 88%;
  1483. font-weight: 600;
  1484. text-indent: 2em;
  1485. }
  1486. .Tasktext2 image {
  1487. vertical-align: middle;
  1488. width: 30rpx;
  1489. height: 30rpx;
  1490. display: inline-block;
  1491. padding-right: 14rpx;
  1492. }
  1493. .textti p {
  1494. font-size: 60%;
  1495. color: #999999;
  1496. text-align: center;
  1497. }
  1498. .immg image {
  1499. width: 200rpx;
  1500. height: 200rpx;
  1501. }
  1502. .immg {
  1503. line-height: 150%;
  1504. }
  1505. .immg p {
  1506. color: #333333;
  1507. font-size: 90%;
  1508. font-weight: 600;
  1509. }
  1510. .warr p {
  1511. font-weight: 500;
  1512. font-size: 90%;
  1513. &.lor {
  1514. border-bottom: 2rpx solid #f2d22d;
  1515. }
  1516. }
  1517. .label {
  1518. // font-weight: 600;
  1519. width: 130rpx;
  1520. }
  1521. </style>