|
@@ -0,0 +1,122 @@
|
|
|
+<template>
|
|
|
+ <div class="voice">
|
|
|
+ <div class="top-set">
|
|
|
+ <div class="t-left">
|
|
|
+ 自动接单
|
|
|
+ <span>[时长设置]</span>
|
|
|
+ </div>
|
|
|
+ <div class="t-right">
|
|
|
+ <span>默认下单5分钟后</span>
|
|
|
+ <el-switch />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="voice-content">
|
|
|
+ <div class="top-set" style="border-bottom: 1px solid #eee;">
|
|
|
+ <div class="t-left">
|
|
|
+ 语音播报
|
|
|
+ </div>
|
|
|
+ <div class="t-right">
|
|
|
+ <span>一键开启</span>
|
|
|
+ <el-switch />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="voice-list">
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="8" v-for="(item, index) in voiceList" :key="index">
|
|
|
+ <div class="item">
|
|
|
+ <div class="left">
|
|
|
+ <img src="../../../static/image/voice-icon.png" class="voice-icon" />
|
|
|
+ <span>{{ item.name }}</span>
|
|
|
+ </div>
|
|
|
+ <div class="right">
|
|
|
+ <el-switch />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ voiceList: [
|
|
|
+ { id: 1, name: '新订单提醒', url: '' },
|
|
|
+ { id: 2, name: '配送5分钟无人接单提醒', url: '' },
|
|
|
+ { id: 3, name: '骑手接单提醒', url: '' },
|
|
|
+ { id: 4, name: '骑手取消配送提醒', url: '' },
|
|
|
+ { id: 5, name: '配送超时自动取消提醒', url: '' },
|
|
|
+ { id: 6, name: '配送取消提醒', url: '' },
|
|
|
+ { id: 7, name: '顾客取消订单提醒', url: '' },
|
|
|
+ { id: 8, name: '账户余额不足100元提醒', url: '' },
|
|
|
+ { id: 9, name: '账户余额不足50元提醒', url: '' }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+.voice {
|
|
|
+ .top-set {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ padding: 20px;
|
|
|
+ background-color: #fff;
|
|
|
+ .t-left {
|
|
|
+ font-size: 16px;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 600;
|
|
|
+ color: #333333;
|
|
|
+ span {
|
|
|
+ cursor: pointer;
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #175199;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .t-right {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #B1B1B1;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .voice-content {
|
|
|
+ margin-top: 10px;
|
|
|
+ .voice-list {
|
|
|
+ background-color: #fff;
|
|
|
+ .item {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+ padding: 17px 22px 19px 18px;
|
|
|
+ .left {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ .voice-icon {
|
|
|
+ width: 15px;
|
|
|
+ height: 12px;
|
|
|
+ margin-right: 4px;
|
|
|
+ margin-top: 2px;
|
|
|
+ }
|
|
|
+ span {
|
|
|
+ font-size: 14px;
|
|
|
+ font-family: PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #333333;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|