diff --git a/src/api/api.js b/src/api/api.js index e2ce58d..85f2234 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -121,7 +121,7 @@ class httpApi { method: 'post' }) - //设置为系统模板 + //设置为模板 saveDefaultTemplate = data => httpAjax({ url: '/adm/shopTemplate/saveDefaultTemplate', data, diff --git a/src/components/createTemplate/index.vue b/src/components/createTemplate/index.vue index d8607fd..56f1e00 100644 --- a/src/components/createTemplate/index.vue +++ b/src/components/createTemplate/index.vue @@ -12,63 +12,55 @@ - - - - - - 使用空白模板 - - - - 使用模板 - - - - - - - - - {{ item.name }} - - - - + + + + 使用模板 - - - + /> + 空白模板 + + + + + + + {{ item.name }} + 使用模板 + + + + - - @@ -141,47 +133,28 @@ export default { overflow-x: scroll; display: flex; padding: 10px; - /* 模板列表 */ - .templateList { - width: 184px; - height: 380px; - position: relative; - transition: all 1s; - transform: translateY(0); - margin-top: 10px; - margin-left: 20px; - border-radius: 4px 4px 0 0; - border: 1px solid #f2f2f2; + } + } + /deep/.el-row { + width: 896px; + .el-card { + margin-bottom: 30px; + .el-card__body { + height: 385px; display: flex; justify-content: center; align-items: center; flex-direction: column; - - .entyTemplate { - width: 185px; + .bottom { + width: 100%; display: flex; - flex-direction: column; - justify-content: center; + justify-content: space-between; align-items: center; - } - .hove { - display: none; - } - - &:hover { - transform: translateY(-5px); - margin-top: -10px; - /* 进入事件 */ - .hove { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - background-color: rgba(0, 0, 0, 0.6); - display: flex; - justify-content: center; - align-items: center; + .name{ + width: 70%; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; } } } diff --git a/src/layout/screen/index.vue b/src/layout/screen/index.vue new file mode 100644 index 0000000..a832dd0 --- /dev/null +++ b/src/layout/screen/index.vue @@ -0,0 +1,689 @@ + + + + + + + + + 跳过 + + + + + + + + {{ activeNumber + '/' + img_content.length }} + + + + + + + + + + + + 首次打开商城时 + 按周期显示 + + + 每 + + 天 + + 显示一次 + + + + + + + + + 建议图片尺寸:1080px*1920px + + + + + + + + + + + + + + + + + + + 保存 + + + + + diff --git a/src/views/establishShop/index.vue b/src/views/establishShop/index.vue index bd0fb83..3ce6c39 100644 --- a/src/views/establishShop/index.vue +++ b/src/views/establishShop/index.vue @@ -116,9 +116,9 @@ {{ props.row.name }} - + {{ props.row.createTime }} @@ -167,7 +167,7 @@ - + - 设置为系统模板设置为模板 导出配置 - - @@ -337,8 +316,8 @@ - - 配置管理 + + @@ -354,6 +333,7 @@
- 使用空白模板 -
- {{ item.name }} -