form-seller.vue 39 KB

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