adv.vue
2.0 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<template>
<view class="panel">
<view class="panel-item panel-item-bottom">
<text class="panel-text">彩店类型</text>
</view>
<view class="panel-item">
<view class="panel-text">海报显示名称水印</view>
<switch class="switch" :checked="true" color="#1A9BFC" />
</view>
<view class="panel-txt">
<input type="text" class="panel-txt-txt" placeholder="彩店名称" />
</view>
<view class="panel-item-bottom panel-top"></view>
<view class="panel-item">
<text class="panel-text">海报显示店主二维码</text>
<!-- <liSwitch :checked="true" width="90" bg="#1A9BFC" /> -->
<switch class="switch" :checked="true" color="#1A9BFC" />
</view>
<view class="panel-img">
<imgUpload />
</view>
<button type="default" class="btn" @click="subimit">提交</button>
</view>
</template>
<script>
import imgUpload from '@/components/chooseImage/chooseImage.vue'
export default {
components:{
imgUpload
},
data() {
return {
}
},
methods: {
subimit(){
uni.showToast({
title:'接口暂未实现'
})
}
}
}
</script>
<style>
.panel {
font-size: 14px;
}
.panel-item {
padding: 12px 20px;
display: flex;
justify-content: space-between;
background-color: #FFFFFF;
}
.panel-top {
margin-top: 15px;
}
.panel-item-bottom {
border-bottom: solid 1px #F5F5F5;
}
.panel-text {
color: #000;
word-wrap: break-word;
line-height: 30px;
height: 30px;
text-align: center;
}
.panel-txt {
width: calc(100vw - 40px);
margin: 5px 20px;
background-color: #F5F5F5;
}
.panel-txt-txt {
margin: 0 20px;
color: #8c8c8c8c;
background-color: #F5F5F5;
height: 38px;
}
.switch{
transform: scale(0.7,0.7);
}
.panel-img{
height: 90px;
padding: 0px 20px;
}
.btn {
height: 44px;
margin-top: 15px;
background-color: #D23338;
color: #FFFFFF;
}
</style>