form.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788
  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/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">{{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" oninput="value=value.replace(/[^\d]/g, '')" 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" oninput="value=value.replace(/[^\d]/g, '')" 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 { mapState,mapMutations } from 'vuex';
  228. export default{
  229. name:'secondHandrelease',
  230. components:{
  231. listCell,
  232. mpvueCityPicker,
  233. paymentRecord,
  234. },
  235. data(){
  236. return{
  237. popupShow:false,
  238. fenlei:[
  239. {name:'二手仪器',value:'1'},
  240. {name:'临期产品',value:'2'},
  241. {name:'其他',value:'3'},
  242. ],
  243. radioList:[
  244. {name:'轻光电',value:'1',isChecked:false},
  245. {name:'重光电',value:'2',isChecked:false},
  246. {name:'耗材配件',value:'3',isChecked:false},
  247. ],
  248. beauty:[
  249. {name:'医美',value:'1'},
  250. {name:'非医美',value:'2'},
  251. ],
  252. BrandList:[],
  253. isShow:false,
  254. GoodsImagesList:[],
  255. vShow_GoodsImages:false,
  256. secondParams:{
  257. secondHandType:'',//一级分类
  258. instrumentType:'',//二手仪器分类
  259. name:'',
  260. brandID:'',//品牌ID
  261. brandName:'',//其他品牌
  262. fixedYears:null,//出厂
  263. companyName:'',//公司名称
  264. maturityYears:'',//产品到期
  265. price1:'',//交易价
  266. detailTalkFlag:1,//是否启用详聊
  267. normalPrice:'',//市场价
  268. originalPrice:'',//采购价
  269. stock:'',//数量
  270. productQuality:'',//商品成色
  271. contactName:'',//联系人
  272. contactMobile:'',//联系方式
  273. secondProductType:null,//
  274. townId:'',//县区地址
  275. address:'',//详细地址
  276. image1:'https://admin-b.caimei365.com/userfiles/1/images/photo/2020/11/secondbg.jpg',//图片
  277. productDetails:'',//商品详细信息
  278. source:1,
  279. },
  280. addressData:{
  281. address:'请选择所在地区',
  282. townID:'', //区ID
  283. cityID:'', //区ID
  284. provinceID:'', //区ID
  285. addressDetail: '', //地址
  286. },
  287. brandname:'请选择品牌名称',
  288. checkbox:false,
  289. shoplogoTwo:false,
  290. vShow_secondBj:false,
  291. resultBj:false,
  292. vShow_detailTalkFlag:false,
  293. playid:'',
  294. }
  295. },
  296. methods:{
  297. radioChange(e){//品牌
  298. this.secondParams.brandID = e.target.value;
  299. this.BrandList.forEach((item,index)=>{
  300. if(item.id==this.secondParams.brandID){
  301. this.brandname = item.name;
  302. }
  303. })
  304. },
  305. showMulLinkageThreePicker() {//三级地址联动
  306. this.isShowInput = true
  307. this.$refs.mpvueCityPicker.show()
  308. },
  309. onConfirm(e) {//获取选择的地址信息
  310. this.addressData.address = e.name;
  311. this.addressData.townID = e.townCode;
  312. this.addressData.cityID = e.cityCode;
  313. this.addressData.provinceID = e.provinceCode;
  314. this.secondParams.townId = this.addressData.townID;
  315. this.secondParams.address = this.addressData.address;
  316. },
  317. hanldOperationConfim(){
  318. this.popupShow = true;
  319. },
  320. hidePopup(){
  321. this.popupShow = false;
  322. },
  323. secondHandRidio(e) {
  324. this.secondParams.secondHandType = e.target.value;
  325. if (e.target.value == 1){
  326. this.isShow = true;
  327. }else {
  328. this.isShow = false;
  329. }
  330. },
  331. secondHandType(e){ //二手仪器
  332. this.secondParams.instrumentType = e.target.value.toString();
  333. },
  334. Detailed(){
  335. this.vShow_detailTalkFlag = !this.vShow_detailTalkFlag;
  336. if(this.vShow_detailTalkFlag){
  337. this.secondParams.detailTalkFlag = 2 ;//启用价格详聊
  338. }else {
  339. this.secondParams.detailTalkFlag = 1 ;//不启用价格详聊
  340. }
  341. },
  342. uploadGoodsImagesFn(event){//上传商品图片
  343. uploadFileImage().then(res =>{
  344. this.GoodsImagesList.push(JSON.parse(res.data).data);
  345. this.secondParams.image1 =this.GoodsImagesList.toString()+',';
  346. })
  347. },
  348. removeGoodsImagesFn(index){//删除商品图片
  349. this.GoodsImagesList.splice(index,1);
  350. this.secondParams.image1 =this.GoodsImagesList.toString()+',';
  351. },
  352. getProductType(e){
  353. this.secondParams.secondProductType = e.target.value ;
  354. },
  355. submitBtn () {
  356. if(this.secondParams.secondHandType == ''){
  357. this.$util.msg('请选择分类',2000);
  358. return;
  359. }
  360. if(this.secondParams.secondHandType == 1 ){
  361. if(this.secondParams.instrumentType ==''){
  362. this.$util.msg('请完善仪器分类',2000);
  363. return;
  364. }
  365. }
  366. if(this.secondParams.brandID == ''){
  367. this.$util.msg('请选择商品品牌',2000);
  368. return;
  369. }
  370. if(this.secondParams.name == ''){
  371. this.$util.msg('请输入商品名称',2000);
  372. return
  373. }
  374. if(this.secondParams.secondHandType ==2) {
  375. if (this.secondParams.normalPrice == '') {
  376. this.$util.msg('请输入市场价',2000);
  377. return
  378. }
  379. if (this.secondParams.maturityYears == '') {
  380. this.$util.msg('请输入产品到期日',2000);
  381. return
  382. }
  383. }
  384. if(this.secondParams.price1 == ''){
  385. this.$util.msg('请输入交易价',2000);
  386. return
  387. }
  388. if(this.secondParams.secondHandType ==2){
  389. if(this.secondParams.originalPrice == ''){
  390. this.$util.msg('请输入采购价/原价',2000);
  391. return
  392. }
  393. if(this.secondParams.stock == ''){
  394. this.$util.msg('请输入数量',2000);
  395. return
  396. }
  397. }
  398. if(this.secondParams.productQuality == ''){
  399. this.$util.msg('请输入商品成色',2000);
  400. return
  401. }
  402. if(this.secondParams.contactName == ''){
  403. this.$util.msg('请输入联系人姓名',2000);
  404. return
  405. }
  406. if(this.secondParams.contactMobile == ''){
  407. console.log(this.secondParams.contactMobile)
  408. this.$util.msg('请输入联系方式',2000);
  409. return
  410. }
  411. if(this.secondParams.contactMobile.length !=11){
  412. this.$util.msg('联系方式格式不正确',2000);
  413. return
  414. }
  415. if(this.secondParams.townId == ''|| this.secondParams.townId == undefined){
  416. this.$util.msg('请完善联系地址',2000);
  417. return
  418. }
  419. if(this.secondParams.address == ''){
  420. this.$util.msg('请填写详细地址',2000);
  421. return
  422. }
  423. // if(this.GoodsImagesList ==''){
  424. // this.$util.msg('请上传图片',2000);
  425. // return;
  426. // }
  427. if(this.checkbox==false){
  428. this.$util.msg('请勾选已阅读',2000);
  429. return
  430. }
  431. console.log(this.secondParams)
  432. this.SecondService.SecondHandProduct(this.secondParams).then(res=>{ //提交发布
  433. if (res.code==0){
  434. this.vShow_secondBj = true;
  435. this.playid= res.data;
  436. }else{
  437. this.$util.msg(res.msg,2000)
  438. this.secondBj = false;
  439. return
  440. }
  441. })
  442. },
  443. quxiao:function(){
  444. this.vShow_secondBj = false;
  445. },
  446. gopay(){
  447. this.MiniWxPayFor()
  448. this.vShow_secondBj = false;
  449. },
  450. MiniWxPayFor(){
  451. authorize.getCode('weixin').then(wechatcode =>{
  452. let params ={
  453. code:wechatcode,
  454. productId:this.playid
  455. }
  456. this.PayService.SecondHandPay(params).then(response =>{
  457. let PayInfo = JSON.parse(response.data.data.payInfo);
  458. this.WxRequestPayment(PayInfo)
  459. }).catch(error =>{
  460. this.$util.msg(error.msg,2000)
  461. })
  462. })
  463. },
  464. WxRequestPayment(data){
  465. let self = this
  466. wx.requestPayment({
  467. 'timeStamp': data.timeStamp,
  468. 'nonceStr': data.nonceStr,
  469. 'package': data.package,
  470. 'signType': data.signType,
  471. 'paySign': data.paySign,
  472. 'success':function(res){
  473. wx.reLaunch({url: 'second/pages/product/product-list'});
  474. },
  475. 'fail':function(res){
  476. self.$util.msg('用户取消支付~')
  477. },
  478. 'complete':function(res){
  479. }
  480. })
  481. },
  482. changeBox:function () {
  483. this.checkbox = !this.checkbox;
  484. },
  485. },
  486. created(){
  487. this.SecondService.brandList().then(res =>{//品牌列表
  488. if(res.code == 0){
  489. this.BrandList = res.data;
  490. }
  491. })
  492. },
  493. }
  494. </script>
  495. <style lang="scss">
  496. *{
  497. border: 0;
  498. padding: 0;
  499. margin: 0;
  500. }
  501. view{font-size: 28rpx;}
  502. .my-maintenance{padding: 20rpx;}
  503. .bannerimg {height: 66rpx;width: 100%;}
  504. .bannerimg image{width: 100%;height: 100% ;}
  505. .newsTitle {line-height: 48rpx;text-align: left;color: #e15616;padding:20rpx;background-color: rgba(225, 86, 22, .1);}
  506. .nestext{font-size: 24rpx;}
  507. .secondradio view{display: inline-block;color: #333333;margin-right: 21rpx}
  508. .secondradio{display: inline-block;margin-left: 40rpx;}
  509. .Secondary{margin-left: 161rpx;}
  510. .secondradio view.active {color: #e15616;}
  511. .placeholder{color: #b2b2b2;}
  512. .linqi_text { width: 100%; height: 68rpx;background-color: #1890f9;box-shadow: 0rpx 4rpx 6rpx 0rpx rgba(24, 144, 249, 0.17);text-align: center;
  513. line-height: 68rpx;color: #ffffff;margin: auto;font-size:24rpx;position: relative;}
  514. .jiaobiao {width: 0;height: 0;border-left: 20rpx solid transparent;border-right: 20rpx solid transparent;top: -30%;
  515. right: 40%;border-bottom: 20rpx solid #1890f9;position: absolute;}
  516. .label{color: #666666;display: inline-block;width: 120rpx;}
  517. .label.second{width: 155rpx;}
  518. .row .spacing.second{width: 70%;}
  519. .row{border-bottom: 2rpx solid #e1e1e1;line-height: 90rpx;height: 90rpx;}
  520. .row.fenlei{height: auto;margin: 10rpx 0;border: 0}
  521. .select {position: relative;color: #b2b2b2;text-align: left;user-select: none;}
  522. .row .spacing{display: inline-block;margin-left: 50rpx;width: 75%;vertical-align:middle;position: relative}
  523. .select .placeholder {position: relative;cursor: pointer;width: 100%;display: inline-block;}
  524. .icon-xiayibu{right: 0rpx;;color: #b2b2b2;position: absolute}
  525. .xiangliao{font-size: 26rpx;margin-right: 10rpx;color: #b2b2b2}
  526. .icon-jiagexiangliao{color: #e15616 !important;}
  527. .pricecolor{margin-left: 10rpx;}
  528. .showflag{color: #b2b2b2;}
  529. .border-grey{width: 100%;resize: none;padding: 20rpx 0;height: 160rpx;border-bottom: 2rpx solid #e1e1e1;}
  530. .release-main-container {overflow: hidden;margin: 20rpx 0}
  531. .uploadGoodsImages{display: flex;overflow-x: auto;overflow-y: hidden;}
  532. .secondradio{
  533. .row-radio{
  534. transform: scale(.8);
  535. }
  536. .row-input{margin-right: 10rpx;}
  537. }
  538. .upload-file {
  539. position: relative;
  540. float: left;
  541. margin: 20rpx 20rpx 20rpx 0px;
  542. cursor: pointer;
  543. width: 194rpx;
  544. height: 194rpx;
  545. border-radius: 6rpx;
  546. border: solid 2rpx #e1e1e1;
  547. flex-shrink: 0;
  548. position: relative;
  549. display: inline-block;
  550. }
  551. .input-file {
  552. width: 194rpx;
  553. height: 194rpx;
  554. opacity: 0;
  555. cursor: pointer;
  556. position: absolute;
  557. }
  558. .add-text {
  559. font-size: 26rpx;
  560. color: #333330;
  561. opacity: 0.5;
  562. position: absolute;
  563. top: 55%;
  564. right:24%;
  565. }
  566. .upload-img {
  567. width: 100%;
  568. height: 100%;
  569. display: block;
  570. border-radius: .53vw;
  571. }
  572. .icon-shangchuantupian{
  573. width: 46rpx;
  574. height: 46rpx;
  575. color: #b2b2b2;
  576. font-size: 18px;
  577. position: absolute;
  578. top: 30%;
  579. left: 40%;
  580. }
  581. .icon-shanchu1{
  582. position: absolute;
  583. top: -25rpx;
  584. right:-10rpx;
  585. color: #f94b4b;
  586. font-size: 36rpx;
  587. }
  588. .wen-tips {
  589. width: 664rpx;
  590. height: 68rpx;
  591. line-height: 68rpx;
  592. text-align: center;
  593. color: #FFF;
  594. font-size: 20rpx;
  595. background-color: #1890f9;
  596. box-shadow: 0 0.8vw 1.6vw 0 rgba(24, 144, 249, 0.17);
  597. border-radius: 2rpx;
  598. display: none;
  599. }
  600. .form-upload-tips:hover .wen-tips {display: block;}
  601. .textarea-wrapper {
  602. letter-spacing: 2rpx;
  603. line-height: 48rpx;
  604. color: #b2b2b2;
  605. position: relative;
  606. font-size: 28rpx;
  607. border: 2rpx solid #b2b2b2;
  608. height: 300rpx;
  609. padding: 16rpx;
  610. border-radius: 6rpx;
  611. margin: 20rpx 0;
  612. }
  613. .textarea-wrapper textarea{
  614. width: 100%;
  615. }
  616. .word-limit {
  617. position: absolute;
  618. right: 2.7vw;
  619. bottom: 2.7vw;
  620. font-size: 3.2vw;
  621. color: #9aa5b5;
  622. }
  623. .smText{
  624. color: #999999;
  625. text-align: left;
  626. line-height: 42rpx;
  627. font-size: 24rpx;
  628. margin-top: 10rpx;
  629. width: 100%;
  630. height: 260rpx;
  631. }
  632. .BtnAll{
  633. width: 100%;
  634. margin-bottom: 20rpx;
  635. .btn-submit{
  636. width: 600rpx;
  637. height: 90rpx;
  638. margin: auto;
  639. text-align: center;
  640. line-height: 90rpx;
  641. color: #fff;
  642. background-image: linear-gradient(315deg,
  643. #f28f31 0%,
  644. #e15616 100%);
  645. border-radius: 90rpx;
  646. font-size: 30rpx;
  647. }
  648. }
  649. .row.Read{
  650. border: 0;
  651. text-align: center;
  652. color: #999999;
  653. }
  654. .thebj {
  655. position: fixed;
  656. left: 0;
  657. top: 0;
  658. bottom: 0;
  659. width: 100%;
  660. height: 100%;
  661. background-color: rgba(0, 0, 0, .5);
  662. z-index: 999999;
  663. opacity: 0;
  664. }
  665. .thebj.show{
  666. opacity: 1;
  667. }
  668. .theresult {
  669. position: absolute;
  670. top: 50%;
  671. left: 50%;
  672. transform: translate(-50%, -50%);
  673. width:580rpx;
  674. background-color: #fff;
  675. border-radius: 32rpx;
  676. }
  677. .theresult .title{
  678. line-height: 100rpx;
  679. text-align: center;
  680. display: block;
  681. color: #333333;
  682. font-size: 30rpx;
  683. font-weight: bold;
  684. border-bottom: 2rpx solid #efefef;
  685. }
  686. .theresult p{
  687. padding: 30rpx 52rpx;
  688. line-height: 48rpx;
  689. color: #666666;
  690. font-size: 30rpx;
  691. }
  692. .paybtn view{
  693. width: 290rpx;
  694. height: 90rpx;
  695. text-align: center;
  696. line-height: 90rpx;
  697. font-size: 30rpx;
  698. display: inline-block;
  699. }
  700. .paybtn .cancel{
  701. background-image: linear-gradient(270deg, #f28f31 0%, #e15616 100%);
  702. border-radius: 0rpx 0rpx 32rpx 0rpx;
  703. color: #fff;
  704. }
  705. .paybtn .thegopay{
  706. background-color: #efefef;
  707. border-radius: 0rpx 0rpx 0rpx 32rpx;
  708. color: #999999;
  709. }
  710. .icon-wenhao{
  711. color: #1890f9;
  712. font-size: 35rpx;
  713. width: 50rpx;
  714. }
  715. .form-upload-tips:hover .wen-tips {display: block;}
  716. .tui-popup-box {
  717. z-index: 22;
  718. width: 702rpx;
  719. padding: 24rpx 24rpx 36rpx 24rpx;
  720. height: 670rpx;
  721. position: relative;
  722. .icon-iconfontguanbi{
  723. font-size: 40rpx;
  724. color: #b2b2b2;
  725. width: 60rpx;
  726. float: right;
  727. display: block;
  728. }
  729. .content{
  730. .freight-radio{
  731. height: 66rpx;
  732. line-height: 66rpx;
  733. padding: 0 35rpx;
  734. .row-group{
  735. width: 100%;
  736. max-height: 605rpx;
  737. overflow: auto;
  738. }
  739. .row-input{
  740. height: 66rpx;
  741. line-height: 66rpx;
  742. width: 100%;
  743. display: block;
  744. }
  745. .row-radio{
  746. float: right;
  747. transform: scale(0.9);
  748. color: #b2b2b2;
  749. }
  750. .row-text{
  751. font-size: $font-size-28;
  752. color: #666666;
  753. float: left;
  754. }
  755. }
  756. }
  757. }
  758. checkbox .wx-checkbox-input{
  759. border-radius: 50%;
  760. }
  761. .row-check{
  762. transform: scale(0.8);
  763. }
  764. checkbox .wx-checkbox-input.wx-checkbox-input-checked{
  765. background: #E15616;
  766. border: 2rpx solid #e15616;
  767. }
  768. checkbox .wx-checkbox-input.wx-checkbox-input-checked::before{
  769. border-radius: 50%;
  770. border: 2rpx solid #e15616;
  771. width: 34rpx;
  772. height: 34rpx;
  773. line-height: 34rpx;
  774. text-align: center;
  775. font-size:34rpx;
  776. color:#fff;
  777. background: transparent;
  778. transform:translate(-50%, -50%) scale(.8);
  779. -webkit-transform:translate(-50%, -50%) scale(.8);
  780. }
  781. </style>