specialTaskDetail.vue 37 KB

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