index.vue 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  1. <template>
  2. <view>
  3. <!-- 头部背景和搜索 -->
  4. <view>
  5. <image :src="appConfig.policy_top_bg" class="w-full" mode="widthFix"></image>
  6. </view>
  7. <!-- tab -->
  8. <u-tabs :list="typeList" :is-scroll="false" :bold="true" active-color="#DD4250" height="80" font-size="28"
  9. :current="currentTab" @change="changeTab" />
  10. <!-- 我是人才 -->
  11. <view class="p-70 p-t-40 talent-tab" v-if="currentTab == 0">
  12. <view class="flex-col col-center">
  13. <!-- <view class="title">您所从事的行业:</view> -->
  14. <router-link :to="{ path: '/pages/policy/talent', query: { type: item.type, title: item.title }}"
  15. class="m-t-20" v-for="(item,index) in talentTypeList">
  16. <image :src="item.image" mode="widthFix"></image>
  17. </router-link>
  18. </view>
  19. </view>
  20. <!-- 测试默认现代产业表单提交 -->
  21. <view class="huodong-details" v-if="currentTab == 999">
  22. <view class="p-30 ">
  23. <view class="detail-title">
  24. 人才信息提交
  25. </view>
  26. <view class="content-box bg-white m-t-30">
  27. <view class="detail-cell row-between u-border-bottom" v-for="(item, index) in surveyList"
  28. @tap="pickerShow(item.name)" v-if="item.type != 'array'">
  29. <view class="width75">
  30. {{item.description}}
  31. </view>
  32. <view class="text-right flex-1" v-if="item.type == 'radio' || item.type == 'select'">
  33. <text class="muted">{{item.value[survey[item.name]]}}</text>
  34. <u-icon name="arrow-right" size="28" color="#B8B8B8" label-pos="left"></u-icon>
  35. <u-picker v-model="show[item.name]" mode="selector" :range="item.value"
  36. @confirm="pickerConfirm(index, $event)" @cancel="pickerCancel(index)"></u-picker>
  37. </view>
  38. <view class="text-right flex-1" v-if="item.type == 'checkbox'">
  39. <u-checkbox-group shape="circle" active-color="#DD4250" :name="item.name"
  40. @change="groupChange(index, $event)">
  41. <u-checkbox :name="value" v-for="(value, key) in item.value" :key="key"
  42. v-model="item.checked[key]">
  43. {{value}}
  44. </u-checkbox>
  45. </u-checkbox-group>
  46. </view>
  47. <view class="text-right flex-1" v-if="item.type == 'text'">
  48. <cus-selects :data="item.value" v-model="survey[item.name]" :clearable='true'
  49. :filterable='true' :searchType='1' arrLeft='300' placeholder='输入搜索'></cus-selects>
  50. </view>
  51. </view>
  52. <view class="detail-cell row-between u-border-bottom">
  53. <view class="bold">
  54. 验证码
  55. </view>
  56. <view class="text-right flex-1 flex row-right">
  57. <input type="text" v-model="survey.code" placeholder="请输入">
  58. <image :src="captchaImg" mode="heightFix" style="height: 54rpx;" class="m-l-10"
  59. @tap="refreshCaptcha"></image>
  60. </view>
  61. </view>
  62. </view>
  63. </view>
  64. <view class="footer">
  65. <button class="white btn lg" @click="handleConsult">提交</button>
  66. </view>
  67. </view>
  68. <!-- 我是企业 -->
  69. <view v-if="currentTab == 1">
  70. <view class="huodong-details">
  71. <view class="p-30 ">
  72. <view class="detail-title">
  73. 一、企业基本信息
  74. </view>
  75. <view class="content-box bg-white m-t-30">
  76. <view class="detail-cell row-between u-border-bottom">
  77. <view class="width75">
  78. 企业名称
  79. </view>
  80. <view class="text-right flex-1">
  81. <input type="text" v-model="info.name" placeholder="请输入">
  82. </view>
  83. </view>
  84. <view class="detail-cell row-between u-border-bottom" @tap="pickerShow('estdate')">
  85. <view class="bold">
  86. 企业成立日期
  87. </view>
  88. <view class="text-right flex-1">
  89. <text class="muted">{{info.estdate}}</text>
  90. <u-icon name="arrow-right" size="28" color="#B8B8B8" :label="info.estdate ? '' :'请选择'"
  91. label-pos="left"></u-icon>
  92. <u-picker v-model="show.estdate" mode="time" @confirm="pickerConfirm('estdate', $event)"
  93. @cancel="pickerCancel('estdate')"></u-picker>
  94. </view>
  95. </view>
  96. <view class="detail-cell row-between u-border-bottom">
  97. <view class="bold">
  98. 企业注册地
  99. </view>
  100. <view class="text-right flex-1">
  101. <input type="text" v-model="info.address" placeholder="请输入">
  102. </view>
  103. </view>
  104. <view class="detail-cell row-between u-border-bottom">
  105. <view class="bold">
  106. 企业实际经营地
  107. </view>
  108. <view class="text-right flex-1">
  109. <input type="text" v-model="info.busAddress" placeholder="请输入">
  110. </view>
  111. </view>
  112. <view class="detail-cell row-between u-border-bottom">
  113. <view class="bold">
  114. 企业有效l类知识产权数
  115. </view>
  116. <view class="text-right flex-1">
  117. <input type="text" v-model="info.propertyNumber" placeholder="请输入">
  118. </view>
  119. </view>
  120. <view class="detail-cell row-between u-border-bottom">
  121. <view class="bold" style="width: 400rpx;">
  122. 有效、高企认定中未使用过的II类知识产权数
  123. </view>
  124. <view class="text-right flex-1">
  125. <input type="text" v-model="info.propertyNumber2" placeholder="请输入">
  126. </view>
  127. </view>
  128. <view class="detail-cell row-between u-border-bottom" @tap="pickerShow('propertyMode')">
  129. <view class="bold">
  130. 知识产权获取方式
  131. </view>
  132. <view class="text-right flex-1">
  133. <text class="muted">{{propertyMode.label}}</text>
  134. <u-icon name="arrow-right" size="28" color="#B8B8B8" :label="propertyMode ? '' :'请选择'"
  135. label-pos="left"></u-icon>
  136. <u-select v-model="show.propertyMode" mode="single-column" :list="propertyModeList"
  137. @confirm="pickerConfirm('propertyMode', $event)"></u-select>
  138. </view>
  139. </view>
  140. <view class="detail-cell row-between u-border-bottom" @tap="pickerShow('isStandard')">
  141. <view class="bold" style="width: 400rpx;">
  142. 企业参与编制国家标准、行业标准检测方法、技术规范的情况
  143. </view>
  144. <view class="text-right flex-1">
  145. <text class="muted">{{isStandard.label}}</text>
  146. <u-icon name="arrow-right" size="28" color="#B8B8B8" :label="isStandard ? '' :'请选择'"
  147. label-pos="left"></u-icon>
  148. <u-select v-model="show.isStandard" mode="single-column" :list="isStandardList"
  149. @confirm="pickerConfirm('isStandard', $event)"></u-select>
  150. </view>
  151. </view>
  152. <view class="detail-cell row-between u-border-bottom">
  153. <view class="bold flex" style="width: 400rpx;">
  154. <view>科技成果数</view>
  155. <view class="m-l-8 m-r-8 primary" style="font-size: 20rpx;">科技成果数有效期提示</view>
  156. <u-icon name="info-circle" color="#DD4250"></u-icon>
  157. </view>
  158. <view class="text-right flex-1">
  159. <input type="text" v-model="info.achievementNumber" placeholder="请输入">
  160. </view>
  161. </view>
  162. </view>
  163. <view class="detail-title m-t-30">
  164. 二、研发组织管理水平评测(多选)
  165. </view>
  166. <view class="content-box m-t-30 bj-w ">
  167. <!-- <u-checkbox-group shape="circle" active-color="#DD4250">
  168. <view class="m-t-15 m-b-15" v-for="(item, index) in manageLevelList" :key="index">
  169. <u-checkbox v-model="item.checked" :name="item.name">{{item.name}}</u-checkbox>
  170. </view>
  171. </u-checkbox-group> -->
  172. <u-checkbox-group shape="circle" active-color="#DD4250">
  173. <u-checkbox :name="item.name" v-for="(item, index) in manageLevelList" :key="index"
  174. v-model="item.checked" @change="checkboxChange($event)">
  175. {{item.label}}
  176. </u-checkbox>
  177. </u-checkbox-group>
  178. </view>
  179. <view class="detail-title m-t-30">
  180. 三、企业成长性评测
  181. </view>
  182. <view class="content-box m-t-30 bj-w ">
  183. <view class="detail-title p-t-30">
  184. 第一年
  185. </view>
  186. <view class="detail-cell row-between ">
  187. <view class="bold">
  188. 净资产(万元)
  189. </view>
  190. <view class="text-right flex-1">
  191. <input type="text" v-model="info.netAssets1" placeholder="请输入">
  192. </view>
  193. </view>
  194. <view class="detail-cell row-between u-border-bottom">
  195. <view class="bold">
  196. 销售收入(万元)
  197. </view>
  198. <view class="text-right flex-1">
  199. <input type="text" v-model="info.saleRevenue1" placeholder="请输入">
  200. </view>
  201. </view>
  202. <view class="detail-title p-t-30">
  203. 第二年
  204. </view>
  205. <view class="detail-cell row-between ">
  206. <view class="bold">
  207. 净资产(万元)
  208. </view>
  209. <view class="text-right flex-1">
  210. <input type="text" v-model="info.netAssets2" placeholder="请输入">
  211. </view>
  212. </view>
  213. <view class="detail-cell row-between u-border-bottom">
  214. <view class="bold">
  215. 销售收入(万元)
  216. </view>
  217. <view class="text-right flex-1">
  218. <input type="text" v-model="info.saleRevenue2" placeholder="请输入">
  219. </view>
  220. </view>
  221. <view class="detail-title p-t-30">
  222. 第三年
  223. </view>
  224. <view class="detail-cell row-between ">
  225. <view class="bold">
  226. 净资产(万元)
  227. </view>
  228. <view class="text-right flex-1">
  229. <input type="text" v-model="info.netAssets3" placeholder="请输入">
  230. </view>
  231. </view>
  232. <view class="detail-cell row-between u-border-bottom">
  233. <view class="bold">
  234. 销售收入(万元)
  235. </view>
  236. <view class="text-right flex-1">
  237. <input type="text" v-model="info.saleRevenue3" placeholder="请输入">
  238. </view>
  239. </view>
  240. <view class="detail-cell row-between u-border-bottom">
  241. <view class="bold">
  242. 验证码
  243. </view>
  244. <view class="text-right flex-1 flex row-right">
  245. <input type="text" v-model="info.code" placeholder="请输入">
  246. <image :src="captchaImg" mode="heightFix" style="height: 54rpx;" class="m-l-10"
  247. @tap="refreshCaptcha"></image>
  248. </view>
  249. </view>
  250. </view>
  251. </view>
  252. <view class="footer">
  253. <button class="white btn lg" @click="handleConsult">提交</button>
  254. </view>
  255. </view>
  256. </view>
  257. </view>
  258. </template>
  259. <script>
  260. import cusSelects from '@/components/cus-selects-fan/cus-selects-fan.vue'
  261. import {
  262. mapGetters,
  263. mapActions
  264. } from 'vuex'
  265. import {
  266. submitSurveyEnterprise,
  267. getSurvey,
  268. submitSurvey
  269. } from '@/api/app';
  270. import {
  271. getCaptcha
  272. } from '@/utils/tools'
  273. const app = getApp()
  274. export default {
  275. components: {
  276. cusSelects
  277. },
  278. data() {
  279. return {
  280. show: {},
  281. survey: {},
  282. surveyList: [],
  283. propertyModeList: [{
  284. value: 1,
  285. label: '自主研发'
  286. }, {
  287. value: 2,
  288. label: '仅有受让、受赠和并购等'
  289. }, ],
  290. isStandardList: [{
  291. value: 1,
  292. label: '是'
  293. }, {
  294. value: 0,
  295. label: '否'
  296. }, ],
  297. captcha: '',
  298. info: {
  299. 'name': '',
  300. 'address': '',
  301. 'estdate': '',
  302. 'busAddress': '',
  303. 'propertyNumber': '', //企业有效l类知识产权数
  304. 'propertyNumber2': '', //有效、高企认定中未使用过的II类知识产权数
  305. 'propertyMode': '', //知识产权获取方式 1:自主研发 2:仅有受让、受赠和并购等
  306. 'isStandard': '', //企业参与编制国家标准、行业标准、检测方法、技术规范的情况 1:是 0:否
  307. 'achievementNumber': '', //科技成果数,
  308. 'manageLevel1': 0, //定制了企业研究开发组织管理制度
  309. 'manageLevel2': 0, //建立了研发投入核算体系
  310. 'manageLevel3': 0, //编制了研发费用辅助帐
  311. 'manageLevel4': 0, //设立了内部科技技术研究开发机构并具备相应的科研条件
  312. 'manageLevel5': 0, //与国内外研究开发机构开展多种形式的产学研合作
  313. 'manageLevel6': 0, //建立了科技成果转化的组织实施与激励奖励制度
  314. 'manageLevel7': 0, //建立开放式的创新创业平台
  315. 'manageLevel8': 0, //建立了科技人员的培养进修制度
  316. 'manageLevel9': 0, //建立了职工技能培训制度
  317. 'netAssets1': '', //第1年 净资产
  318. 'netAssets2': '', //第2年 净资产
  319. 'netAssets3': '', //第3年 净资产
  320. 'saleRevenue1': '', //第1年 销售收入
  321. 'saleRevenue2': '', //第2年 销售收入
  322. 'saleRevenue3': '' //第3年 销售收入
  323. },
  324. infoValidate: {
  325. 'name': '企业名称',
  326. 'address': '企业注册地',
  327. 'estdate': '企业成立时间',
  328. 'busAddress': '企业实际经营地',
  329. 'propertyNumber': '企业有效l类知识产权数', //
  330. 'propertyNumber2': '有效、高企认定中未使用过的II类知识产权数', //
  331. 'achievementNumber': '科技成果数', //,
  332. 'netAssets1': '第1年 净资产', //
  333. 'netAssets2': '第2年 净资产', //
  334. 'netAssets3': '第3年 净资产', //
  335. 'saleRevenue1': '第1年 销售收入', //
  336. 'saleRevenue2': '第2年 销售收入', //
  337. 'saleRevenue3': '第3年 销售收入' //
  338. },
  339. typeList: [{
  340. name: '我是人才',
  341. }, {
  342. name: '我是企业',
  343. }],
  344. currentTab: 0,
  345. type: 'industry', //默认类型
  346. talentTypeList: [{
  347. 'image': '/static/images/type-1.png',
  348. type: 'industry',
  349. title: '现代产业'
  350. }, {
  351. 'image': '/static/images/type-2.png',
  352. type: 'education',
  353. title: '高等教育'
  354. }, {
  355. 'image': '/static/images/type-3.png',
  356. type: 'medical',
  357. title: '医疗卫生'
  358. }, {
  359. 'image': '/static/images/type-4.png',
  360. type: 'circuit',
  361. title: '集成电路'
  362. }, {
  363. 'image': '/static/images/type-5.png',
  364. type: 'special',
  365. title: '专项政策'
  366. }, ],
  367. manageLevelList: [{
  368. label: '1、制定了企业研究开发的组织管理制度',
  369. name: 'manageLevel1',
  370. },
  371. {
  372. label: '2、建立了研发投入核算体系',
  373. name: 'manageLevel2',
  374. },
  375. {
  376. label: '3、编制了研发费用辅组账',
  377. name: 'manageLevel3',
  378. },
  379. {
  380. label: '4、设立了内部科学技术研究开发机构并具备相应的科技',
  381. name: 'manageLevel4',
  382. },
  383. {
  384. label: '5、与国内外研究开发机构开展多种形式产学研合作',
  385. name: 'manageLevel5',
  386. },
  387. {
  388. label: '6、建立了科技成果转化的组织实施与激励奖励制度',
  389. name: 'manageLevel6',
  390. },
  391. {
  392. label: '7、建立开放式的创新创业平台',
  393. name: 'manageLevel7',
  394. },
  395. {
  396. label: '8、建立了科技人员的培养进修制度',
  397. name: 'manageLevel8',
  398. },
  399. {
  400. label: '9、建立了职工技能培训制度',
  401. name: 'manageLevel9',
  402. }
  403. ],
  404. top: 172
  405. }
  406. },
  407. onLoad() {
  408. this.propertyMode = this.propertyModeList[0]
  409. this.isStandard = this.isStandardList[0]
  410. this.info.propertyMode = this.propertyMode.value
  411. this.info.isStandard = this.isStandard.value
  412. this.captchaImg = getCaptcha()
  413. },
  414. onShow() {
  415. // this.getHomeFun();
  416. // this.getUser();
  417. this.getSurvey();
  418. },
  419. onHide() {},
  420. onPullDownRefresh() {
  421. // this.getUser().then(() : {
  422. // uni.stopPullDownRefresh();
  423. // })
  424. },
  425. methods: {
  426. refreshCaptcha() {
  427. this.captchaImg = getCaptcha()
  428. this.$forceUpdate();
  429. },
  430. // ...mapActions(['getUser']),
  431. groupChange(index, detail) {
  432. let item = this.surveyList[index]
  433. this.survey[item.name] = detail
  434. },
  435. // 改变当前的Tabs位置
  436. changeTab(index) {
  437. this.currentTab = index;
  438. },
  439. checkboxChange(detail) {
  440. this.info[detail.name] = detail.value ? 1 : 0
  441. },
  442. pickerShow(index) {
  443. this.show[index] = true
  444. this.$forceUpdate();
  445. },
  446. pickerConfirm(index, obj) {
  447. //人才
  448. if (this.currentTab == 0) {
  449. let item = this.surveyList[index]
  450. this.survey[item.name] = [obj[0]]
  451. this.show[item.name] = false
  452. } else {
  453. //企业
  454. //日期
  455. if (index == 'estdate') {
  456. this.info[index] = obj['year'] + '-' + obj['month'] + '-' + obj['day']
  457. } else {
  458. //单选框
  459. this[index] = obj[0]
  460. this.info[index] = obj[0].value
  461. }
  462. }
  463. this.$forceUpdate();
  464. },
  465. pickerCancel(index, obj) {
  466. if (this.currentTab == 0) {
  467. let item = this.surveyList[index]
  468. this.show[item.name] = false
  469. } else {
  470. this.show[index] = false
  471. }
  472. this.$forceUpdate();
  473. },
  474. async handleConsult() {
  475. if (this.currentTab == 0) {
  476. if (!this.survey.code) {
  477. this.$toast({
  478. title: '请输入验证码'
  479. })
  480. return false;
  481. }
  482. const {
  483. status,
  484. data,
  485. cengci,
  486. msg
  487. } = await submitSurvey(this.survey);
  488. if (status == 1) {
  489. uni.setStorageSync('policyList', data);
  490. // uni.setStorageSync('policyCengci', cengci);
  491. uni.navigateTo({
  492. url: '/pages/policy/list',
  493. })
  494. }
  495. } else {
  496. //表单必填验证
  497. try {
  498. Object.keys(this.infoValidate).forEach((key, index) => {
  499. if (this.info[key] == '') {
  500. throw new Error('请输入' + this.infoValidate[key])
  501. }
  502. })
  503. } catch (e) {
  504. this.$toast({
  505. title: e.message
  506. })
  507. return false;
  508. }
  509. const {
  510. status,
  511. data,
  512. msg
  513. } = await submitSurveyEnterprise(this.info);
  514. if (status == 1) {
  515. uni.setStorageSync('enterpriseScore', data);
  516. uni.navigateTo({
  517. url: '/pages/policy/score'
  518. })
  519. }
  520. }
  521. },
  522. //获取动态表单
  523. async getSurvey() {
  524. const {
  525. status,
  526. data
  527. } = await getSurvey({
  528. type: this.type
  529. });
  530. if (status == 1) {
  531. this.surveyList = data
  532. this.surveyList.map((item, index) => {
  533. // this.show[item.name] = false;
  534. //初始化radio的info
  535. if (item.type == 'radio' || item.type == 'select') {
  536. this.survey[item.name] = 0
  537. }
  538. //初始化模糊搜索框
  539. if (item.type == 'text') {
  540. item.value.forEach((value, key) => {
  541. item.value[key] = {
  542. label: key + 1 + '、' + value,
  543. value: value
  544. }
  545. })
  546. }
  547. //checkbox多选判断,初始化checked状态
  548. if (item.type == 'checkbox') {
  549. item.checked = []
  550. item.value.forEach((value, key) => {
  551. item.checked[key] = false
  552. })
  553. return item;
  554. }
  555. })
  556. }
  557. },
  558. },
  559. computed: {
  560. ...mapGetters(['appConfig']),
  561. }
  562. }
  563. </script>
  564. <style lang="less" scoped>
  565. .huodong-details {
  566. padding-bottom: calc(200rpx + env(safe-area-inset-bottom));
  567. }
  568. .details-images {
  569. height: 408rpx;
  570. border-radius: 20rpx;
  571. overflow: hidden;
  572. width: 100%;
  573. image {
  574. width: 100%;
  575. height: 100%;
  576. }
  577. }
  578. .detail-title {
  579. // font-size: 36rpx;
  580. font-weight: bold;
  581. // padding: 30rpx 0;
  582. }
  583. .detail-cell {
  584. display: flex;
  585. // align-items: center;
  586. padding: 30rpx 0;
  587. .cell-img {
  588. padding: 5rpx 0;
  589. image {
  590. width: 48rpx;
  591. height: 48rpx;
  592. display: block
  593. }
  594. }
  595. }
  596. // .muted {
  597. // color: #989898;
  598. // padding-left: 10rpx;
  599. // }
  600. .detail-biaoti {
  601. // font-size: 36rpx;
  602. height: 88rpx;
  603. line-height: 88rpx;
  604. }
  605. .bj-w {
  606. background-color: #fff;
  607. }
  608. .padding-30 {
  609. padding: 0 30rpx !important;
  610. }
  611. .content-box {
  612. padding: 0 24rpx;
  613. box-shadow: 0rpx 8rpx 16rpx 2rpx rgba(0, 0, 0, 0.03);
  614. border-radius: 12rpx 12rpx 12rpx 12rpx;
  615. input {
  616. font-size: 28rpx;
  617. }
  618. textarea {
  619. width: 100%;
  620. height: 100rpx;
  621. font-size: 28rpx;
  622. }
  623. }
  624. .btn-r-border {
  625. position: relative;
  626. &::after {
  627. content: ' ';
  628. width: 1rpx;
  629. height: 36rpx;
  630. background-color: #CCCCCC;
  631. right: 0;
  632. top: 50%;
  633. margin-top: -18rpx;
  634. position: absolute;
  635. }
  636. }
  637. .width75 {
  638. width: 150rpx;
  639. font-weight: bold;
  640. }
  641. </style>
  642. <style lang="scss">
  643. .footer {
  644. left: 0%;
  645. bottom: 150rpx;
  646. width: 100%;
  647. padding: 0 24rpx;
  648. position: fixed;
  649. z-index: 99;
  650. .btn {
  651. height: 84rpx;
  652. line-height: 84rpx;
  653. background-color: $-color-primary;
  654. box-shadow: 0rpx 6rpx 12rpx 2rpx rgba(243, 113, 113, 0.39);
  655. border-radius: 18rpx 18rpx 18rpx 18rpx;
  656. }
  657. }
  658. page {
  659. padding: 0;
  660. }
  661. .talent-tab {
  662. .title {
  663. font-size: 36rpx;
  664. font-weight: 400;
  665. color: #333333;
  666. }
  667. }
  668. /deep/ .select_input {
  669. border: none !important;
  670. }
  671. /deep/ .select_modal_con {
  672. position: sticky;
  673. // left: -100px;
  674. margin-left: -200rpx;
  675. width: 700rpx;
  676. .select_modal {
  677. height: 300px;
  678. }
  679. .select_content_li {
  680. text-align: left !important;
  681. white-space: normal !important;
  682. overflow: auto !important;
  683. height: auto !important;
  684. line-height: normal !important;
  685. margin-bottom: 16rpx !important;
  686. }
  687. ::-webkit-scrollbar {
  688. display: block;
  689. /*滚动条整体样式*/
  690. width: 10px !important;
  691. /*高宽分别对应横竖滚动条的尺寸*/
  692. height: 1px !important;
  693. }
  694. ::-webkit-scrollbar-thumb {
  695. /*滚动条里面小方块*/
  696. border-radius: 10px;
  697. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  698. background: #535353;
  699. }
  700. ::-webkit-scrollbar-track {
  701. /*滚动条里面轨道*/
  702. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  703. border-radius: 10px;
  704. background: #EDEDED;
  705. }
  706. }
  707. </style>