form.vue 25 KB

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