taskdetail.vue 37 KB

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