form-presale.vue 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135
  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. source:4//二手发布来源.1:WWW,2:小程序,3:后台,4:协销
  353. },
  354. addressData:{
  355. address:'请选择所在地区',
  356. townID:'', //区ID
  357. cityID:'', //区ID
  358. provinceID:'', //区ID
  359. addressDetail: '', //地址
  360. },
  361. brandName:'请选择品牌名称',
  362. checkbox:false,
  363. tipsContentText:'',
  364. cancelButtonText:'取消发布',
  365. confirmButtonText:'去支付',
  366. contentModalText:'发布成功!商品信息会在1-2个工作日内进行审核,采美官方人员也会联系您进行商品估价,审核通过后将立即上线到采美二手市场。',
  367. isButtonsType:0,
  368. modal:false,
  369. modal1:false,
  370. isMobileDisabled: true, //手机验证码按钮控制
  371. mobilCount: '', //倒计时
  372. mobileCodeText: '获取验证码',
  373. mobilTime: null,
  374. }
  375. },
  376. methods:{
  377. onTextareaInputInfo(e){
  378. this.secondParams.productDetails = e.detail.value
  379. },
  380. showMulLinkageThreePicker() {//三级地址联动
  381. this.isShowInput = true
  382. this.$refs.mpvueCityPicker.show()
  383. },
  384. onConfirm(e) {//获取选择的地址信息
  385. this.addressData.address = e.name
  386. this.addressData.townID = e.townCode
  387. this.addressData.cityID = e.cityCode
  388. this.addressData.provinceID = e.provinceCode
  389. this.secondParams.townId = this.addressData.townID
  390. },
  391. bindPickerChangePublisher(e) {// 选择发布者身份
  392. this.publisherText = this.publisherActions[e.target.value].name
  393. this.secondParams.publishIdentity = this.publisherActions[e.target.value].value
  394. },
  395. bindPickerChange(e) {// 选择二手分类
  396. this.secondParams.secondHandType = this.categoryActions[e.target.value].value
  397. if(this.secondParams.secondHandType === 1){
  398. this.organizationTypeText = '二手仪器-美容仪器'
  399. }else{
  400. this.organizationTypeText = this.categoryActions[e.target.value].name
  401. }
  402. },
  403. bindPickerChangeBrand(e) {
  404. // 选择品牌
  405. this.brandName = this.brandActions[e.target.value].name
  406. this.secondParams.brandId = this.brandActions[e.target.value].value
  407. },
  408. bindPickerChangeProduct(e) {
  409. // 选择商品类型
  410. this.organizationTypeText1 = this.productActions[e.target.value].name
  411. this.secondParams.secondProductType = this.productActions[e.target.value].value
  412. },
  413. contains(arr, val) {// 校验
  414. return arr.some(item => item === val)
  415. },
  416. uploadGoodsImagesFn(event){//上传商品图片
  417. uploadFileImage().then(res =>{
  418. this.GoodsImagesList.push(JSON.parse(res.data).data)
  419. this.secondParams.image =this.GoodsImagesList.toString()+','
  420. })
  421. },
  422. removeGoodsImagesFn(index){//删除商品图片
  423. this.GoodsImagesList.splice(index,1)
  424. this.secondParams.image =this.GoodsImagesList.toString()+','
  425. },
  426. contactMobileOnblur(e){// 识别手机号是否正确
  427. if(this.$reg.isMobile(e.detail.value)){
  428. this.isMobileDisabled = false
  429. }
  430. },
  431. getMobileCodeFn(){
  432. let params = {
  433. mobile:this.secondParams.contactMobile,
  434. isCheckCaptcha:1,
  435. activateCodeType:6,
  436. platformType:2
  437. }
  438. this.isMobileDisabled = true
  439. this.PublicService.GetRegisterMobileCode(params).then(response =>{
  440. this.$util.msg('验证短信已发送',2000)
  441. const TIME_COUNT = 60
  442. if (!this.mobilTime) {
  443. this.mobilCount = TIME_COUNT
  444. this.isMobileDisabled = true
  445. this.mobilTime = setInterval(() => {
  446. if (this.mobilCount > 1 && this.mobilCount <= TIME_COUNT) {
  447. this.mobilCount--
  448. this.mobileCodeText = this.mobilCount +'s重新发送'
  449. } else {
  450. this.isMobileDisabled = false
  451. clearInterval(this.mobilTime)
  452. this.mobilTime = null
  453. this.mobileCodeText = '获取验证码'
  454. }
  455. },1000)
  456. }
  457. }).catch( error =>{
  458. this.$util.msg(error.msg,2000)
  459. this.isMobileDisabled = false
  460. })
  461. },
  462. handleSubmitBtn () {
  463. if(this.secondParams.contactName == ''){
  464. this.$util.msg('请输入联系人姓名',2000)
  465. return
  466. }
  467. if(this.secondParams.contactMobile == ''){
  468. console.log(this.secondParams.contactMobile)
  469. this.$util.msg('请输入联系方式',2000)
  470. return
  471. }
  472. if(!$reg.isMobile(this.secondParams.contactMobile)){
  473. this.$util.msg('请填写正确的手机号',2000)
  474. return
  475. }
  476. if(this.secondParams.checkCode == ''){
  477. this.$util.msg('请输入短信验证码',2000)
  478. return
  479. }
  480. if(this.secondParams.secondHandType == ''){
  481. this.$util.msg('请选择分类',2000)
  482. return
  483. }
  484. if(this.secondParams.secondHandType == 1 ){
  485. if(this.secondParams.instrumentType ==''){
  486. this.$util.msg('请完善仪器分类',2000)
  487. return
  488. }
  489. }
  490. if(this.secondParams.brandId == ''){
  491. this.$util.msg('请选择商品品牌',2000)
  492. return
  493. }
  494. if(this.secondParams.name == ''){
  495. this.$util.msg('请输入商品名称',2000)
  496. return
  497. }
  498. if(this.secondParams.publishIdentity === 2) {
  499. if (this.secondParams.companyName=='') {
  500. this.$util.msg('请输入公司名称',2000)
  501. return
  502. }
  503. }
  504. if(this.secondParams.productQuality == ''){
  505. this.$util.msg('请输入商品成色',2000)
  506. return
  507. }
  508. if(this.secondParams.townId == ''|| this.secondParams.townId == undefined){
  509. this.$util.msg('请完善联系地址',2000)
  510. return
  511. }
  512. if(this.secondParams.address == ''){
  513. this.$util.msg('请填写详细地址',2000)
  514. return
  515. }
  516. if(this.GoodsImagesList ==''){
  517. this.$util.msg('请上传商品图片',2000)
  518. return
  519. }
  520. if(this.checkbox==false){
  521. this.$util.msg('请勾选已阅读',2000)
  522. return
  523. }
  524. console.log(this.secondParams)
  525. this.SecondHandProduct(this.secondParams)
  526. },
  527. SecondHandProduct(params){//提交发布
  528. this.SecondService.SecondHandProduct(params).then(res=>{
  529. this.modal = true
  530. })
  531. .catch(error =>{
  532. this.$util.msg(error.msg,2000)
  533. })
  534. },
  535. cancelButtonFn(){//弹窗操作按钮
  536. switch(this.isButtonsType){
  537. case 1:
  538. this.modal1 = false
  539. this.SecondHandProduct(this.secondParams)
  540. break
  541. case 2:
  542. this.modal1 = false
  543. break
  544. }
  545. },
  546. confirmButtonFn(){//弹窗操作按钮
  547. switch(this.isButtonsType){
  548. case 1:
  549. this.modal1 = false
  550. break
  551. case 2:
  552. this.modal1 = false
  553. break
  554. }
  555. },
  556. handleChangAgree() {
  557. this.checkbox = !this.checkbox
  558. },
  559. getBrandList() {
  560. // 获取收款类型列表
  561. this.SecondService.brandList()
  562. .then(response => {
  563. this.brandActions = response.data.map(item => ({
  564. ...item,
  565. name: item.name,
  566. value: item.id
  567. }))
  568. })
  569. .catch(err => {
  570. this.$util.msg(err.msg, 2000)
  571. })
  572. },
  573. hideMobel(){
  574. this.modal = false
  575. },
  576. handleClick(){
  577. this.modal = false
  578. this.$api.redirectTo ('/pages/second/product/product-list')
  579. }
  580. },
  581. onShow() {
  582. this.getBrandList()
  583. this.$api.getComStorage('userInfo').then((resolve) =>{
  584. this.userIdentity = resolve.userIdentity
  585. console.log(this.userIdentity)
  586. }).catch(error =>{
  587. console.log(error)
  588. })
  589. }
  590. }
  591. </script>
  592. <style lang="scss">
  593. view{font-size: 28rpx;}
  594. .my-maintenance{
  595. padding: 20rpx;
  596. }
  597. .bannerimg {
  598. height: 100rpx;
  599. width: 100%;
  600. }
  601. .bannerimg image{
  602. width: 100%;
  603. height: 100% ;
  604. }
  605. .newsTitle {
  606. line-height: 48rpx;
  607. text-align: left;
  608. color: #e15616;
  609. padding:20rpx;
  610. background-color: rgba(225, 86, 22, .1);
  611. border-radius: 10rpx;
  612. }
  613. .nestext{
  614. font-size: 24rpx;
  615. line-height: 40rpx;
  616. }
  617. .secondradio view{
  618. display: inline-block;
  619. color: #333333;
  620. margin-right: 21rpx;
  621. }
  622. .secondradio{
  623. display: inline-block;
  624. margin-left: 40rpx;
  625. }
  626. .Secondary{
  627. margin-left: 96rpx;
  628. }
  629. .secondradio view.active {
  630. color: #e15616;
  631. }
  632. .placeholder{
  633. color: #b2b2b2;
  634. }
  635. .linqi_text {
  636. width: 607rpx;
  637. height: 68rpx;
  638. background-color: #1890f9;
  639. box-shadow: 0rpx 4rpx 6rpx 0rpx rgba(24, 144, 249, 0.17);
  640. text-align: center;
  641. line-height: 68rpx;
  642. color: #ffffff;
  643. margin: auto;
  644. font-size:24rpx;
  645. position: relative;
  646. }
  647. .jiaobiao {
  648. width: 0;
  649. height: 0;
  650. border-left: 20rpx solid transparent;
  651. border-right: 20rpx solid transparent;
  652. top: -25%;
  653. right: 40%;
  654. border-bottom: 20rpx solid #1890f9;
  655. position: absolute;
  656. }
  657. .label{
  658. color: #666666;
  659. display: inline-block;
  660. .red{
  661. color: #f94b4b;
  662. }
  663. }
  664. .label-im{
  665. width: 100%;
  666. line-height: 50rpx;
  667. font-size: $font-size-28;
  668. color: #666666;
  669. text-align: left;
  670. margin-top: 20rpx;
  671. .red{
  672. color: #f94b4b;
  673. }
  674. .sms{
  675. font-size: $font-size-24;
  676. color: #fea785;
  677. }
  678. }
  679. .label-em{
  680. line-height: 28rpx;
  681. font-size: $font-size-20;
  682. color: #fea785;
  683. width: 100%;
  684. text-align: left;
  685. }
  686. .label.second{
  687. width: 155rpx;
  688. }
  689. .row .spacing.second{
  690. width: 70%;
  691. }
  692. .row{
  693. width: 100%;
  694. border-bottom: 2rpx solid #e1e1e1;
  695. line-height: 90rpx;
  696. float: left;
  697. height: auto;
  698. position: relative;
  699. .checkbox-main{
  700. width: 100%;
  701. .checkbox-list {
  702. height: 60rpx;
  703. font-size: $font-size-28;
  704. line-height: 60rpx;
  705. border-radius: 10rpx;
  706. margin-right: 20rpx;
  707. margin-bottom: 10rpx;
  708. box-sizing: border-box;
  709. float: left;
  710. color: #333333;
  711. .icon-yixuanze{
  712. margin-right: 10rpx;
  713. color: #E15616;
  714. }
  715. .icon-weixuanze{
  716. margin-right: 10rpx;
  717. color: #B2B2B2;
  718. }
  719. }
  720. }
  721. .row-btn{
  722. width: 180rpx;
  723. height:64rpx;
  724. background: $btn-confirm;
  725. padding: 0;
  726. border-radius: 32rpx;
  727. position: absolute;
  728. right: 0;
  729. top: 10rpx;
  730. .row-input{
  731. width: 180rpx;
  732. height: 64rpx;
  733. line-height: 64rpx;
  734. padding: 0;
  735. color: #FFFFFF;
  736. background: $btn-confirm;
  737. text-align: center;
  738. border-radius: 32rpx;
  739. &.other{
  740. width: 180rpx;
  741. background: #F7F7F7;
  742. margin-right: 20rpx;
  743. }
  744. &.none{
  745. background: #F7F7F7;
  746. }
  747. }
  748. &.disabled{
  749. background: #F7F7F7;
  750. .row-input{
  751. background: #F7F7F7;
  752. color: #999999;
  753. font-size: 24rpx;
  754. }
  755. }
  756. }
  757. &.none{
  758. border-bottom: none;
  759. }
  760. }
  761. .row.fenlei{
  762. height: auto;
  763. margin: 10rpx 0;
  764. border: 0;
  765. }
  766. .select {
  767. position: relative;
  768. color: #b2b2b2;
  769. text-align: left;
  770. user-select: none;
  771. }
  772. .row .spacing{
  773. display: inline-block;
  774. margin-left: 50rpx;
  775. width: 430rpx;
  776. vertical-align:middle;
  777. position: relative;
  778. color: #333333;
  779. .input{
  780. color: #333333;
  781. }
  782. &.file{
  783. width: 100%;
  784. }
  785. &.file-text{
  786. width: 100%;
  787. line-height: 44rpx;
  788. font-size: 28rpx;
  789. box-sizing: border-box;
  790. margin-left: 0;
  791. .file-text-em{
  792. width: 100%;
  793. text-overflow: ellipsis;
  794. overflow: hidden;
  795. display: -webkit-box;
  796. -webkit-line-clamp: 1;
  797. line-clamp: 1;
  798. -webkit-box-orient: vertical;
  799. line-height: 44rpx;
  800. font-size: 28rpx;
  801. padding-right: 40rpx;
  802. box-sizing: border-box;
  803. position: relative;
  804. }
  805. .icon-iconfontguanbi{
  806. width: 40rpx;
  807. height: 40rpx;
  808. line-height: 40rpx;
  809. display: block;
  810. position: absolute;
  811. top: 0;
  812. right:0;
  813. color: #f94b4b;
  814. font-size: 36rpx;
  815. }
  816. }
  817. &.file-none{
  818. width: 100%;
  819. margin-left: 0;
  820. position: relative;
  821. .file-none-button{
  822. width: 88rpx;
  823. height: 44rpx;
  824. background-color: #e15616;
  825. border-radius: 8rpx;
  826. line-height: 44rpx;
  827. text-align: center;
  828. font-size: 24rpx;
  829. color: #FFFFFF;
  830. position: absolute;
  831. right: 0;
  832. top: -15rpx;
  833. }
  834. }
  835. }
  836. .select .placeholder {
  837. position: relative;
  838. cursor: pointer;
  839. width: 100%;
  840. display: inline-block;
  841. }
  842. .icon-xiayibu{
  843. right: 0rpx;
  844. color: #b2b2b2;
  845. position: absolute;
  846. }
  847. .xiangliao{
  848. font-size: 26rpx;
  849. margin-right: 10rpx;
  850. color: #b2b2b2;
  851. }
  852. .icon-jiagexiangliao{
  853. color: #e15616 !important;
  854. }
  855. .pricecolor{
  856. margin-left: 10rpx;
  857. }
  858. .showflag{
  859. color: #b2b2b2;
  860. }
  861. .border-grey{
  862. width: 100%;
  863. resize: none;
  864. padding: 20rpx 0;
  865. height: 160rpx;
  866. border-bottom: 2rpx solid #e1e1e1;
  867. }
  868. .release-main-container {
  869. overflow: hidden;
  870. margin: 20rpx 0;
  871. }
  872. .uploadGoodsImages{
  873. display: flex;
  874. overflow-x: auto;
  875. overflow-y: hidden;
  876. }
  877. .secondradio{
  878. .row-radio{
  879. transform: scale(.8);
  880. }
  881. .row-input{margin-right: 10rpx;}
  882. }
  883. .linqi_text .p{
  884. font-size: $font-size-20;
  885. }
  886. .upload-file {
  887. float: left;
  888. margin: 20rpx 20rpx 20rpx 0px;
  889. cursor: pointer;
  890. width: 194rpx;
  891. height: 194rpx;
  892. border-radius: 6rpx;
  893. border: solid 2rpx #e1e1e1;
  894. flex-shrink: 0;
  895. position: relative;
  896. display: inline-block;
  897. .input-file {
  898. width: 194rpx;
  899. height: 194rpx;
  900. opacity: 0;
  901. cursor: pointer;
  902. position: absolute;
  903. top: 0;
  904. left: 0;
  905. }
  906. .upload-img {
  907. width: 100%;
  908. height: 100%;
  909. display: block;
  910. border-radius: .53vw;
  911. }
  912. .icon-shangchuantupian{
  913. display: block;
  914. width: 100%;
  915. height: 100rpx;
  916. line-height: 90rpx;
  917. color: #b2b2b2;
  918. font-size: $font-size-40;
  919. text-align: center;
  920. padding-top: 20rpx;
  921. box-sizing: border-box;
  922. }
  923. .add-text {
  924. display: block;
  925. width: 100%;
  926. line-height: 50rpx;
  927. font-size: 24rpx;
  928. color: #b2b2b2;
  929. text-align: center;
  930. }
  931. .icon-iconfontguanbi{
  932. width: 40rpx;
  933. height: 40rpx;
  934. line-height: 40rpx;
  935. display: block;
  936. position: absolute;
  937. background: #f94b4b;
  938. text-align: center;
  939. line-height: 40rpx;
  940. border-radius: 50%;
  941. top: -15rpx;
  942. right:-18rpx;
  943. color: #FFFFFF;
  944. font-size: $font-size-24;
  945. }
  946. }
  947. .wen-tips {
  948. width: 664rpx;
  949. height: 68rpx;
  950. line-height: 68rpx;
  951. text-align: center;
  952. color: #FFF;
  953. font-size: 20rpx;
  954. background-color: #1890f9;
  955. box-shadow: 0 0.8vw 1.6vw 0 rgba(24, 144, 249, 0.17);
  956. border-radius: 2rpx;
  957. display: none;
  958. }
  959. .form-upload-tips:hover .wen-tips {
  960. display: block;
  961. }
  962. .textarea-wrapper {
  963. letter-spacing: 2rpx;
  964. line-height: 48rpx;
  965. color: #333333;
  966. position: relative;
  967. font-size: 28rpx;
  968. border: 2rpx solid #E1E1E1;
  969. height: 300rpx;
  970. padding: 16rpx;
  971. border-radius: 6rpx;
  972. margin: 20rpx 0;
  973. }
  974. .textarea-wrapper textarea{
  975. width: 100%;
  976. }
  977. .word-limit {
  978. position: absolute;
  979. right: 2.7vw;
  980. bottom: 2.7vw;
  981. font-size: 3.2vw;
  982. color: #9aa5b5;
  983. }
  984. .row.Read{
  985. border: 0;
  986. text-align: center;
  987. color: #999999;
  988. }
  989. .thebj {
  990. position: fixed;
  991. left: 0;
  992. top: 0;
  993. bottom: 0;
  994. width: 100%;
  995. height: 100%;
  996. background-color: rgba(0, 0, 0, .5);
  997. z-index: 999999;
  998. opacity: 0;
  999. }
  1000. .thebj.show{
  1001. opacity: 1;
  1002. }
  1003. .theresult {
  1004. position: absolute;
  1005. top: 50%;
  1006. left: 50%;
  1007. transform: translate(-50%, -50%);
  1008. width:580rpx;
  1009. background-color: #fff;
  1010. border-radius: 32rpx;
  1011. }
  1012. .theresult .title{
  1013. line-height: 100rpx;
  1014. text-align: center;
  1015. display: block;
  1016. color: #333333;
  1017. font-size: 30rpx;
  1018. font-weight: bold;
  1019. border-bottom: 2rpx solid #efefef;
  1020. }
  1021. .theresult .content{
  1022. padding: 30rpx 52rpx;
  1023. line-height: 48rpx;
  1024. color: #666666;
  1025. font-size: 30rpx;
  1026. display: block;
  1027. }
  1028. .paybtn{
  1029. width: 100%;
  1030. height: 90rpx;
  1031. float: left;
  1032. .btn{
  1033. width: 50%;
  1034. height: 90rpx;
  1035. text-align: center;
  1036. line-height: 90rpx;
  1037. font-size: 30rpx;
  1038. display: inline-block;
  1039. float: left;
  1040. &.cancel{
  1041. background-color: #efefef;
  1042. border-radius: 0rpx 0rpx 0rpx 32rpx;
  1043. color: #999999;
  1044. }
  1045. &.confirm{
  1046. background-image: linear-gradient(270deg, #f28f31 0%, #e15616 100%);
  1047. border-radius: 0rpx 0rpx 32rpx 0rpx;
  1048. color: #fff;
  1049. }
  1050. }
  1051. }
  1052. .icon-wenhao{
  1053. color: #1890f9;
  1054. font-size: 35rpx;
  1055. width: 50rpx;
  1056. }
  1057. .form-upload-tips:hover .wen-tips {display: block;}
  1058. .tui-popup-box {
  1059. position: relative;
  1060. box-sizing: border-box;
  1061. min-height: 100rpx;
  1062. padding: 6rpx 24rpx;
  1063. .tui-popup-content {
  1064. padding-top: 30rpx;
  1065. }
  1066. }
  1067. .tui-popup-btn {
  1068. width: 100%;
  1069. height: auto;
  1070. float: left;
  1071. box-sizing: border-box;
  1072. margin-top: 30rpx;
  1073. .tui-button {
  1074. width: 600rpx;
  1075. height: 88rpx;
  1076. background: $btn-confirm;
  1077. line-height: 88rpx;
  1078. text-align: center;
  1079. color: #ffffff;
  1080. font-size: $font-size-28;
  1081. border-radius: 44rpx;
  1082. margin: 0 auto;
  1083. }
  1084. .tui-button-text{
  1085. width: 600rpx;
  1086. height: 70rpx;
  1087. line-height: 70rpx;
  1088. text-align: center;
  1089. color: #333333;
  1090. font-size: $font-size-26;
  1091. margin: 0 auto;
  1092. margin-top: 15rpx;
  1093. .iconfont{
  1094. margin-right: 10rpx;
  1095. &.icon-yixuanze{
  1096. color: $color-system;
  1097. }
  1098. }
  1099. }
  1100. }
  1101. .tui-prompt-flex{
  1102. width: 100%;
  1103. height: 80rpx;
  1104. display: flex;
  1105. margin-top: 20rpx;
  1106. .btn{
  1107. flex: 1;
  1108. line-height: 80rpx;
  1109. font-size: $font-size-26;
  1110. text-align: center;
  1111. color: #FFFFFF;
  1112. border-radius: 40rpx;
  1113. margin: 0 24rpx;
  1114. &.btn-cancel{
  1115. background: #F7F7F7;
  1116. color: #999999;
  1117. }
  1118. &.btn-confirm{
  1119. background: $btn-confirm;
  1120. }
  1121. }
  1122. }
  1123. .tui-prompt-text{
  1124. line-height: 44rpx;
  1125. font-size: $font-size-26;
  1126. color: #333333;
  1127. .text{
  1128. color: $color-system;
  1129. }
  1130. }
  1131. </style>