specialTaskDetail.vue 35 KB

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