index.vue 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257
  1. <template>
  2. <view class="">
  3. <view style="position: relative;">
  4. <image src="../../static/icon/bg.png" style="width: 100vw;height: 400rpx"></image>
  5. <view class="card-top" >
  6. <view class="top">
  7. <text class="name">商场名称</text>
  8. <view class="btn">
  9. <view class="image">
  10. <image src="../../static/icon/chongzhi.png" mode=""></image>
  11. </view>
  12. <navigator url="../recharge/recharge" class="center padding-left-10" >
  13. <text>充值</text>
  14. <text class="cuIcon-right"></text>
  15. </navigator>
  16. </view>
  17. </view>
  18. <view class="menu-list">
  19. <view @click="$jump('/pages/stores/stores')" class="menu menu1">
  20. <view class="menu-top">
  21. <image src="../../static/icon/mendian.png"></image>
  22. <view class="center padding-left-20">
  23. <text class="text-lg">我的门店</text>
  24. </view>
  25. </view>
  26. <view class="padding-top-20 text-df">
  27. <text>门店数量</text>
  28. <text class="padding-left-20">1066</text>
  29. </view>
  30. </view>
  31. <view class="menu menu2" @click="$jump('/pages/member-center/member-center')">
  32. <view class="menu-top">
  33. <image src="../../static/icon/huiyuan.png"></image>
  34. <view class="center padding-left-20">
  35. <text class="text-lg">会员中心</text>
  36. </view>
  37. </view>
  38. <view class="padding-top-20 text-df">
  39. <text>会员总数</text>
  40. <text class="padding-left-20">106600</text>
  41. </view>
  42. </view>
  43. </view>
  44. <view class="cu-list grid col-3 no-border" style="border-radius:20rpx ;">
  45. <view class="cu-item" >
  46. <text style="color: #FF9447;font-size: 34rpx;font-weight: 800;">4100.00</text>
  47. <text style="color: #242424;font-size: 26rpx;" >今日营收</text>
  48. </view>
  49. <view class="cu-item" >
  50. <text style="color: #FF9447;font-size: 34rpx;font-weight: 800;">330</text>
  51. <text style="color: #242424;font-size: 26rpx;" >交易笔数</text>
  52. </view>
  53. <view class="cu-item" >
  54. <text style="color: #FF9447;font-size: 34rpx;font-weight: 800;">88</text>
  55. <text style="color: #242424;font-size: 26rpx;" >新增会员</text>
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. <view class="market" >
  61. <text class="title">营销管理</text>
  62. <view class="cu-list grid col-2 no-border margin-top-30" >
  63. <view class="cu-item" @click="$jump(item.path)" v-for="(item,index) in marketList" :key="index">
  64. <view class="center">
  65. <view class="icon" :style="item.background">
  66. <image :src="item.icon" mode=""></image>
  67. </view>
  68. </view>
  69. <text style="color: #222222;font-size: 26rpx;margin-top: 20rpx;" >{{item.name}}</text>
  70. </view>
  71. </view>
  72. </view>
  73. <view class="mall">
  74. <view class="flex justify-between">
  75. <text class="title">商场管理</text>
  76. <view class="" style="color: #A3A3A3;font-size: 24rpx;">
  77. <text >查看全部</text>
  78. <text class="cuIcon-right" style="margin-left: 4rpx;"></text>
  79. </view>
  80. </view>
  81. <view class="cu-list grid col-4 no-border" style="border-radius:20rpx;margin-top: 50rpx;">
  82. <view class="cu-item" @click="$jump(item.path)" v-for="(item,index) in mallList" :key="index">
  83. <view class="grid-icon" >
  84. <image style="width: 60rpx;height: 60rpx" :src="item.icon"/>
  85. </view>
  86. <text style="color: #222222;font-size: 26rpx;" >{{item.name}}</text>
  87. </view>
  88. </view>
  89. </view>
  90. <view class="" style="height: 60rpx;" v-if="safeAreaBottom == 0"></view>
  91. </view>
  92. </template>
  93. <script>
  94. export default {
  95. data() {
  96. return {
  97. marketList:[
  98. {
  99. icon:'/static/icon/publish.png',
  100. name:'发起活动',
  101. background:"background-image:linear-gradient(#FF9549,#FCB07B)",
  102. path:'/pages/publish/publish'
  103. },
  104. {
  105. icon:'/static/icon/list.png',
  106. name:'活动清单',
  107. background:"background-image:linear-gradient(#5892F7,#67BBF9)",
  108. path:'/pages/activity/activity'
  109. },
  110. ],
  111. mallList:[
  112. {
  113. icon:'/static/icon/mall.png',
  114. name:'商家管理',
  115. path:''
  116. },
  117. {
  118. icon:'/static/icon/shanghu.png',
  119. name:'商户审核',
  120. path:''
  121. },
  122. {
  123. icon:'/static/icon/tag.png',
  124. name:'标签管理',
  125. path:''
  126. },
  127. {
  128. icon:'/static/icon/audit.png',
  129. name:'活动审核',
  130. path:''
  131. },
  132. ]
  133. }
  134. },
  135. onLoad() {
  136. },
  137. methods: {
  138. }
  139. }
  140. </script>
  141. <style lang="scss" scoped>
  142. .icon{
  143. width: 120rpx;
  144. height: 120rpx;
  145. display: flex;
  146. justify-content: center;
  147. align-items: center;
  148. border-radius: 20rpx;
  149. padding: 20rpx;
  150. image{
  151. width: 60rpx;
  152. height: 60rpx;
  153. }
  154. }
  155. .card-top{
  156. height: 400rpx;
  157. position: relative;
  158. margin: -236rpx 20rpx 0;
  159. border-radius: 20rpx;
  160. background-color: #FFFFFF;
  161. .top{
  162. padding: 40rpx 0 30rpx 60rpx;
  163. display:flex;
  164. justify-content: space-between;
  165. .name{
  166. font-weight: 800;
  167. font-size: 32rpx;
  168. }
  169. .btn{
  170. display: flex;
  171. .image{
  172. display: flex;
  173. justify-content: center;
  174. align-items: center;
  175. border-radius: 50%;
  176. background-color: #FFFFFF;
  177. padding: 8rpx;
  178. image{
  179. width: 20rpx;
  180. height: 20rpx;
  181. }
  182. }
  183. color: #FFFFFF;
  184. border-radius: 50rpx 0 0 50rpx;
  185. padding:8rpx 10rpx 8rpx 35rpx;
  186. background-image: linear-gradient(to right,#FFD67B,#F99200);
  187. }
  188. }
  189. .menu-list{
  190. display: flex;
  191. justify-content: space-around;
  192. padding: 20rpx;
  193. .menu{
  194. width: 48%;
  195. color: #FFFFFF;
  196. display: flex;
  197. flex-direction: column;
  198. align-items: center;
  199. border-radius: 14rpx;
  200. padding:30rpx 20rpx;
  201. .menu-top{
  202. display: flex;
  203. image{
  204. width: 70rpx;
  205. height: 70rpx;
  206. }
  207. }
  208. }
  209. .menu1{
  210. background-color: #5C6186;
  211. }
  212. .menu2{
  213. background-color: #E19D5B;
  214. }
  215. }
  216. }
  217. .market{
  218. border-radius: 20rpx;
  219. margin:140rpx 20rpx 0;
  220. background-color: #FFFFFF;
  221. padding: 30rpx 50rpx 20rpx;
  222. .title{
  223. font-weight: 800;
  224. }
  225. }
  226. .mall{
  227. border-radius: 20rpx;
  228. margin:30rpx 20rpx 0;
  229. background-color: #FFFFFF;
  230. padding: 30rpx 10rpx 20rpx 50rpx;
  231. .title{
  232. font-weight: 800;
  233. }
  234. }
  235. </style>