myManage.vue 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. <template>
  2. <view class="content">
  3. <view class="header">
  4. <image src="../../static/images/skm_fn_bg.png" mode="aspectFill" class="bg-img"></image>
  5. <view class="info-block flex-y-center">
  6. <view class="info">
  7. <view class="title">智慧经营管理</view>
  8. <view class="desc">手机管理方便又快捷</view>
  9. </view>
  10. </view>
  11. </view>
  12. <view class="content-row">
  13. <view class="setup flex-y-center ft32">
  14. 常用应用
  15. </view>
  16. <view class="table">
  17. <view class="table-tr">
  18. <block v-for="(item,index) in power_list" :key='index'>
  19. <navigator v-if="item.id!=561 && item.id!=818" class="table-td" :url="item.address">
  20. <image :src="item.image"></image>
  21. <view>{{item.name}}</view>
  22. </navigator>
  23. <navigator v-if="item.id==818" class="table-td" :url="`${item.address}?sid=${sid}&id=${item.id}`">
  24. <image :src="item.image"></image>
  25. <view>{{item.name}}</view>
  26. </navigator>
  27. <block v-if="item.id==561">
  28. <block v-for="(children,idx) of item.list" :key='idx'>
  29. <navigator :url="`${children.address}?id=${children.id}`"
  30. class="table-td">
  31. <image :src="children.image"></image>
  32. <view>{{children.name}}</view>
  33. </navigator>
  34. </block>
  35. </block>
  36. </block>
  37. <navigator class="table-td" url="/storeInfoIng/bannerList">
  38. <image src="../static/images/icon_9.png" mode=""></image>
  39. <view class="">广告列表</view>
  40. </navigator>
  41. <!-- <navigator class="table-td" url="/saomaDiancan/SystemSet/SystemSet">
  42. <image src="../static/images/icon_5.png" mode=""></image>
  43. <view class="">通用设置</view>
  44. </navigator> -->
  45. <!-- <navigator class="table-td" url="/saomaDiancan/SystemSet/distriAdmin">
  46. <image src="../static/images/ps.png" mode=""></image>
  47. <view class="">聚合配送</view>
  48. </navigator> -->
  49. <!-- <navigator class="table-td" url="/saomaDiancan/SystemSet/subscribe">
  50. <image src="../static/images/icon_2.png" mode=""></image>
  51. <view class="">订阅消息</view>
  52. </navigator> -->
  53. <!-- <navigator class="table-td" url="/storeInfoIng/staff?type=1">
  54. <image src="../static/images/icon_3.png" mode=""></image>
  55. <view class="">员工列表</view>
  56. </navigator>
  57. <navigator class="table-td" url="/storeInfoIng/handover?type=1">
  58. <image src="../static/images/icon_8.png" mode=""></image>
  59. <view class="">交班记录</view>
  60. </navigator> -->
  61. <!--
  62. <navigator class="table-td" url="./xcxList">
  63. <image src="../static/images/icon_4.png" mode=""></image>
  64. <view class="">跳转小程序</view>
  65. </navigator> -->
  66. <!-- <navigator class="table-td" url="../order/juheOrder?type=1">
  67. <image src="../static/images/icon_2.png"></image>
  68. <view class="">订单列表</view>
  69. </navigator>
  70. <navigator class="table-td" url="../order/delivery?type=1">
  71. <image src="../static/images/ps.png"></image>
  72. <view class="">聚合配送费记录</view>
  73. </navigator>
  74. <navigator class="table-td" url="/saomaDiancan/orderList/orderList">
  75. <image src="/static/images/gn_icon_3.png"></image>
  76. <view class="">小程序订单</view>
  77. </navigator>
  78. <navigator class="table-td" url="/saomaDiancan/order/refundRecord">
  79. <image src="/static/images/gn_icon_2.png"></image>
  80. <view class="">退款记录</view>
  81. </navigator> -->
  82. </view>
  83. </view>
  84. </view>
  85. </view>
  86. </template>
  87. <script>
  88. export default {
  89. data() {
  90. return {
  91. // is_admin: 1,
  92. // admin_id: uni.getStorageSync("admin_id"),
  93. power_list:[],
  94. sid:''
  95. }
  96. },
  97. onLoad(e) {
  98. this.sid=e.id;
  99. let { list } = this.$store.state.management_list_store.find((v, i) => v.id == e.id)
  100. this.power_list = list
  101. },
  102. methods: {
  103. }
  104. }
  105. </script>
  106. <style>
  107. .setup {
  108. width: 100%;
  109. height: 90rpx;
  110. opacity: 1;
  111. padding: 0 22rpx;
  112. }
  113. .table,
  114. .table div {
  115. margin: 0 auto;
  116. }
  117. .table {
  118. /* display: table; */
  119. width: 100%;
  120. border-collapse: collapse;
  121. box-sizing: border-box;
  122. }
  123. .table-tr {
  124. /* display: table-row; */
  125. /* height: 92rpx; */
  126. }
  127. .table-th {
  128. display: table-cell;
  129. font-weight: bold;
  130. border: 1rpx solid #FAFAFA;
  131. text-align: center;
  132. vertical-align: middle;
  133. }
  134. .table-td {
  135. display: inline-block;
  136. border: 1rpx solid #FAFAFA;
  137. text-align: center;
  138. vertical-align: middle;
  139. background: #fff;
  140. font-size: 27rpx;
  141. color: #666666;
  142. padding: 62rpx 0;
  143. width: 33.333%;
  144. }
  145. .table-td image {
  146. width: 50rpx;
  147. height: 50rpx;
  148. margin-bottom: 23rpx;
  149. }
  150. .header {
  151. width: 100%;
  152. height: 198rpx;
  153. position: relative;
  154. }
  155. .header .bg-img {
  156. display: block;
  157. position: absolute;
  158. left: 0;
  159. top: 0;
  160. z-index: 1;
  161. width: 100%;
  162. height: 198rpx;
  163. }
  164. .header .info-block {
  165. padding: 0 40rpx 0 48rpx;
  166. height: 198rpx;
  167. position: relative;
  168. z-index: 2;
  169. }
  170. .header .info-block .title {
  171. font-size: 36rpx;
  172. color: #fff;
  173. font-weight: 500;
  174. line-height: 50rpx;
  175. }
  176. .header .info-block .desc {
  177. font-size: 28rpx;
  178. font-weight: 500;
  179. color: #fff;
  180. line-height: 40rpx;
  181. margin-top: 8rpx;
  182. }
  183. .header .info-block .btn {
  184. width: 170rpx;
  185. height: 56rpx;
  186. border-radius: 28rpx;
  187. background-color: rgb(255, 255, 255);
  188. text-align: center;
  189. line-height: 52rpx;
  190. font-size: 28rpx;
  191. font-weight: 500;
  192. color: #3387FF;
  193. }
  194. </style>