StepThird.vue 28 KB

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