form.vue 26 KB

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