selectiondetail.vue 44 KB

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