form.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677
  1. <template name="secondHandrelease">
  2. <view class="fleaMarketForm">
  3. <view class="bannerimg"><image src="https://admin-b.caimei365.com/userfiles/1/images/photo/2020/11/banner3.png"></image></view>
  4. <view class="my-maintenance" >
  5. <view class="newsTitle">
  6. <view>欢迎您来到采美365网二手商品市场,您可以在这里发布二手
  7. 设备/产品信息,每个商品需要收取您100元的展示费,展示期为6个月; 为了完整展示您的商品,请您认真填写以下内容,谢谢合作</view>
  8. </view>
  9. <form>
  10. <view class="row fenlei">
  11. <view class="label">分类</view>
  12. <view class="secondradio">
  13. <view v-for="(item,index) in fenlei" :key="index" v-model="secondParams.secondHandType" @click="secondHandRidio(item)"
  14. :class="currentId==item.value?'active':''">
  15. <label class="iconfont" :class="currentId==item.value?'icon-yixuanze':'icon-weixuanze'"></label>{{item.name}}
  16. </view>
  17. </view>
  18. <view class="secondradio Secondary" v-if="isShow" >
  19. <view v-for="(item ,index) in radioList" :key="index" :class="item.isChecked ? 'active':''"
  20. @click="secondHandType(item)" class="icon mIcon ">
  21. <label class="iconfont" :class="item.isChecked?'icon-yixuanze':'icon-weixuanze'"></label>{{item.name}}
  22. </view>
  23. </view>
  24. <view class="linqi_text" v-show="secondParams.secondHandType==2">
  25. <view class="jiaobiao"></view>
  26. <p>临期产品是指临近保质期的产品,距离到期日最好在6个月以上</p>
  27. </view>
  28. </view>
  29. <view class="row">
  30. <view class="label">商品品牌</view>
  31. <view class="select spacing" @click="showBrand">
  32. <view class="placeholder" >{{brandname}}</view>
  33. <!-- <ul v-show="selectBrand">
  34. <li v-for="(item,index) in BrandList" :key="index" :value='item.id' @click="ChangeBrand(item)">{{item.name}}</li>
  35. </ul> -->
  36. <text class="iconfont icon-xiayibu"></text>
  37. </view>
  38. </view>
  39. <view class="row">
  40. <view class="label">商品名称</view>
  41. <view class="spacing">
  42. <input type="text" maxlength="40" v-model="secondParams.name" placeholder="请输入商品名称,不超过40个汉字">
  43. </view>
  44. </view>
  45. <view class="row">
  46. <view class="label">出厂日期</view>
  47. <view class="spacing">
  48. <input type="text" v-model="secondParams.fixedYears" maxlength="10" placeholder="请输入出厂日期 如:2020年06月">
  49. </view>
  50. </view>
  51. <view class="row" v-show="secondParams.secondHandType==2">
  52. <view class="label">产品到期日</view>
  53. <view class="spacing">
  54. <input type="text" v-model="secondParams.maturityYears" maxlength="10" placeholder="请输入产品到期日,如:2020年12月">
  55. </view>
  56. </view>
  57. <view class="row">
  58. <view class="label">公司名称</view>
  59. <view class="spacing">
  60. <input type="text" v-model="secondParams.companyName" maxlength="30" placeholder="请输入公司名称,不超过30个汉字">
  61. </view>
  62. </view>
  63. <view class="row">
  64. <view class="label">交易价</view>
  65. <view class="spacing">
  66. <input type="text" maxlength="20" v-model="secondParams.price1" placeholder="请输入交易价">
  67. </view>
  68. </view>
  69. <view style="margin-top: 15rpx;">
  70. <label @click="Detailed($event)" v-model="secondParams.detailTalkFlags" class="iconfont xiangliao"
  71. :class="vShow_detailTalkFlag?'icon-jiagexiangliao':'icon-juxingweigouxuan'" >
  72. <label class='pricecolor' >价格详聊</label>
  73. </label>
  74. <label class="showflag" v-show="vShow_detailTalkFlag">(勾选代表同意不显示交易价)</label>
  75. </view>
  76. <view class="row" v-show="secondParams.secondHandType==2">
  77. <view class="label">市场价</view>
  78. <view class="spacing">
  79. <input type="text" v-model="secondParams.normalPrice" maxlength="30" oninput="value=value.replace(/[^\d]/g, '')" placeholder="请输入市场价">
  80. </view>
  81. </view>
  82. <view class="row" v-show="secondParams.secondHandType==2">
  83. <view class="label">采购价/原价</view>
  84. <view class="spacing">
  85. <input type="text" v-model="secondParams.originalPrice" maxlength="30" oninput="value=value.replace(/[^\d]/g, '')" placeholder="请输入采购价/原价"/>
  86. </view>
  87. </view>
  88. <view class="row" v-show="secondParams.secondHandType==2">
  89. <view class="label">数量</view>
  90. <view class="spacing">
  91. <input type="text" v-model="secondParams.stock" maxlength="30" placeholder="请输入数量">
  92. </view>
  93. </view>
  94. <view class="row">
  95. <view class="label">商品成色</view>
  96. <view class="spacing">
  97. <input type="text" maxlength="10" v-model="secondParams.productQuality" placeholder="请输入商品成色,如“9成新”">
  98. </view>
  99. </view>
  100. <view class="row">
  101. <view class="label">联系人</view>
  102. <view class="spacing">
  103. <input type="text" maxlength="6" v-model="secondParams.contactName" placeholder="请输入联系人姓名">
  104. </view>
  105. </view>
  106. <view class="row">
  107. <view class="label">联系方式</view>
  108. <view class="spacing">
  109. <input type="text" v-model="secondParams.contactMobile" maxlength="11" placeholder="请输入联系人手机号 / 固话">
  110. </view>
  111. </view>
  112. <view class="row">
  113. <view class="label">商品类型</view>
  114. <view class="secondradio">
  115. <view class="buy " v-for="(item ,index) in beauty" :key='index' value="item.value" @click="getProductType(item.value)" :class="secondType==item.value?' active':''">
  116. <label class="iconfont" :class="secondType==item.value?'icon-yixuanze':'icon-weixuanze'"></label>{{item.name}}
  117. </view>
  118. </view>
  119. </view>
  120. <view class="row" >
  121. <view class="label">联系地址</view>
  122. <view class="spacing" @click="showMulLinkageThreePicker">
  123. <text class="row-input" :class="addressData.address === '请选择所在地区' ? 'none' : ''">
  124. {{addressData.address}}
  125. </text>
  126. <text class="iconfont icon-xiayibu"></text>
  127. </view>
  128. </view>
  129. <textarea type="text" class="border-grey address-details" v-model="secondParams.address" maxlength="50"
  130. placeholder="请填写详细地址,如街道/小区/门牌等" /></textarea>
  131. <view class="release-main-container">
  132. <view class="release-from">
  133. <view class="label">商品图片</view>
  134. <view class="release-input upload image uploadGoodsImages" >
  135. <view class="upload-file" v-show="GoodsImagesList.length<5">
  136. <i class="iconfont icon-shangchuantupian"></i>
  137. <p class="add-text">营业执照</p>
  138. <view ref="goodsImages" class="input-file" @click="uploadGoodsImagesFn"></view>
  139. </view>
  140. <view class="upload-file" v-for="(item, index) in GoodsImagesList" :key="index">
  141. <img :data-original='item' :src="item" :data-image="item" alt="" class="upload-img" >
  142. <i class=" del iconfont icon-shanchu1" @click="removeGoodsImagesFn(index)"></i>
  143. </view>
  144. </view>
  145. <view class="form-upload-tips">
  146. <i class="iconfont icon-wenhao" ></i>
  147. <view class="wen-tips" >最多上传5张二手商品图片,请尽量全部上传,单张图片不能超过5M</view>
  148. </view>
  149. </view>
  150. </view>
  151. <view class="productinfo">
  152. <view class="label unlogin-label" style="width: 100%;">商品详细信息</view>
  153. <div class="textarea-wrapper">
  154. <textarea maxlength="200" v-model="secondParams.productDetails" cols="70" class="description" rows="6" placeholder="请填写商品详细信息,对商品进行更详细的描述"></textarea>
  155. <span class="word-limit">{{secondParams.productDetails.length}}/200</span>
  156. </div>
  157. </view>
  158. <view class="productinfo">
  159. <view class="label unlogin-label" style="width: 100%;">免责声明</view>
  160. <textarea class="smText">
  161. 鉴于本网站提供的二手版块信息包括但不限于公司名称,商品的简介、性能、描述与说明,相关图片、视频等均由卖家自行提供,
  162. 由卖家对其提供的信息承担相应法律责任。买家应自行甄别商品信息并查验商品性状。本网站对二手版块中买卖双方的交易不提供任何形式的担保与保证,特此声明!
  163. </textarea>
  164. </view>
  165. <view class="row Read">
  166. <span @click="changeBox($event)" class="iconfont xiangliao"
  167. :class="checkbox?'icon-jiagexiangliao':'icon-juxingweigouxuan'" ><span style="margin-left: 10rpx;">已阅读</span></span>
  168. </view>
  169. <div class="BtnAll" >
  170. <view @click="submitBtn" class="btn-submit">发布</view>
  171. </div>
  172. </form>
  173. <mpvue-city-picker :themeColor="themeColor"
  174. ref="mpvueCityPicker"
  175. :pickerValueDefault="cityPickerValueDefault"
  176. @onCancel="onCancel"
  177. @onConfirm="onConfirm">
  178. </mpvue-city-picker>
  179. </view>
  180. <view class="secondBj thebj" v-show="vShow_secondBj" :class="vShow_secondBj?'show':''">
  181. <view class="bjmain theresult">
  182. <span class="title">发布提示</span>
  183. <p>发布二手商品,采美需要收取您每个商品100元的展示费,展示期为6个月</br>
  184. 支付完成后,商品会在1-2个工作日内进行审核,审核通过后,商品会立即上线</p>
  185. <view class="paybtn">
  186. <view class="thegopay gozhofubao" @click.stop="quxiao">取消发布</view>
  187. <view class="cancel closebtn" @click.stop="gopay">去支付</view>
  188. </view>
  189. </view>
  190. </view>
  191. <payment-record ref="payment" v-if="isRequest" :discernReceiptList="discernReceiptList" :receiptAmount="receiptAmount"></payment-record>
  192. </view>
  193. </template>
  194. <script>
  195. import listCell from "@/components/tui-components/list-cell/list-cell.vue"
  196. import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
  197. import paymentRecord from '@/components/cm-module/orderDetails/paymentRecord'
  198. import { uploadFileImage } from "@/api/utils.js"
  199. import { mapState,mapMutations } from 'vuex';
  200. export default{
  201. name:'secondHandrelease',
  202. components:{
  203. listCell,
  204. mpvueCityPicker,
  205. paymentRecord
  206. },
  207. data(){
  208. return{
  209. fenlei:[
  210. {name:'二手仪器',value:'1'},
  211. {name:'临期产品',value:'2'},
  212. {name:'其他',value:'3'},
  213. ],
  214. currentId:0,
  215. radioList:[
  216. {name:'轻光电',value:'1',isChecked:false},
  217. {name:'重光电',value:'2',isChecked:false},
  218. {name:'耗材配件',value:'3',isChecked:false},
  219. ],
  220. beauty:[
  221. {name:'医美',value:'1'},
  222. {name:'非医美',value:'2'},
  223. ],
  224. BrandList:[],
  225. isShow:false,
  226. GoodsImagesList:[],
  227. oldNum:0,
  228. secondType:0,
  229. vShow_GoodsImages:false,
  230. fromMessage:'',//提示文字
  231. secondParams:{
  232. secondHandType:'',//一级分类
  233. instrumentType:'',//二手仪器分类
  234. name:'',
  235. brandID:'',//品牌ID
  236. brandName:'',//其他品牌
  237. fixedYears:null,//出厂
  238. companyName:'',//公司名称
  239. maturityYears:'',//产品到期
  240. price1:'',//交易价
  241. detailTalkFlag:1,//是否启用详聊
  242. normalPrice:'',//市场价
  243. originalPrice:'',//采购价
  244. stock:'',//数量
  245. productQuality:'',//商品成色
  246. contactName:'',//联系人
  247. contactMobile:'',//联系方式
  248. secondProductType:null,//
  249. townId:'',//县区地址
  250. address:'',//详细地址
  251. image1:'',//图片
  252. productDetails:'',//商品详细信息
  253. source:1,
  254. },
  255. addressData:{
  256. address:'请选择所在地区',
  257. townID:'', //区ID
  258. cityID:'', //区ID
  259. provinceID:'', //区ID
  260. addressDetail: '', //地址
  261. },
  262. brandname:'请选择品牌名称',
  263. checkbox:false,
  264. shoplogoTwo:false,
  265. provinceIndex:'',
  266. provinceArray:[],
  267. cityArray: [],//市
  268. townArray: [],//区
  269. playid:'',
  270. checkVal:[],
  271. vShow_secondBj:false,
  272. resultBj:false,
  273. vShow_detailTalkFlag:false,
  274. isShowInput:true,
  275. showtips:false
  276. }
  277. },
  278. methods:{
  279. showMulLinkageThreePicker() {//三级地址联动
  280. this.isShowInput = true
  281. this.$refs.mpvueCityPicker.show()
  282. },
  283. onConfirm(e) {//获取选择的地址信息
  284. console.log('地址',e);
  285. this.addressData.address = e.name;
  286. this.addressData.townID = e.townCode;
  287. this.addressData.cityID = e.cityCode;
  288. this.addressData.provinceID = e.provinceCode;
  289. this.secondParams.townId = this.addressData.townID;
  290. this.secondParams.address = this.addressData.address;
  291. },
  292. onConfirmbrand(e){
  293. this.brandname = e.name;
  294. },
  295. showBrand:function(){
  296. this.isShowInput = true
  297. this.$refs.listCell.show()
  298. },
  299. secondHandRidio: function(item) {
  300. this.currentId = item.value;
  301. this.secondParams.secondHandType = item.value;
  302. if (item.value==1){
  303. this.isShow = true;
  304. }else {
  305. this.isShow = false;
  306. }
  307. },
  308. secondHandType:function(item){ //二手仪器
  309. item.isChecked = ! item.isChecked;
  310. if(item.isChecked){
  311. this.checkVal.push(item.value);
  312. this.secondParams.instrumentType = this.checkVal.toString();
  313. } else {
  314. this.checkVal.splice(this.checkVal.indexOf(item.value), 1);
  315. this.secondParams.instrumentType = this.checkVal.toString();
  316. }
  317. },
  318. ChangeBrand:function(item){ //品牌列表
  319. this.brandname = item.name;
  320. this.secondParams.brandID = item.id;
  321. if(this.secondParams.brandID==161){
  322. this.shoplogoTwo = true;
  323. }else {
  324. this.shoplogoTwo = false;
  325. }
  326. },
  327. Detailed:function(){
  328. this.vShow_detailTalkFlag = !this.vShow_detailTalkFlag;
  329. if(this.vShow_detailTalkFlag){
  330. this.secondParams.detailTalkFlag = 2 ;//启用价格详聊
  331. }else {
  332. this.secondParams.detailTalkFlag = 1 ;//不启用价格详聊
  333. }
  334. },
  335. dragstart: function(value) { // 记录初始信息
  336. this.oldNum = value;
  337. },
  338. uploadGoodsImagesFn: function(event){//上传商品图片
  339. uploadFileImage().then(res =>{
  340. this.GoodsImagesList.push(JSON.parse(res.data).data);
  341. this.secondParams.image1 =this.GoodsImagesList.toString()+',';
  342. })
  343. },
  344. removeGoodsImagesFn: function(index){//删除商品图片
  345. this.GoodsImagesList.splice(index,1);
  346. this.secondParams.image1 =this.GoodsImagesList.toString()+',';
  347. },
  348. getProductType:function(item){
  349. this.secondType=item;
  350. this.secondParams.secondProductType = item ;
  351. },
  352. submitBtn:function () {
  353. if(this.secondParams.secondHandType == ''){
  354. this.$util.msg('请选择分类',2000);
  355. return;
  356. }
  357. if(this.secondParams.secondHandType == 1 ){
  358. if(this.secondParams.instrumentType ==''){
  359. this.$util.msg('请完善仪器分类',2000);
  360. return;
  361. }
  362. }
  363. // if(this.secondParams.brandID == ''){
  364. // this.$util.msg('请选择商品品牌',2000);
  365. // return;
  366. // }
  367. if(this.secondParams.name == ''){
  368. this.$util.msg('请输入商品名称',2000);
  369. return
  370. }
  371. if(this.secondParams.secondHandType ==2) {
  372. if (this.secondParams.normalPrice == '') {
  373. this.$util.msg('请输入市场价',2000);
  374. return
  375. }
  376. if (this.secondParams.maturityYears == '') {
  377. this.$util.msg('请输入产品到期日',2000);
  378. return
  379. }
  380. }
  381. if(this.secondParams.price1 == ''){
  382. this.$util.msg('请输入交易价',2000);
  383. return
  384. }
  385. if(this.secondParams.secondHandType ==2){
  386. if(this.secondParams.originalPrice == ''){
  387. this.$util.msg('请输入采购价/原价',2000);
  388. return
  389. }
  390. if(this.secondParams.stock == ''){
  391. this.$util.msg('请输入数量',2000);
  392. return
  393. }
  394. }
  395. if(this.secondParams.productQuality == ''){
  396. this.$util.msg('请输入商品成色',2000);
  397. return
  398. }
  399. if(this.secondParams.contactName == ''){
  400. this.$util.msg('请输入联系人姓名',2000);
  401. return
  402. }
  403. if(this.secondParams.contactMobile == ''){
  404. console.log(this.secondParams.contactMobile)
  405. this.$util.msg('请输入联系方式',2000);
  406. return
  407. }
  408. if(this.secondParams.contactMobile.length !=11){
  409. this.$util.msg('联系方式格式不正确',2000);
  410. return
  411. }
  412. if(this.secondParams.townId == ''|| this.secondParams.townId == undefined){
  413. this.$util.msg('请完善联系地址',2000);
  414. return
  415. }
  416. if(this.secondParams.address == ''){
  417. this.$util.msg('请填写详细地址',2000);
  418. return
  419. }
  420. if(this.GoodsImagesList ==''){
  421. this.$util.msg('请上传图片',2000);
  422. return;
  423. }
  424. if(this.checkbox==false){
  425. this.$util.msg('请勾选已阅读',2000);
  426. return
  427. }
  428. console.log(this.secondParams)
  429. this.SecondService.SecondHandProduct(this.secondParams).then(res=>{ //提交发布
  430. if (res.code==0){
  431. this.vShow_secondBj = true;
  432. this.playid= res.data;
  433. }else{
  434. this.$util.msg(res.msg,2000)
  435. this.secondBj = false;
  436. return
  437. }
  438. })
  439. },
  440. quxiao:function(){
  441. this.vShow_secondBj = false;
  442. },
  443. gopay:function(){
  444. this.$api.navigateTo(`/pages/user/order/order-payment?type=confirm&productID=${this.playid}`)
  445. this.vShow_secondBj = false;
  446. },
  447. changeBox:function () {
  448. this.checkbox = !this.checkbox;
  449. },
  450. },
  451. created(){
  452. },
  453. }
  454. </script>
  455. <style lang="scss">
  456. *{
  457. border: 0;
  458. padding: 0;
  459. margin: 0;
  460. }
  461. view{font-size: 28rpx;}
  462. .my-maintenance{padding: 20rpx;}
  463. .bannerimg {height: 66rpx;width: 100%;}
  464. .bannerimg image{width: 100%;height: 100% ;}
  465. .newsTitle {line-height: 48rpx;text-align: left;color: #e15616;padding:20rpx;background-color: rgba(225, 86, 22, .1);font-size: 28rpx;}
  466. .secondradio view{display: inline-block;color: #333333;padding: 0 20rpx;}
  467. .secondradio{display: inline-block;margin-left: 40rpx;}
  468. .Secondary{width: 100%;text-align: center;margin: 0;}
  469. .secondradio view.active {color: #e15616;}
  470. .label .red{color: #f94b4b;}
  471. input[type="text"]::placeholder, textarea::placeholder {color: #b2b2b2;}
  472. input[type="text"]{line-height: 90rpx;overflow: unset;}
  473. .row label.iconfont{margin-right: 10rpx;}
  474. .icon-weixuanze{color: #b2b2b2;}
  475. .linqi_text { width: 100%; height: 68rpx;background-color: #1890f9;box-shadow: 0rpx 4rpx 6rpx 0rpx rgba(24, 144, 249, 0.17);text-align: center;
  476. line-height: 68rpx;color: #ffffff;margin: auto;font-size:24rpx;position: relative;}
  477. .jiaobiao {width: 0;height: 0;border-left: 20rpx solid transparent;border-right: 20rpx solid transparent;top: -30%;
  478. right: 48%;border-bottom: 20rpx solid #1890f9;position: absolute;}
  479. .label{color: #666666;display: inline-block;idth: 120rpx;}
  480. .row{border-bottom: 2rpx solid #e1e1e1;line-height: 90rpx;height: 90rpx;}
  481. .row.fenlei{height: auto;}
  482. .select {position: relative;color: #9aa5b5;text-align: left;user-select: none;}
  483. .row .spacing{display: inline-block;margin-left: 60rpx;width: 68%;vertical-align:middle;position: relative}
  484. .select .placeholder {position: relative;cursor: pointer;width: 100%;display: inline-block;}
  485. .icon-xiayibu{right: 0rpx;;color: #b2b2b2;position: absolute}
  486. .xiangliao{font-size: 26rpx;margin-right: 10rpx;color: #b2b2b2}
  487. .icon-jiagexiangliao{color: #e15616 !important;}
  488. .pricecolor{margin-left: 10rpx;}
  489. .showflag{color: #b2b2b2;}
  490. .border-grey{width: 100%;resize: none;padding: 20rpx 0;height: 160rpx;border-bottom: 2rpx solid #e1e1e1;}
  491. .release-main-container {overflow: hidden;margin: 20rpx 0}
  492. .uploadGoodsImages{display: flex;overflow-x: auto;overflow-y: hidden;}
  493. .upload-file {
  494. position: relative;
  495. float: left;
  496. margin: 20rpx 20rpx 20rpx 0px;
  497. cursor: pointer;
  498. width: 194rpx;
  499. height: 194rpx;
  500. border-radius: 6rpx;
  501. border: solid 2rpx #e1e1e1;
  502. flex-shrink: 0;
  503. position: relative;
  504. display: inline-block;
  505. }
  506. .input-file {
  507. width: 194rpx;
  508. height: 194rpx;
  509. opacity: 0;
  510. cursor: pointer;
  511. position: absolute;
  512. }
  513. .add-text {
  514. font-size: 26rpx;
  515. color: #333330;
  516. opacity: 0.5;
  517. position: absolute;
  518. top: 55%;
  519. right:24%;
  520. }
  521. .upload-img {
  522. width: 100%;
  523. height: 100%;
  524. display: block;
  525. border-radius: .53vw;
  526. }
  527. .icon-shangchuantupian{
  528. width: 46rpx;
  529. height: 46rpx;
  530. color: #b2b2b2;
  531. font-size: 18px;
  532. position: absolute;
  533. top: 30%;
  534. left: 40%;
  535. }
  536. .icon-shanchu1{
  537. position: absolute;
  538. top: -25rpx;
  539. right:-10rpx;
  540. color: #f94b4b;
  541. font-size: 36rpx;
  542. }
  543. .wen-tips {
  544. width: 664rpx;
  545. height: 68rpx;
  546. line-height: 68rpx;
  547. text-align: center;
  548. color: #FFF;
  549. font-size: 20rpx;
  550. background-color: #1890f9;
  551. box-shadow: 0 0.8vw 1.6vw 0 rgba(24, 144, 249, 0.17);
  552. border-radius: 2rpx;
  553. display: none;
  554. }
  555. .form-upload-tips:hover .wen-tips {display: block;}
  556. .textarea-wrapper {
  557. letter-spacing: 2rpx;
  558. line-height: 48rpx;
  559. color: #b2b2b2;
  560. position: relative;
  561. font-size: 28rpx;
  562. border: 2rpx solid #b2b2b2;
  563. height: 300rpx;
  564. padding: 16rpx;
  565. border-radius: 6rpx;
  566. margin: 20rpx 0;
  567. }
  568. .textarea-wrapper textarea{
  569. width: 100%;
  570. }
  571. .word-limit {
  572. position: absolute;
  573. right: 2.7vw;
  574. bottom: 2.7vw;
  575. font-size: 3.2vw;
  576. color: #9aa5b5;
  577. }
  578. .smText{
  579. color: #999999;
  580. text-align: left;
  581. line-height: 42rpx;
  582. font-size: 24rpx;
  583. margin-top: 10rpx;
  584. width: 100%;
  585. height: 260rpx;
  586. }
  587. .BtnAll{
  588. width: 100%;
  589. margin-bottom: 20rpx;
  590. .btn-submit{
  591. width: 600rpx;
  592. height: 90rpx;
  593. margin: auto;
  594. text-align: center;
  595. line-height: 90rpx;
  596. color: #fff;
  597. background-image: linear-gradient(315deg,
  598. #f28f31 0%,
  599. #e15616 100%);
  600. border-radius: 90rpx;
  601. font-size: 30rpx;
  602. }
  603. }
  604. .row.Read{
  605. border: 0;
  606. text-align: center;
  607. color: #999999;
  608. }
  609. .thebj {
  610. position: fixed;
  611. left: 0;
  612. top: 0;
  613. bottom: 0;
  614. width: 100%;
  615. height: 100%;
  616. background-color: rgba(0, 0, 0, .5);
  617. z-index: 999999;
  618. opacity: 0;
  619. }
  620. .thebj.show{
  621. opacity: 1;
  622. }
  623. .theresult {
  624. position: absolute;
  625. top: 50%;
  626. left: 50%;
  627. transform: translate(-50%, -50%);
  628. width:580rpx;
  629. background-color: #fff;
  630. border-radius: 32rpx;
  631. }
  632. .theresult .title{
  633. line-height: 100rpx;
  634. text-align: center;
  635. display: block;
  636. color: #333333;
  637. font-size: 30rpx;
  638. font-weight: bold;
  639. border-bottom: 2rpx solid #efefef;
  640. }
  641. .theresult p{
  642. padding: 30rpx 52rpx;
  643. line-height: 48rpx;
  644. color: #666666;
  645. font-size: 30rpx;
  646. }
  647. .paybtn view{
  648. width: 290rpx;
  649. height: 90rpx;
  650. text-align: center;
  651. line-height: 90rpx;
  652. font-size: 30rpx;
  653. display: inline-block;
  654. }
  655. .paybtn .cancel{
  656. background-image: linear-gradient(270deg, #f28f31 0%, #e15616 100%);
  657. border-radius: 0rpx 0rpx 32rpx 0rpx;
  658. color: #fff;
  659. }
  660. .paybtn .thegopay{
  661. background-color: #efefef;
  662. border-radius: 0rpx 0rpx 0rpx 32rpx;
  663. color: #999999;
  664. }
  665. .icon-wenhao{
  666. color: #1890f9;
  667. font-size: 35rpx;
  668. width: 50rpx;
  669. }
  670. .form-upload-tips:hover .wen-tips {display: block;}
  671. </style>