tovolApply.vue 39 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339
  1. <template>
  2. <view class="content">
  3. <!-- <view class="top">
  4. <image src="../../static/img/activity.png" mode=""></image>
  5. </view>
  6. -->
  7. <view class="box">
  8. <!-- <view class="red-box">
  9. 申请登记表
  10. </view> -->
  11. <view class="box-1">
  12. <view class="box-left">
  13. 姓名
  14. <text class="imp">*</text>
  15. </view>
  16. <input type="text" placeholder="请填写你的名字" value="" class="list-input" v-model="name" />
  17. </view>
  18. <view class="box-1">
  19. <view class="box-left">
  20. 性别
  21. <text class="imp">*</text>
  22. </view>
  23. <picker @change="bindPickerSex" :value="index" :range="array">
  24. <view class="box-right">{{ sex == '0'? '男' : sex == '1'? '女' : sex }}</view>
  25. </picker>
  26. </view>
  27. <view class="box-1">
  28. <view class="box-left">
  29. 出生年月
  30. <text class="imp">*</text>
  31. </view>
  32. <picker mode="date" :value="birth" :start="startDate" :end="endDate" @change="bindDateChange">
  33. <view class="box-right">{{ birth }}</view>
  34. </picker>
  35. </view>
  36. <view class="upload-box">
  37. <view class="upload-left">
  38. 照片
  39. <text class="imp">*</text>
  40. </view>
  41. <view class="upload-right">
  42. <image :src="cardimg" mode="" class="upload-img" @click.stop="imgsub" v-if="cardimg"></image>
  43. <image src="../../static/images/upload.png" class="upload-img" mode="" v-if="!cardimg" @click.stop="imgsub"></image>
  44. </view>
  45. </view>
  46. <view class="box-1">
  47. <view class="box-left">
  48. 移动电话
  49. <text class="imp">*</text>
  50. </view>
  51. <input type="text" placeholder="请填写移动电话" value="" class="list-input" v-model="phone" />
  52. </view>
  53. <view class="box-1">
  54. <view class="box-left">电子邮件(选填)</view>
  55. <input type="text" placeholder="请填写电子邮件" value="" class="list-input" v-model="email" />
  56. </view>
  57. <view class="box-1">
  58. <view class="box-left">联系地址<text class="imp">*</text></view>
  59. <input type="text" value="" placeholder="请填写联系地址" class="list-input" v-model="address" />
  60. </view>
  61. <view class="box-1">
  62. <view class="box-left">工作单位(选填)</view>
  63. <input type="text" value="" placeholder="请填写工作单位" class="list-input" v-model="work" />
  64. </view>
  65. <view class="box-1">
  66. <view class="box-left">职业/职务/专业(选填)</view>
  67. <input type="text" placeholder="请填写职业/职务/专业" value="" class="list-input" v-model="specialty" />
  68. </view>
  69. <view class="box-1">
  70. <view class="box-left">教育程度<text class="imp">*</text></view>
  71. <picker @change="bindPickerEdu" :value="index" :range="chooseEdu">
  72. <view class="box-right">{{ education }}</view>
  73. </picker>
  74. </view>
  75. <view class="box-1">
  76. <view class="box-left">
  77. 是否受过志愿服务
  78. <text class="imp">*</text>
  79. </view>
  80. </view>
  81. <view class="uni-list">
  82. <radio-group @change="radioChange">
  83. <view class="radio-list flex_item">
  84. <label class="uni-list-cell uni-list-cell-pd flex_item" v-for="(item, index) in is_vol" :key="item.id">
  85. <view><radio style="transform:scale(0.7)" color="#E71F2C" :value="item.id" :checked="index === current" /></view>
  86. <view>{{ item.name }}</view>
  87. </label>
  88. </view>
  89. </radio-group>
  90. </view>
  91. <view class="box-1">
  92. <view class="box-left">
  93. 有无服务经验
  94. <text class="imp">*</text>
  95. </view>
  96. </view>
  97. <view class="uni-list">
  98. <radio-group @change="radioChange1">
  99. <view class="radio-list flex_item">
  100. <label class="uni-list-cell uni-list-cell-pd flex_item" v-for="(item, index) in is_experience" :key="item.id">
  101. <view><radio style="transform:scale(0.7)" color="#E71F2C" :value="item.id" :checked="index === current" /></view>
  102. <view>{{ item.name }}</view>
  103. </label>
  104. </view>
  105. </radio-group>
  106. </view>
  107. <view class="list-box">
  108. <view class="list-title">可提供服务的时间</view>
  109. <view class="tip">请选择适当方格,可选多项</view>
  110. <view class="content_box">
  111. <view class="box-1" style="margin: 10rpx;">
  112. <view class="box-left">
  113. 开始时间
  114. <text class="imp">*</text>
  115. </view>
  116. <picker mode="time" :value="start_hour" @change="startTimeChange">
  117. <view class="box-right">{{ start_hour }}</view>
  118. </picker>
  119. </view>
  120. <view class="box-1" style="margin: 10rpx;">
  121. <view class="box-left">
  122. 结束时间
  123. <text class="imp">*</text>
  124. </view>
  125. <picker mode="time" :value="end_hour" :start="start_hour" @change="endTimeChange">
  126. <view class="box-right">{{ end_hour }}</view>
  127. </picker>
  128. </view>
  129. </view>
  130. <view class="content_box">
  131. <view class="list-name">
  132. 日期
  133. <text class="icon">*</text>
  134. </view>
  135. <view class="uni-list">
  136. <checkbox-group @change="checkboxChange1">
  137. <view class="radio-list flex_item">
  138. <label class="uni-list-cell uni-list-cell-pd flex_item" v-for="item in items" :key="item.name">
  139. <view><checkbox :value="item.value" style="transform:scale(0.7)" color="#E71F2C" :checked="item.checked" /></view>
  140. <view>{{ item.name }}</view>
  141. </label>
  142. </view>
  143. </checkbox-group>
  144. </view>
  145. </view>
  146. </view>
  147. <view class="list-box tpl-box">
  148. <view class="list-title">有兴趣参与的工作</view>
  149. <view class="tip">请选择适当方格,可选多项</view>
  150. <view class="content_box">
  151. <view class="uni-list">
  152. <checkbox-group @change="checkboxChange2">
  153. <view class="radio-list flex_item">
  154. <label class="uni-list-cell uni-list-cell-pd flex_item" v-for="item in works" :key="item.name">
  155. <view><checkbox :value="item.name" style="transform:scale(0.7)" color="#E71F2C" :checked="item.checked" /></view>
  156. <view>{{ item.name }}</view>
  157. </label>
  158. </view>
  159. </checkbox-group>
  160. </view>
  161. <input class="worksInput" type="text" v-model="worksText" />
  162. </view>
  163. </view>
  164. <view class="list-box tpl-box">
  165. <view class="list-title">专长</view>
  166. <view class="tip">请选择适当方格,可选多项</view>
  167. <view class="content_box">
  168. <view class="uni-list">
  169. <checkbox-group @change="checkboxChange3">
  170. <view class="radio-list flex_item">
  171. <label class="uni-list-cell uni-list-cell-pd flex_item" v-for="item in expertise" :key="item.name">
  172. <view><checkbox :value="item.name" style="transform:scale(0.7)" color="#E71F2C" :checked="item.checked" /></view>
  173. <view>{{ item.name }}</view>
  174. </label>
  175. </view>
  176. </checkbox-group>
  177. </view>
  178. <input class="worksInput" type="text" v-model="expertiseText" />
  179. </view>
  180. </view>
  181. <view class="list-box">
  182. <view class="list-title">个人声明</view>
  183. <view class="check_box">
  184. <view>
  185. <radio style="transform: scale(0.75)" @click="Getcheckbox" color="#E62129" :checked="Getchecked" />
  186. 本人同意将个人资料送交红十字志愿者工作委员会,申请注册登记,成为光荣的红十字志愿工作者,并乐于接受志愿工作安排,提供服务。
  187. </view>
  188. </view>
  189. </view>
  190. </view>
  191. <view class="buttom" :class="{ action: loding }" @click="!loding ? join() : ''">立即提交</view>
  192. <uni-popup ref="tishi" type="center" :maskClick="false">
  193. <view class="ts-wrap">
  194. <view class="ts-tit">
  195. 志愿者条例
  196. </view>
  197. <scroll-view scroll-y="true" class="ts-content" @scrolltolower="isbtm = true">
  198. <view class="tit">第一章 总 则</view>
  199. <view class="xq">
  200.  第一条 为了保障志愿者、志愿服务组织、志愿服务对象的合法权益,鼓励和规范志愿服务,发展志愿服务事业,培育和践行社会主义核心价值观,促进社会文明进步,制定本条例。
  201. </view>
  202. <view class="xq">
  203.  第二条 本条例适用于在中华人民共和国境内开展的志愿服务以及与志愿服务有关的活动。
  204. </view>
  205. <view class="xq">
  206.  本条例所称志愿服务,是指志愿者、志愿服务组织和其他组织自愿、无偿向社会或者他人提供的公益服务。
  207. </view>
  208. <view class="xq">
  209.  第三条 开展志愿服务,应当遵循自愿、无偿、平等、诚信、合法的原则,不得违背社会公德、损害社会公共利益和他人合法权益,不得危害国家安全。
  210. </view>
  211. <view class="xq">
  212. 第四条 县级以上人民政府应当将志愿服务事业纳入国民经济和社会发展规划,合理安排志愿服务所需资金,促进广覆盖、多层次、宽领域开展志愿服务。
  213. </view>
  214. <view class="xq">
  215. 第五条 国家和地方精神文明建设指导机构建立志愿服务工作协调机制,加强对志愿服务工作的统筹规划、协调指导、督促检查和经验推广。
  216. </view>
  217. <view class="xq">
  218. 国务院民政部门负责全国志愿服务行政管理工作;县级以上地方人民政府民政部门负责本行政区域内志愿服务行政管理工作。
  219. </view>
  220. <view class="xq">
  221. 县级以上人民政府有关部门按照各自职责,负责与志愿服务有关的工作。
  222. </view>
  223. <view class="xq">
  224. 工会、共产主义青年团、妇女联合会等有关人民团体和群众团体应当在各自的工作范围内做好相应的志愿服务工作。
  225. </view>
  226. <view class="tit">
  227. 第二章 志愿者和志愿服务组织
  228. </view>
  229. <view class="xq">
  230. 第六条 本条例所称志愿者,是指以自己的时间、知识、技能、体力等从事志愿服务的自然人。
  231. </view>
  232. <view class="xq">
  233. 本条例所称志愿服务组织,是指依法成立,以开展志愿服务为宗旨的非营利性组织。
  234. </view>
  235. <view class="xq">
  236. 第七条 志愿者可以将其身份信息、服务技能、服务时间、联系方式等个人基本信息,通过国务院民政部门指定的志愿服务信息系统自行注册,也可以通过志愿服务组织进行注册。
  237. </view>
  238. <view class="xq">
  239. 志愿者提供的个人基本信息应当真实、准确、完整。
  240. </view>
  241. <view class="xq">
  242. 第八条 志愿服务组织可以采取社会团体、社会服务机构、基金会等组织形式。志愿服务组织的登记管理按照有关法律、行政法规的规定执行。
  243. </view>
  244. <view class="xq">
  245. 第九条 志愿服务组织可以依法成立行业组织,反映行业诉求,推动行业交流,促进志愿服务事业发展。
  246. </view>
  247. <view class="xq">
  248. 第十条 在志愿服务组织中,根据中国共产党章程的规定,设立中国共产党的组织,开展党的活动。志愿服务组织应当为党组织的活动提供必要条件。
  249. </view>
  250. <view class="tit">
  251. 第三章 志愿服务活动
  252. </view>
  253. <view class="">
  254. 第十一条 志愿者可以参与志愿服务组织开展的志愿服务活动,也可以自行依法开展志愿服务活动。
  255. </view>
  256. <view class="">
  257. 第十二条 志愿服务组织可以招募志愿者开展志愿服务活动;招募时,应当说明与志愿服务有关的真实、准确、完整的信息以及在志愿服务过程中可能发生的风险。
  258. </view>
  259. <view class="">
  260. 第十三条 需要志愿服务的组织或者个人可以向志愿服务组织提出申请,并提供与志愿服务有关的真实、准确、完整的信息,说明在志愿服务过程中可能发生的风险。志愿服务组织应当对有关信息进行核实,并及时予以答复。
  261. </view>
  262. <view class="">
  263. 第十四条 志愿者、志愿服务组织、志愿服务对象可以根据需要签订协议,明确当事人的权利和义务,约定志愿服务的内容、方式、时间、地点、工作条件和安全保障措施等。
  264. </view>
  265. <view class="">
  266. 第十五条 志愿服务组织安排志愿者参与志愿服务活动,应当与志愿者的年龄、知识、技能和身体状况相适应,不得要求志愿者提供超出其能力的志愿服务。
  267. </view>
  268. <view class="">
  269. 第十六条 志愿服务组织安排志愿者参与的志愿服务活动需要专门知识、技能的,应当对志愿者开展相关培训。
  270. </view>
  271. <view class="">
  272. 开展专业志愿服务活动,应当执行国家或者行业组织制定的标准和规程。法律、行政法规对开展志愿服务活动有职业资格要求的,志愿者应当依法取得相应的资格。
  273. </view>
  274. <view class="">
  275. 第十七条 志愿服务组织应当为志愿者参与志愿服务活动提供必要条件,解决志愿者在志愿服务过程中遇到的困难,维护志愿者的合法权益。
  276. </view>
  277. <view class="">
  278. 志愿服务组织安排志愿者参与可能发生人身危险的志愿服务活动前,应当为志愿者购买相应的人身意外伤害保险。
  279. </view>
  280. <view class="">
  281. 第十八条 志愿服务组织开展志愿服务活动,可以使用志愿服务标志。
  282. </view>
  283. <view class="">
  284. 第十九条 志愿服务组织安排志愿者参与志愿服务活动,应当如实记录志愿者个人基本信息、志愿服务情况、培训情况、表彰奖励情况、评价情况等信息,按照统一的信息数据标准录入国务院民政部门指定的志愿服务信息系统,实现数据互联互通。
  285. </view>
  286. <view class="">
  287. 志愿者需要志愿服务记录证明的,志愿服务组织应当依据志愿服务记录无偿、如实出具。
  288. </view>
  289. <view class="">
  290. 记录志愿服务信息和出具志愿服务记录证明的办法,由国务院民政部门会同有关单位制定。
  291. </view>
  292. <view class="">
  293. 第二十条 志愿服务组织、志愿服务对象应当尊重志愿者的人格尊严;未经志愿者本人同意,不得公开或者泄露其有关信息。
  294. </view>
  295. <view class="">
  296. 第二十一条 志愿服务组织、志愿者应当尊重志愿服务对象人格尊严,不得侵害志愿服务对象个人隐私,不得向志愿服务对象收取或者变相收取报酬。
  297. </view>
  298. <view class="">
  299. 第二十二条 志愿者接受志愿服务组织安排参与志愿服务活动的,应当服从管理,接受必要的培训。
  300. </view>
  301. <view class="">
  302. 志愿者应当按照约定提供志愿服务。志愿者因故不能按照约定提供志愿服务的,应当及时告知志愿服务组织或者志愿服务对象。
  303. </view>
  304. <view class="">
  305. 第二十三条 国家鼓励和支持国家机关、企业事业单位、人民团体、社会组织等成立志愿服务队伍开展专业志愿服务活动,鼓励和支持具备专业知识、技能的志愿者提供专业志愿服务。
  306. </view>
  307. <view class="">
  308. 国家鼓励和支持公共服务机构招募志愿者提供志愿服务。
  309. </view>
  310. <view class="">
  311. 第二十四条 发生重大自然灾害、事故灾难和公共卫生事件等突发事件,需要迅速开展救助的,有关人民政府应当建立协调机制,提供需求信息,引导志愿服务组织和志愿者及时有序开展志愿服务活动。
  312. </view>
  313. <view class="">
  314. 志愿服务组织、志愿者开展应对突发事件的志愿服务活动,应当接受有关人民政府设立的应急指挥机构的统一指挥、协调。
  315. </view>
  316. <view class="">
  317. 第二十五条 任何组织和个人不得强行指派志愿者、志愿服务组织提供服务,不得以志愿服务名义进行营利性活动。
  318. </view>
  319. <view class="">
  320. 第二十六条 任何组织和个人发现志愿服务组织有违法行为,可以向民政部门、其他有关部门或者志愿服务行业组织投诉、举报。民政部门、其他有关部门或者志愿服务行业组织接到投诉、举报,应当及时调查处理;对无权处理的,应当告知投诉人、举报人向有权处理的部门或者行业组织投诉、举报。
  321. </view>
  322. <view class="tit">
  323. 第四章 促进措施
  324. </view>
  325. <view class="">
  326. 第二十七条 县级以上人民政府应当根据经济社会发展情况,制定促进志愿服务事业发展的政策和措施。
  327. </view>
  328. <view class="">
  329. 县级以上人民政府及其有关部门应当在各自职责范围内,为志愿服务提供指导和帮助。
  330. </view>
  331. <view class="">
  332. 第二十八条 国家鼓励企业事业单位、基层群众性自治组织和其他组织为开展志愿服务提供场所和其他便利条件。
  333. </view>
  334. <view class="">
  335. 第二十九条 学校、家庭和社会应当培养青少年的志愿服务意识和能力。
  336. </view>
  337. <view class="">
  338. 高等学校、中等职业学校可以将学生参与志愿服务活动纳入实践学分管理。
  339. </view>
  340. <view class="">
  341. 第三十条 各级人民政府及其有关部门可以依法通过购买服务等方式,支持志愿服务运营管理,并依照国家有关规定向社会公开购买服务的项目目录、服务标准、资金预算等相关情况。
  342. </view>
  343. <view class="">
  344. 第三十一条 自然人、法人和其他组织捐赠财产用于志愿服务的,依法享受税收优惠。
  345. </view>
  346. <view class="">
  347. 第三十二条 对在志愿服务事业发展中做出突出贡献的志愿者、志愿服务组织,由县级以上人民政府或者有关部门按照法律、法规和国家有关规定予以表彰、奖励。
  348. </view>
  349. <view class="">
  350. 国家鼓励企业和其他组织在同等条件下优先招用有良好志愿服务记录的志愿者。公务员考录、事业单位招聘可以将志愿服务情况纳入考察内容。
  351. </view>
  352. <view class="">
  353. 第三十三条 县级以上地方人民政府可以根据实际情况采取措施,鼓励公共服务机构等对有良好志愿服务记录的志愿者给予优待。
  354. </view>
  355. <view class="">
  356. 第三十四条 县级以上人民政府应当建立健全志愿服务统计和发布制度。
  357. </view>
  358. <view class="">
  359. 第三十五条 广播、电视、报刊、网络等媒体应当积极开展志愿服务宣传活动,传播志愿服务文化,弘扬志愿服务精神。
  360. </view>
  361. <view class="tit">
  362. 第五章 法律责任
  363. </view>
  364. <view class="">
  365. 第三十六条 志愿服务组织泄露志愿者有关信息、侵害志愿服务对象个人隐私的,由民政部门予以警告,责令限期改正;逾期不改正的,责令限期停止活动并进行整改;情节严重的,吊销登记证书并予以公告。
  366. </view>
  367. <view class="">
  368. 第三十七条 志愿服务组织、志愿者向志愿服务对象收取或者变相收取报酬的,由民政部门予以警告,责令退还收取的报酬;情节严重的,对有关组织或者个人并处所收取报酬一倍以上五倍以下的罚款。
  369. </view>
  370. <view class="">
  371. 第三十八条 志愿服务组织不依法记录志愿服务信息或者出具志愿服务记录证明的,由民政部门予以警告,责令限期改正;逾期不改正的,责令限期停止活动,并可以向社会和有关单位通报。
  372. </view>
  373. <view class="">
  374. 第三十九条 对以志愿服务名义进行营利性活动的组织和个人,由民政、工商等部门依法查处。
  375. </view>
  376. <view class="">
  377. 第四十条 县级以上人民政府民政部门和其他有关部门及其工作人员有下列情形之一的,由上级机关或者监察机关责令改正;依法应当给予处分的,由任免机关或者监察机关对直接负责的主管人员和其他直接责任人员给予处分:
  378. </view>
  379. <view class="">
  380. (一)强行指派志愿者、志愿服务组织提供服务;
  381. </view>
  382. <view class="">
  383. (二)未依法履行监督管理职责;
  384. </view>
  385. <view class="">
  386. (三)其他滥用职权、玩忽职守、徇私舞弊的行为。
  387. </view>
  388. <view class="tit">
  389. 第六章 附  则
  390. </view>
  391. <view class="">
  392.  第四十一条 基层群众性自治组织、公益活动举办单位和公共服务机构开展公益活动,需要志愿者提供志愿服务的,可以与志愿服务组织合作,由志愿服务组织招募志愿者,也可以自行招募志愿者。自行招募志愿者提供志愿服务的,参照本条例关于志愿服务组织开展志愿服务活动的规定执行。
  393. </view>
  394. <view class="">
  395. 第四十二条 志愿服务组织以外的其他组织可以开展力所能及的志愿服务活动。
  396. </view>
  397. <view class="">
  398. 城乡社区、单位内部经基层群众性自治组织或者本单位同意成立的团体,可以在本社区、本单位内部开展志愿服务活动。
  399. </view>
  400. <view class="">
  401. 第四十三条 境外志愿服务组织和志愿者在境内开展志愿服务,应当遵守本条例和中华人民共和国有关法律、行政法规以及国家有关规定。
  402. </view>
  403. <view class="">
  404.  组织境内志愿者到境外开展志愿服务,在境内的有关事宜,适用本条例和中华人民共和国有关法律、行政法规以及国家有关规定;在境外开展志愿服务,应当遵守所在国家或者地区的法律。
  405. </view>
  406. <view class="">
  407. 第四十四条 本条例自2017年12月1日起施行。
  408. </view>
  409. </scroll-view>
  410. <view class="ts-btn" @click="agreen()"
  411. :style="{'background': isbtm?'#FF4C4C':'#eee','color':isbtm?'#fff':'#999'}">
  412. 我已阅读并同意
  413. </view>
  414. </view>
  415. </uni-popup>
  416. </view>
  417. </template>
  418. <script>
  419. import {
  420. saveUrl,
  421. interceptor
  422. } from '@/utils/loginUtils.js';
  423. import {
  424. mapState,
  425. mapMutations
  426. } from 'vuex';
  427. import { add_volunteers } from '@/api/index.js';
  428. import { upload } from '@/api/ask.js';
  429. export default {
  430. data() {
  431. const currentDate = this.getDate({
  432. format: true
  433. });
  434. return {
  435. height: '',
  436. isRead: false, //是否同意
  437. isbtm: false, //是否滑动到底部
  438. otherjob: '',
  439. otherspe: '',
  440. loding: false, //是否提交中
  441. array: ['男', '女'],
  442. chooseEdu: ['小学以下', '小学', '初中', '高中/中专', '大专/高职','本科','研究生', '硕士', '博士', '博士后'],
  443. chooseVol: ['有', '无'],
  444. is_experience: [
  445. {
  446. id: '1',
  447. name: '有'
  448. },
  449. {
  450. id: '2',
  451. name: '无'
  452. }
  453. ],
  454. // is_experience: '',
  455. chooseExp: ['是', '否'],
  456. start_hour:'选择开始时间',//开始时间
  457. end_hour:'选择结束时间',//
  458. quantum: '',
  459. //日期
  460. items: [
  461. {
  462. value: '2',
  463. name: '星期一'
  464. },
  465. {
  466. value: '3',
  467. name: '星期二'
  468. },
  469. {
  470. value: '4',
  471. name: '星期三'
  472. },
  473. {
  474. value: '5',
  475. name: '星期四'
  476. },
  477. {
  478. value: '6',
  479. name: '星期五'
  480. },
  481. {
  482. value: '7',
  483. name: '星期六'
  484. },
  485. {
  486. value: '1',
  487. name: '星期日'
  488. }
  489. ],
  490. dates: '',
  491. //有兴趣参与的工作
  492. works: [
  493. {
  494. value: '1',
  495. name: '赈灾工作'
  496. },
  497. {
  498. value: '2',
  499. name: '救护培训'
  500. },
  501. {
  502. value: '3',
  503. name: '护送服务'
  504. },
  505. {
  506. value: '4',
  507. name: '编辑及出版'
  508. },
  509. {
  510. value: '5',
  511. name: '医疗护理服务'
  512. },
  513. {
  514. value: '6',
  515. name: '探访服务'
  516. },
  517. {
  518. value: '7',
  519. name: '外语翻译'
  520. },
  521. {
  522. value: '8',
  523. name: '调查服务'
  524. },
  525. {
  526. value: '9',
  527. name: '联络服务'
  528. },
  529. {
  530. value: '10',
  531. name: '宣传及推广'
  532. },
  533. {
  534. value: '11',
  535. name: '文书档案工作'
  536. },
  537. {
  538. value: '12',
  539. name: '其它(请注明)'
  540. }
  541. ],
  542. taste: '',
  543. worksText: '', //工作其他
  544. //专长
  545. expertise: [
  546. {
  547. value: '1',
  548. name: '医疗护理'
  549. },
  550. {
  551. value: '2',
  552. name: '紧急救护'
  553. },
  554. {
  555. value: '3',
  556. name: '出版/美术设计'
  557. },
  558. {
  559. value: '4',
  560. name: '影音制作'
  561. },
  562. {
  563. value: '5',
  564. name: '文艺演出'
  565. },
  566. {
  567. value: '6',
  568. name: '网络软件'
  569. },
  570. {
  571. value: '7',
  572. name: '摄影摄像'
  573. },
  574. {
  575. value: '8',
  576. name: '电脑中文打字'
  577. },
  578. {
  579. value: '9',
  580. name: '汽车驾驶'
  581. },
  582. {
  583. value: '10',
  584. name: '外语翻译'
  585. },
  586. {
  587. value: '11',
  588. name: '法律咨询'
  589. },
  590. {
  591. value: '12',
  592. name: '文案策划'
  593. },
  594. {
  595. value: '13',
  596. name: '其它(请注明)'
  597. }
  598. ],
  599. speciali: '',
  600. current: '',
  601. is_vol: [
  602. {
  603. id: '1',
  604. name: '有'
  605. },
  606. {
  607. id: '0',
  608. name: '无'
  609. }
  610. ],
  611. index: 0,
  612. // mz: '',
  613. email: '',
  614. cardimg: '', //证件照
  615. // card: '',
  616. // checklist: [],
  617. name: '',
  618. sex: '请选择你的性别',
  619. birth: '请选择你的生日',
  620. fillingDate: '',
  621. phone: '',
  622. address: '',
  623. work: '',
  624. specialty: '',
  625. education: '请选择教育程度',
  626. educationid:'',
  627. checked1: '',
  628. checked: '',
  629. expertiseText: '', //专长其他
  630. Getchecked: false //个人声明
  631. };
  632. },
  633. onShow() {
  634. if (this.hasLogin) {
  635. // this.$refs.tishi.open()
  636. // this.loadBaseData();
  637. } else {
  638. saveUrl();
  639. uni.showModal({
  640. title: '登录',
  641. content: '您未登录,是否马上登陆?',
  642. success: e => {
  643. if (e.confirm) {
  644. interceptor();
  645. }
  646. },
  647. fail: e => {
  648. console.log(e);
  649. }
  650. });
  651. }
  652. },
  653. onReady() {
  654. if (this.hasLogin) {
  655. // this.$refs.tishi.open()
  656. } else {
  657. // this.$refs.tishi.open()
  658. }
  659. var obj = this;
  660. uni.getSystemInfo({
  661. success: resu => {
  662. const query = uni.createSelectorQuery();
  663. query.select('.content').boundingClientRect();
  664. query.exec(function(res) {
  665. obj.height = resu.windowHeight - res[0].top + 'px';
  666. });
  667. },
  668. fail: res => {}
  669. });
  670. },
  671. computed: {
  672. ...mapState('user', ['userInfo', 'baseURL', 'hasLogin']),
  673. startDate() {
  674. return this.getDate('start');
  675. },
  676. endDate() {
  677. return this.getDate('end');
  678. }
  679. },
  680. methods: {
  681. // 同意提示
  682. agreen() {
  683. if (this.isbtm) {
  684. this.isRead = true
  685. this.$refs.tishi.close()
  686. }
  687. },
  688. async join() {
  689. let obj = this;
  690. if (obj.name == '') {
  691. obj.$api.msg('请输入您的姓名');
  692. return;
  693. }
  694. if (obj.sex === '') {
  695. obj.$api.msg('请输入您的性别');
  696. return;
  697. }
  698. if (obj.birth == '' || obj.birth == '请选择你的生日') {
  699. obj.$api.msg('请填写您的生日');
  700. return;
  701. }
  702. const reg = /^(\+?0?86-?)?1[\d]\d{9}$/;
  703. if (obj.phone == '') {
  704. obj.$api.msg('请填写您的移动电话');
  705. return;
  706. }
  707. if (!reg.test(obj.phone)) {
  708. obj.$api.msg('请填写正确的移动电话');
  709. return;
  710. }
  711. // if (obj.address == '') {
  712. // obj.$api.msg('请填写您的地址');
  713. // return;
  714. // }
  715. // /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/
  716. if (obj.checked1 === '') {
  717. obj.$api.msg('请选择有无服务经验');
  718. return;
  719. }
  720. if (obj.checked === '') {
  721. obj.$api.msg('请选择是否接受过志愿者服务');
  722. return;
  723. }
  724. // if (obj.cardimg == '') {
  725. // obj.$api.msg('请上传您的证件');
  726. // return;
  727. // }
  728. if (!obj.start_hour){
  729. this.$api.msg('请选择开始时间!');
  730. return;
  731. }
  732. if (!obj.end_hour){
  733. this.$api.msg('请选择结束时间!');
  734. return;
  735. }
  736. if (!obj.dates) {
  737. this.$api.msg('请选择日期!');
  738. return;
  739. }
  740. if (obj.Getchecked == false) {
  741. this.$api.msg('请阅读并同意个人声明!');
  742. return;
  743. }
  744. // let reg1 = /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/;
  745. // if (!reg1.test(obj.card)) {
  746. // obj.$api.msg('请填写正确的身份证信息');
  747. // return;
  748. // }
  749. // if (obj.mz == '') {
  750. // obj.$api.msg('请填写您所属的名族');
  751. // return;
  752. // }
  753. // if (obj.specialty == '') {
  754. // obj.$api.msg('请填写您的职位');
  755. // return;
  756. // }
  757. // obj.loding = true;
  758. add_volunteers({
  759. name: obj.name,//姓名
  760. phone: obj.phone,//手机号
  761. sex: obj.sex,//性别
  762. birth: obj.birth,//生日
  763. image: obj.cardimg,//照片
  764. email: obj.email,//邮件
  765. address: obj.address,//地址
  766. work: obj.work, //工作单位
  767. specialty: obj.specialty, //职业/职务/专业
  768. education: obj.educationid, //教育程度
  769. is_vol: obj.checked,//是否受过志愿者服务
  770. is_experience: obj.checked1 == 1 ? 0: 1,//有无工作经验
  771. start_hour: obj.start_hour,
  772. end_hour: obj.end_hour,
  773. work_week: obj.dates,//星期几
  774. taste: obj.taste,//有兴趣参与的工作
  775. taste_title: obj.worksText, //工作其他
  776. speciali: obj.speciali,//专长
  777. speciali_title: obj.expertiseText,//其他专长
  778. })
  779. .then(e => {
  780. obj.loding = false;
  781. obj.sex = '请选择你的性别';
  782. obj.education = '请选择教育程度';
  783. obj.birth = '请选择你的生日';
  784. uni.navigateTo({
  785. url: '../joinSuc/joinNow'
  786. });
  787. })
  788. .catch(function(e) {
  789. console.log('出错了');
  790. console.log(e);
  791. obj.loding = false;
  792. });
  793. },
  794. imgsub() {
  795. console.log('imgsub');
  796. upload({
  797. filename: ''
  798. }).then(data => {
  799. console.log(data,'2222')
  800. this.cardimg = data[0].fullurl;
  801. });
  802. },
  803. // 选择性别
  804. bindPickerSex: function(e) {
  805. this.sex = e.target.value
  806. this.index = e.target.value + 1;
  807. },
  808. // 选择教育程度
  809. bindPickerEdu: function(e) {
  810. this.education = this.chooseEdu[e.target.value];
  811. this.educationid = e.target.value;
  812. console.log(this.educationid)
  813. },
  814. // 选择日期
  815. bindDateChange: function(e) {
  816. this.birth = e.target.value;
  817. },
  818. // 选择开始时间
  819. startTimeChange: function(e) {
  820. console.log(e,'开始时间')
  821. this.start_hour = e.target.value;
  822. },
  823. // 选择结束时间
  824. endTimeChange: function(e) {
  825. this.end_hour = e.target.value;
  826. },
  827. //选择填写日期
  828. fillingDateChange: function(e) {
  829. this.fillingDate = e.target.value;
  830. },
  831. // 是否参加志愿活动
  832. bindPickerVol: function(e) {
  833. this.is_vol = this.chooseVol[e.target.value];
  834. this.index = e.target.value + 1;
  835. },
  836. // 有无服务经验
  837. radioChange1(evt) {
  838. this.checked1 = evt.detail.value;
  839. console.log(this.checked1, '有无服务经验');
  840. },
  841. //是否受过志愿服务
  842. radioChange(evt) {
  843. this.checked = evt.detail.value;
  844. console.log(this.checked, '是否受过志愿服务');
  845. },
  846. Getcheckbox() {
  847. let obj = this;
  848. obj.Getchecked = !obj.Getchecked;
  849. },
  850. getDate(type) {
  851. const date = new Date();
  852. let year = date.getFullYear();
  853. let month = date.getMonth() + 1;
  854. let day = date.getDate();
  855. if (type === 'start') {
  856. year = year - 60;
  857. } else if (type === 'end') {
  858. year = year + 2;
  859. }
  860. month = month > 9 ? month : '0' + month;
  861. day = day > 9 ? day : '0' + day;
  862. return `${year}-${month}-${day}`;
  863. },
  864. //时间段
  865. checkboxChange: function(e) {
  866. var items = this.days,
  867. values = e.detail.value;
  868. for (var i = 0, lenI = items.length; i < lenI; ++i) {
  869. const item = items[i];
  870. if (values.includes(item.value)) {
  871. this.$set(item, 'checked', true);
  872. } else {
  873. this.$set(item, 'checked', false);
  874. }
  875. }
  876. this.quantum = values.join(',');
  877. console.log(this.quantum, '时间段');
  878. },
  879. //日期
  880. checkboxChange1: function(e) {
  881. var items = this.items,
  882. values = e.detail.value;
  883. for (var i = 0, lenI = items.length; i < lenI; ++i) {
  884. const item = items[i];
  885. if (values.includes(item.value)) {
  886. this.$set(item, 'checked', true);
  887. } else {
  888. this.$set(item, 'checked', false);
  889. }
  890. }
  891. this.dates = values.join(',');
  892. console.log(this.dates, '日期');
  893. },
  894. //有兴趣参与的工作
  895. checkboxChange2: function(e) {
  896. var items = this.works,
  897. values = e.detail.value;
  898. for (var i = 0, lenI = items.length; i < lenI; ++i) {
  899. const item = items[i];
  900. if (values.includes(item.value)) {
  901. this.$set(item, 'checked', true);
  902. } else {
  903. this.$set(item, 'checked', false);
  904. }
  905. }
  906. this.taste = values.join(',');
  907. console.log(this.taste, '有兴趣参与的工作');
  908. },
  909. //专长
  910. checkboxChange3: function(e) {
  911. var items = this.expertise,
  912. values = e.detail.value;
  913. for (var i = 0, lenI = items.length; i < lenI; ++i) {
  914. const item = items[i];
  915. if (values.includes(item.value)) {
  916. this.$set(item, 'checked', true);
  917. } else {
  918. this.$set(item, 'checked', false);
  919. }
  920. }
  921. this.speciali = values.join(',');
  922. console.log(this.speciali, '专长');
  923. }
  924. }
  925. };
  926. </script>
  927. <style lang="scss">
  928. page {
  929. background-color: #ffffff;
  930. }
  931. .content {
  932. // padding-top: 64rpx;
  933. // background-color: #f3afad;
  934. .top {
  935. width: 100%;
  936. height: 368rpx;
  937. image {
  938. width: 100%;
  939. height: 368rpx;
  940. }
  941. }
  942. .info-box {
  943. text-indent: 64rpx;
  944. margin: 12rpx 0 54rpx;
  945. padding: 0 32rpx 20rpx;
  946. // border: 3rpx solid #009100;
  947. width: 100%;
  948. display: flex;
  949. flex-direction: column;
  950. border-radius: 25rpx;
  951. color: #e63931;
  952. }
  953. .statement {
  954. // margin: 32rpx;
  955. background-color: #ffffff;
  956. // padding: 32rpx 23rpx;
  957. border-radius: 12rpx;
  958. .title {
  959. height: 84rpx;
  960. display: flex;
  961. justify-content: center;
  962. align-items: center;
  963. font-size: 32rpx;
  964. border-bottom: 2rpx dotted #f3f3f3;
  965. }
  966. .main {
  967. padding: 24rpx;
  968. text-indent: 48rpx;
  969. color: #666;
  970. font-weight: 400;
  971. }
  972. }
  973. .buttom {
  974. width: 100%;
  975. height: 100rpx;
  976. background: #df2412;
  977. margin: 50rpx auto 0;
  978. font-size: 36rpx;
  979. font-weight: 400;
  980. color: #ffffff;
  981. line-height: 100rpx;
  982. text-align: center;
  983. &.action {
  984. background: #999999;
  985. }
  986. }
  987. .box {
  988. // margin-top: 44rpx;
  989. // width: 690rpx;
  990. // margin: 32rpx auto 0;
  991. background-color: #ffffff;
  992. border-radius: 10rpx;
  993. padding: 28rpx 32rpx 84rpx 32rpx;
  994. position: relative;
  995. // .red-box {
  996. // width: 405rpx;
  997. // line-height: 66rpx;
  998. // text-align: center;
  999. // background: linear-gradient(0deg, #C90F1B, #F14D33);
  1000. // border-radius: 10rpx;
  1001. // font-size: 30rpx;
  1002. // font-weight: 500;
  1003. // color: #FFFFFF;
  1004. // // position: relative;
  1005. // position: absolute;
  1006. // top: -36rpx;
  1007. // left: 50%;
  1008. // transform: translateX(-50%);
  1009. // z-index: 1;
  1010. // }
  1011. .box-check {
  1012. font-size: 28rpx;
  1013. font-weight: 500;
  1014. color: #666666;
  1015. line-height: 100rpx;
  1016. }
  1017. .imp {
  1018. color: red;
  1019. margin-left: 5rpx;
  1020. }
  1021. .check-box {
  1022. margin: 44rpx 0rpx;
  1023. padding: 25rpx 25rpx;
  1024. border: 3rpx solid #e9b2af;
  1025. width: 100%;
  1026. display: flex;
  1027. flex-direction: column;
  1028. border-radius: 25rpx;
  1029. color: #e63931;
  1030. .info {
  1031. margin-bottom: 32rpx;
  1032. text-align: center;
  1033. }
  1034. .chooseTim {
  1035. text-align: center;
  1036. font-size: 42rpx;
  1037. }
  1038. .choose-job {
  1039. color: #666666;
  1040. // height: 45rpx; 爱心捐赠
  1041. .goods_check {
  1042. display: flex;
  1043. flex-direction: column;
  1044. .uni-label-pointer {
  1045. // width: 50%;
  1046. // display: flex;
  1047. }
  1048. }
  1049. .other {
  1050. width: 100%;
  1051. border-bottom: 2rpx solid #f3f3f3;
  1052. }
  1053. }
  1054. .box-cent {
  1055. font-size: 28rpx;
  1056. font-weight: 500;
  1057. color: #666666;
  1058. display: flex;
  1059. .cent-left {
  1060. margin-right: 28rpx;
  1061. .left-txt {
  1062. line-height: 100rpx;
  1063. }
  1064. }
  1065. .cent-right {
  1066. flex: 1;
  1067. display: flex;
  1068. justify-content: space-around;
  1069. .right-check {
  1070. line-height: 100rpx;
  1071. }
  1072. }
  1073. }
  1074. }
  1075. .box-1 {
  1076. display: flex;
  1077. justify-content: space-between;
  1078. align-items: center;
  1079. width: 100%;
  1080. margin-top: 42rpx;
  1081. // height: 133rpx;
  1082. .box-left {
  1083. padding-left: 2rpx;
  1084. width: 50%;
  1085. text-align: left;
  1086. color: #000000;
  1087. }
  1088. input {
  1089. height: 66rpx;
  1090. line-height: 66rpx;
  1091. // height: 88rpx;
  1092. }
  1093. .list-input {
  1094. padding-left: 24rpx;
  1095. // margin: 12rpx 0 ;
  1096. font-size: 28rpx;
  1097. // line-height: 66rpx;
  1098. display: flex;
  1099. align-items: center;
  1100. width: 50%;
  1101. flex: 1;
  1102. color: #000000;
  1103. text-align: right;
  1104. padding-right: 24rpx;
  1105. .input-placeholder {
  1106. height: 70rpx;
  1107. color: #959595;
  1108. }
  1109. }
  1110. .box-right {
  1111. display: flex;
  1112. padding-left: 24rpx;
  1113. height: 66rpx;
  1114. line-height: 66rpx;
  1115. border-radius: 22rpx;
  1116. // margin: 32rpx 36rpx 0 36rpx;
  1117. width: 100%;
  1118. padding-right: 24rpx;
  1119. font-size: 28rpx;
  1120. color: #959595;
  1121. text-align: right !important;
  1122. // line-height: 1;
  1123. }
  1124. }
  1125. .upload-box {
  1126. width: 100%;
  1127. height: 247rpx;
  1128. background: #ffffff;
  1129. // border: 1px solid #E63931;
  1130. border-radius: 27rpx;
  1131. display: flex;
  1132. flex-direction: column;
  1133. padding: 30rpx 40rpx 30rpx 0;
  1134. margin: 42rpx auto 30rpx;
  1135. .upload-left {
  1136. font-weight: 400;
  1137. color: #000000;
  1138. }
  1139. .upload-right {
  1140. flex: 1;
  1141. display: flex;
  1142. align-items: center;
  1143. justify-content: center;
  1144. .upload-img {
  1145. width: 150rpx;
  1146. height: 150rpx;
  1147. margin-top: 24rpx;
  1148. }
  1149. }
  1150. }
  1151. }
  1152. .flex_item {
  1153. display: flex;
  1154. align-items: center;
  1155. }
  1156. .radio-list {
  1157. display: flex;
  1158. flex-wrap: wrap;
  1159. font-size: 28rpx;
  1160. padding-top: 30rpx;
  1161. color: #000000;
  1162. .uni-label-pointer {
  1163. padding-right: 25rpx;
  1164. padding-bottom: 30rpx;
  1165. }
  1166. }
  1167. .check_box {
  1168. padding: 25rpx 25rpx;
  1169. font-size: 28rpx;
  1170. }
  1171. .list-box {
  1172. background-color: #ffffff;
  1173. font-size: 28rpx;
  1174. width: 100%;
  1175. height: 100%;
  1176. border-top: 15rpx solid #f2f2f2;
  1177. color: #222222;
  1178. .worksInput {
  1179. margin-bottom: 35rpx;
  1180. border: 2rpx solid #979797;
  1181. width: 100%;
  1182. height: 70rpx;
  1183. line-height: 70rpx;
  1184. padding: 0rpx 25rpx;
  1185. border-radius: 15rpx;
  1186. }
  1187. .list-title {
  1188. color: #000000;
  1189. text-align: center;
  1190. padding: 30rpx 0rpx;
  1191. font-size: 34rpx;
  1192. font-weight: 500;
  1193. border-bottom: 2rpx dashed #b5b5b5;
  1194. }
  1195. .tip {
  1196. color: #000000;
  1197. padding-top: 25rpx;
  1198. width: 100%;
  1199. text-align: center;
  1200. }
  1201. .icon {
  1202. color: red;
  1203. margin-left: 5rpx;
  1204. }
  1205. }
  1206. }
  1207. .ts-wrap {
  1208. width: 673rpx;
  1209. height: 1134rpx;
  1210. background: #FFFFFF;
  1211. border-radius: 20rpx;
  1212. position: relative;
  1213. .ts-tit {
  1214. height: 103rpx;
  1215. padding-top: 40rpx;
  1216. text-align: center;
  1217. font-size: 36rpx;
  1218. font-weight: bold;
  1219. color: #000000;
  1220. width: 588rpx;
  1221. margin: auto;
  1222. border-bottom: 1px solid #a1a1a1;
  1223. }
  1224. .ts-content {
  1225. height: 882rpx;
  1226. margin: 30rpx 0;
  1227. text-align: justify;
  1228. font-size: 28rpx;
  1229. font-weight: 500;
  1230. color: #666666;
  1231. .xq {
  1232. width: 600rpx;
  1233. margin: auto;
  1234. text-indent:2em;
  1235. }
  1236. view {
  1237. width: 600rpx;
  1238. margin: auto;
  1239. text-indent:2em;
  1240. }
  1241. .tit {
  1242. font-weight: bold;
  1243. text-align: center;
  1244. text-indent:0em;
  1245. // color: ;
  1246. }
  1247. }
  1248. .ts-btn {
  1249. width: 673rpx;
  1250. line-height: 90rpx;
  1251. font-size: 32rpx;
  1252. font-weight: 500;
  1253. color: #FFFFFF;
  1254. text-align: center;
  1255. background: #FF4C4C;
  1256. border-radius: 0px 0px 20rpx 20rpx;
  1257. position: absolute;
  1258. bottom: 0;
  1259. }
  1260. }
  1261. .tcc {
  1262. position: relative;
  1263. background-color: #f8f8f8;
  1264. }
  1265. .tc-wrap {
  1266. width: 500rpx;
  1267. position: relative;
  1268. .tc-img {
  1269. width: 500rpx;
  1270. }
  1271. .qr-wrap {
  1272. width: 254rpx;
  1273. height: 254rpx;
  1274. padding: 2rpx;
  1275. position: absolute;
  1276. top: 152rpx;
  1277. // left: 132rpx;
  1278. left: 0;
  1279. right: 0;
  1280. margin: auto;
  1281. background: #fff;
  1282. border: 1rpx solid #000;
  1283. border-radius: 10rpx;
  1284. }
  1285. }
  1286. </style>