|
@@ -1,6 +1,53 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <div class="app-content">
|
|
|
|
|
- <!-- 图片上传成功! -->
|
|
|
|
|
|
|
+ <div class="app-content" @click="dropdownShow = false">
|
|
|
|
|
+ <!-- bar -->
|
|
|
|
|
+ <div class="bar-wrap">
|
|
|
|
|
+ <dropdown-list :show="dropdownShow" :top="60" :width="400" :height="400">
|
|
|
|
|
+ <template v-slot:selectionbox>
|
|
|
|
|
+ <div class="sel-open-btn" @click.stop="dropdownShow = true">
|
|
|
|
|
+ <span>全部</span>
|
|
|
|
|
+ <i class="iconfont iconsanjiao_xia"></i>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ <template v-slot:dropdownbox>
|
|
|
|
|
+ <div class="sel-list-wrap">
|
|
|
|
|
+ <scroll-view scroll-y class="tui-dropdown-scroll">
|
|
|
|
|
+ <div class="sel-list">花束</div>
|
|
|
|
|
+ <div class="sel-list">花盒</div>
|
|
|
|
|
+ <div class="sel-list">开业花篮</div>
|
|
|
|
|
+ </scroll-view>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </dropdown-list>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <i class="iconfont iconfenxiang1"></i>
|
|
|
|
|
+ <span>分享</span>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- list -->
|
|
|
|
|
+ <div class="list-wrap">
|
|
|
|
|
+ <div class="list" v-for="(item, index) in 10" :key="index">
|
|
|
|
|
+ <div class="list-img">
|
|
|
|
|
+ <img src="../../static/images/extension.png" alt="" mode="widthFix" >
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="list-det">
|
|
|
|
|
+ <div class="app-size-28">天使没人</div>
|
|
|
|
|
+ <div class="flex-center-between">
|
|
|
|
|
+ <div v-if="index == 4" class="app-price">¥8551</div>
|
|
|
|
|
+ <div v-else class="app-color-3">暂无</div>
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <i class="iconfont iconcaozuo"></i>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- button -->
|
|
|
|
|
+ <div class="app-footer">
|
|
|
|
|
+ <button class="admin-button-com middle default">查看分类</button>
|
|
|
|
|
+ <button class="admin-button-com middle blue">新增</button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <!-- 图片上传成功弹窗! -->
|
|
|
<modal-module :show="settingModal" :custom="true" @cancel="modalCancel" @click="modalClick" padding="30rpx 30rpx">
|
|
<modal-module :show="settingModal" :custom="true" @cancel="modalCancel" @click="modalClick" padding="30rpx 30rpx">
|
|
|
<template>
|
|
<template>
|
|
|
<div class="upload-confirm-wrap">
|
|
<div class="upload-confirm-wrap">
|
|
@@ -34,8 +81,8 @@
|
|
|
</div>
|
|
</div>
|
|
|
<!-- button -->
|
|
<!-- button -->
|
|
|
<div class="redeem-btn">
|
|
<div class="redeem-btn">
|
|
|
- <div class="admin-button-com default big" @click="modalCancel">取消</div>
|
|
|
|
|
- <div class="admin-button-com blue big">确定</div>
|
|
|
|
|
|
|
+ <button class="admin-button-com default big" @click="modalCancel">取消</button>
|
|
|
|
|
+ <button class="admin-button-com blue big">确定</button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -45,13 +92,16 @@
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import ModalModule from '@/components/plugin/modal'
|
|
import ModalModule from '@/components/plugin/modal'
|
|
|
|
|
+import DropdownList from '@/components/plugin/dropdown-list'
|
|
|
export default {
|
|
export default {
|
|
|
name: 'image-store',
|
|
name: 'image-store',
|
|
|
components: {
|
|
components: {
|
|
|
- ModalModule
|
|
|
|
|
|
|
+ ModalModule,
|
|
|
|
|
+ DropdownList
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
|
|
+ dropdownShow: false,
|
|
|
settingModal: false,
|
|
settingModal: false,
|
|
|
// modal 选择分类
|
|
// modal 选择分类
|
|
|
selBtnData: [
|
|
selBtnData: [
|
|
@@ -88,6 +138,75 @@ export default {
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
|
+ .app-content {
|
|
|
|
|
+ min-height: calc(100vh - 200px);
|
|
|
|
|
+ padding-top: 100px;
|
|
|
|
|
+ padding-bottom: 100px;
|
|
|
|
|
+ }
|
|
|
|
|
+ // bar
|
|
|
|
|
+ .bar-wrap {
|
|
|
|
|
+ position: fixed;
|
|
|
|
|
+ top: 0;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ height: 80px;
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ @include disFlex(center, space-between);
|
|
|
|
|
+ font-size: 28px;
|
|
|
|
|
+ color: $fontColor2;
|
|
|
|
|
+ & > div {
|
|
|
|
|
+ padding: 0 30px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .iconfont {
|
|
|
|
|
+ color: $fontColor2;
|
|
|
|
|
+ }
|
|
|
|
|
+ .iconsanjiao_xia {
|
|
|
|
|
+ font-size: 24px;
|
|
|
|
|
+ margin-left: 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .iconfenxiang1 {
|
|
|
|
|
+ font-size: 36px;
|
|
|
|
|
+ margin-right: 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+ // 下拉框
|
|
|
|
|
+ .sel-open-btn {
|
|
|
|
|
+ padding-left: 30px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .sel-list-wrap {
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ box-shadow: 6px 6px 10px #cccccc;
|
|
|
|
|
+ .sel-list {
|
|
|
|
|
+ padding: 20px 30px;
|
|
|
|
|
+ // border-top: 1px solid $borderColor;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ // list
|
|
|
|
|
+ .list-wrap {
|
|
|
|
|
+ @include disFlex(flex-start, flex-start);
|
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
+ .list {
|
|
|
|
|
+ width: 30%;
|
|
|
|
|
+ margin-left: 2.5%;
|
|
|
|
|
+ margin-bottom: 20px;
|
|
|
|
|
+ background-color: #fff;
|
|
|
|
|
+ .list-det {
|
|
|
|
|
+ padding: 10px;
|
|
|
|
|
+ & > div {
|
|
|
|
|
+ margin-top: 10px;
|
|
|
|
|
+ }
|
|
|
|
|
+ .iconfont {
|
|
|
|
|
+ color: $fontColor3;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ // 按钮
|
|
|
|
|
+ .app-footer {
|
|
|
|
|
+ justify-content: space-evenly;
|
|
|
|
|
+ .admin-button-com {
|
|
|
|
|
+ width: 46%;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
// 弹窗
|
|
// 弹窗
|
|
|
.upload-confirm-wrap {
|
|
.upload-confirm-wrap {
|
|
|
.modal-tit {
|
|
.modal-tit {
|
|
@@ -127,7 +246,7 @@ export default {
|
|
|
margin-top: 40px;
|
|
margin-top: 40px;
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
.admin-button-com {
|
|
.admin-button-com {
|
|
|
- width: 40%;
|
|
|
|
|
|
|
+ width: 48%;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|