RegHeader.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  1. <template>
  2. <div>
  3. <h3 class="h3">成为优软卖家有什么好处?</h3>
  4. <div class="row header-title">
  5. <div class="col-md-6">
  6. <h4>免费开店</h4>
  7. <p>申请开店完全免费,一个企业只能开一家店,申请到正式开通预计需1-3个工作日。</p>
  8. </div>
  9. <div class="col-md-6">
  10. <h4>库存寄售</h4>
  11. <p>无需开店,即可发布贵司仓库里的滞销产品,优软商城代为销售,匿名清仓无压力。</p>
  12. </div>
  13. </div>
  14. </div>
  15. </template>
  16. <!--<template>
  17. <div class="container vendor_store_apply">
  18. <div>
  19. &lt;!&ndash; Nav tabs &ndash;&gt;
  20. <ul class="nav nav-tabs">
  21. <li><div style="height: 39px;line-height: 39px;font-size: 14px;">店铺类型:</div></li>
  22. <li class="custom_tab" :class="{active: tab == 'ORIGINAL_FACTORY'}" @click="toggleTab('ORIGINAL_FACTORY')">
  23. <a href="javascript:void(0)">原厂</a>
  24. </li>
  25. <li class="custom_tab" :class="{active: tab == 'AGENCY'}" @click="toggleTab('AGENCY')">
  26. <a href="javascript:void(0)">代理商</a>
  27. </li>
  28. <li class="custom_tab" :class="{active: tab == 'DISTRIBUTION'}" @click="toggleTab('DISTRIBUTION')">
  29. <a href="javascript:void(0)">经销商</a>
  30. </li>
  31. </ul>
  32. &lt;!&ndash; Tab panes &ndash;&gt;
  33. <div class="tab-content" style="border: 1px #5078CB solid; padding-bottom: 30px;">
  34. &lt;!&ndash; 原厂 &ndash;&gt;
  35. <div role="tabpanel" class="tab-pane" v-if="tab == 'ORIGINAL_FACTORY'" :class="{active: tab == 'ORIGINAL_FACTORY'}">
  36. <div class="row com_row">
  37. <div class="col-md-4 custom_col">
  38. <div class="row" style="margin: 0;">
  39. <div class="col-md-5 col-md-offset-1 show_image_area show_image">
  40. <upload :typeData="'BUSINESS_LICENSE'" @uploadAction="onUpload"></upload>
  41. </div>
  42. <div class="col-md-5" style="padding: 0;">
  43. <span style="margin-top: 50%;padding-right: 20px;">营业执照<em style="color: #FF0000;">*</em></span>
  44. </div>
  45. </div>
  46. </div>
  47. <div class="col-md-4 custom_col">
  48. <div class="row" style="margin: 0;">
  49. <div class="col-md-5 col-md-offset-1 show_image_area show_image">
  50. <upload :typeData="'TAX_PAYER'" @uploadAction="onUpload"></upload>
  51. </div>
  52. <div class="col-md-5" style="padding: 0;">
  53. <span style="margin-top: 50%;padding-right: 20px;">纳税人证明</span>
  54. </div>
  55. </div>
  56. </div>
  57. <div class="col-md-4 custom_col">
  58. <div class="row" style="margin: 0;">
  59. <div class="col-md-5 col-md-offset-1 show_image_area show_image">
  60. <upload :typeData="'TAX_REGISTRATION'" @uploadAction="onUpload"></upload>
  61. </div>
  62. <div class="col-md-5" style="padding: 0;">
  63. <span style="margin-top: 50%;padding-right: 20px;">税务登记证</span>
  64. </div>
  65. </div>
  66. </div>
  67. <div class="col-md-12"><em>* </em>如已上传最新版营业执照(三证合一),则其他两证无需上传 ; 仅支持JPG、PNG、GIF、PDF格式,每张大小不超过3M</div>
  68. </div>
  69. &lt;!&ndash;增加品牌&ndash;&gt;
  70. <div class="brand-type row" v-for="(brand, index) in brands">
  71. <div class="col-md-1">品牌{{index+1}}<em>*</em></div>
  72. <div class="col-md-7">
  73. <input type="text" v-model="brand.name" @change="onBrandChanged(brand)" class="form-control" name="brandName" autocomplete="off" placeholder="请输入英文品牌或中文品牌,如:松下; panasonic等"/>
  74. </div>
  75. <div class="brand-small-upload col-md-4">
  76. <div class="brand-small-img">
  77. <upload :typeData="index" @uploadAction="onUpload"></upload>
  78. </div>
  79. <div class="file-text">品牌logo/商标注册原件/授权说明书</div>
  80. <div v-show="brands.length > 1" @click="deleteBrand(index)" class="delete" title="删除">{{index}}<i class="fa fa-trash"></i></div>
  81. <div class="col-md-12"> <em>*</em>仅支持JPG、PNG、GIF、PDF格式,大小不超过3M</div>
  82. </div>
  83. </div>
  84. <div class="add-brand row">
  85. <a href="javascript:void(0)" title="增加品牌" @click="addBrand"><em><i class="fa fa-plus-circle"></i>增加品牌</em></a>
  86. </div>
  87. <div class="unpass-reason row" style="display: none">
  88. 原因:<span style="color: #d32526;">原因</span>
  89. </div>
  90. </div>
  91. &lt;!&ndash;原厂end&ndash;&gt;
  92. &lt;!&ndash;代理商 begin&ndash;&gt;
  93. <div role="tabpanel" class="tab-pane" v-if="tab == 'AGENCY'" :class="{active: tab == 'AGENCY'}">
  94. <div class="row com_row">
  95. <div class="col-md-4 custom_col">
  96. <div class="row" style="margin: 0;">
  97. <div class="col-md-5 col-md-offset-1 show_image_area show_image">
  98. <upload :typeData="'BUSINESS_LICENSE'" @uploadAction="onUpload"></upload>
  99. </div>
  100. <div class="col-md-5" style="padding: 0;">
  101. <span style="margin-top: 50%;padding-right: 20px;">营业执照<em style="color: #FF0000;">*</em></span>
  102. </div>
  103. </div>
  104. </div>
  105. <div class="col-md-4 custom_col">
  106. <div class="row" style="margin: 0;">
  107. <div class="col-md-5 col-md-offset-1 show_image_area show_image">
  108. <upload :typeData="'TAX_PAYER'" @uploadAction="onUpload"></upload>
  109. </div>
  110. <div class="col-md-5" style="padding: 0;">
  111. <span style="margin-top: 50%;padding-right: 20px;">纳税人证明</span>
  112. </div>
  113. </div>
  114. </div>
  115. <div class="col-md-4 custom_col">
  116. <div class="row" style="margin: 0;">
  117. <div class="col-md-5 col-md-offset-1 show_image_area show_image">
  118. <upload :typeData="'TAX_REGISTRATION'" @uploadAction="onUpload"></upload>
  119. </div>
  120. <div class="col-md-5" style="padding: 0;">
  121. <span style="margin-top: 50%;padding-right: 20px;">税务登记证</span>
  122. </div>
  123. </div>
  124. </div>
  125. <div class="col-md-12"><em>* </em>如已上传最新版营业执照(三证合一),则其他两证无需上传 ; 仅支持JPG、PNG、GIF、PDF格式,每张大小不超过3M</div>
  126. </div>
  127. &lt;!&ndash;增加品牌&ndash;&gt;
  128. <div class="brand-type row" v-for="(brand, index) in brands">
  129. <div class="col-md-1">品牌{{index+1}}<em>*</em></div>
  130. <div class="col-md-7">
  131. <input type="text" v-model="brand.name" @change="onBrandChanged(brand)" class="form-control" name="brandName" autocomplete="off" placeholder="请输入英文品牌或中文品牌,如:松下; panasonic等"/>
  132. </div>
  133. <div class="brand-small-upload col-md-4">
  134. <div class="brand-small-img">
  135. <upload :typeData="index" @uploadAction="onUpload"></upload>
  136. </div>
  137. <div class="file-text">代理资格证/代理授权书</div>
  138. <div v-show="brands.length > 1" @click="deleteBrand(index)" class="delete" title="删除">{{index}}<i class="fa fa-trash"></i></div>
  139. <div class="col-md-12"> <em>*</em>仅支持JPG、PNG、GIF、PDF格式,大小不超过3M</div>
  140. </div>
  141. </div>
  142. <div class="add-brand row">
  143. <a href="javascript:void(0)" title="增加品牌" @click="addBrand"><em><i class="fa fa-plus-circle"></i>增加品牌</em></a>
  144. </div>
  145. <div class="unpass-reason row" style="display: none">
  146. 原因:<span style="color: #d32526;">原因</span>
  147. </div>
  148. </div>
  149. &lt;!&ndash;代理商 end&ndash;&gt;
  150. &lt;!&ndash;经销商 begin&ndash;&gt;
  151. <div role="tabpanel" class="tab-pane" v-if="tab == 'DISTRIBUTION'" :class="{active: tab == 'DISTRIBUTION'}">
  152. <div class="row com_row">
  153. <div class="col-md-4 custom_col">
  154. <div class="row" style="margin: 0;">
  155. <div class="col-md-5 col-md-offset-1 show_image_area show_image">
  156. <upload :typeData="'BUSINESS_LICENSE'" @uploadAction="onUpload"></upload>
  157. </div>
  158. <div class="col-md-5" style="padding: 0;">
  159. <span style="margin-top: 50%;padding-right: 20px;">营业执照<em style="color: #FF0000;">*</em></span>
  160. </div>
  161. </div>
  162. </div>
  163. <div class="col-md-4 custom_col">
  164. <div class="row" style="margin: 0;">
  165. <div class="col-md-5 col-md-offset-1 show_image_area show_image">
  166. <upload :typeData="'TAX_PAYER'" @uploadAction="onUpload"></upload>
  167. </div>
  168. <div class="col-md-5" style="padding: 0;">
  169. <span style="margin-top: 50%;padding-right: 20px;">纳税人证明</span>
  170. </div>
  171. </div>
  172. </div>
  173. <div class="col-md-4 custom_col">
  174. <div class="row" style="margin: 0;">
  175. <div class="col-md-5 col-md-offset-1 show_image_area show_image">
  176. <upload :typeData="'TAX_REGISTRATION'" @uploadAction="onUpload"></upload>
  177. </div>
  178. <div class="col-md-5" style="padding: 0;">
  179. <span style="margin-top: 50%;padding-right: 20px;">税务登记证</span>
  180. </div>
  181. </div>
  182. </div>
  183. <div class="col-md-12"><em>* </em>如已上传最新版营业执照(三证合一),则其他两证无需上传 ; 仅支持JPG、PNG、GIF、PDF格式,每张大小不超过3M</div>
  184. </div>
  185. </div>
  186. &lt;!&ndash;经销商 end&ndash;&gt;
  187. </div>
  188. &lt;!&ndash; Submit button &ndash;&gt;
  189. <div style="padding: 28px 40px;">
  190. <button type="button" class="btn btn-primary" style="float: right" @click="submitApply">提交申请</button>
  191. <div class="clear-fix"></div>
  192. </div>
  193. </div>
  194. &lt;!&ndash;删除上传图片&ndash;&gt;
  195. <div class="com-del-box" style="display: none">
  196. <div class="title">
  197. <a><i class="fa fa-close fa-lg"></i></a>
  198. </div>
  199. <div class="content">
  200. <p><i class="fa fa-exclamation-circle"></i>是否删除选中信息</p>
  201. <div><a>取消</a><a>确认</a></div>
  202. </div>
  203. </div>
  204. &lt;!&ndash;删除品牌图片&ndash;&gt;
  205. <div class="com-del-box" style="display: none">
  206. <div class="title">
  207. <a><i class="fa fa-close fa-lg"></i></a>
  208. </div>
  209. <div class="content">
  210. <p><i class="fa fa-exclamation-circle"></i>品牌信息为重要信息,确定删除吗?</p>
  211. <div><a>取消</a><a>确认</a></div>
  212. </div>
  213. </div>
  214. &lt;!&ndash;提示框&ndash;&gt;
  215. <div class="com-del-box" v-if="showBrandNameInvalid">
  216. <div class="title">
  217. <a @click="showBrandNameInvalid = false"><i class="fa fa-close fa-lg"></i></a>
  218. </div>
  219. <div class="content">
  220. <p style="line-height: 20px;margin-top: 10px;">非常抱歉,目前暂无此品牌!您可在<br/>“品牌申请”中,提出申请。</p>
  221. <p style="line-height: 20px;">前往<a @click="showBrandNameInvalid = false" target="_blank" href="/vendor#/brand/apply/" style="color: #5078CB">品牌申请&nbsp;<i class="fa fa-arrow-right"></i></a></p>
  222. </div>
  223. </div>
  224. </div>
  225. </template>
  226. <script>
  227. import Upload from '~components/common/upload/upload.vue'
  228. export default {
  229. data () {
  230. return {
  231. tab: 'ORIGINAL_FACTORY',
  232. brands: [{
  233. type: 'BRAND',
  234. name: '',
  235. url: '',
  236. isPdf: false,
  237. brandUuid: ''
  238. }],
  239. businessLicenseUrl: '',
  240. taxPayerUrl: '',
  241. taxRegistrationUrl: '',
  242. showBrandNameInvalid: false
  243. }
  244. },
  245. components: {
  246. Upload
  247. },
  248. methods: {
  249. toggleTab (t) {
  250. this.tab = t
  251. this.brands = [{
  252. type: 'BRAND',
  253. name: '',
  254. url: '',
  255. isPdf: false,
  256. brandUuid: ''
  257. }]
  258. },
  259. onUpload: function (obj) {
  260. if (obj.type === 'BUSINESS_LICENSE') {
  261. this.businessLicenseUrl = obj.url
  262. } else if (obj.type === 'TAX_PAYER') {
  263. this.taxPayerUrl = obj.url
  264. } else if (obj.type === 'TAX_REGISTRATION') {
  265. this.taxRegistrationUrl = obj.url
  266. } else if (typeof obj.type === 'number') {
  267. this.brands[obj.type].url = obj.url
  268. }
  269. },
  270. onBrandChanged: function (item) {
  271. this.$http.get('/api/product/brand', {params: {name: item.name, op: 'by_name'}})
  272. .then(response => {
  273. item.brandUuid = response.data.uuid
  274. item.isPdf = item.url.substring(item.url.length - 4, item.url.length) === '.pdf'
  275. }, err => {
  276. console.log(err)
  277. this.showBrandNameInvalid = true
  278. })
  279. },
  280. submitApply: function () {
  281. let validCode = 0
  282. if (this.businessLicenseUrl === '') {
  283. this.$message.error('请上传营业执照')
  284. } else {
  285. this.brands.forEach(function (item) {
  286. if (item.name === '') {
  287. validCode = 1
  288. } else if (item.url === '') {
  289. validCode = 2
  290. }
  291. })
  292. if (validCode === 0) {
  293. let qualifications = []
  294. qualifications.push({
  295. type: 'BUSINESS_LICENSE',
  296. resourceUrl: this.businessLicenseUrl,
  297. isPdf: this.isPdf(this.businessLicenseUrl)
  298. })
  299. if (this.taxPayerUrl !== '') {
  300. qualifications.push({
  301. type: 'TAX_PAYER',
  302. resourceUrl: this.taxPayerUrl,
  303. isPdf: this.isPdf(this.taxPayerUrl)
  304. })
  305. }
  306. if (this.taxPayerUrl !== '') {
  307. qualifications.push({
  308. type: 'TAX_REGISTRATION',
  309. resourceUrl: this.taxRegistrationUrl,
  310. isPdf: this.isPdf(this.taxRegistrationUrl)
  311. })
  312. }
  313. // console.log(qualifications)
  314. this.$http.post('/store-service/applications', {
  315. brands: this.brands,
  316. qualifications: qualifications,
  317. type: this.tab
  318. }).then(response => {
  319. if (response.data.success) {
  320. this.$message.success('感谢您对优软商城的支持,我们会尽快对您提交的信息进行审核,预计审核时间为3个工作日,审核结果将以站内消息及邮件形式通知您!')
  321. window.setTimeout(function () {
  322. window.location.href = '/vendor#/store-apply/'
  323. }, 1000)
  324. }
  325. })
  326. } else {
  327. if (validCode === 1) {
  328. this.$message.error('请添加品牌信息')
  329. } else if (validCode === 2) {
  330. this.$message.error('请上传品牌图片')
  331. }
  332. }
  333. }
  334. },
  335. addBrand: function () {
  336. this.brands.push({
  337. type: 'BRAND',
  338. name: '',
  339. url: '',
  340. isPdf: false,
  341. brandUuid: ''
  342. })
  343. },
  344. deleteBrand: function (index) {
  345. this.brands.splice(index, 1)
  346. },
  347. isPdf: function (url) {
  348. return url.substring(url.length - 4, url.length) === '.pdf'
  349. }
  350. }
  351. }
  352. </script>
  353. <style>
  354. .com-input{
  355. width: 100%;
  356. height: 100%;
  357. text-align: center;
  358. position: absolute;
  359. bottom: 0;
  360. left: 0;
  361. opacity: 0;
  362. display: inline-block !important;
  363. }
  364. .el-upload-list&#45;&#45;picture-card .el-upload-list__item{
  365. width: 160px;
  366. height: 120px;
  367. top: 69px;
  368. }
  369. div.vendor_store_apply {
  370. margin: 0 auto;
  371. width: 1026px;
  372. background-color: #FFFFFF;
  373. margin-bottom: 20px;
  374. margin-top: 20px;
  375. }
  376. div.vendor_store_apply .com_row {
  377. padding: 0 40px;
  378. min-height: 40px;
  379. }
  380. div.vendor_store_apply .title_row {
  381. margin-bottom: 20px;
  382. border-bottom: #e8e8e8 1px solid;
  383. }
  384. div.vendor_store_apply .custom_col {
  385. margin: 0;
  386. padding: 0;
  387. }
  388. div.vendor_store_apply .custom_col img.previewImage {
  389. max-width: 160px;
  390. max-height: 120px;
  391. cursor: pointer;
  392. /*padding: 0 30px;*/
  393. }
  394. div.vendor_store_apply .row h2 {
  395. padding: 10px 0;
  396. font-size: 16px;
  397. font-weight: 500;
  398. color: #000000;
  399. }
  400. div.vendor_store_apply .row span {
  401. display: block;
  402. padding: 10px 0;
  403. font-size: 14px;
  404. color: #000000;
  405. }
  406. div.vendor_store_apply #file_upload {
  407. width: 100px;
  408. height: 100px;
  409. border:1px solid #CDCDCD;
  410. /*background: url("static/img/vendor/images/upload.png");*/
  411. }
  412. div.vendor_store_apply #upload_qualification {
  413. width: 100px;
  414. height: 100px;
  415. opacity: 0;
  416. }
  417. div.vendor_store_apply .custom_tab {
  418. margin: 0 15px;
  419. width: 90px;
  420. text-align: center;
  421. }
  422. div.vendor_store_apply .nav li.custom_tab.active>a,
  423. div.vendor_store_apply .nav li.custom_tab.active>a:focus,
  424. div.vendor_store_apply .nav li.custom_tab.active>a:hover {
  425. border: 1px solid #5078CB;
  426. border-bottom-color: transparent;
  427. color: #5078cb;
  428. }
  429. div.vendor_store_apply .uploadify-button {
  430. display: block;
  431. }
  432. div.vendor_store_apply .custom_col .show_image_area {
  433. height: 120px;
  434. display: flex;
  435. justify-content: center;
  436. align-items: center;
  437. }
  438. .nav-tabs{
  439. height: 41px;
  440. background: none;
  441. padding: 0 40px;
  442. }
  443. .nav-tabs>li>a{
  444. border-radius: 0;
  445. color: #333;
  446. }
  447. div.vendor_store_apply .btn-primary{
  448. background: #5078cb;
  449. border-radius: 0;
  450. }
  451. div.vendor_store_apply .btn-primary:hover{
  452. background: #3f7ae3;
  453. }
  454. div.vendor_store_apply .com_row .col-md-2{
  455. width: 120px;
  456. }
  457. div.vendor_store_apply .com_row .col-md-10 span{
  458. color: #666;
  459. }
  460. /*修改的样式*/
  461. div.vendor_store_apply .custom_col .show_image_area{
  462. position: relative;
  463. overflow: hidden;
  464. }
  465. .hover-show{
  466. position: absolute;
  467. width: 100%;
  468. height: 100%;
  469. top: 120px;
  470. left: 0;
  471. background: rgba(0,0,0,.5);
  472. }
  473. div.vendor_store_apply .custom_col .show_image_area .hover-show{
  474. top: 0;
  475. }
  476. .hover-show .delete{
  477. padding: 0;
  478. width: 30px;
  479. height: 30px;
  480. float: right;
  481. text-align: center;
  482. }
  483. .hover-show .delete:hover{
  484. cursor: pointer;
  485. }
  486. .hover-show .delete i{
  487. color: #fff;
  488. font-size: 18px;
  489. }
  490. .hover-show a{
  491. display: inline-block;
  492. width: 100%;
  493. height: 60px;
  494. font-size: 14px;
  495. color: #fff;
  496. text-align: center;
  497. line-height: 60px;
  498. }
  499. .hover-show a i{
  500. margin-right: 5px;
  501. font-size: 16px;
  502. }
  503. .brand-type{
  504. line-height: 34px;
  505. font-size: 14px;
  506. margin: 20px 20px 5px 20px;
  507. }
  508. .brand-type .brand-small-img{
  509. position: relative;
  510. width: 84px;
  511. height: 84px;
  512. overflow: hidden;
  513. text-align: center;
  514. border: #e8e8e8 1px solid;
  515. }
  516. .brand-type .brand-small-img .preview img{
  517. max-width: 84px;
  518. max-height: 84px;
  519. }
  520. .brand-type em{
  521. color: #ff0000;
  522. }
  523. .brand-type .col-md-7,.brand-type .col-md-1{
  524. margin-top: 25px;
  525. }
  526. .brand-small-upload .file-text,.brand-type .brand-small-img{
  527. float: left;
  528. }
  529. .brand-small-upload .file-text{
  530. width: 120px;
  531. margin-left: 10px;
  532. line-height: 20px;
  533. margin-top: 6%;
  534. }
  535. .brand-small-upload .delete{
  536. float: right;
  537. text-align: center;
  538. line-height: 84px;
  539. }
  540. .brand-small-upload .delete i{
  541. font-size: 18px;
  542. color: #5078cb;
  543. }
  544. .brand-small-upload .delete:hover{
  545. cursor: pointer;
  546. }
  547. .brand-small-upload .delete:hover i{
  548. color: #f00;
  549. }
  550. .brand-small-upload .brand-small-img .hover-show{
  551. top: 0;
  552. }
  553. .brand-small-upload .brand-small-img .hover-show{
  554. }
  555. .brand-small-upload .brand-small-img .hover-show span i{
  556. color: #fff;
  557. }
  558. .brand-small-upload .brand-small-img .hover-show span.delete{
  559. line-height: 30px;
  560. padding: 0;
  561. }
  562. .brand-small-upload .brand-small-img .hover-show a{
  563. line-height: 30px;
  564. height: 30px;
  565. }
  566. .tab-content .com_row{
  567. margin:40px 0 0;
  568. border-bottom: #ccc 1px dashed;
  569. padding-bottom: 40px !important;
  570. }
  571. .tab-content .com_row .col-md-12{
  572. color: #999;
  573. margin-top: 20px;
  574. font-size: 12px;
  575. padding-left: 50px;
  576. }
  577. .brand-small-upload .col-md-12{
  578. color: #999;
  579. font-size: 12px;
  580. padding-left: 0;
  581. }
  582. .tab-content .com_row .col-md-12 em,.brand-small-upload .col-md-12 em{
  583. color: #f00;
  584. }
  585. .add-brand{
  586. text-align: center;
  587. border-bottom: #ccc 1px dashed;
  588. margin: 0 0 20px 0;
  589. height: 34px;
  590. }
  591. .add-brand a{
  592. font-size: 14px;
  593. color: #5078cb;
  594. width: 200px;
  595. height: 15px;
  596. display: inline-block;
  597. border: #ccc 1px dashed;
  598. border-top: 0;
  599. border-bottom-left-radius: 50px;
  600. border-bottom-right-radius: 50px;
  601. margin-top: 31px;
  602. background: #fff;
  603. line-height: 15px;
  604. text-decoration: none;
  605. }
  606. .add-brand a i{
  607. margin-right: 5px;
  608. font-size: 20px;
  609. vertical-align: middle;
  610. }
  611. .add-brand a em{
  612. position: relative;
  613. top: -10px;
  614. font-weight: bold;
  615. font-style: inherit;
  616. }
  617. .add-brand a:hover em, .add-brand a:active em, .add-brand a:focus em{
  618. color: #d32526;
  619. text-decoration: none;
  620. }
  621. .unpass-reason {
  622. margin: 0 40px;
  623. line-height: 34px;
  624. }
  625. /* 预览框 end */
  626. .brand-type .dropdown-menu {
  627. width: 95%;
  628. }
  629. .brand-type .dropdown-menu li {
  630. font-size: 14px;
  631. }
  632. .com-del-box{
  633. position: fixed;
  634. z-index: 2;
  635. height: 152px;
  636. opacity: 1;
  637. background-color: white;
  638. width: 310px;
  639. -webkit-box-shadow: 0 5px 15px rgba(0,0,0,.5);
  640. box-shadow: 0 5px 15px rgba(0,0,0,.5);
  641. margin: -155px 0 0 -75px;
  642. top: 55%;
  643. left: 50%;
  644. }
  645. .com-del-box .title{
  646. height: 30px;
  647. background-color: #5078cb;
  648. text-align: right;
  649. padding-right: 15px;
  650. line-height: 30px;
  651. }
  652. .com-del-box .title a{
  653. color: white;
  654. font-size: 16px;
  655. }
  656. .com-del-box .content{
  657. width: 100%;
  658. text-align: center;
  659. margin: 0 auto;
  660. }
  661. .com-del-box .content p{
  662. line-height: 50px;
  663. font-size: 14px;
  664. padding-top: 10px;
  665. }
  666. .com-del-box .content p i{
  667. color: #5078cb;
  668. font-size: 16px;
  669. margin-right: 10px;
  670. }
  671. .com-del-box .content div{
  672. width: 100%;
  673. text-align: center;
  674. margin: 0 auto;
  675. }
  676. .com-del-box .content div a{
  677. width: 55px;
  678. height: 26px;
  679. line-height: 26px;
  680. display: inline-block;
  681. text-align: center;
  682. font-size: 14px;
  683. }
  684. .com-del-box .content div a:first-child{
  685. background: #b4b5b9;
  686. color: #333;
  687. margin-right: 10px;
  688. }
  689. .com-del-box .content div a:last-child{
  690. background: #5078cb;
  691. color: #fff;
  692. }
  693. .com-del-box .content div a:hover{
  694. background: #3f7ae3;
  695. color: #fff;
  696. }
  697. div.vendor_store_apply .custom_col .show_image_area{
  698. width: 160px;
  699. border: #dcdcdc 1px solid;
  700. margin: 0 10px 0 0;
  701. padding: 0;
  702. }
  703. div.vendor_store_apply .tab-content .custom_col{
  704. width: 280px;
  705. }
  706. div.vendor_store_apply .tab-content .custom_col:first-child{
  707. margin-left: 50px;
  708. }
  709. div.vendor_store_apply .custom_col .row .col-md-5:last-child{
  710. width: 110px;
  711. }
  712. div.vendor_store_apply .custom_col .row .col-md-5:last-child span{
  713. margin-top: 85% !important;
  714. padding-bottom: 0 !important;
  715. }
  716. .hoverShow{
  717. position: absolute;
  718. width: 30px;
  719. height: 30px;
  720. top: 0px;
  721. right: 0;
  722. background: rgba(0,0,0,.4);
  723. display: none;
  724. }
  725. div.vendor_store_apply .custom_col .show_image_area:hover .hoverShow{
  726. display: block;
  727. }
  728. div.vendor_store_apply .custom_col .show_image_area .deleteImg{
  729. position: absolute;
  730. right: 7px;
  731. top: 0;
  732. display: inline-block;
  733. padding: 0;
  734. margin-top: 6px;
  735. font-size: 18px;
  736. color: #fff;
  737. }
  738. .hover-show a{
  739. color: #fff;
  740. text-decoration: none;
  741. }
  742. .hover-show a:hover, .hover-show a:active, .hover-show a:focus{
  743. color: #fff;
  744. text-decoration: none;
  745. }
  746. </style>-->