specialTaskDetail.vue 35 KB

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