|
|
@@ -0,0 +1,79 @@
|
|
|
+<template>
|
|
|
+ <div class="app-content">
|
|
|
+ <!-- 底部 -->
|
|
|
+ <div class="app-footer">
|
|
|
+ <div class="btn-list other-btn">
|
|
|
+ <i class="iconfont iconxiala"></i>
|
|
|
+ <span>其他设置</span>
|
|
|
+ </div>
|
|
|
+ <div class="btn-list">
|
|
|
+ <button class="admin-button-com default" @click="$util.pageTo('/pages/goodsManage/category')">分类管理</button>
|
|
|
+ </div>
|
|
|
+ <div class="btn-list">
|
|
|
+ <button class="admin-button-com blue" @click="$util.pageTo('/pages/goodsManage/add')">新增商品</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <!-- 操作弹窗 -->
|
|
|
+ <operate-line-module v-if="operateShow" :btnData="btnData" :top="800" :right="528" />
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import OperateLineModule from '@/pages/admin/components/module/operate-line'
|
|
|
+export default {
|
|
|
+ name: 'goods-manage-list',
|
|
|
+ components: {
|
|
|
+ OperateLineModule
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ operateShow: true,
|
|
|
+ btnData: [
|
|
|
+ {
|
|
|
+ text: '图库管理',
|
|
|
+ click: () => this.$util.pageTo('/pages/goodsManage/img-store')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ text: '运费设置',
|
|
|
+ click: () => this.$util.pageTo('/pages/goodsManage/freight')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ text: '通用简介',
|
|
|
+ click: () => alert('请在电脑端进行设置!')
|
|
|
+ },
|
|
|
+ {
|
|
|
+ text: '自动涨价',
|
|
|
+ click: () => this.$util.pageTo('/pages/goodsManage/price-increase')
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+ // 底部
|
|
|
+ .app-footer {
|
|
|
+ justify-content: space-between;
|
|
|
+ .btn-list {
|
|
|
+ width: 33.33%;
|
|
|
+ border-left: 1px solid $borderColor;
|
|
|
+ &:first-child {
|
|
|
+ border-left: 0;
|
|
|
+ }
|
|
|
+ .admin-button-com {
|
|
|
+ width: 160px;
|
|
|
+ padding-top: 16px;
|
|
|
+ padding-bottom: 16px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .other-btn {
|
|
|
+ color: $fontColor2;
|
|
|
+ .iconfont {
|
|
|
+ font-size: 24px;
|
|
|
+ color: $fontColor3;
|
|
|
+ transform: scale(0.4);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+</style>
|