Просмотр исходного кода

添加开单的额按钮完善

wangn 5 лет назад
Родитель
Сommit
be2a9b4d25

+ 1 - 0
ghsApp/src/admin/home/me.vue

@@ -132,6 +132,7 @@
       :selectItemId.sync="shopId"
       @selectSussess="selectSussess"
     ></DorpdownSelect>
+    <kd-entrance></kd-entrance>
   </view>
 </template>
 

+ 28 - 0
ghsApp/src/components/kd_entrance.vue

@@ -0,0 +1,28 @@
+<template>
+  <image :src="`${constant.imgUrl}/ghs/home/icon_kd.png`" class="icon_kd" @click="pageTo({ url: '/admin/billing/index' })"></image>
+</template>
+
+<script>
+export default {
+  data() {
+    return {
+      constant: this.$constant,
+    }
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.icon_kd{
+  position: fixed;
+  z-index: 9999;
+  bottom: 100upx;
+  right: 50upx;
+  width: 100upx;
+  height: 100upx;
+  // border: 1px solid #ddd;
+  box-sizing: border-box;
+  border-radius: 50%;
+  overflow: hidden;
+}
+</style>

+ 59 - 0
ghsApp/src/components/none-hd.vue

@@ -0,0 +1,59 @@
+<template>
+  <view class="model" v-if="show">
+    <image :src="`${constant.imgUrl}/ghs/home/deserve.png`" class="noData_img"></image>
+    <view class="no_data_text">您还没有花店,无法采购哦~</view>
+    <view class="freeApply" @click=" pageTo({url: '/pagesClient/official/index'})">免费申请</view>
+  </view>
+</template>
+
+<script>
+export default {
+  props: {
+    show:{
+      type:Boolean,
+      default: true
+    },
+  },
+  data() {
+    return {
+      constant: this.$constant,
+    }
+  }
+}
+</script>
+
+<style lang="scss" scoped>
+.model{
+  position: fixed;
+  z-index: 9999;
+  top: 0;
+  left: 0;
+  width: 100vw;
+  height: 100vh;
+  background: rgba(0,0,0, 0.6);
+  color: #fff;
+  text-align: center;
+  &>.noData_img{
+    width: 318upx;
+    height: 318upx;
+    margin: 332upx auto 0;
+  }
+  &>.no_data_text{
+    font-size: 32px;
+    color: #FFFFFF;
+    text-align: center;
+    margin: 50upx 0;
+  }
+  &>.freeApply{
+    width: 376px;
+    height: 88px;
+    line-height: 88upx;
+    background: linear-gradient(90deg, #3385FF, #33B0FF);
+    border-radius: 44px;
+    margin: 0 auto;
+    font-size: 32px;
+    color: #FFFFFF;
+    text-align: center;
+  }
+}
+</style>