suppliers.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. <template>
  2. <!-- 经销商基本信息 -->
  3. <view class="whole">
  4. <view class="head">
  5. <view class="behind"></view>
  6. <view class="below">
  7. <view class="content">
  8. <view class="content_s">
  9. <view class="title">
  10. <view></view>
  11. <h3>测试经销商的经营品牌</h3>
  12. </view>
  13. <view class="information_E">
  14. <image src="../../static/sailun/anyu.png" mode=""></image>
  15. <image src="../../static/sailun/heiqishi.png" mode=""></image>
  16. <image src="../../static/sailun/anyu.png" mode=""></image>
  17. <image src="../../static/sailun/heiqishi.png" mode=""></image>
  18. <image src="../../static/sailun/anyu.png" mode=""></image>
  19. <image src="../../static/sailun/heiqishi.png" mode=""></image>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. import {
  29. request
  30. } from '../../common/request/request'
  31. require("promise.prototype.finally").shim()
  32. export default {
  33. data() {
  34. return {
  35. mobile: '经销商名称',
  36. code: '张三',
  37. code_s: '13412336446'
  38. }
  39. },
  40. created(){
  41. this.supplier()
  42. },
  43. methods: {
  44. supplier(){
  45. request({
  46. url: '/baseReq/getBrandList',
  47. method: 'Post',
  48. data: {
  49. storeId: '3000',
  50. userId: '123'
  51. }
  52. }).then(res => {
  53. console.log(res)
  54. }).catch(err => {
  55. console.log(err)
  56. }).finally(() => {
  57. // Loading.close()
  58. })
  59. }
  60. }
  61. }
  62. </script>
  63. <style lang="scss" scoped>
  64. .behind {
  65. width: 750rpx;
  66. height: 462rpx;
  67. background: url(../../static/sailun/behind.png) no-repeat;
  68. background-size: 100% 100%;
  69. background-repeat: no-repeat;
  70. margin-top:-150rpx;
  71. padding-top: 100px;
  72. }
  73. .below{
  74. margin-top: -270rpx;
  75. }
  76. .content {
  77. width: 667rpx;
  78. height: auto;
  79. background: #FFFFFF;
  80. box-shadow: 0px 10px 40px 0px rgba(223, 223, 223, 0.51);
  81. border-radius: 18px;
  82. margin: 0 auto;
  83. padding-top: 30rpx;
  84. margin-top: -10rpx;
  85. padding-bottom: 40rpx;
  86. .content_s {
  87. width: 92%;
  88. // height: 330rpx;
  89. height: auto;
  90. margin: 0 auto;
  91. margin-top: 10rpx;
  92. .information{
  93. margin-top: 10rpx;
  94. }
  95. .information_E{
  96. image{
  97. width: 48%;
  98. height: 100rpx;
  99. }
  100. }
  101. .title {
  102. border-bottom: 1rpx solid #EBEBEB;
  103. padding-bottom: 15rpx;
  104. view {
  105. width: 6px;
  106. height: 20px;
  107. background: #0292FD;
  108. float: left;
  109. margin-right: 10rpx;
  110. margin-top: 5rpx;
  111. }
  112. }
  113. }
  114. }
  115. </style>