form-seller.vue 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395
  1. <template name="secondHandrelease">
  2. <view class="fleaMarketForm">
  3. <view class="bannerimg"><image src="https://static.caimei365.com/app/img/bg/secondbg.png"></image></view>
  4. <view class="my-maintenance" :style="{ paddingBottom: isIphoneX ? '270rpx' : '250rpx' }">
  5. <view class="newsTitle">
  6. <view class="nestext">
  7. 欢迎您来到采美365网二手商品市场,您可以在这里发布二手仪器和产品,采美官方
  8. 人员将会对商品进行审核和专业的估价,估价完成后才能上架展示并销售,展示期为
  9. 3个月。为了完整展示您的商品,请您认真填写以下商品基本信息,谢谢合作。
  10. </view>
  11. </view>
  12. <view class="row">
  13. <view class="label"><text class="red">*</text>发布身份:</view>
  14. <view class="select spacing">
  15. <picker
  16. @change="bindPickerChangePublisher($event)"
  17. :value="index"
  18. :range="publisherActions"
  19. range-key="name"
  20. >
  21. <input
  22. class="input"
  23. type="text"
  24. disabled="true"
  25. v-model="publisherText"
  26. placeholder="请选择发布身份"
  27. placeholder-class="placeholder"
  28. />
  29. </picker>
  30. </view>
  31. <text class="iconfont icon-xiayibu"></text>
  32. </view>
  33. <view class="row">
  34. <view class="label"><text class="red">*</text>联系人:</view>
  35. <view class="spacing">
  36. <input type="text"
  37. maxlength="15"
  38. v-model="secondParams.contactName"
  39. placeholder="请输入联系人姓名"
  40. placeholder-class="placeholder">
  41. </view>
  42. </view>
  43. <view class="row">
  44. <view class="label"><text class="red">*</text>联系方式:</view>
  45. <view class="spacing">
  46. <input type="text"
  47. v-model="secondParams.contactMobile"
  48. maxlength="11"
  49. placeholder="请输入联系人手机号"
  50. @blur="contactMobileOnblur"
  51. placeholder-class="placeholder">
  52. </view>
  53. </view>
  54. <view class="row">
  55. <view class="label"><text class="red">*</text>验证码:</view>
  56. <view class="spacing">
  57. <input type="text"
  58. v-model="secondParams.checkCode"
  59. maxlength="6"
  60. placeholder="请输入验证码"
  61. placeholder-class="placeholder">
  62. </view>
  63. <view class="row-btn" :class="[isMobileDisabled ? 'disabled' : '']">
  64. <button class="row-input"
  65. type="button"
  66. @click.stop="getMobileCodeFn"
  67. :disabled="isMobileDisabled">
  68. {{ mobileCodeText }}
  69. </button>
  70. </view>
  71. </view>
  72. <view class="row">
  73. <view class="label"><text class="red">*</text>二手分类:</view>
  74. <view class="select spacing">
  75. <picker
  76. @change="bindPickerChange($event)"
  77. :value="index"
  78. :range="categoryActions"
  79. range-key="name"
  80. >
  81. <input
  82. class="input"
  83. type="text"
  84. disabled="true"
  85. v-model="organizationTypeText"
  86. placeholder="请选择分类"
  87. placeholder-class="placeholder"
  88. />
  89. </picker>
  90. </view>
  91. <text class="iconfont icon-xiayibu"></text>
  92. </view>
  93. <view class="row">
  94. <view class="label"><text class="red">*</text>商品品牌:</view>
  95. <view class="select spacing">
  96. <picker
  97. @change="bindPickerChangeBrand($event)"
  98. :value="index"
  99. :range="brandActions"
  100. range-key="name"
  101. >
  102. <input
  103. class="input"
  104. type="text"
  105. disabled="true"
  106. v-model="brandName"
  107. placeholder="请选择品牌"
  108. placeholder-class="placeholder"
  109. />
  110. </picker>
  111. </view>
  112. <text class="iconfont icon-xiayibu"></text>
  113. </view>
  114. <view class="row" v-if="secondParams.brandId==161">
  115. <view class="label">其它品牌:</view>
  116. <view class="spacing">
  117. <input type="text"
  118. maxlength="40"
  119. v-model="secondParams.brandName"
  120. placeholder="请输入商品品牌"
  121. placeholder-class="placeholder">
  122. </view>
  123. </view>
  124. <view class="row">
  125. <view class="label"><text class="red">*</text>商品名称:</view>
  126. <view class="spacing">
  127. <input type="text"
  128. maxlength="40"
  129. v-model="secondParams.name"
  130. placeholder="请输入商品名称,不超过40个汉字"
  131. placeholder-class="placeholder">
  132. </view>
  133. </view>
  134. <view class="row">
  135. <view class="label">出厂日期:</view>
  136. <view class="spacing">
  137. <input type="text"
  138. v-model="secondParams.fixedYears"
  139. maxlength="10"
  140. placeholder="请输入出厂日期 如:2020年06月"
  141. placeholder-class="placeholder">
  142. </view>
  143. </view>
  144. <view class="row" v-if="secondParams.publishIdentity === 2">
  145. <view class="label"><text class="red">*</text>公司名称:</view>
  146. <view class="spacing">
  147. <input type="text"
  148. v-model="secondParams.companyName"
  149. maxlength="30"
  150. placeholder="请输入公司名称,不超过30个汉字"
  151. placeholder-class="placeholder">
  152. </view>
  153. </view>
  154. <view class="row">
  155. <view class="label"><text class="red">*</text>交易价:</view>
  156. <view class="spacing">
  157. <input type="text" maxlength="20" v-model="secondParams.price" placeholder="请输入交易价" placeholder-class="placeholder">
  158. </view>
  159. </view>
  160. <view style="margin-top: 15rpx;">
  161. <text class="iconfont xiangliao"
  162. :class="vShow_detailTalkFlag ? 'icon-jiagexiangliao':'icon-juxingweigouxuan'"
  163. @click="Detailed($event)">
  164. <text class='pricecolor' >价格详聊</text>
  165. </text>
  166. <text class="showflag" v-show="vShow_detailTalkFlag">(勾选代表同意不显示交易价)</text>
  167. </view>
  168. <view class="row">
  169. <view class="label"><text class="red">*</text>商品成色:</view>
  170. <view class="spacing">
  171. <input type="text"
  172. maxlength="10"
  173. v-model="secondParams.productQuality"
  174. placeholder="请输入商品成色,如“9成新”"
  175. placeholder-class="placeholder">
  176. </view>
  177. </view>
  178. <view class="row none">
  179. <view class="label"><text class="red">*</text>商品包含的文件:</view>
  180. </view>
  181. <view class="row none">
  182. <view class="checkbox-main">
  183. <view
  184. class="checkbox-list"
  185. :class="type.isChecked ? 'checked' : ''"
  186. v-for="(type, index) in productFileTypeActions"
  187. :key="index"
  188. @click="choiceProductFileType(type, index)"
  189. >
  190. <text class="iconfont" :class="type.isChecked ? 'icon-yixuanze' : 'icon-weixuanze'"></text>
  191. {{ type.name }}
  192. </view>
  193. </view>
  194. </view>
  195. <view class="row none" v-if="secondParams.publishIdentity === 1">
  196. <view class="label-im">身份证照片:</view>
  197. <view class="label-em">个人请上传身份证正反面照片(图片大小不超过5M)</view>
  198. <view class="release-input upload image uploadGoodsImages" >
  199. <view class="upload-file-view">
  200. <view class="upload-file" v-if="secondParams.authenticationImage == ''">
  201. <text class="iconfont icon-shangchuantupian"></text>
  202. <text class="add-text">身份证正面</text>
  203. <view ref="goodsImages" class="input-file" @click="uploadCardImageFn(1)"></view>
  204. </view>
  205. <view class="upload-file" v-else>
  206. <image :src="secondParams.authenticationImage" alt="" class="upload-img" ></image>
  207. <text class=" del iconfont icon-iconfontguanbi" @click="removeCardImageFn(1)"></text>
  208. </view>
  209. </view>
  210. <view class="upload-file-view">
  211. <view class="upload-file" v-if="secondParams.authenticationBackImage == ''">
  212. <text class="iconfont icon-shangchuantupian"></text>
  213. <text class="add-text">身份证反面</text>
  214. <view ref="goodsImages" class="input-file" @click="uploadCardImageFn(2)"></view>
  215. </view>
  216. <view class="upload-file" v-else>
  217. <image :src="secondParams.authenticationBackImage" alt="" class="upload-img" ></image>
  218. <text class=" del iconfont icon-iconfontguanbi" @click="removeCardImageFn(2)"></text>
  219. </view>
  220. </view>
  221. </view>
  222. </view>
  223. <view class="row none" v-if="secondParams.publishIdentity === 2">
  224. <view class="label-im">营业执照:</view>
  225. <view class="label-em">请上传营业执照照片(图片大小不超过5M)</view>
  226. <view class="release-input upload image uploadGoodsImages" >
  227. <view class="upload-file" v-if="secondParams.licenseImage == ''">
  228. <text class="iconfont icon-shangchuantupian"></text>
  229. <text class="add-text">营业执照</text>
  230. <view ref="goodsImages" class="input-file" @click="uploadUserImageFn"></view>
  231. </view>
  232. <view class="upload-file" v-else>
  233. <image :src="secondParams.licenseImage" alt="" class="upload-img" ></image>
  234. <i class=" del iconfont icon-iconfontguanbi" @click="removeUserImageFn"></i>
  235. </view>
  236. </view>
  237. </view>
  238. <view class="row">
  239. <view class="label-im"><text class="red">*</text>收款账号:<text class="sms">(用于接收最终结算金额)</text></view>
  240. <view class="spacing file-none">
  241. <input type="text"
  242. v-model="secondParams.cardNumber"
  243. maxlength="20"
  244. placeholder="请输入收款银行卡卡号"
  245. placeholder-class="placeholder">
  246. </view>
  247. </view>
  248. <view class="row">
  249. <view class="label">采美对接人:</view>
  250. <view class="spacing">
  251. <input type="text"
  252. v-model="secondParams.dockingPeopleName"
  253. maxlength="15"
  254. placeholder="请输入采美对接人姓名"
  255. placeholder-class="placeholder">
  256. </view>
  257. </view>
  258. <view class="row">
  259. <view class="label">对接人联系方式:</view>
  260. <view class="spacing">
  261. <input type="text"
  262. v-model="secondParams.dockingPeopleMobile"
  263. maxlength="11" placeholder="请输入采美对接人手机号"
  264. placeholder-class="placeholder">
  265. </view>
  266. </view>
  267. <view class="row">
  268. <view class="label">商品类型:</view>
  269. <view class="select spacing">
  270. <picker
  271. @change="bindPickerChangeProduct($event)"
  272. :value="index"
  273. :range="productActions"
  274. range-key="name"
  275. >
  276. <input
  277. class="input"
  278. type="text"
  279. disabled="true"
  280. v-model="organizationTypeText1"
  281. placeholder="请选择发布身份"
  282. placeholder-class="placeholder"
  283. />
  284. </picker>
  285. </view>
  286. <text class="iconfont icon-xiayibu"></text>
  287. </view>
  288. <view class="row" >
  289. <view class="label"><text class="red">*</text>联系地址:</view>
  290. <view class="spacing" @click="showMulLinkageThreePicker">
  291. <text class="row-input" :class="addressData.address === '请选择所在地区' ? 'none,placeholder' : ''" >
  292. {{addressData.address}}
  293. </text>
  294. </view>
  295. <text class="iconfont icon-xiayibu"></text>
  296. </view>
  297. <textarea type="text"
  298. class="border-grey address-details"
  299. v-model="secondParams.address"
  300. maxlength="50"
  301. placeholder="请填写详细地址,如街道/小区/门牌等"
  302. placeholder-class="placeholder"/>
  303. </textarea>
  304. <view class="release-main-container">
  305. <view class="release-from">
  306. <view class="label"><text class="red">*</text>商品图片</view>
  307. <view class="release-input upload image uploadGoodsImages" >
  308. <view class="upload-file" v-if="GoodsImagesList.length<5">
  309. <text class="iconfont icon-shangchuantupian"></text>
  310. <p class="add-text">商品图片</p>
  311. <view ref="goodsImages" class="input-file" @click="uploadGoodsImagesFn"></view>
  312. </view>
  313. <view class="upload-file" v-for="(item, index) in GoodsImagesList" :key="index">
  314. <image :data-original='item' :src="item" :data-image="item" alt="" class="upload-img" ></image>
  315. <text class=" del iconfont icon-iconfontguanbi" @click="removeGoodsImagesFn(index)"></text>
  316. </view>
  317. </view>
  318. <view class="form-upload-tips">
  319. <text class="iconfont icon-wenhao" ></text>
  320. <view class="wen-tips" >最多上传5张二手商品图片,请尽量全部上传,单张图片不能超过5M</view>
  321. </view>
  322. </view>
  323. <view class="row">
  324. <view class="label-im">二手出让承诺函签署文件:</view>
  325. <view class="label-em">(仅支持pdf文件,大小不能超过20)</view>
  326. <view class="spacing file-none" v-if="secondParams.fileName == ''">
  327. <view class="file-none-button" @click="uploadCommitmentFile">上传</view>
  328. </view>
  329. <view class="spacing file-text" v-else>
  330. <text class="file-text-em">{{ secondParams.fileName }}</text>
  331. <text class=" del iconfont icon-iconfontguanbi" @click="deleteCommitmentFile"></text>
  332. </view>
  333. </view>
  334. <view class="row none">
  335. <view class="label-im">二手出让承诺函签署图片</view>
  336. <view class="label-em">(若不方便上传承诺函签署文件,可对已签署的承诺函进行拍照或者截图再上传图片)</view>
  337. <view class="label-em">图片大小不超过5M</view>
  338. <view class="release-input upload image uploadGoodsImages" >
  339. <view class="upload-file" v-if="secondParams.commitmentImage == ''">
  340. <i class="iconfont icon-shangchuantupian"></i>
  341. <text class="add-text">承诺函图片</text>
  342. <view ref="goodsImages" class="input-file" @click="uploadCommitmentImageFn"></view>
  343. </view>
  344. <view class="upload-file" v-else>
  345. <image :src="secondParams.commitmentImage" alt="" class="upload-img" ></image>
  346. <i class=" del iconfont icon-iconfontguanbi" @click="removeCommitmentImageFn"></i>
  347. </view>
  348. </view>
  349. </view>
  350. <view class="productinfo">
  351. <view class="label unlogin-label" style="width: 100%;">商品详细信息</view>
  352. <view class="textarea-wrapper">
  353. <textarea class="textarea"
  354. type="text"
  355. v-model="secondParams.productDetails"
  356. placeholder="请填写商品详细信息,对商品进行更详细的描述"
  357. placeholder-class="placeholder"
  358. maxlength="200"
  359. @input="onTextareaInputInfo"
  360. />
  361. <span class="word-limit">{{secondParams.productDetails.length}}/200</span>
  362. </view>
  363. </view>
  364. </view>
  365. </view>
  366. <view class="secondBj thebj" v-show="modal1" :class="modal1 ? 'show':''">
  367. <view class="bjmain theresult">
  368. <text class="title">发布提示</text>
  369. <text class="content"> {{ tipsContentText }} </text>
  370. <view class="paybtn">
  371. <view class="btn cancel" @click.stop="cancelButtonFn">{{ cancelButtonText }}</view>
  372. <view class="btn confirm" @click.stop="confirmButtonFn">{{ confirmButtonText }}</view>
  373. </view>
  374. </view>
  375. </view>
  376. <!-- 地址弹窗 -->
  377. <mpvue-city-picker :themeColor="themeColor"
  378. ref="mpvueCityPicker"
  379. :pickerValueDefault="cityPickerValueDefault"
  380. @onCancel="onCancel"
  381. @onConfirm="onConfirm">
  382. </mpvue-city-picker>
  383. <!-- 发布按钮 -->
  384. <tui-bottom-popup :radius="false" :mask="false" :show="popupShow">
  385. <view class="tui-popup-box clearfix">
  386. <view class="tui-right-flex tui-popup-btn" :style="{ paddingBottom: isIphoneX ? '68rpx' : '34rpx' }">
  387. <view class="tui-flex-1">
  388. <view class="tui-button-text" @click="handleChangAgree">
  389. <text class="iconfont"
  390. :class="checkbox ? 'icon-yixuanze':'icon-weixuanze'" >
  391. </text>
  392. 已阅读并同意采美
  393. <text style="color:#1890f9;" @click.stop="this.$api.navigateTo('/pages/service/service?id=1039&title=二手出让协议')">《二手出让协议》</text>
  394. </view>
  395. </view>
  396. <view class="tui-flex-1">
  397. <view class="tui-button" @click="handleSubmitBtn">发布</view>
  398. </view>
  399. </view>
  400. </view>
  401. </tui-bottom-popup>
  402. <!-- 弹窗提示 -->
  403. <tui-modal :show="modal" :padding="'40rpx 30rpx'" @cancel="hideMobel" :custom="true" fadeIn >
  404. <view class="tui-modal-custom">
  405. <view class="tui-prompt-text">
  406. {{ contentModalText }}
  407. </view>
  408. <view class="tui-prompt-flex">
  409. <view class="btn btn-confirm" @click="handleClick">确定</view>
  410. </view>
  411. </view>
  412. </tui-modal>
  413. </view>
  414. </template>
  415. <script>
  416. import mpvueCityPicker from '@/components/mpvue-citypicker/mpvueCityPicker.vue'
  417. import { uploadFileImage , uploadFilePdf } from '@/services/public.js'
  418. import authorize from '@/common/config/authorize.js'
  419. import $reg from '@/common/config/common.js'
  420. import { mapState,mapMutations } from 'vuex'
  421. export default{
  422. name:'secondHandrelease',
  423. components:{
  424. mpvueCityPicker,
  425. },
  426. data(){
  427. return{
  428. isIphoneX: this.$store.state.isIphoneX,
  429. popupShow:true,
  430. userIdentity:0,
  431. publisherText:'个人身份',
  432. organizationTypeText:'请选择二手分类',
  433. organizationTypeText1:'请选择商品类型',
  434. brandActions:[],
  435. publisherActions:[
  436. {name:'个人身份',value:1},
  437. {name:'公司身份',value:2},
  438. ],
  439. categoryActions:[
  440. {name:'二手仪器',value:1},
  441. {name:'其他',value:3},
  442. ],
  443. productActions:[
  444. {name:'医美',value:1},
  445. {name:'非医美',value:3},
  446. ],
  447. productFileTypeActions:[
  448. { name:'仪器原始合同',value:1,isChecked:false},
  449. { name:'仪器注册证',value:2,isChecked:false},
  450. { name:'仪器发票',value:3,isChecked:false},
  451. { name:'仪器报关单',value:4,isChecked:false},
  452. { name:'无任何文件',value:5,isChecked:false}
  453. ],
  454. GoodsImagesList:[],
  455. secondParams:{
  456. publishIdentity:1, // 发布者身份 1 个人身份 2 公司身份
  457. secondHandType:'',//一级分类
  458. instrumentType:1,//二手仪器分类
  459. name:'',
  460. brandId:'',//品牌ID
  461. brandName:'',//其他品牌
  462. fixedYears:'',//出厂
  463. companyName:'',//公司名称
  464. maturityYears:'',//产品到期
  465. price:'',//交易价
  466. detailTalkFlag:1,//是否启用详聊
  467. normalPrice:'',//市场价
  468. originalPrice:'',//采购价
  469. stock:'',//数量
  470. productQuality:'',//商品成色
  471. fileType:'', // 商品文件类型
  472. contactName:'',//联系人
  473. contactMobile:'',//联系方式
  474. checkCode:'',// 联系人手机验证码
  475. cardNumber:'',// 收款账号
  476. authenticationImage:'', //身份证正面
  477. authenticationBackImage:'', //身份证反面
  478. licenseImage:'',//营业执照图片
  479. commitmentImage:'',//承诺函图片
  480. dockingPeopleName:'',//采美对接人姓名
  481. dockingPeopleMobile:'',//采美对接人手机号
  482. secondProductType:'',//
  483. townId:'',//县区地址
  484. address:'',//详细地址
  485. image:'',//图片
  486. fileName:'',
  487. ossName:'',
  488. productDetails:'',//商品详细信息
  489. announType:1,//发布类型 1.二手预成交商品 2.二手估价商品
  490. source:4//二手发布来源.1:WWW,2:小程序,3:后台,4:协销
  491. },
  492. checkedFileTypeList:[],
  493. addressData:{
  494. address:'请选择所在地区',
  495. townID:'', //区ID
  496. cityID:'', //区ID
  497. provinceID:'', //区ID
  498. addressDetail: '', //地址
  499. },
  500. brandName:'请选择品牌名称',
  501. checkbox:false,
  502. tipsContentText:'',
  503. cancelButtonText:'取消发布',
  504. confirmButtonText:'去支付',
  505. contentModalText:'发布成功!商品信息会在1-2个工作日内进行审核,审核通过后将立即上线到采美二手市场',
  506. isButtonsType:0,
  507. vShow_detailTalkFlag:false,
  508. modal:false,
  509. modal1:false,
  510. isMobileDisabled: true, //手机验证码按钮控制
  511. mobilCount: '', //倒计时
  512. mobileCodeText: '获取验证码',
  513. mobilTime: null,
  514. }
  515. },
  516. methods:{
  517. onTextareaInputInfo(e){
  518. this.secondParams.productDetails = e.detail.value
  519. },
  520. showMulLinkageThreePicker() {//三级地址联动
  521. this.isShowInput = true
  522. this.$refs.mpvueCityPicker.show()
  523. },
  524. onConfirm(e) {//获取选择的地址信息
  525. this.addressData.address = e.name
  526. this.addressData.townID = e.townCode
  527. this.addressData.cityID = e.cityCode
  528. this.addressData.provinceID = e.provinceCode
  529. this.secondParams.townId = this.addressData.townID
  530. },
  531. bindPickerChangePublisher(e) {// 选择发布者身份
  532. this.publisherText = this.publisherActions[e.target.value].name
  533. this.secondParams.publishIdentity = this.publisherActions[e.target.value].value
  534. },
  535. bindPickerChange(e) {// 选择二手分类
  536. this.secondParams.secondHandType = this.categoryActions[e.target.value].value
  537. if(this.secondParams.secondHandType === 1){
  538. this.organizationTypeText = '二手仪器-美容仪器'
  539. }else{
  540. this.organizationTypeText = this.categoryActions[e.target.value].name
  541. }
  542. },
  543. bindPickerChangeBrand(e) {
  544. // 选择品牌
  545. this.brandName = this.brandActions[e.target.value].name
  546. this.secondParams.brandId = this.brandActions[e.target.value].value
  547. },
  548. bindPickerChangeProduct(e) {
  549. // 选择商品类型
  550. this.organizationTypeText1 = this.productActions[e.target.value].name
  551. this.secondParams.secondProductType = this.productActions[e.target.value].value
  552. },
  553. choiceProductFileType(type,index){
  554. // 选择类别
  555. type.isChecked = !type.isChecked
  556. if (type.isChecked) {
  557. if(!this.contains(this.checkedFileTypeList,type.value)){
  558. this.checkedFileTypeList.push(type.value)
  559. }
  560. } else {
  561. this.checkedFileTypeList.splice(this.checkedFileTypeList.indexOf(type.value),1)
  562. }
  563. this.secondParams.fileType = this.checkedFileTypeList.join(',')
  564. },
  565. contains(arr, val) {// 校验
  566. return arr.some(item => item === val)
  567. },
  568. Detailed(){
  569. this.vShow_detailTalkFlag = !this.vShow_detailTalkFlag
  570. if(this.vShow_detailTalkFlag){
  571. this.secondParams.detailTalkFlag = 2 //启用价格详聊
  572. }else {
  573. this.secondParams.detailTalkFlag = 1 //不启用价格详聊
  574. }
  575. },
  576. uploadGoodsImagesFn(event){//上传商品图片
  577. uploadFileImage().then(res =>{
  578. this.GoodsImagesList.push(JSON.parse(res.data).data)
  579. this.secondParams.image =this.GoodsImagesList.toString()+','
  580. })
  581. },
  582. uploadCardImageFn(type){//上传身份正反面照
  583. uploadFileImage().then(res =>{
  584. if(type == 1){
  585. this.secondParams.authenticationImage = JSON.parse(res.data).data
  586. }else{
  587. this.secondParams.authenticationBackImage = JSON.parse(res.data).data
  588. }
  589. })
  590. },
  591. uploadUserImageFn(event){//上传营业执照图片
  592. console.log('event')
  593. uploadFileImage().then(res =>{
  594. this.secondParams.licenseImage = JSON.parse(res.data).data
  595. })
  596. },
  597. uploadCommitmentImageFn(event){//上传承诺函图片
  598. uploadFileImage().then(res =>{
  599. this.secondParams.commitmentImage = JSON.parse(res.data).data
  600. })
  601. },
  602. uploadCommitmentFile(){//上传承诺函文件
  603. uploadFilePdf().then(res =>{
  604. let data = JSON.parse(res.data).data
  605. this.secondParams.fileName = uni.getStorageSync('fileName')
  606. this.secondParams.ossName = data.ossName
  607. console.log('fileName',this.secondParams.fileName)
  608. console.log('ossName',this.secondParams.ossName)
  609. })
  610. },
  611. deleteCommitmentFile(){//删除承诺函文件
  612. this.secondParams.fileName = ''
  613. },
  614. removeGoodsImagesFn(index){//删除商品图片
  615. this.GoodsImagesList.splice(index,1)
  616. this.secondParams.image =this.GoodsImagesList.toString()+','
  617. },
  618. removeCardImageFn(type){//删除身份证图片
  619. if(type == 1){
  620. this.secondParams.authenticationImage = ''
  621. }else{
  622. this.secondParams.authenticationBackImage = ''
  623. }
  624. },
  625. removeUserImageFn(index){//删除公司营业执照图片
  626. this.secondParams.licenseImage = ''
  627. },
  628. removeCommitmentImageFn(index){//删除承诺函图片
  629. this.secondParams.commitmentImage = ''
  630. },
  631. contactMobileOnblur(e){// 识别手机号是否正确
  632. if(this.$reg.isMobile(e.detail.value)){
  633. this.isMobileDisabled = false
  634. }
  635. },
  636. getMobileCodeFn(){
  637. let params = {
  638. mobile:this.secondParams.contactMobile,
  639. isCheckCaptcha:1,
  640. activateCodeType:6,
  641. platformType:2
  642. }
  643. this.isMobileDisabled = true
  644. this.PublicService.GetRegisterMobileCode(params).then(response =>{
  645. this.$util.msg('验证短信已发送',2000)
  646. const TIME_COUNT = 60
  647. if (!this.mobilTime) {
  648. this.mobilCount = TIME_COUNT
  649. this.isMobileDisabled = true
  650. this.mobilTime = setInterval(() => {
  651. if (this.mobilCount > 1 && this.mobilCount <= TIME_COUNT) {
  652. this.mobilCount--
  653. this.mobileCodeText = this.mobilCount +'s重新发送'
  654. } else {
  655. this.isMobileDisabled = false
  656. clearInterval(this.mobilTime)
  657. this.mobilTime = null
  658. this.mobileCodeText = '获取验证码'
  659. }
  660. },1000)
  661. }
  662. }).catch( error =>{
  663. this.$util.msg(error.msg,2000)
  664. this.isMobileDisabled = false
  665. })
  666. },
  667. handleSubmitBtn () {
  668. if(this.secondParams.contactName == ''){
  669. this.$util.msg('请输入联系人姓名',2000)
  670. return
  671. }
  672. if(this.secondParams.contactMobile == ''){
  673. console.log(this.secondParams.contactMobile)
  674. this.$util.msg('请输入联系方式',2000)
  675. return
  676. }
  677. if(!$reg.isMobile(this.secondParams.contactMobile)){
  678. this.$util.msg('请填写正确的手机号',2000)
  679. return
  680. }
  681. if(this.secondParams.checkCode == ''){
  682. this.$util.msg('请输入短信验证码',2000)
  683. return
  684. }
  685. if(this.secondParams.secondHandType == ''){
  686. this.$util.msg('请选择分类',2000)
  687. return
  688. }
  689. if(this.secondParams.secondHandType == 1 ){
  690. if(this.secondParams.instrumentType ==''){
  691. this.$util.msg('请完善仪器分类',2000)
  692. return
  693. }
  694. }
  695. if(this.secondParams.brandId == ''){
  696. this.$util.msg('请选择商品品牌',2000)
  697. return
  698. }
  699. if(this.secondParams.name == ''){
  700. this.$util.msg('请输入商品名称',2000)
  701. return
  702. }
  703. if(this.secondParams.publishIdentity === 2) {
  704. if (this.secondParams.companyName=='') {
  705. this.$util.msg('请输入公司名称',2000)
  706. return
  707. }
  708. }
  709. if(!this.$api.isNumber(this.secondParams.price)){
  710. this.$util.msg('请输入交易价',2000)
  711. return
  712. }
  713. if(this.secondParams.productQuality == ''){
  714. this.$util.msg('请输入商品成色',2000)
  715. return
  716. }
  717. if(this.secondParams.fileType == ''){
  718. this.$util.msg('请选择商品包含的文件',2000)
  719. return
  720. }
  721. if(this.secondParams.cardNumber == ''){
  722. this.$util.msg('请输入收款银行卡卡号',2000)
  723. return
  724. }
  725. if(this.userIdentity === 1){
  726. if(this.secondParams.dockingPeopleName == ''){
  727. this.$util.msg('请输入采美对接人姓名',2000)
  728. return
  729. }
  730. if(this.secondParams.dockingPeopleMobile == ''){
  731. this.$util.msg('请输入采美对接人手机号',2000)
  732. return
  733. }
  734. }
  735. if(this.secondParams.dockingPeopleMobile !=''){
  736. if(!$reg.isMobile(this.secondParams.dockingPeopleMobile)){
  737. this.$util.msg('请填写正确的采美对接人手机号',2000)
  738. return
  739. }
  740. }
  741. if(this.secondParams.townId == ''|| this.secondParams.townId == undefined){
  742. this.$util.msg('请完善联系地址',2000)
  743. return
  744. }
  745. if(this.secondParams.address == ''){
  746. this.$util.msg('请填写详细地址',2000)
  747. return
  748. }
  749. if(this.GoodsImagesList ==''){
  750. this.$util.msg('请上传商品图片',2000)
  751. return
  752. }
  753. if(this.checkbox==false){
  754. this.$util.msg('请勾选已阅读',2000)
  755. return
  756. }
  757. if(this.secondParams.publishIdentity === 1){
  758. if(this.secondParams.authenticationImage == '' && this.secondParams.authenticationBackImage == ''){
  759. this.modal1 = true
  760. this.tipsContentText = '上传身份证照片,您的二手商品将获得更好的推荐和曝光,方便您快速卖出。'
  761. this.cancelButtonText = '继续发布'
  762. this.confirmButtonText = '去上传'
  763. this.isButtonsType = 1
  764. return
  765. }
  766. }else{
  767. if(this.secondParams.licenseImage == ''){
  768. this.modal1 = true
  769. this.tipsContentText = '上传营业执照照片,您的二手商品将获得更好的推荐和曝光,方便您快速卖出。'
  770. this.cancelButtonText = '继续发布'
  771. this.confirmButtonText = '去上传'
  772. this.isButtonsType = 1
  773. return
  774. }
  775. }
  776. if(this.secondParams.commitmentImage == '' || this.secondParams.ossName == ''){
  777. this.modal1 = true
  778. this.tipsContentText = '上传二手出让承诺函,您的二手商品将获得更好的推荐和曝光,方便您快速卖出。'
  779. this.cancelButtonText = '继续发布'
  780. this.confirmButtonText = '去上传'
  781. this.isButtonsType = 1
  782. return
  783. }
  784. console.log(this.secondParams)
  785. this.SecondHandProduct(this.secondParams)
  786. },
  787. SecondHandProduct(params){//提交发布
  788. this.SecondService.SecondHandProduct(params).then(res=>{
  789. this.modal = true
  790. })
  791. .catch(error =>{
  792. this.$util.msg(error.msg,2000)
  793. })
  794. },
  795. cancelButtonFn(){//弹窗操作按钮
  796. switch(this.isButtonsType){
  797. case 1:
  798. this.modal1 = false
  799. this.SecondHandProduct(this.secondParams)
  800. break
  801. case 2:
  802. this.modal1 = false
  803. break
  804. }
  805. },
  806. confirmButtonFn(){//弹窗操作按钮
  807. switch(this.isButtonsType){
  808. case 1:
  809. this.modal1 = false
  810. break
  811. case 2:
  812. this.modal1 = false
  813. break
  814. }
  815. },
  816. handleChangAgree() {
  817. this.checkbox = !this.checkbox
  818. },
  819. getBrandList() {
  820. // 获取收款类型列表
  821. this.SecondService.brandList()
  822. .then(response => {
  823. this.brandActions = response.data.map(item => ({
  824. ...item,
  825. name: item.name,
  826. value: item.id
  827. }))
  828. })
  829. .catch(err => {
  830. this.$util.msg(err.msg, 2000)
  831. })
  832. },
  833. hideMobel(){
  834. this.modal = false
  835. },
  836. handleClick(){
  837. this.modal = false
  838. this.$api.redirectTo ('/pages/second/product/product-list')
  839. }
  840. },
  841. onShow() {
  842. this.getBrandList()
  843. this.$api.getComStorage('userInfo').then((resolve) =>{
  844. this.userIdentity = resolve.userIdentity
  845. console.log(this.userIdentity)
  846. }).catch(error =>{
  847. console.log(error)
  848. })
  849. }
  850. }
  851. </script>
  852. <style lang="scss">
  853. view{font-size: 28rpx;}
  854. .my-maintenance{
  855. padding: 20rpx;
  856. }
  857. .bannerimg {
  858. height: 100rpx;
  859. width: 100%;
  860. }
  861. .bannerimg image{
  862. width: 100%;
  863. height: 100% ;
  864. }
  865. .newsTitle {
  866. line-height: 48rpx;
  867. text-align: left;
  868. color: #e15616;
  869. padding:20rpx;
  870. background-color: rgba(225, 86, 22, .1);
  871. border-radius: 10rpx;
  872. }
  873. .nestext{
  874. font-size: 24rpx;
  875. line-height: 40rpx;
  876. }
  877. .secondradio view{
  878. display: inline-block;
  879. color: #333333;
  880. margin-right: 21rpx;
  881. }
  882. .secondradio{
  883. display: inline-block;
  884. margin-left: 40rpx;
  885. }
  886. .Secondary{
  887. margin-left: 96rpx;
  888. }
  889. .secondradio view.active {
  890. color: #e15616;
  891. }
  892. .placeholder{
  893. color: #b2b2b2;
  894. }
  895. .linqi_text {
  896. width: 607rpx;
  897. height: 68rpx;
  898. background-color: #1890f9;
  899. box-shadow: 0rpx 4rpx 6rpx 0rpx rgba(24, 144, 249, 0.17);
  900. text-align: center;
  901. line-height: 68rpx;
  902. color: #ffffff;
  903. margin: auto;
  904. font-size:24rpx;
  905. position: relative;
  906. }
  907. .jiaobiao {
  908. width: 0;
  909. height: 0;
  910. border-left: 20rpx solid transparent;
  911. border-right: 20rpx solid transparent;
  912. top: -25%;
  913. right: 40%;
  914. border-bottom: 20rpx solid #1890f9;
  915. position: absolute;
  916. }
  917. .label{
  918. color: #666666;
  919. display: inline-block;
  920. .red{
  921. color: #f94b4b;
  922. }
  923. }
  924. .label-im{
  925. width: 100%;
  926. line-height: 50rpx;
  927. font-size: $font-size-28;
  928. color: #666666;
  929. text-align: left;
  930. margin-top: 20rpx;
  931. .red{
  932. color: #f94b4b;
  933. }
  934. .sms{
  935. font-size: $font-size-24;
  936. color: #fea785;
  937. }
  938. }
  939. .label-em{
  940. line-height: 28rpx;
  941. font-size: $font-size-20;
  942. color: #fea785;
  943. width: 100%;
  944. text-align: left;
  945. }
  946. .label.second{
  947. width: 155rpx;
  948. }
  949. .row .spacing.second{
  950. width: 70%;
  951. }
  952. .row{
  953. width: 100%;
  954. border-bottom: 2rpx solid #e1e1e1;
  955. line-height: 90rpx;
  956. float: left;
  957. height: auto;
  958. position: relative;
  959. .checkbox-main{
  960. width: 100%;
  961. .checkbox-list {
  962. height: 60rpx;
  963. font-size: $font-size-28;
  964. line-height: 60rpx;
  965. border-radius: 10rpx;
  966. margin-right: 20rpx;
  967. margin-bottom: 10rpx;
  968. box-sizing: border-box;
  969. float: left;
  970. color: #333333;
  971. .icon-yixuanze{
  972. margin-right: 10rpx;
  973. color: #E15616;
  974. }
  975. .icon-weixuanze{
  976. margin-right: 10rpx;
  977. color: #B2B2B2;
  978. }
  979. }
  980. }
  981. .row-btn{
  982. width: 180rpx;
  983. height:64rpx;
  984. background: $btn-confirm;
  985. padding: 0;
  986. border-radius: 32rpx;
  987. position: absolute;
  988. right: 0;
  989. top: 10rpx;
  990. .row-input{
  991. width: 180rpx;
  992. height: 64rpx;
  993. line-height: 64rpx;
  994. padding: 0;
  995. color: #FFFFFF;
  996. background: $btn-confirm;
  997. text-align: center;
  998. border-radius: 32rpx;
  999. &.other{
  1000. width: 180rpx;
  1001. background: #F7F7F7;
  1002. margin-right: 20rpx;
  1003. }
  1004. &.none{
  1005. background: #F7F7F7;
  1006. }
  1007. }
  1008. &.disabled{
  1009. background: #F7F7F7;
  1010. .row-input{
  1011. background: #F7F7F7;
  1012. color: #999999;
  1013. font-size: 24rpx;
  1014. }
  1015. }
  1016. }
  1017. &.none{
  1018. border-bottom: none;
  1019. }
  1020. }
  1021. .row.fenlei{
  1022. height: auto;
  1023. margin: 10rpx 0;
  1024. border: 0;
  1025. }
  1026. .select {
  1027. position: relative;
  1028. color: #b2b2b2;
  1029. text-align: left;
  1030. user-select: none;
  1031. }
  1032. .row .spacing{
  1033. display: inline-block;
  1034. margin-left: 50rpx;
  1035. width: 430rpx;
  1036. vertical-align:middle;
  1037. position: relative;
  1038. color: #333333;
  1039. .input{
  1040. color: #333333;
  1041. }
  1042. &.file{
  1043. width: 100%;
  1044. }
  1045. &.file-text{
  1046. width: 100%;
  1047. line-height: 44rpx;
  1048. font-size: 28rpx;
  1049. box-sizing: border-box;
  1050. margin-left: 0;
  1051. .file-text-em{
  1052. width: 100%;
  1053. text-overflow: ellipsis;
  1054. overflow: hidden;
  1055. display: -webkit-box;
  1056. -webkit-line-clamp: 1;
  1057. line-clamp: 1;
  1058. -webkit-box-orient: vertical;
  1059. line-height: 44rpx;
  1060. font-size: 28rpx;
  1061. padding-right: 40rpx;
  1062. box-sizing: border-box;
  1063. position: relative;
  1064. }
  1065. .icon-iconfontguanbi{
  1066. width: 40rpx;
  1067. height: 40rpx;
  1068. line-height: 40rpx;
  1069. display: block;
  1070. position: absolute;
  1071. top: 0;
  1072. right:0;
  1073. color: #f94b4b;
  1074. font-size: 36rpx;
  1075. }
  1076. }
  1077. &.file-none{
  1078. width: 100%;
  1079. margin-left: 0;
  1080. position: relative;
  1081. .file-none-button{
  1082. width: 88rpx;
  1083. height: 44rpx;
  1084. background-color: #e15616;
  1085. border-radius: 8rpx;
  1086. line-height: 44rpx;
  1087. text-align: center;
  1088. font-size: 24rpx;
  1089. color: #FFFFFF;
  1090. position: absolute;
  1091. right: 0;
  1092. top: -15rpx;
  1093. }
  1094. }
  1095. }
  1096. .select .placeholder {
  1097. position: relative;
  1098. cursor: pointer;
  1099. width: 100%;
  1100. display: inline-block;
  1101. }
  1102. .icon-xiayibu{
  1103. right: 0rpx;
  1104. color: #b2b2b2;
  1105. position: absolute;
  1106. }
  1107. .xiangliao{
  1108. font-size: 26rpx;
  1109. margin-right: 10rpx;
  1110. color: #b2b2b2;
  1111. }
  1112. .icon-jiagexiangliao{
  1113. color: #e15616 !important;
  1114. }
  1115. .pricecolor{
  1116. margin-left: 10rpx;
  1117. }
  1118. .showflag{
  1119. color: #b2b2b2;
  1120. }
  1121. .border-grey{
  1122. width: 100%;
  1123. resize: none;
  1124. padding: 20rpx 0;
  1125. height: 160rpx;
  1126. border-bottom: 2rpx solid #e1e1e1;
  1127. }
  1128. .release-main-container {
  1129. overflow: hidden;
  1130. margin: 20rpx 0;
  1131. }
  1132. .uploadGoodsImages{
  1133. display: flex;
  1134. overflow-x: auto;
  1135. overflow-y: hidden;
  1136. }
  1137. .secondradio{
  1138. .row-radio{
  1139. transform: scale(.8);
  1140. }
  1141. .row-input{margin-right: 10rpx;}
  1142. }
  1143. .linqi_text .p{
  1144. font-size: $font-size-20;
  1145. }
  1146. .upload-file {
  1147. float: left;
  1148. margin: 20rpx 20rpx 20rpx 0px;
  1149. cursor: pointer;
  1150. width: 194rpx;
  1151. height: 194rpx;
  1152. border-radius: 6rpx;
  1153. border: solid 2rpx #e1e1e1;
  1154. flex-shrink: 0;
  1155. position: relative;
  1156. display: inline-block;
  1157. .input-file {
  1158. width: 194rpx;
  1159. height: 194rpx;
  1160. opacity: 0;
  1161. cursor: pointer;
  1162. position: absolute;
  1163. top: 0;
  1164. left: 0;
  1165. }
  1166. .upload-img {
  1167. width: 100%;
  1168. height: 100%;
  1169. display: block;
  1170. border-radius: .53vw;
  1171. }
  1172. .icon-shangchuantupian{
  1173. display: block;
  1174. width: 100%;
  1175. height: 100rpx;
  1176. line-height: 90rpx;
  1177. color: #b2b2b2;
  1178. font-size: $font-size-40;
  1179. text-align: center;
  1180. padding-top: 20rpx;
  1181. box-sizing: border-box;
  1182. }
  1183. .add-text {
  1184. display: block;
  1185. width: 100%;
  1186. line-height: 50rpx;
  1187. font-size: 24rpx;
  1188. color: #b2b2b2;
  1189. text-align: center;
  1190. }
  1191. .icon-iconfontguanbi{
  1192. width: 40rpx;
  1193. height: 40rpx;
  1194. line-height: 40rpx;
  1195. display: block;
  1196. position: absolute;
  1197. background: #f94b4b;
  1198. text-align: center;
  1199. line-height: 40rpx;
  1200. border-radius: 50%;
  1201. top: -15rpx;
  1202. right:-18rpx;
  1203. color: #FFFFFF;
  1204. font-size: $font-size-24;
  1205. }
  1206. }
  1207. .wen-tips {
  1208. width: 664rpx;
  1209. height: 68rpx;
  1210. line-height: 68rpx;
  1211. text-align: center;
  1212. color: #FFF;
  1213. font-size: 20rpx;
  1214. background-color: #1890f9;
  1215. box-shadow: 0 0.8vw 1.6vw 0 rgba(24, 144, 249, 0.17);
  1216. border-radius: 2rpx;
  1217. display: none;
  1218. }
  1219. .form-upload-tips:hover .wen-tips {
  1220. display: block;
  1221. }
  1222. .textarea-wrapper {
  1223. letter-spacing: 2rpx;
  1224. line-height: 48rpx;
  1225. color: #333333;
  1226. position: relative;
  1227. font-size: 28rpx;
  1228. border: 2rpx solid #E1E1E1;
  1229. height: 300rpx;
  1230. padding: 16rpx;
  1231. border-radius: 6rpx;
  1232. margin: 20rpx 0;
  1233. }
  1234. .textarea-wrapper textarea{
  1235. width: 100%;
  1236. }
  1237. .word-limit {
  1238. position: absolute;
  1239. right: 2.7vw;
  1240. bottom: 2.7vw;
  1241. font-size: 3.2vw;
  1242. color: #9aa5b5;
  1243. }
  1244. .row.Read{
  1245. border: 0;
  1246. text-align: center;
  1247. color: #999999;
  1248. }
  1249. .thebj {
  1250. position: fixed;
  1251. left: 0;
  1252. top: 0;
  1253. bottom: 0;
  1254. width: 100%;
  1255. height: 100%;
  1256. background-color: rgba(0, 0, 0, .5);
  1257. z-index: 999999;
  1258. opacity: 0;
  1259. }
  1260. .thebj.show{
  1261. opacity: 1;
  1262. }
  1263. .theresult {
  1264. position: absolute;
  1265. top: 50%;
  1266. left: 50%;
  1267. transform: translate(-50%, -50%);
  1268. width:580rpx;
  1269. background-color: #fff;
  1270. border-radius: 32rpx;
  1271. }
  1272. .theresult .title{
  1273. line-height: 100rpx;
  1274. text-align: center;
  1275. display: block;
  1276. color: #333333;
  1277. font-size: 30rpx;
  1278. font-weight: bold;
  1279. border-bottom: 2rpx solid #efefef;
  1280. }
  1281. .theresult .content{
  1282. padding: 30rpx 52rpx;
  1283. line-height: 48rpx;
  1284. color: #666666;
  1285. font-size: 30rpx;
  1286. display: block;
  1287. }
  1288. .paybtn{
  1289. width: 100%;
  1290. height: 90rpx;
  1291. float: left;
  1292. .btn{
  1293. width: 50%;
  1294. height: 90rpx;
  1295. text-align: center;
  1296. line-height: 90rpx;
  1297. font-size: 30rpx;
  1298. display: inline-block;
  1299. float: left;
  1300. &.cancel{
  1301. background-color: #efefef;
  1302. border-radius: 0rpx 0rpx 0rpx 32rpx;
  1303. color: #999999;
  1304. }
  1305. &.confirm{
  1306. background-image: linear-gradient(270deg, #f28f31 0%, #e15616 100%);
  1307. border-radius: 0rpx 0rpx 32rpx 0rpx;
  1308. color: #fff;
  1309. }
  1310. }
  1311. }
  1312. .icon-wenhao{
  1313. color: #1890f9;
  1314. font-size: 35rpx;
  1315. width: 50rpx;
  1316. }
  1317. .form-upload-tips:hover .wen-tips {display: block;}
  1318. .tui-popup-box {
  1319. position: relative;
  1320. box-sizing: border-box;
  1321. min-height: 100rpx;
  1322. padding: 6rpx 24rpx;
  1323. .tui-popup-content {
  1324. padding-top: 30rpx;
  1325. }
  1326. }
  1327. .tui-popup-btn {
  1328. width: 100%;
  1329. height: auto;
  1330. float: left;
  1331. box-sizing: border-box;
  1332. margin-top: 30rpx;
  1333. .tui-button {
  1334. width: 600rpx;
  1335. height: 88rpx;
  1336. background: $btn-confirm;
  1337. line-height: 88rpx;
  1338. text-align: center;
  1339. color: #ffffff;
  1340. font-size: $font-size-28;
  1341. border-radius: 44rpx;
  1342. margin: 0 auto;
  1343. }
  1344. .tui-button-text{
  1345. width: 600rpx;
  1346. height: 70rpx;
  1347. line-height: 70rpx;
  1348. text-align: center;
  1349. color: #333333;
  1350. font-size: $font-size-26;
  1351. margin: 0 auto;
  1352. margin-top: 15rpx;
  1353. .iconfont{
  1354. margin-right: 10rpx;
  1355. &.icon-yixuanze{
  1356. color: $color-system;
  1357. }
  1358. }
  1359. }
  1360. }
  1361. .tui-prompt-flex{
  1362. width: 100%;
  1363. height: 80rpx;
  1364. display: flex;
  1365. margin-top: 20rpx;
  1366. .btn{
  1367. flex: 1;
  1368. line-height: 80rpx;
  1369. font-size: $font-size-26;
  1370. text-align: center;
  1371. color: #FFFFFF;
  1372. border-radius: 40rpx;
  1373. margin: 0 24rpx;
  1374. &.btn-cancel{
  1375. background: #F7F7F7;
  1376. color: #999999;
  1377. }
  1378. &.btn-confirm{
  1379. background: $btn-confirm;
  1380. }
  1381. }
  1382. }
  1383. .tui-prompt-text{
  1384. line-height: 44rpx;
  1385. font-size: $font-size-26;
  1386. color: #333333;
  1387. .text{
  1388. color: $color-system;
  1389. }
  1390. }
  1391. </style>