apply.vue 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399
  1. <template>
  2. <view class="container register" :style="{ paddingTop: CustomBar + 'px' }">
  3. <cu-custom :navbar-data="nvabarData" @navigateBack="hanldNavigateBack"></cu-custom>
  4. <view class="register-main title clearfix">
  5. <view class="register-row none clearfix">
  6. <view class="register-title first"
  7. ><text>补充以下详细信息即可升级为资质机构,享受更多更好的服务。</text></view
  8. >
  9. <view class="register-title"><text></text></view>
  10. </view>
  11. </view>
  12. <view class="register-main clearfix" v-if="clubStatus == 92">
  13. <view class="register-row none clearfix">
  14. <view class="error-title">审核未通过原因:</view>
  15. <view class="error-main">
  16. <text class="error-item" v-for="(item, index) in errorList" :key="index"> {{ item }} </text>
  17. </view>
  18. </view>
  19. </view>
  20. <view class="register-main detailed clearfix">
  21. <view class="register-row clearfix">
  22. <view class="register-from">
  23. <view class="label">联系人身份</view>
  24. <view class="row-input">
  25. <picker @change="bindPickerUserName($event)" :value="index" :range="stateActions" range-key="name">
  26. <input
  27. class="row-input"
  28. type="text"
  29. disabled="false"
  30. v-model="linkManIdentityText"
  31. value=""
  32. placeholder="请选择"
  33. />
  34. </picker>
  35. </view>
  36. <text class="iconfont icon-xiayibu"></text>
  37. </view>
  38. </view>
  39. <view class="register-row none clearfix">
  40. <view class="register-from">
  41. <view class="label">邮箱</view>
  42. <input
  43. class="row-input"
  44. type="text"
  45. name="input"
  46. v-model="contractEmail"
  47. placeholder="请输入您的常用邮箱"
  48. placeholder-class="placeholder"
  49. maxlength="30"
  50. />
  51. </view>
  52. <view class="register-tip"><text>提示:邮箱可用作登录账号,请使用公司邮箱或法人邮箱</text></view>
  53. </view>
  54. <view class="register-row none clearfix">
  55. <view class="register-from">
  56. <view class="label">机构名称</view>
  57. <input
  58. class="row-input"
  59. type="text"
  60. v-model="clubName"
  61. placeholder="请输入您的机构名称"
  62. placeholder-class="placeholder"
  63. maxlength="30"
  64. />
  65. </view>
  66. <view class="register-tip"><text>示例:深圳市美丽人生医疗美容有限公司</text></view>
  67. </view>
  68. <view class="register-row none clearfix">
  69. <view class="register-from">
  70. <view class="label">机构简称</view>
  71. <input
  72. class="row-input"
  73. type="text"
  74. v-model="shortName"
  75. placeholder="请输入姓名或常用名"
  76. placeholder-class="placeholder"
  77. maxlength="10"
  78. />
  79. </view>
  80. <view class="register-tip"><text>示例:美丽人生</text></view>
  81. </view>
  82. <view class="register-row clearfix">
  83. <view class="register-from" @click="showMulLinkageThreePicker">
  84. <view class="label">机构地址</view>
  85. <text class="row-input" :class="addressData.address === '请选择机构所在地区' ? 'none' : ''">
  86. {{ addressData.address }}
  87. </text>
  88. <text class="iconfont icon-xiayibu"></text>
  89. </view>
  90. </view>
  91. <view class="register-row text-textarea clearfix">
  92. <view class="textarea show" v-if="isShowInput" @click="showTextareaFocus">{{
  93. addressData.addressDetail ? addressData.addressDetail : '详细地址:如道路、门牌号、小区等'
  94. }}</view>
  95. <textarea
  96. v-else
  97. class="textarea"
  98. type="text"
  99. v-model="addressData.addressDetail"
  100. placeholder="详细地址:如道路、门牌号、小区等"
  101. placeholder-class="placeholder"
  102. maxlength="25"
  103. @input="onTextareaInput"
  104. :focus="textareaFocus"
  105. @blur="hideTextareaFocus"
  106. :class="isShowInput ? '' : ''"
  107. />
  108. </view>
  109. <view class="register-row clearfix">
  110. <view class="register-from">
  111. <view class="label">营业执照编号</view>
  112. <input
  113. class="row-input code"
  114. type="text"
  115. v-model="socialCreditCode"
  116. placeholder="请填写社会统一信用代码"
  117. maxlength="18"
  118. />
  119. </view>
  120. </view>
  121. <view class="register-row clearfix">
  122. <view class="register-picture">
  123. <view class="label">营业执照</view>
  124. <view class="upload-picture">
  125. <view class="upload-none" v-if="businessLicense === ''" @click="chooseBusinessImage">
  126. <image src="https://static.caimei365.com/app/img/upload/club-zizhi.png"></image>
  127. </view>
  128. <view class="upload-image" v-else>
  129. <image :src="businessLicense" mode="" @click="viewBusinessImage"></image>
  130. <view class="upload-del" @click="delBusinessImage">
  131. <text class="iconfont icon-shanchu1"></text>
  132. </view>
  133. </view>
  134. </view>
  135. </view>
  136. </view>
  137. <view class="register-row clearfix">
  138. <view class="register-picture">
  139. <view class="label">门头照</view>
  140. <view class="upload-picture">
  141. <view class="upload-none" v-if="shopPhoto === ''" @click="chooseMentuzImage">
  142. <image src="https://static.caimei365.com/app/img/upload/club-door.png"></image>
  143. </view>
  144. <view class="upload-image" v-else>
  145. <image :src="shopPhoto" mode="" @click="viewMentuzImage"></image>
  146. <view class="upload-del" @click="delMentuzImage">
  147. <text class="iconfont icon-shanchu1"></text>
  148. </view>
  149. </view>
  150. </view>
  151. </view>
  152. </view>
  153. <view class="register-row clearfix">
  154. <view class="register-from" @click="bindPickerChange">
  155. <view class="label">机构类型</view>
  156. <text class="row-input">
  157. {{ organizationTypeText }}
  158. </text>
  159. <text class="iconfont icon-xiayibu"></text>
  160. </view>
  161. </view>
  162. <view class="register-row none clearfix" v-if="firstClubType == 1">
  163. <view class="register-from noneborder second">
  164. <view
  165. class="secondTyperadio"
  166. v-for="(item, index) in beautyList"
  167. :key="item.value"
  168. @click="radioChange(item)"
  169. :class="item.value == secondClubType ? 'active' : ''"
  170. >
  171. <view class="secondRadio">{{ item.name }}</view>
  172. </view>
  173. </view>
  174. </view>
  175. <view class="register-row none clearfix" v-if="firstClubType == 2">
  176. <view class="register-from noneborder second">
  177. <view
  178. class="secondTyperadio"
  179. v-for="(item, index) in beautyLists"
  180. :key="item.value"
  181. @click="radioChange(item)"
  182. :class="item.value == secondClubType ? 'active' : ''"
  183. >
  184. <view class="secondRadio">{{ item.name }}</view>
  185. </view>
  186. </view>
  187. </view>
  188. <view class="register-row none clearfix" v-if="firstClubType == 1">
  189. <view class="register-picture zz">
  190. <view class="label zz">医疗执业许可证</view>
  191. <view class="upload-picture">
  192. <view class="upload-none" v-if="medicalPracticeLicense === ''" @click="chooseMedicalImage">
  193. <image src="https://static.caimei365.com/app/img/upload/club-zizhi.png"></image>
  194. </view>
  195. <view class="upload-image" v-else>
  196. <image :src="medicalPracticeLicense" mode="" @click="viewMedicalImage"></image>
  197. <view class="upload-del" @click="delMedicalImage">
  198. <text class="iconfont icon-shanchu1"></text>
  199. </view>
  200. </view>
  201. </view>
  202. </view>
  203. </view>
  204. <view class="register-row clearfix" v-if="firstClubType == 1 && isDepartment">
  205. <view class="register-from" style="height: auto;border: 0;">
  206. <view class="kes-title">科室</view>
  207. <input
  208. class="keshi"
  209. placeholder="请填写经营的科室,至少三个,用逗号隔开"
  210. placeholder-style="placeholder"
  211. v-model="department"
  212. maxlength="16"
  213. ></input>
  214. </view>
  215. </view>
  216. <view class="register-row clearfix" v-if="firstClubType == 1">
  217. <view class="register-from group" style="height: auto;border: 0;">
  218. <view class="label">主营内容</view>
  219. </view>
  220. </view>
  221. <view class="register-row clearfix" v-if="firstClubType == 1">
  222. <view class="register-from group" style="height: auto;border: 0;">
  223. <view class="content-class">
  224. <checkbox-group @change="chooseMaleLike">
  225. <label
  226. class="item"
  227. v-for="(item, index) in mentuzCampList"
  228. :key="index"
  229. :class="{ on: item.checked }"
  230. >
  231. <checkbox class="item-checkbox" :value="item.value"></checkbox>
  232. <text class="item-text">{{ item.name }}</text>
  233. </label>
  234. </checkbox-group>
  235. </view>
  236. </view>
  237. <view class="register-from group btn" style="height: auto;border: 0;">
  238. <view class="content-class btn">
  239. <input
  240. class="row-input other"
  241. type="text"
  242. v-model="customItemValue"
  243. placeholder-style="placeholder"
  244. placeholder="请输入自定义主营内容"
  245. maxlength="5"
  246. />
  247. <button type="default" class="confirm-btn" @click.stop="addCustomItem">确认添加</button>
  248. </view>
  249. </view>
  250. </view>
  251. <view class="register-row clearfix" v-if="firstClubType == 2">
  252. <view class="register-from group" style="height: auto;border: 0;">
  253. <view class="label">主营内容</view>
  254. </view>
  255. </view>
  256. <view class="register-row clearfix" v-if="firstClubType == 2">
  257. <view class="register-from group" style="height: auto;border: 0;">
  258. <view class="content-class">
  259. <checkbox-group @change="chooseMaleLikes">
  260. <label
  261. class="item"
  262. v-for="(item, index) in medicaCampList"
  263. :key="index"
  264. :class="{ on: item.checked }"
  265. >
  266. <checkbox class="item-checkbox" :value="item.value" :checked="item.checked"></checkbox>
  267. <text class="item-text">{{ item.name }}</text>
  268. </label>
  269. </checkbox-group>
  270. </view>
  271. </view>
  272. <view class="register-from group btn" style="height: auto;border: 0;">
  273. <view class="content-class btn">
  274. <input
  275. class="row-input other"
  276. type="text"
  277. v-model="customItemValue"
  278. placeholder="请输入自定义主营内容"
  279. placeholder-style="placeholder"
  280. maxlength="5"
  281. />
  282. <button type="default" class="confirm-btn" @click.stop="addCustomItem">确认添加</button>
  283. </view>
  284. </view>
  285. </view>
  286. <view class="register-fiexd clearfix" :style="{ paddingBottom: isIphoneX ? '68rpx' : '36rpx' }">
  287. <view class="register-row ">
  288. <view class="register-btn sub" @click.stop="organizationUpdateInfo">确认升级并提交审核</view>
  289. </view>
  290. </view>
  291. <mpvue-city-picker
  292. :themeColor="themeColor"
  293. ref="mpvueCityPicker"
  294. :pickerValueDefault="cityPickerValueDefault"
  295. @onCancel="onCancel"
  296. @onConfirm="onConfirm"
  297. >
  298. </mpvue-city-picker>
  299. </view>
  300. <!-- 提交审核提示弹窗 -->
  301. <view class="tui-alert-box" v-if="isConfirmShow">
  302. <view class="tui-alert-content">
  303. <view class="tui-alert-main"
  304. >升级信息提交成功,审核通过后您的身份将成为资质机构,并且获得<text class="red">500</text
  305. >采美豆的奖励</view
  306. >
  307. <view class="tui-alert-btn" @click="handleClick">知道了</view>
  308. </view>
  309. </view>
  310. </view>
  311. </template>
  312. <script>
  313. import { mapMutations } from 'vuex'
  314. import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
  315. import { beautyList, beautyLists, mentuzCampNullList, medicaCampNullList } from '@/common/json/data.json.js' //本地数据
  316. import { uploadFileImage } from '@/services/public.js'
  317. import wxLogin from '@/common/config/wxLogin.js'
  318. export default {
  319. components: {
  320. mpvueCityPicker
  321. },
  322. data() {
  323. return {
  324. nvabarData: {
  325. //顶部自定义导航
  326. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示,
  327. showSearch: 0,
  328. title: '升级资质机构', // 导航栏 中间的标题
  329. haveBack: true,
  330. textLeft: this.$store.state.isIphone
  331. },
  332. isIphoneX: this.$store.state.isIphoneX,
  333. CustomBar: this.CustomBar, // 顶部导航栏高度
  334. errorList: [],
  335. tabCurrentIndex: 3,
  336. clubStatus: '', //审核状态
  337. isPreviewImage: false, //预览图片开关
  338. userId: '', //用户ID
  339. clubId: '', //会所ID
  340. contractEmail: '', //邮箱
  341. clubName: '', //机构名称
  342. shortName: '', //机构简称
  343. socialCreditCode: '', //统一社会信用代码
  344. isDisabled: true,
  345. isShowInput: true,
  346. textareaFocus: false,
  347. businessLicense:'', //营业执照图片
  348. shopPhoto: '', //门头照图片
  349. medicalPracticeLicense: '', //资质照图片
  350. department: '', //科室
  351. isDepartment: true, //是否显示科室
  352. secondClubType: '', //机构类型二级分类
  353. mainProduct: '', //主营内容
  354. firstClubType: 1, //机构类型
  355. linkManIdentity:0, //联系人身份
  356. linkManIdentityText:'请选择联系人身份', //联系人身份
  357. firstClubTypeCurrent:0,
  358. organizationTypeText: '请选择机构类型',
  359. beautyList: beautyList, //医美分类
  360. beautyLists: beautyLists, //生美分类
  361. mentuzCampNullList: mentuzCampNullList, //医美分类
  362. medicaCampNullList: medicaCampNullList, //生美分类
  363. mentuzCampList: [], //医美主营
  364. medicaCampList: [], //生美主营
  365. typtIndex: 0,
  366. organizationType: 0,
  367. isShowAustomItem: false, //是否显示其他添加
  368. customItemValue: '', //自定义项目
  369. isMainproCheck: false,
  370. isConfirmShow: false,
  371. isFirstAdds:true,
  372. addressData: {
  373. address: '请选择机构所在地区',
  374. townId: '', //区ID
  375. cityId: '', //市ID
  376. provinceId: '', //省ID
  377. addressDetail: '' //地址详情
  378. },
  379. stateActions: [
  380. { name: '老板', value: 1 },
  381. { name: '采购', value: 2 },
  382. { name: '运营', value: 3 },
  383. { name: '其他', value: 4 },
  384. ]
  385. }
  386. },
  387. onLoad(option) {
  388. this.handleInfo(option)
  389. },
  390. methods: {
  391. async handleInfo(option){
  392. if(option.userBehaviorType === 'model'){
  393. // 这是从公众号模板消息进入
  394. wxLogin.wxLoginAuthorize()// 执行快捷授权登录
  395. this.initGetStotage()
  396. setTimeout(()=>{
  397. this.userClubBehaviorInfo()
  398. },1000)
  399. }else{
  400. // 正常进入升级资料
  401. this.clubStatus = option.clubStatus ? option.clubStatus : ''
  402. this.initGetStotage()
  403. }
  404. },
  405. async initGetStotage() {
  406. // 初始化查询机构资料信息
  407. const userInfo = await this.$api.getStorage()
  408. this.userId = userInfo.userId ? userInfo.userId : 0
  409. this.organizationInfo()
  410. },
  411. async userClubBehaviorInfo(){
  412. // 统计微信模板消息点击进入
  413. // 获取路径
  414. const pages = getCurrentPages()
  415. const len = pages.length
  416. const page = pages[len - 1]
  417. const route = { path: '/' + page.route, fullPath: page.$page.fullPath, query: page.options, meta: {} }
  418. try{
  419. await this.UserService.userClubBehaviorInfo({ userId: this.userId,link:route.path, accessType:4,accessSource:1 })
  420. }catch(error){
  421. console.log('error',error)
  422. }
  423. },
  424. async organizationInfo() {
  425. try{
  426. const res = await this.UserService.OrganizationUpdateModifyInfo({ userId: this.userId })
  427. const data = res.data
  428. const organizationClub = data.club
  429. const organizationUser = data.user
  430. if (organizationUser.auditNoteList != null) {
  431. this.errorList = organizationUser.auditNoteList
  432. }
  433. this.contractEmail = organizationClub.contractEmail
  434. this.linkManIdentity = organizationClub.linkManIdentity ? organizationClub.linkManIdentity : 0
  435. this.linkManIdentityText = this.linkManIdentity ? this.linkManFilters(this.linkManIdentity) : '请选择联系人身份'
  436. this.clubId = organizationUser.clubId
  437. if (this.contractEmail) {
  438. this.isFirstAdds = false
  439. this.clubName = this.$reg.checkData(organizationClub.name)
  440. } else {
  441. this.isFirstAdds = true
  442. this.clubName = ''
  443. }
  444. this.shortName = this.$reg.checkData(organizationClub.shortName)
  445. if (organizationClub.provinceId == '' || organizationClub.provinceId == null) {
  446. this.addressData.provinceId = ''
  447. } else {
  448. this.addressData.provinceId = organizationClub.provinceId
  449. }
  450. if (organizationClub.cityId == '' || organizationClub.cityId === null) {
  451. this.addressData.cityId = ''
  452. } else {
  453. this.addressData.cityId = organizationClub.cityId
  454. }
  455. if (organizationClub.townId == '' || organizationClub.townId == null) {
  456. this.addressData.townId = ''
  457. } else {
  458. this.addressData.townId = organizationClub.townId
  459. }
  460. this.addressData.address = organizationClub.provincialAddress
  461. ? organizationClub.provincialAddress
  462. : '请选择机构所在地区'
  463. this.addressData.addressDetail = this.$reg.checkData(organizationClub.address)
  464. this.socialCreditCode = this.$reg.checkData(organizationClub.socialCreditCode)
  465. this.firstClubType = organizationClub.firstClubType
  466. this.organizationTypeText = organizationClub.firstClubType ? this.firstClubTypeText(this.firstClubType) : '请选择机构类型'
  467. this.secondClubType = this.$reg.checkData(organizationClub.secondClubType)
  468. this.businessLicense = this.$reg.checkData(organizationClub.businessLicense)
  469. this.shopPhoto = this.$reg.checkData(organizationClub.shopPhoto)
  470. this.medicalPracticeLicense = this.$reg.checkData(organizationClub.medicalPracticeLicense)
  471. this.department = this.$reg.checkData(organizationClub.department)
  472. if (organizationClub.mainProduct == '' || organizationClub.mainProduct == null) {
  473. this.mentuzCampList = this.mentuzCampNullList
  474. this.medicaCampList = this.medicaCampNullList
  475. } else {
  476. if (this.firstClubType == 1) {
  477. this.mentuzCampList = this.setNewMainpro(organizationClub.mainProduct)
  478. this.medicaCampList = this.medicaCampNullList
  479. } else {
  480. this.medicaCampList = this.setNewMainpro(organizationClub.mainProduct)
  481. this.mentuzCampList = this.mentuzCampNullList
  482. }
  483. this.mainProduct = organizationClub.mainProduct
  484. }
  485. //机构类型
  486. switch (this.secondClubType) {
  487. case 1:
  488. this.isDepartment = false
  489. break
  490. case 2:
  491. this.isDepartment = true
  492. break
  493. case 3:
  494. this.isDepartment = true
  495. break
  496. }
  497. }catch(error){
  498. this.$util.msg(error.msg, 2000)
  499. }
  500. },
  501. organizationUpdateInfo() {
  502. //提交审核
  503. if (this.isFirstAdds) {
  504. let mainproList = []
  505. if (this.firstClubType == 1) {
  506. this.mentuzCampList.forEach(item => {
  507. mainproList.push(item.name)
  508. })
  509. } else {
  510. this.medicaCampList.forEach(item => {
  511. mainproList.push(item.name)
  512. })
  513. }
  514. this.mainProduct = mainproList.join('/')
  515. }
  516. if (!this.linkManIdentity) {
  517. this.$util.msg('请选择联系人身份', 2000)
  518. return
  519. }
  520. if (this.contractEmail == '') {
  521. this.$util.msg('请输入邮箱地址', 2000)
  522. return
  523. }
  524. if (!this.$reg.isEmail(this.contractEmail)) {
  525. this.$util.msg('请输入正确的邮箱地址', 2000)
  526. return
  527. }
  528. if (this.clubName == '') {
  529. this.$util.msg('请输入机构名称', 2000)
  530. return
  531. }
  532. if (this.addressData.townId == '') {
  533. this.$util.msg('请选择机构地址', 2000)
  534. return
  535. }
  536. if (this.addressData.addressDetail == '') {
  537. this.$util.msg('请填写机构详细地址', 2000)
  538. return
  539. }
  540. if (this.businessLicense == '') {
  541. this.$util.msg('请上传您的营业执照', 2000)
  542. return
  543. }
  544. if (this.firstClubType == 1){
  545. if (this.medicalPracticeLicense == '') {
  546. this.$util.msg('请上传您的资质许可证', 2000)
  547. return
  548. }
  549. }
  550. if (this.firstClubType == 1 || this.firstClubType == 2) {
  551. if(this.secondClubType == ''){
  552. this.$util.msg('选择机构类型', 2000)
  553. return
  554. }
  555. }
  556. if (this.firstClubType == 1 || this.firstClubType == 2) {
  557. if (this.mainProduct == '') {
  558. this.$util.msg('请选择机构主营内容', 2000)
  559. return
  560. }
  561. }
  562. let params = {
  563. userId: this.userId,
  564. clubId: this.clubId, //会所ID
  565. contractEmail: this.contractEmail,
  566. name: this.clubName,
  567. linkManIdentity:this.linkManIdentity,
  568. shortName: this.shortName,
  569. provinceId: this.addressData.provinceId,
  570. cityId: this.addressData.cityId,
  571. townId: this.addressData.townId,
  572. address: this.addressData.addressDetail,
  573. socialCreditCode: this.socialCreditCode,
  574. businessLicense: this.businessLicense,
  575. shopPhoto: this.shopPhoto,
  576. firstClubType: this.firstClubType, //机构类型分类 医美:1和生美:2
  577. secondClubType: this.secondClubType, //机构类型二级分类 诊所:1,门诊:2,医院:3
  578. department: this.department, //科室
  579. medicalPracticeLicense: this.medicalPracticeLicense, //资质图片
  580. mainProduct: this.mainProduct
  581. }
  582. // 友盟埋点普通机构确认升级点击事件
  583. if (process.env.NODE_ENV != 'development') {
  584. this.$uma.trackEvent('Um_Event_ConfirmClubUpgrade', {
  585. Um_Key_ClubName: `${this.clubName}`,
  586. Um_Key_PageName: '普通机构确认升级',
  587. Um_Key_SourcePage: '升级页面'
  588. })
  589. }
  590. this.confirmOrganizationRegister(params)
  591. },
  592. async confirmOrganizationRegister(params){
  593. // 调用提交审核
  594. try{
  595. await this.UserService.OrganizationRegister(params)
  596. this.isConfirmShow = true
  597. }catch(error){
  598. this.$util.msg(error.msg, 2000)
  599. }
  600. },
  601. handleClick() {
  602. //隐藏提示弹窗
  603. this.isConfirmShow = false
  604. setTimeout(() => {
  605. uni.navigateBack()
  606. }, 2000)
  607. },
  608. // 三级联动选择
  609. showMulLinkageThreePicker() {
  610. this.isShowInput = true
  611. this.$refs.mpvueCityPicker.show()
  612. },
  613. onConfirm(e) {
  614. this.addressData.address = e.name
  615. this.addressData.townId = e.townCode
  616. this.addressData.cityId = e.cityCode
  617. this.addressData.provinceId = e.provinceCode
  618. },
  619. onTextareaInput(e) {
  620. this.addressData.addressDetail = e.detail.value
  621. },
  622. showTextareaFocus() {
  623. //文本框获取焦点
  624. this.isShowInput = false
  625. this.textareaFocus = true
  626. },
  627. hideTextareaFocus() {
  628. //文本框失去焦点
  629. this.isShowInput = true
  630. this.textareaFocus = false
  631. },
  632. chooseBusinessImage() {
  633. //营业执照图片上传
  634. uploadFileImage().then(res => {
  635. this.businessLicense = JSON.parse(res.data).data
  636. })
  637. },
  638. chooseMentuzImage() {
  639. //门头照图片上传
  640. uploadFileImage().then(res => {
  641. this.shopPhoto = JSON.parse(res.data).data
  642. })
  643. },
  644. chooseMedicalImage() {
  645. //资质照图片上传
  646. uploadFileImage().then(res => {
  647. this.medicalPracticeLicense = JSON.parse(res.data).data
  648. })
  649. },
  650. viewBusinessImage(e) {
  651. this.myPreviewImageFn(this.businessLicense)
  652. },
  653. viewMentuzImage(e) {
  654. this.myPreviewImageFn(this.shopPhoto)
  655. },
  656. viewMedicalImage(e) {
  657. this.myPreviewImageFn(this.medicalPracticeLicense)
  658. },
  659. myPreviewImageFn(url) {
  660. this.isPreviewImage = true
  661. let mentuzArray = []
  662. mentuzArray.push(url)
  663. uni.previewImage({
  664. urls: mentuzArray,
  665. current: 0
  666. })
  667. },
  668. delBusinessImage() {
  669. this.$util.modal('', '确定删除营业执照图片吗?', '确定', '取消', true, () => {
  670. this.businessLicense = ''
  671. })
  672. },
  673. delMentuzImage() {
  674. this.$util.modal('', '确定删除门头照图片吗?', '确定', '取消', true, () => {
  675. this.shopPhoto = ''
  676. })
  677. },
  678. delMedicalImage() {
  679. this.$util.modal('', '确定删除资质图片吗?', '确定', '取消', true, () => {
  680. this.medicalPracticeLicense = ''
  681. })
  682. },
  683. bindPickerChange() {
  684. let self = this
  685. uni.showActionSheet({
  686. title:'标题',
  687. itemList: ['医美', '生美','项目公司','个人','其他'],
  688. success: (e) => {
  689. self.firstClubType = e.tapIndex+1
  690. switch(e.tapIndex){
  691. case 0:
  692. this.organizationTypeText = '医美'
  693. break
  694. case 1:
  695. this.organizationTypeText = '生美'
  696. break
  697. case 2:
  698. this.organizationTypeText = '项目公司'
  699. break
  700. case 3:
  701. this.organizationTypeText = '个人'
  702. break
  703. case 4:
  704. this.organizationTypeText = '其他'
  705. break
  706. }
  707. }
  708. })
  709. },
  710. bindPickerChange2(e) {
  711. this.typtIndex = e.target.values
  712. this.firstClubType = e.target.value
  713. },
  714. bindPickerUserName(e){//选择联系人身份
  715. this.linkManIdentityText = this.stateActions[e.target.value].name
  716. this.linkManIdentity= this.stateActions[e.target.value].value
  717. },
  718. radioChange(item) {
  719. this.secondClubType = item.value
  720. if (this.secondClubType == 2 || this.secondClubType == 3) {
  721. this.isDepartment = true
  722. } else {
  723. this.isDepartment = false
  724. }
  725. },
  726. chooseMaleLike(e) {
  727. this.mainProduct = this.checkLikes(e, this.mentuzCampList)
  728. },
  729. chooseMaleLikes(e) {
  730. this.mainProduct = this.checkLikes(e, this.medicaCampList)
  731. },
  732. checkLikes(e, list) {
  733. let values = e.detail.value
  734. let arr = []
  735. list.forEach(item => {
  736. if (values.indexOf(item.value) >= 0) {
  737. this.$set(item, 'checked', true)
  738. arr.push(item.name)
  739. } else {
  740. this.$set(item, 'checked', false)
  741. }
  742. })
  743. return arr.join('/')
  744. },
  745. showAustomItem() {
  746. this.isShowAustomItem = !this.isShowAustomItem
  747. },
  748. setNewMainpro(arr) {
  749. //回显处理主营内容
  750. let _ARRAY = []
  751. arr.split('/').forEach((item, index) => {
  752. let _OBJ = { value: (index + 1).toString(), name: item, checked: true }
  753. _ARRAY.push(_OBJ)
  754. })
  755. return _ARRAY
  756. },
  757. addCustomItem() {
  758. if (this.customItemValue == '') {
  759. this.$util.msg('请输入自定义主营内容', 2000)
  760. } else {
  761. if (this.firstClubType == 1) {
  762. let item = { value: `${this.mentuzCampList.length + 1}`, name: this.customItemValue, checked: true }
  763. if (this.checkedArray(this.customItemValue, this.mentuzCampList)) {
  764. this.$util.msg('主营内容已存在!', 2000)
  765. } else {
  766. this.mentuzCampList.push(item)
  767. }
  768. } else {
  769. let item = { value: `${this.medicaCampList.length + 1}`, name: this.customItemValue, checked: true }
  770. if (this.checkedArray(this.customItemValue, this.medicaCampList)) {
  771. this.$util.msg('主营内容已存在!', 2000)
  772. } else {
  773. this.medicaCampList.push(item)
  774. }
  775. }
  776. }
  777. },
  778. checkedArray(content, arr) {
  779. //判断主营内容是否已存在
  780. console.log(content, arr)
  781. for (var i in arr) {
  782. if (arr[i].name == content) {
  783. return true
  784. }
  785. }
  786. return false
  787. },
  788. firstClubTypeText(value){
  789. // 机构类型文案
  790. const map = {
  791. 1: '医美',
  792. 2: '生美',
  793. 3: '项目公司',
  794. 4: '个人',
  795. 5: '其他'
  796. }
  797. return map[value]
  798. },
  799. linkManFilters(value) {
  800. // 联系人身份
  801. const map = {
  802. 1: '老板',
  803. 2: '采购',
  804. 3: '运营',
  805. 4: '其他'
  806. }
  807. return map[value]
  808. },
  809. hanldNavigateBack() {
  810. this.$util.modal('', '资料尚未提交审核,确定放弃升级吗?', '确定', '取消', true, () => {
  811. uni.navigateBack({
  812. delta: 1
  813. })
  814. })
  815. },
  816. },
  817. onShow() {
  818. if (this.isPreviewImage) {
  819. this.isPreviewImage = false
  820. return
  821. }
  822. }
  823. }
  824. </script>
  825. <style lang="scss">
  826. .placeholder {
  827. color: #b2b2b2;
  828. }
  829. .register {
  830. width: 100%;
  831. height: auto;
  832. border-top: 1px solid #f7f7f7;
  833. .register-main {
  834. width: 100%;
  835. height: auto;
  836. background: #ffffff;
  837. padding: 20rpx 0;
  838. &.title {
  839. background-image: linear-gradient(
  840. 270deg,
  841. rgba(255, 255, 255, 0.1) 0%,
  842. rgba(255, 86, 11, 0.1) 51%,
  843. rgba(255, 255, 255, 0.1) 100%
  844. );
  845. }
  846. &.detailed {
  847. padding-bottom: 300rpx;
  848. }
  849. &.first {
  850. padding-top: 110rpx;
  851. }
  852. .register-tips {
  853. display: flex;
  854. flex-direction: column;
  855. align-items: center;
  856. line-height: 44rpx;
  857. font-size: $font-size-24;
  858. color: #ff0000;
  859. margin-bottom: 40rpx;
  860. .iconfont {
  861. font-size: $font-size-24;
  862. }
  863. }
  864. .register-row {
  865. width: 702rpx;
  866. height: auto;
  867. padding: 0 24rpx;
  868. margin-bottom: 20rpx;
  869. .secondTyperadio {
  870. border: 2rpx solid #e1e1e1;
  871. display: inline-block;
  872. font-size: 26rpx;
  873. color: #999999;
  874. padding: 0 24rpx;
  875. border-radius: 22rpx;
  876. line-height: 42rpx;
  877. margin-right: 30rpx;
  878. float: left;
  879. &.active {
  880. border: 2rpx solid #ffe6dc;
  881. color: $color-system;
  882. }
  883. }
  884. &.none {
  885. margin-bottom: 0;
  886. }
  887. .error-title {
  888. line-height: 40rpx;
  889. font-size: $font-size-28;
  890. color: $text-color;
  891. text-align: left;
  892. }
  893. .error-main {
  894. padding: 10rpx 0;
  895. .error-item {
  896. padding: 0 20rpx;
  897. margin: 10rpx;
  898. background: #f53636;
  899. height: 52rpx;
  900. line-height: 52rpx;
  901. border-radius: 26rpx;
  902. font-size: $font-size-26;
  903. color: #ffffff;
  904. text-align: center;
  905. display: inline-block;
  906. }
  907. }
  908. .register-tip {
  909. line-height: 64rpx;
  910. font-size: $font-size-20;
  911. color: #fea785;
  912. text-align: left;
  913. }
  914. .register-title {
  915. line-height: 44rpx;
  916. font-size: $font-size-24;
  917. color: $color-system;
  918. text-align: left;
  919. }
  920. .row-btn {
  921. position: absolute;
  922. right: 24rpx;
  923. top: 0;
  924. line-height: 88rpx;
  925. text-align: center;
  926. font-size: $font-size-28;
  927. color: $color-system;
  928. }
  929. .register-from {
  930. width: 100%;
  931. height: 88rpx;
  932. background: #ffffff;
  933. position: relative;
  934. border-bottom: 1px solid #e1e1e1;
  935. box-sizing: border-box;
  936. &.noneborder {
  937. border: none;
  938. }
  939. &.second {
  940. padding-left: 0;
  941. }
  942. .label {
  943. text-align: left;
  944. font-size: $font-size-28;
  945. color: #666666;
  946. line-height: 88rpx;
  947. float: left;
  948. }
  949. .kes-title {
  950. font-size: $font-size-28;
  951. color: #666666;
  952. line-height: 88rpx;
  953. }
  954. .row-input {
  955. width: 520rpx;
  956. padding-left: 10rpx;
  957. font-size: $font-size-28;
  958. color: $text-color;
  959. line-height: 88rpx;
  960. float: right;
  961. height: 88rpx;
  962. &.code {
  963. width: 500rpx;
  964. }
  965. &.none {
  966. color: #999999;
  967. }
  968. &.picker {
  969. text-align: left;
  970. color: #333333;
  971. }
  972. }
  973. .keshi {
  974. width: 100%;
  975. border: 2rpx solid #E1E1E1;
  976. border-radius: 6rpx;
  977. height: 80rpx;
  978. line-height: 80rpx;
  979. font-size: $font-size-28;
  980. padding:0 10rpx;
  981. box-sizing: border-box;
  982. }
  983. &.code {
  984. width: 410rpx;
  985. float: left;
  986. margin-right: 20rpx;
  987. .row-input {
  988. width: 390rpx;
  989. }
  990. }
  991. &.btn {
  992. width: 224rpx;
  993. height: 88rpx;
  994. float: left;
  995. background: $btn-confirm;
  996. padding: 0;
  997. .row-input {
  998. width: 224rpx;
  999. height: 88rpx;
  1000. line-height: 88rpx;
  1001. padding: 0;
  1002. color: #ffffff;
  1003. background: $btn-confirm;
  1004. text-align: center;
  1005. border-radius: 14rpx;
  1006. &.other {
  1007. width: 430rpx;
  1008. background: #fff;
  1009. margin-right: 20rpx;
  1010. border: 2rpx solid #b2b2b2;
  1011. border-radius: 44rpx;
  1012. padding: 0 24rpx;
  1013. height: 64rpx;
  1014. line-height: 64rpx;
  1015. }
  1016. &.none {
  1017. background: #f7f7f7;
  1018. }
  1019. }
  1020. &.disabled {
  1021. background: #f7f7f7;
  1022. .row-input {
  1023. background: #f7f7f7;
  1024. color: #999999;
  1025. }
  1026. }
  1027. }
  1028. &.picker {
  1029. width: 100%;
  1030. height: 88rpx;
  1031. line-height: 88rpx;
  1032. .label {
  1033. line-height: 88rpx;
  1034. }
  1035. .label-radio {
  1036. margin-right: 10rpx;
  1037. }
  1038. .row-radio {
  1039. transform: scale(0.8);
  1040. }
  1041. .row-input {
  1042. width: 100%;
  1043. height: 88rpx;
  1044. line-height: 88rpx;
  1045. padding-left: 30rpx;
  1046. }
  1047. }
  1048. &.radio {
  1049. width: 654rpx;
  1050. height: 288rpx;
  1051. .row-input {
  1052. width: 100%;
  1053. height: 88rpx;
  1054. line-height: 88rpx;
  1055. padding-left: 0;
  1056. }
  1057. .row-radio {
  1058. float: left;
  1059. transform: scale(0.8);
  1060. }
  1061. .row-text {
  1062. width: 100rpx;
  1063. text-align: center;
  1064. float: left;
  1065. }
  1066. }
  1067. &.group {
  1068. width: 702rpx;
  1069. height: auto;
  1070. background: #ffffff;
  1071. border: 0;
  1072. .label {
  1073. line-height: 76rpx;
  1074. }
  1075. .row-input {
  1076. width: 100%;
  1077. height: 88rpx;
  1078. line-height: 88rpx;
  1079. padding-left: 0;
  1080. }
  1081. .row-radio {
  1082. float: left;
  1083. }
  1084. .row-text {
  1085. width: 100rpx;
  1086. text-align: center;
  1087. float: left;
  1088. }
  1089. }
  1090. &.btn {
  1091. margin-top: 0;
  1092. }
  1093. .content-class {
  1094. margin: 20rpx auto;
  1095. display: flex;
  1096. flex-flow: row wrap;
  1097. justify-content: space-between;
  1098. align-items: center;
  1099. &.btn {
  1100. margin: 0 auto;
  1101. }
  1102. .row-input {
  1103. display: flex;
  1104. width: 220rpx;
  1105. height: 40rpx;
  1106. padding: 24rpx;
  1107. text-align: left;
  1108. border-radius: 10rpx;
  1109. font-size: $font-size-28;
  1110. color: $text-color;
  1111. }
  1112. .confirm-btn {
  1113. width: 160rpx;
  1114. height: 64rpx;
  1115. border-radius: 10rpx;
  1116. border-radius: 45rpx;
  1117. line-height: 64rpx;
  1118. text-align: center;
  1119. background: #ffe6dc;
  1120. color: $color-system;
  1121. margin: 0;
  1122. &.other {
  1123. width: 213rpx;
  1124. }
  1125. }
  1126. .item {
  1127. height: 60rpx;
  1128. font-size: $font-size-28;
  1129. line-height: 60rpx;
  1130. border-radius: 10rpx;
  1131. margin: 5rpx;
  1132. box-sizing: border-box;
  1133. float: left;
  1134. }
  1135. .item-checkbox {
  1136. display: none;
  1137. }
  1138. .item-text {
  1139. border: 2rpx solid #e1e1e1;
  1140. display: inline-block;
  1141. font-size: 26rpx;
  1142. color: #999999;
  1143. padding: 0 30rpx;
  1144. border-radius: 28rpx;
  1145. line-height: 50rpx;
  1146. float: left;
  1147. }
  1148. .on {
  1149. .item-text {
  1150. border-color: $color-system;
  1151. color: $color-system;
  1152. }
  1153. }
  1154. }
  1155. }
  1156. .icon-xiayibu {
  1157. width: 88rpx;
  1158. height: 88rpx;
  1159. position: absolute;
  1160. right: 0;
  1161. top: 0;
  1162. line-height: 88rpx;
  1163. text-align: center;
  1164. color: #b2b2b2;
  1165. }
  1166. &.text-textarea {
  1167. background: #ffffff;
  1168. .textarea {
  1169. width: 100%;
  1170. height: 120rpx;
  1171. background: #ffffff;
  1172. padding: 24rpx 0;
  1173. font-size: $font-size-28;
  1174. color: $text-color;
  1175. z-index: 1;
  1176. border-bottom: 1px solid #e1e1e1;
  1177. }
  1178. .textarea.hide {
  1179. opacity: 0;
  1180. }
  1181. .textarea.show {
  1182. color: #999999;
  1183. }
  1184. }
  1185. }
  1186. .register-picture {
  1187. // height: 102rpx;
  1188. margin: 30rpx 0;
  1189. // width: 42%;
  1190. // float: left;
  1191. &.zz {
  1192. width: 100%;
  1193. }
  1194. .label {
  1195. // float: left;
  1196. font-size: $font-size-28;
  1197. color: $text-color;
  1198. line-height: 102rpx;
  1199. // width: 150rpx;
  1200. // text-align: left;
  1201. &.zz {
  1202. width: 230rpx;
  1203. }
  1204. }
  1205. .upload-picture {
  1206. // float: left;
  1207. width: 200rpx;
  1208. height: 180rpx;
  1209. .upload-none {
  1210. width: 200rpx;
  1211. height: 180rpx;
  1212. text-align: center;
  1213. line-height: 100rpx;
  1214. color: #999999;
  1215. // border: 1px solid #999999;
  1216. border-radius: 10rpx;
  1217. // margin: 0 20rpx;
  1218. // .iconfont{
  1219. // font-size: $font-size-28;
  1220. // }
  1221. image {
  1222. width: 100%;
  1223. height: 100%;
  1224. }
  1225. }
  1226. .upload-image {
  1227. width: 200rpx;
  1228. height: 180rpx;
  1229. border-radius: 10rpx;
  1230. margin: 0 20rpx;
  1231. position: relative;
  1232. image {
  1233. width: 100%;
  1234. height: 100%;
  1235. border-radius: 10rpx;
  1236. }
  1237. .upload-del {
  1238. width: 40rpx;
  1239. height: 40rpx;
  1240. position: absolute;
  1241. top: -20rpx;
  1242. right: -20rpx;
  1243. line-height: 40rpx;
  1244. text-align: center;
  1245. .iconfont {
  1246. font-size: $font-size-32;
  1247. color: #999999;
  1248. }
  1249. }
  1250. }
  1251. }
  1252. }
  1253. .register-input {
  1254. width: 654rpx;
  1255. height: 40rpx;
  1256. padding: 24rpx;
  1257. margin: 0 auto;
  1258. margin-bottom: 60rpx;
  1259. background: #f7f7f7;
  1260. border-radius: 14rpx;
  1261. .input {
  1262. width: 100%;
  1263. height: 100%;
  1264. background: #f7f7f7;
  1265. font-size: $font-size-28;
  1266. line-height: 40rpx;
  1267. color: #333333;
  1268. border-radius: 14rpx;
  1269. }
  1270. }
  1271. .register-fiexd {
  1272. width: 100%;
  1273. height: auto;
  1274. padding: 20rpx 0;
  1275. position: fixed;
  1276. bottom: 0;
  1277. left: 0;
  1278. z-index: 99;
  1279. background: #ffffff;
  1280. .register-agree {
  1281. display: flex;
  1282. flex-direction: column;
  1283. align-items: center;
  1284. margin: 32rpx 0;
  1285. .agree-text {
  1286. .checkbox {
  1287. float: left;
  1288. margin: 4rpx 6rpx 0 0;
  1289. color: #999999;
  1290. font-size: $font-size-32;
  1291. &.icon-gouxuan {
  1292. color: $color-system;
  1293. }
  1294. }
  1295. font-size: 20rpx;
  1296. line-height: 44rpx;
  1297. color: #999999;
  1298. text {
  1299. color: #0091ff;
  1300. }
  1301. }
  1302. }
  1303. }
  1304. .register-btn {
  1305. width: 600rpx;
  1306. height: 88rpx;
  1307. border-radius: 44rpx;
  1308. font-size: $font-size-28;
  1309. line-height: 88rpx;
  1310. color: #ffffff;
  1311. margin: 0 auto;
  1312. text-align: center;
  1313. background: $btn-confirm;
  1314. margin-top: 96rpx;
  1315. &.none {
  1316. background: #ffffff;
  1317. color: $text-color;
  1318. margin-top: 0;
  1319. }
  1320. &.sub {
  1321. margin-top: 0;
  1322. }
  1323. }
  1324. }
  1325. }
  1326. checkbox .wx-checkbox-input {
  1327. border-radius: 50%;
  1328. width: 36rpx;
  1329. height: 36rpx;
  1330. }
  1331. /* 选中后的 背景样式 */
  1332. checkbox .wx-checkbox-input.wx-checkbox-input-checked {
  1333. background: #FF5B00;
  1334. border: 2rpx solid #FF5B00;
  1335. }
  1336. checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
  1337. border-radius: 50%;
  1338. width: 36rpx;
  1339. height: 36rpx;
  1340. line-height: 36rpx;
  1341. text-align: center;
  1342. font-size: 20rpx;
  1343. color: #fff;
  1344. transform: scale(0.8);
  1345. -webkit-transform: translate(-50%, -50%) scale(1);
  1346. }
  1347. .tui-alert-box {
  1348. width: 100%;
  1349. height: 100%;
  1350. display: flex;
  1351. align-items: center;
  1352. justify-content: center;
  1353. flex-direction: column;
  1354. position: fixed;
  1355. left: 0;
  1356. top: 0;
  1357. opacity: 1;
  1358. background: rgba(51, 51, 51, 0.5);
  1359. z-index: 99999;
  1360. .tui-alert-content {
  1361. width: 580rpx;
  1362. height: 324rpx;
  1363. border-radius: 16rpx;
  1364. background-color: #ffffff;
  1365. position: absolute;
  1366. top: 0;
  1367. bottom: 0;
  1368. right: 0;
  1369. left: 0;
  1370. margin: auto;
  1371. .tui-alert-main {
  1372. width: 100%;
  1373. height: 234rpx;
  1374. box-sizing: border-box;
  1375. padding: 60rpx 30rpx;
  1376. line-height: 60rpx;
  1377. font-size: $font-size-26;
  1378. color: #666666;
  1379. text-align: justify;
  1380. .red {
  1381. color: #FF5B00;
  1382. }
  1383. }
  1384. .tui-alert-btn {
  1385. width: 100%;
  1386. height: 90rpx;
  1387. box-sizing: border-box;
  1388. line-height: 90rpx;
  1389. background: $btn-confirm;
  1390. color: #ffffff;
  1391. text-align: center;
  1392. font-size: $font-size-28;
  1393. border-radius: 0 0 16rpx 16rpx;
  1394. }
  1395. }
  1396. }
  1397. </style>