index.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <template>
  2. <view class="content">
  3. <view class="header">
  4. <view class="info-block flex-y-center">
  5. <view class="info">
  6. <view class="title">微信小商店</view>
  7. <view class="desc">手机管理方便又快捷</view>
  8. </view>
  9. </view>
  10. </view>
  11. <view class="content-row">
  12. <view class="setup flex-y-center ft32">
  13. 常用应用
  14. </view>
  15. <view class="table">
  16. <view class="table-tr">
  17. <navigator class="table-td" url="./getShop">
  18. <view class="iconfont iconzhuce"></view>
  19. <view class="">注册小商店账号</view>
  20. </navigator>
  21. <navigator class="table-td" url="./qrCode">
  22. <view class="iconfont iconweixin"></view>
  23. <view class="">微信授权</view>
  24. </navigator>
  25. <navigator class="table-td" url="./addPay">
  26. <view class="iconfont iconpay-order"></view>
  27. <view class="">提交支付资质</view>
  28. </navigator>
  29. <navigator class="table-td" url="./basics">
  30. <view class="iconfont iconjichuxinxi"></view>
  31. <view class="">小商店基础信息</view>
  32. </navigator>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </template>
  38. <script>
  39. export default {
  40. data() {
  41. return {
  42. is_admin: 1
  43. }
  44. },
  45. onLoad(e) {
  46. this.is_admin = e.is_admin || 1;
  47. },
  48. methods: {
  49. }
  50. }
  51. </script>
  52. <style>
  53. .setup {
  54. width: 100%;
  55. height: 90rpx;
  56. opacity: 1;
  57. padding: 0 22rpx;
  58. }
  59. .table,
  60. .table div {
  61. margin: 0 auto;
  62. }
  63. .table {
  64. /* display: table; */
  65. width: 100%;
  66. border-collapse: collapse;
  67. box-sizing: border-box;
  68. }
  69. .table-tr {
  70. /* display: table-row; */
  71. /* height: 92rpx; */
  72. }
  73. .table-th {
  74. display: table-cell;
  75. font-weight: bold;
  76. border: 1rpx solid #FAFAFA;
  77. text-align: center;
  78. vertical-align: middle;
  79. }
  80. .table-td {
  81. display: inline-block;
  82. border: 1rpx solid #FAFAFA;
  83. text-align: center;
  84. vertical-align: middle;
  85. background: #fff;
  86. font-size: 27rpx;
  87. color: #666666;
  88. padding: 62rpx 0;
  89. width: 33.333%;
  90. }
  91. .table-td image {
  92. width: 50rpx;
  93. height: 50rpx;
  94. margin-bottom: 23rpx;
  95. }
  96. .header {
  97. width: 100%;
  98. height: 198rpx;
  99. position: relative;
  100. }
  101. .header .bg-img {
  102. display: block;
  103. position: absolute;
  104. left: 0;
  105. top: 0;
  106. z-index: 1;
  107. width: 100%;
  108. height: 198rpx;
  109. }
  110. .header .info-block {
  111. padding: 0 40rpx 0 48rpx;
  112. height: 198rpx;
  113. position: relative;
  114. z-index: 2;
  115. background: #FF6A69;
  116. }
  117. .header .info-block .title {
  118. font-size: 36rpx;
  119. color: #fff;
  120. font-weight: 500;
  121. line-height: 50rpx;
  122. }
  123. .header .info-block .desc {
  124. font-size: 28rpx;
  125. font-weight: 500;
  126. color: #fff;
  127. line-height: 40rpx;
  128. margin-top: 8rpx;
  129. }
  130. .header .info-block .btn {
  131. width: 170rpx;
  132. height: 56rpx;
  133. border-radius: 28rpx;
  134. background-color: rgb(255, 255, 255);
  135. text-align: center;
  136. line-height: 52rpx;
  137. font-size: 28rpx;
  138. font-weight: 500;
  139. color: #3387FF;
  140. }
  141. .table-td .iconfont {
  142. font-size: 50rpx;
  143. color: #FF6A69;
  144. margin-bottom: 10rpx;
  145. }
  146. </style>