form.vue 28 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136
  1. <template name="secondHandrelease">
  2. <view class="fleaMarketForm">
  3. <view class="bannerimg"><image src="https://static.caimei365.com/app/img/bg/secondbg.png"></image></view>
  4. <view class="my-maintenance" :style="{ paddingBottom: isIphoneX ? '270rpx' : '250rpx' }">
  5. <view class="newsTitle">
  6. <view class="nestext">
  7. 欢迎您来到采美365网二手商品市场,您可以在这里发布二手仪器和产品,采美官方
  8. 人员将会对商品进行审核和专业的估价,估价完成后才能上架展示并销售,展示期为
  9. 3个月。为了完整展示您的商品,请您认真填写以下商品基本信息,谢谢合作。
  10. </view>
  11. </view>
  12. <view class="row">
  13. <view class="label"><text class="red">*</text>发布身份:</view>
  14. <view class="select spacing">
  15. <picker
  16. @change="bindPickerChangePublisher($event)"
  17. :value="index"
  18. :range="publisherActions"
  19. range-key="name"
  20. >
  21. <input
  22. class="input"
  23. type="text"
  24. disabled="true"
  25. v-model="publisherText"
  26. placeholder="请选择发布身份"
  27. placeholder-class="placeholder"
  28. />
  29. </picker>
  30. </view>
  31. <text class="iconfont icon-xiayibu"></text>
  32. </view>
  33. <view class="row">
  34. <view class="label"><text class="red">*</text>联系人:</view>
  35. <view class="spacing">
  36. <input type="text"
  37. maxlength="15"
  38. v-model="secondParams.contactName"
  39. placeholder="请输入联系人姓名"
  40. placeholder-class="placeholder">
  41. </view>
  42. </view>
  43. <view class="row">
  44. <view class="label"><text class="red">*</text>联系方式:</view>
  45. <view class="spacing">
  46. <input type="text"
  47. v-model="secondParams.contactMobile"
  48. maxlength="11"
  49. placeholder="请输入联系人手机号"
  50. @blur="contactMobileOnblur"
  51. placeholder-class="placeholder">
  52. </view>
  53. </view>
  54. <view class="row">
  55. <view class="label"><text class="red">*</text>验证码:</view>
  56. <view class="spacing">
  57. <input type="text"
  58. v-model="secondParams.checkCode"
  59. maxlength="6"
  60. placeholder="请输入验证码"
  61. placeholder-class="placeholder">
  62. </view>
  63. <view class="row-btn" :class="[isMobileDisabled ? 'disabled' : '']">
  64. <button class="row-input"
  65. type="button"
  66. @click.stop="getMobileCodeFn"
  67. :disabled="isMobileDisabled">
  68. {{ mobileCodeText }}
  69. </button>
  70. </view>
  71. </view>
  72. <view class="row">
  73. <view class="label"><text class="red">*</text>二手分类:</view>
  74. <view class="select spacing">
  75. <picker
  76. @change="bindPickerChange($event)"
  77. :value="index"
  78. :range="categoryActions"
  79. range-key="name"
  80. >
  81. <input
  82. class="input"
  83. type="text"
  84. disabled="true"
  85. v-model="organizationTypeText"
  86. placeholder="请选择分类"
  87. placeholder-class="placeholder"
  88. />
  89. </picker>
  90. </view>
  91. <text class="iconfont icon-xiayibu"></text>
  92. </view>
  93. <view class="row">
  94. <view class="label"><text class="red">*</text>商品品牌:</view>
  95. <view class="select spacing">
  96. <picker
  97. @change="bindPickerChangeBrand($event)"
  98. :value="index"
  99. :range="brandActions"
  100. range-key="name"
  101. >
  102. <input
  103. class="input"
  104. type="text"
  105. disabled="true"
  106. v-model="brandName"
  107. placeholder="请选择品牌"
  108. placeholder-class="placeholder"
  109. />
  110. </picker>
  111. </view>
  112. <text class="iconfont icon-xiayibu"></text>
  113. </view>
  114. <view class="row" v-if="secondParams.brandId==161">
  115. <view class="label">其它品牌:</view>
  116. <view class="spacing">
  117. <input type="text"
  118. maxlength="40"
  119. v-model="secondParams.brandName"
  120. placeholder="请输入商品品牌"
  121. placeholder-class="placeholder">
  122. </view>
  123. </view>
  124. <view class="row">
  125. <view class="label"><text class="red">*</text>商品名称:</view>
  126. <view class="spacing">
  127. <input type="text"
  128. maxlength="40"
  129. v-model="secondParams.name"
  130. placeholder="请输入商品名称,不超过40个汉字"
  131. placeholder-class="placeholder">
  132. </view>
  133. </view>
  134. <view class="row">
  135. <view class="label">出厂日期:</view>
  136. <view class="spacing">
  137. <input type="text"
  138. v-model="secondParams.fixedYears"
  139. maxlength="10"
  140. placeholder="请输入出厂日期 如:2020年06月"
  141. placeholder-class="placeholder">
  142. </view>
  143. </view>
  144. <view class="row" v-if="secondParams.publishIdentity === 2">
  145. <view class="label"><text class="red">*</text>公司名称:</view>
  146. <view class="spacing">
  147. <input type="text"
  148. v-model="secondParams.companyName"
  149. maxlength="30"
  150. placeholder="请输入公司名称,不超过30个汉字"
  151. placeholder-class="placeholder">
  152. </view>
  153. </view>
  154. <view class="row">
  155. <view class="label"><text class="red">*</text>商品成色:</view>
  156. <view class="spacing">
  157. <input type="text"
  158. maxlength="10"
  159. v-model="secondParams.productQuality"
  160. placeholder="请输入商品成色,如“9成新”"
  161. placeholder-class="placeholder">
  162. </view>
  163. </view>
  164. <view class="row">
  165. <view class="label">商品类型:</view>
  166. <view class="select spacing">
  167. <picker
  168. @change="bindPickerChangeProduct($event)"
  169. :value="index"
  170. :range="productActions"
  171. range-key="name"
  172. >
  173. <input
  174. class="input"
  175. type="text"
  176. disabled="true"
  177. v-model="organizationTypeText1"
  178. placeholder="请选择发布身份"
  179. placeholder-class="placeholder"
  180. />
  181. </picker>
  182. </view>
  183. <text class="iconfont icon-xiayibu"></text>
  184. </view>
  185. <view class="row" >
  186. <view class="label"><text class="red">*</text>联系地址:</view>
  187. <view class="spacing" @click="showMulLinkageThreePicker">
  188. <text class="row-input" :class="addressData.address === '请选择所在地区' ? 'none,placeholder' : ''" >
  189. {{addressData.address}}
  190. </text>
  191. </view>
  192. <text class="iconfont icon-xiayibu"></text>
  193. </view>
  194. <textarea type="text"
  195. class="border-grey address-details"
  196. v-model="secondParams.address"
  197. maxlength="50"
  198. placeholder="请填写详细地址,如街道/小区/门牌等"
  199. placeholder-class="placeholder"/>
  200. </textarea>
  201. <view class="release-main-container">
  202. <view class="release-from">
  203. <view class="label"><text class="red">*</text>商品图片</view>
  204. <view class="release-input upload image uploadGoodsImages" >
  205. <view class="upload-file" v-if="GoodsImagesList.length<5">
  206. <text class="iconfont icon-shangchuantupian"></text>
  207. <p class="add-text">商品图片</p>
  208. <view ref="goodsImages" class="input-file" @click="uploadGoodsImagesFn"></view>
  209. </view>
  210. <view class="upload-file" v-for="(item, index) in GoodsImagesList" :key="index">
  211. <image :data-original='item' :src="item" :data-image="item" alt="" class="upload-img" ></image>
  212. <text class=" del iconfont icon-iconfontguanbi" @click="removeGoodsImagesFn(index)"></text>
  213. </view>
  214. </view>
  215. <view class="form-upload-tips">
  216. <text class="iconfont icon-wenhao" ></text>
  217. <view class="wen-tips" >最多上传5张二手商品图片,请尽量全部上传,单张图片不能超过5M</view>
  218. </view>
  219. </view>
  220. <view class="productinfo">
  221. <view class="label unlogin-label" style="width: 100%;">商品详细信息</view>
  222. <view class="textarea-wrapper">
  223. <textarea class="textarea"
  224. type="text"
  225. v-model="secondParams.productDetails"
  226. placeholder="请填写商品详细信息,对商品进行更详细的描述"
  227. placeholder-class="placeholder"
  228. maxlength="200"
  229. @input="onTextareaInputInfo"
  230. />
  231. <span class="word-limit">{{secondParams.productDetails.length}}/200</span>
  232. </view>
  233. </view>
  234. </view>
  235. </view>
  236. <view class="secondBj thebj" v-show="modal1" :class="modal1 ? 'show':''">
  237. <view class="bjmain theresult">
  238. <text class="title">发布提示</text>
  239. <text class="content"> {{ tipsContentText }} </text>
  240. <view class="paybtn">
  241. <view class="btn cancel" @click.stop="cancelButtonFn">{{ cancelButtonText }}</view>
  242. <view class="btn confirm" @click.stop="confirmButtonFn">{{ confirmButtonText }}</view>
  243. </view>
  244. </view>
  245. </view>
  246. <!-- 地址弹窗 -->
  247. <mpvue-city-picker :themeColor="themeColor"
  248. ref="mpvueCityPicker"
  249. :pickerValueDefault="cityPickerValueDefault"
  250. @onCancel="onCancel"
  251. @onConfirm="onConfirm">
  252. </mpvue-city-picker>
  253. <!-- 发布按钮 -->
  254. <tui-bottom-popup :radius="false" :mask="false" :show="popupShow">
  255. <view class="tui-popup-box clearfix">
  256. <view class="tui-right-flex tui-popup-btn" :style="{ paddingBottom: isIphoneX ? '68rpx' : '34rpx' }">
  257. <view class="tui-flex-1">
  258. <view class="tui-button-text" @click="handleChangAgree">
  259. <text class="iconfont"
  260. :class="checkbox ? 'icon-yixuanze':'icon-weixuanze'" >
  261. </text>
  262. 已阅读并同意采美
  263. <text style="color:#1890f9;" @click.stop="this.$api.navigateTo('/pages/service/service?id=1039&title=二手出让协议')">《二手出让协议》</text>
  264. </view>
  265. </view>
  266. <view class="tui-flex-1">
  267. <view class="tui-button" @click="handleSubmitBtn">发布</view>
  268. </view>
  269. </view>
  270. </view>
  271. </tui-bottom-popup>
  272. <!-- 弹窗提示 -->
  273. <tui-modal :show="modal" :padding="'40rpx 30rpx'" @cancel="hideMobel" :custom="true" fadeIn >
  274. <view class="tui-modal-custom">
  275. <view class="tui-prompt-text">
  276. {{ contentModalText }}
  277. </view>
  278. <view class="tui-prompt-flex">
  279. <view class="btn btn-confirm" @click="handleClick">确定</view>
  280. </view>
  281. </view>
  282. </tui-modal>
  283. </view>
  284. </template>
  285. <script>
  286. import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
  287. import { uploadFileImage , uploadFilePdf } from '@/services/public.js'
  288. import authorize from '@/common/config/authorize.js'
  289. import $reg from '@/common/config/common.js'
  290. import { mapState,mapMutations } from 'vuex'
  291. export default{
  292. name:'secondHandrelease',
  293. components:{
  294. mpvueCityPicker,
  295. },
  296. data(){
  297. return{
  298. isIphoneX: this.$store.state.isIphoneX,
  299. popupShow:true,
  300. userIdentity:0,
  301. publisherText:'个人身份',
  302. organizationTypeText:'请选择二手分类',
  303. organizationTypeText1:'请选择商品类型',
  304. brandActions:[],
  305. publisherActions:[
  306. {name:'个人身份',value:1},
  307. {name:'公司身份',value:2},
  308. ],
  309. categoryActions:[
  310. {name:'二手仪器',value:1},
  311. {name:'其他',value:3},
  312. ],
  313. productActions:[
  314. {name:'医美',value:1},
  315. {name:'非医美',value:3},
  316. ],
  317. GoodsImagesList:[],
  318. secondParams:{
  319. publishIdentity:1, // 发布者身份 1 个人身份 2 公司身份
  320. secondHandType:'',//一级分类
  321. instrumentType:1,//二手仪器分类
  322. name:'',
  323. brandId:'',//品牌ID
  324. brandName:'',//其他品牌
  325. fixedYears:'',//出厂
  326. companyName:'',//公司名称
  327. maturityYears:'',//产品到期
  328. price:'',//交易价
  329. detailTalkFlag:1,//是否启用详聊
  330. normalPrice:'',//市场价
  331. originalPrice:'',//采购价
  332. stock:'',//数量
  333. productQuality:'',//商品成色
  334. fileType:'', // 商品文件类型
  335. contactName:'',//联系人
  336. contactMobile:'',//联系方式
  337. checkCode:'',// 联系人手机验证码
  338. cardNumber:'',// 收款账号
  339. authenticationImage:'', //身份证正面
  340. authenticationBackImage:'', //身份证反面
  341. licenseImage:'',//营业执照图片
  342. commitmentImage:'',//承诺函图片
  343. dockingPeopleName:'',//采美对接人姓名
  344. dockingPeopleMobile:'',//采美对接人手机号
  345. secondProductType:'',//
  346. townId:'',//县区地址
  347. address:'',//详细地址
  348. image:'',//图片
  349. fileName:'',
  350. ossName:'',
  351. productDetails:'',//商品详细信息
  352. announType:1,//发布类型 1.二手预成交商品 2.二手估价商品
  353. source:2//二手发布来源.1:WWW,2:小程序,3:后台,4:协销
  354. },
  355. addressData:{
  356. address:'请选择所在地区',
  357. townID:'', //区ID
  358. cityID:'', //区ID
  359. provinceID:'', //区ID
  360. addressDetail: '', //地址
  361. },
  362. brandName:'请选择品牌名称',
  363. checkbox:false,
  364. tipsContentText:'',
  365. cancelButtonText:'取消发布',
  366. confirmButtonText:'去支付',
  367. contentModalText:'发布成功!商品信息会在1-2个工作日内进行审核,采美官方人员也会联系您进行商品估价,审核通过后将立即上线到采美二手市场。',
  368. isButtonsType:0,
  369. modal:false,
  370. modal1:false,
  371. isMobileDisabled: true, //手机验证码按钮控制
  372. mobilCount: '', //倒计时
  373. mobileCodeText: '获取验证码',
  374. mobilTime: null,
  375. }
  376. },
  377. methods:{
  378. onTextareaInputInfo(e){
  379. this.secondParams.productDetails = e.detail.value
  380. },
  381. showMulLinkageThreePicker() {//三级地址联动
  382. this.isShowInput = true
  383. this.$refs.mpvueCityPicker.show()
  384. },
  385. onConfirm(e) {//获取选择的地址信息
  386. this.addressData.address = e.name
  387. this.addressData.townID = e.townCode
  388. this.addressData.cityID = e.cityCode
  389. this.addressData.provinceID = e.provinceCode
  390. this.secondParams.townId = this.addressData.townID
  391. },
  392. bindPickerChangePublisher(e) {// 选择发布者身份
  393. this.publisherText = this.publisherActions[e.target.value].name
  394. this.secondParams.publishIdentity = this.publisherActions[e.target.value].value
  395. },
  396. bindPickerChange(e) {// 选择二手分类
  397. this.secondParams.secondHandType = this.categoryActions[e.target.value].value
  398. if(this.secondParams.secondHandType === 1){
  399. this.organizationTypeText = '二手仪器-美容仪器'
  400. }else{
  401. this.organizationTypeText = this.categoryActions[e.target.value].name
  402. }
  403. },
  404. bindPickerChangeBrand(e) {
  405. // 选择品牌
  406. this.brandName = this.brandActions[e.target.value].name
  407. this.secondParams.brandId = this.brandActions[e.target.value].value
  408. },
  409. bindPickerChangeProduct(e) {
  410. // 选择商品类型
  411. this.organizationTypeText1 = this.productActions[e.target.value].name
  412. this.secondParams.secondProductType = this.productActions[e.target.value].value
  413. },
  414. contains(arr, val) {// 校验
  415. return arr.some(item => item === val)
  416. },
  417. uploadGoodsImagesFn(event){//上传商品图片
  418. uploadFileImage().then(res =>{
  419. this.GoodsImagesList.push(JSON.parse(res.data).data)
  420. this.secondParams.image =this.GoodsImagesList.toString()+','
  421. })
  422. },
  423. removeGoodsImagesFn(index){//删除商品图片
  424. this.GoodsImagesList.splice(index,1)
  425. this.secondParams.image =this.GoodsImagesList.toString()+','
  426. },
  427. contactMobileOnblur(e){// 识别手机号是否正确
  428. if(this.$reg.isMobile(e.detail.value)){
  429. this.isMobileDisabled = false
  430. }
  431. },
  432. getMobileCodeFn(){
  433. let params = {
  434. mobile:this.secondParams.contactMobile,
  435. isCheckCaptcha:1,
  436. activateCodeType:6,
  437. platformType:2
  438. }
  439. this.isMobileDisabled = true
  440. this.PublicService.GetRegisterMobileCode(params).then(response =>{
  441. this.$util.msg('验证短信已发送',2000)
  442. const TIME_COUNT = 60
  443. if (!this.mobilTime) {
  444. this.mobilCount = TIME_COUNT
  445. this.isMobileDisabled = true
  446. this.mobilTime = setInterval(() => {
  447. if (this.mobilCount > 1 && this.mobilCount <= TIME_COUNT) {
  448. this.mobilCount--
  449. this.mobileCodeText = this.mobilCount +'s重新发送'
  450. } else {
  451. this.isMobileDisabled = false
  452. clearInterval(this.mobilTime)
  453. this.mobilTime = null
  454. this.mobileCodeText = '获取验证码'
  455. }
  456. },1000)
  457. }
  458. }).catch( error =>{
  459. this.$util.msg(error.msg,2000)
  460. this.isMobileDisabled = false
  461. })
  462. },
  463. handleSubmitBtn () {
  464. if(this.secondParams.contactName == ''){
  465. this.$util.msg('请输入联系人姓名',2000)
  466. return
  467. }
  468. if(this.secondParams.contactMobile == ''){
  469. console.log(this.secondParams.contactMobile)
  470. this.$util.msg('请输入联系方式',2000)
  471. return
  472. }
  473. if(!$reg.isMobile(this.secondParams.contactMobile)){
  474. this.$util.msg('请填写正确的手机号',2000)
  475. return
  476. }
  477. if(this.secondParams.checkCode == ''){
  478. this.$util.msg('请输入短信验证码',2000)
  479. return
  480. }
  481. if(this.secondParams.secondHandType == ''){
  482. this.$util.msg('请选择分类',2000)
  483. return
  484. }
  485. if(this.secondParams.secondHandType == 1 ){
  486. if(this.secondParams.instrumentType ==''){
  487. this.$util.msg('请完善仪器分类',2000)
  488. return
  489. }
  490. }
  491. if(this.secondParams.brandId == ''){
  492. this.$util.msg('请选择商品品牌',2000)
  493. return
  494. }
  495. if(this.secondParams.name == ''){
  496. this.$util.msg('请输入商品名称',2000)
  497. return
  498. }
  499. if(this.secondParams.publishIdentity === 2) {
  500. if (this.secondParams.companyName=='') {
  501. this.$util.msg('请输入公司名称',2000)
  502. return
  503. }
  504. }
  505. if(this.secondParams.productQuality == ''){
  506. this.$util.msg('请输入商品成色',2000)
  507. return
  508. }
  509. if(this.secondParams.townId == ''|| this.secondParams.townId == undefined){
  510. this.$util.msg('请完善联系地址',2000)
  511. return
  512. }
  513. if(this.secondParams.address == ''){
  514. this.$util.msg('请填写详细地址',2000)
  515. return
  516. }
  517. if(this.GoodsImagesList ==''){
  518. this.$util.msg('请上传商品图片',2000)
  519. return
  520. }
  521. if(this.checkbox==false){
  522. this.$util.msg('请勾选已阅读',2000)
  523. return
  524. }
  525. console.log(this.secondParams)
  526. this.SecondHandProduct(this.secondParams)
  527. },
  528. SecondHandProduct(params){//提交发布
  529. this.SecondService.SecondHandProduct(params).then(res=>{
  530. this.modal = true
  531. })
  532. .catch(error =>{
  533. this.$util.msg(error.msg,2000)
  534. })
  535. },
  536. cancelButtonFn(){//弹窗操作按钮
  537. switch(this.isButtonsType){
  538. case 1:
  539. this.modal1 = false
  540. this.SecondHandProduct(this.secondParams)
  541. break
  542. case 2:
  543. this.modal1 = false
  544. break
  545. }
  546. },
  547. confirmButtonFn(){//弹窗操作按钮
  548. switch(this.isButtonsType){
  549. case 1:
  550. this.modal1 = false
  551. break
  552. case 2:
  553. this.modal1 = false
  554. break
  555. }
  556. },
  557. handleChangAgree() {
  558. this.checkbox = !this.checkbox
  559. },
  560. getBrandList() {
  561. // 获取收款类型列表
  562. this.SecondService.brandList()
  563. .then(response => {
  564. this.brandActions = response.data.map(item => ({
  565. ...item,
  566. name: item.name,
  567. value: item.id
  568. }))
  569. })
  570. .catch(err => {
  571. this.$util.msg(err.msg, 2000)
  572. })
  573. },
  574. hideMobel(){
  575. this.modal = false
  576. },
  577. handleClick(){
  578. this.modal = false
  579. this.$api.redirectTo ('/pages/second/product/product-list')
  580. }
  581. },
  582. onShow() {
  583. this.getBrandList()
  584. this.$api.getComStorage('userInfo').then((resolve) =>{
  585. this.userIdentity = resolve.userIdentity
  586. console.log(this.userIdentity)
  587. }).catch(error =>{
  588. console.log(error)
  589. })
  590. }
  591. }
  592. </script>
  593. <style lang="scss">
  594. view{font-size: 28rpx;}
  595. .my-maintenance{
  596. padding: 20rpx;
  597. }
  598. .bannerimg {
  599. height: 100rpx;
  600. width: 100%;
  601. }
  602. .bannerimg image{
  603. width: 100%;
  604. height: 100% ;
  605. }
  606. .newsTitle {
  607. line-height: 48rpx;
  608. text-align: left;
  609. color: #e15616;
  610. padding:20rpx;
  611. background-color: rgba(225, 86, 22, .1);
  612. border-radius: 10rpx;
  613. }
  614. .nestext{
  615. font-size: 24rpx;
  616. line-height: 40rpx;
  617. }
  618. .secondradio view{
  619. display: inline-block;
  620. color: #333333;
  621. margin-right: 21rpx;
  622. }
  623. .secondradio{
  624. display: inline-block;
  625. margin-left: 40rpx;
  626. }
  627. .Secondary{
  628. margin-left: 96rpx;
  629. }
  630. .secondradio view.active {
  631. color: #e15616;
  632. }
  633. .placeholder{
  634. color: #b2b2b2;
  635. }
  636. .linqi_text {
  637. width: 607rpx;
  638. height: 68rpx;
  639. background-color: #1890f9;
  640. box-shadow: 0rpx 4rpx 6rpx 0rpx rgba(24, 144, 249, 0.17);
  641. text-align: center;
  642. line-height: 68rpx;
  643. color: #ffffff;
  644. margin: auto;
  645. font-size:24rpx;
  646. position: relative;
  647. }
  648. .jiaobiao {
  649. width: 0;
  650. height: 0;
  651. border-left: 20rpx solid transparent;
  652. border-right: 20rpx solid transparent;
  653. top: -25%;
  654. right: 40%;
  655. border-bottom: 20rpx solid #1890f9;
  656. position: absolute;
  657. }
  658. .label{
  659. color: #666666;
  660. display: inline-block;
  661. .red{
  662. color: #f94b4b;
  663. }
  664. }
  665. .label-im{
  666. width: 100%;
  667. line-height: 50rpx;
  668. font-size: $font-size-28;
  669. color: #666666;
  670. text-align: left;
  671. margin-top: 20rpx;
  672. .red{
  673. color: #f94b4b;
  674. }
  675. .sms{
  676. font-size: $font-size-24;
  677. color: #fea785;
  678. }
  679. }
  680. .label-em{
  681. line-height: 28rpx;
  682. font-size: $font-size-20;
  683. color: #fea785;
  684. width: 100%;
  685. text-align: left;
  686. }
  687. .label.second{
  688. width: 155rpx;
  689. }
  690. .row .spacing.second{
  691. width: 70%;
  692. }
  693. .row{
  694. width: 100%;
  695. border-bottom: 2rpx solid #e1e1e1;
  696. line-height: 90rpx;
  697. float: left;
  698. height: auto;
  699. position: relative;
  700. .checkbox-main{
  701. width: 100%;
  702. .checkbox-list {
  703. height: 60rpx;
  704. font-size: $font-size-28;
  705. line-height: 60rpx;
  706. border-radius: 10rpx;
  707. margin-right: 20rpx;
  708. margin-bottom: 10rpx;
  709. box-sizing: border-box;
  710. float: left;
  711. color: #333333;
  712. .icon-yixuanze{
  713. margin-right: 10rpx;
  714. color: #E15616;
  715. }
  716. .icon-weixuanze{
  717. margin-right: 10rpx;
  718. color: #B2B2B2;
  719. }
  720. }
  721. }
  722. .row-btn{
  723. width: 180rpx;
  724. height:64rpx;
  725. background: $btn-confirm;
  726. padding: 0;
  727. border-radius: 32rpx;
  728. position: absolute;
  729. right: 0;
  730. top: 10rpx;
  731. .row-input{
  732. width: 180rpx;
  733. height: 64rpx;
  734. line-height: 64rpx;
  735. padding: 0;
  736. color: #FFFFFF;
  737. background: $btn-confirm;
  738. text-align: center;
  739. border-radius: 32rpx;
  740. &.other{
  741. width: 180rpx;
  742. background: #F7F7F7;
  743. margin-right: 20rpx;
  744. }
  745. &.none{
  746. background: #F7F7F7;
  747. }
  748. }
  749. &.disabled{
  750. background: #F7F7F7;
  751. .row-input{
  752. background: #F7F7F7;
  753. color: #999999;
  754. font-size: 24rpx;
  755. }
  756. }
  757. }
  758. &.none{
  759. border-bottom: none;
  760. }
  761. }
  762. .row.fenlei{
  763. height: auto;
  764. margin: 10rpx 0;
  765. border: 0;
  766. }
  767. .select {
  768. position: relative;
  769. color: #b2b2b2;
  770. text-align: left;
  771. user-select: none;
  772. }
  773. .row .spacing{
  774. display: inline-block;
  775. margin-left: 50rpx;
  776. width: 430rpx;
  777. vertical-align:middle;
  778. position: relative;
  779. color: #333333;
  780. .input{
  781. color: #333333;
  782. }
  783. &.file{
  784. width: 100%;
  785. }
  786. &.file-text{
  787. width: 100%;
  788. line-height: 44rpx;
  789. font-size: 28rpx;
  790. box-sizing: border-box;
  791. margin-left: 0;
  792. .file-text-em{
  793. width: 100%;
  794. text-overflow: ellipsis;
  795. overflow: hidden;
  796. display: -webkit-box;
  797. -webkit-line-clamp: 1;
  798. line-clamp: 1;
  799. -webkit-box-orient: vertical;
  800. line-height: 44rpx;
  801. font-size: 28rpx;
  802. padding-right: 40rpx;
  803. box-sizing: border-box;
  804. position: relative;
  805. }
  806. .icon-iconfontguanbi{
  807. width: 40rpx;
  808. height: 40rpx;
  809. line-height: 40rpx;
  810. display: block;
  811. position: absolute;
  812. top: 0;
  813. right:0;
  814. color: #f94b4b;
  815. font-size: 36rpx;
  816. }
  817. }
  818. &.file-none{
  819. width: 100%;
  820. margin-left: 0;
  821. position: relative;
  822. .file-none-button{
  823. width: 88rpx;
  824. height: 44rpx;
  825. background-color: #e15616;
  826. border-radius: 8rpx;
  827. line-height: 44rpx;
  828. text-align: center;
  829. font-size: 24rpx;
  830. color: #FFFFFF;
  831. position: absolute;
  832. right: 0;
  833. top: -15rpx;
  834. }
  835. }
  836. }
  837. .select .placeholder {
  838. position: relative;
  839. cursor: pointer;
  840. width: 100%;
  841. display: inline-block;
  842. }
  843. .icon-xiayibu{
  844. right: 0rpx;
  845. color: #b2b2b2;
  846. position: absolute;
  847. }
  848. .xiangliao{
  849. font-size: 26rpx;
  850. margin-right: 10rpx;
  851. color: #b2b2b2;
  852. }
  853. .icon-jiagexiangliao{
  854. color: #e15616 !important;
  855. }
  856. .pricecolor{
  857. margin-left: 10rpx;
  858. }
  859. .showflag{
  860. color: #b2b2b2;
  861. }
  862. .border-grey{
  863. width: 100%;
  864. resize: none;
  865. padding: 20rpx 0;
  866. height: 160rpx;
  867. border-bottom: 2rpx solid #e1e1e1;
  868. }
  869. .release-main-container {
  870. overflow: hidden;
  871. margin: 20rpx 0;
  872. }
  873. .uploadGoodsImages{
  874. display: flex;
  875. overflow-x: auto;
  876. overflow-y: hidden;
  877. }
  878. .secondradio{
  879. .row-radio{
  880. transform: scale(.8);
  881. }
  882. .row-input{margin-right: 10rpx;}
  883. }
  884. .linqi_text .p{
  885. font-size: $font-size-20;
  886. }
  887. .upload-file {
  888. float: left;
  889. margin: 20rpx 20rpx 20rpx 0px;
  890. cursor: pointer;
  891. width: 194rpx;
  892. height: 194rpx;
  893. border-radius: 6rpx;
  894. border: solid 2rpx #e1e1e1;
  895. flex-shrink: 0;
  896. position: relative;
  897. display: inline-block;
  898. .input-file {
  899. width: 194rpx;
  900. height: 194rpx;
  901. opacity: 0;
  902. cursor: pointer;
  903. position: absolute;
  904. top: 0;
  905. left: 0;
  906. }
  907. .upload-img {
  908. width: 100%;
  909. height: 100%;
  910. display: block;
  911. border-radius: .53vw;
  912. }
  913. .icon-shangchuantupian{
  914. display: block;
  915. width: 100%;
  916. height: 100rpx;
  917. line-height: 90rpx;
  918. color: #b2b2b2;
  919. font-size: $font-size-40;
  920. text-align: center;
  921. padding-top: 20rpx;
  922. box-sizing: border-box;
  923. }
  924. .add-text {
  925. display: block;
  926. width: 100%;
  927. line-height: 50rpx;
  928. font-size: 24rpx;
  929. color: #b2b2b2;
  930. text-align: center;
  931. }
  932. .icon-iconfontguanbi{
  933. width: 40rpx;
  934. height: 40rpx;
  935. line-height: 40rpx;
  936. display: block;
  937. position: absolute;
  938. background: #f94b4b;
  939. text-align: center;
  940. line-height: 40rpx;
  941. border-radius: 50%;
  942. top: -15rpx;
  943. right:-18rpx;
  944. color: #FFFFFF;
  945. font-size: $font-size-24;
  946. }
  947. }
  948. .wen-tips {
  949. width: 664rpx;
  950. height: 68rpx;
  951. line-height: 68rpx;
  952. text-align: center;
  953. color: #FFF;
  954. font-size: 20rpx;
  955. background-color: #1890f9;
  956. box-shadow: 0 0.8vw 1.6vw 0 rgba(24, 144, 249, 0.17);
  957. border-radius: 2rpx;
  958. display: none;
  959. }
  960. .form-upload-tips:hover .wen-tips {
  961. display: block;
  962. }
  963. .textarea-wrapper {
  964. letter-spacing: 2rpx;
  965. line-height: 48rpx;
  966. color: #333333;
  967. position: relative;
  968. font-size: 28rpx;
  969. border: 2rpx solid #E1E1E1;
  970. height: 300rpx;
  971. padding: 16rpx;
  972. border-radius: 6rpx;
  973. margin: 20rpx 0;
  974. }
  975. .textarea-wrapper textarea{
  976. width: 100%;
  977. }
  978. .word-limit {
  979. position: absolute;
  980. right: 2.7vw;
  981. bottom: 2.7vw;
  982. font-size: 3.2vw;
  983. color: #9aa5b5;
  984. }
  985. .row.Read{
  986. border: 0;
  987. text-align: center;
  988. color: #999999;
  989. }
  990. .thebj {
  991. position: fixed;
  992. left: 0;
  993. top: 0;
  994. bottom: 0;
  995. width: 100%;
  996. height: 100%;
  997. background-color: rgba(0, 0, 0, .5);
  998. z-index: 999999;
  999. opacity: 0;
  1000. }
  1001. .thebj.show{
  1002. opacity: 1;
  1003. }
  1004. .theresult {
  1005. position: absolute;
  1006. top: 50%;
  1007. left: 50%;
  1008. transform: translate(-50%, -50%);
  1009. width:580rpx;
  1010. background-color: #fff;
  1011. border-radius: 32rpx;
  1012. }
  1013. .theresult .title{
  1014. line-height: 100rpx;
  1015. text-align: center;
  1016. display: block;
  1017. color: #333333;
  1018. font-size: 30rpx;
  1019. font-weight: bold;
  1020. border-bottom: 2rpx solid #efefef;
  1021. }
  1022. .theresult .content{
  1023. padding: 30rpx 52rpx;
  1024. line-height: 48rpx;
  1025. color: #666666;
  1026. font-size: 30rpx;
  1027. display: block;
  1028. }
  1029. .paybtn{
  1030. width: 100%;
  1031. height: 90rpx;
  1032. float: left;
  1033. .btn{
  1034. width: 50%;
  1035. height: 90rpx;
  1036. text-align: center;
  1037. line-height: 90rpx;
  1038. font-size: 30rpx;
  1039. display: inline-block;
  1040. float: left;
  1041. &.cancel{
  1042. background-color: #efefef;
  1043. border-radius: 0rpx 0rpx 0rpx 32rpx;
  1044. color: #999999;
  1045. }
  1046. &.confirm{
  1047. background-image: linear-gradient(270deg, #f28f31 0%, #e15616 100%);
  1048. border-radius: 0rpx 0rpx 32rpx 0rpx;
  1049. color: #fff;
  1050. }
  1051. }
  1052. }
  1053. .icon-wenhao{
  1054. color: #1890f9;
  1055. font-size: 35rpx;
  1056. width: 50rpx;
  1057. }
  1058. .form-upload-tips:hover .wen-tips {display: block;}
  1059. .tui-popup-box {
  1060. position: relative;
  1061. box-sizing: border-box;
  1062. min-height: 100rpx;
  1063. padding: 6rpx 24rpx;
  1064. .tui-popup-content {
  1065. padding-top: 30rpx;
  1066. }
  1067. }
  1068. .tui-popup-btn {
  1069. width: 100%;
  1070. height: auto;
  1071. float: left;
  1072. box-sizing: border-box;
  1073. margin-top: 30rpx;
  1074. .tui-button {
  1075. width: 600rpx;
  1076. height: 88rpx;
  1077. background: $btn-confirm;
  1078. line-height: 88rpx;
  1079. text-align: center;
  1080. color: #ffffff;
  1081. font-size: $font-size-28;
  1082. border-radius: 44rpx;
  1083. margin: 0 auto;
  1084. }
  1085. .tui-button-text{
  1086. width: 600rpx;
  1087. height: 70rpx;
  1088. line-height: 70rpx;
  1089. text-align: center;
  1090. color: #333333;
  1091. font-size: $font-size-26;
  1092. margin: 0 auto;
  1093. margin-top: 15rpx;
  1094. .iconfont{
  1095. margin-right: 10rpx;
  1096. &.icon-yixuanze{
  1097. color: $color-system;
  1098. }
  1099. }
  1100. }
  1101. }
  1102. .tui-prompt-flex{
  1103. width: 100%;
  1104. height: 80rpx;
  1105. display: flex;
  1106. margin-top: 20rpx;
  1107. .btn{
  1108. flex: 1;
  1109. line-height: 80rpx;
  1110. font-size: $font-size-26;
  1111. text-align: center;
  1112. color: #FFFFFF;
  1113. border-radius: 40rpx;
  1114. margin: 0 24rpx;
  1115. &.btn-cancel{
  1116. background: #F7F7F7;
  1117. color: #999999;
  1118. }
  1119. &.btn-confirm{
  1120. background: $btn-confirm;
  1121. }
  1122. }
  1123. }
  1124. .tui-prompt-text{
  1125. line-height: 44rpx;
  1126. font-size: $font-size-26;
  1127. color: #333333;
  1128. .text{
  1129. color: $color-system;
  1130. }
  1131. }
  1132. </style>