form.vue 27 KB

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