18 changed files with 588 additions and 93 deletions
-
12src/pages.json
-
55src/subpackage/account/components/jurisdiction_item.vue
-
0src/subpackage/account/components/permission_item.vue
-
2src/subpackage/account/components/select_container.vue
-
22src/subpackage/account/pages/message/edit.vue
-
101src/subpackage/account/pages/message/info.vue
-
53src/subpackage/account/pages/message/modules/edit/subscribe_function.vue
-
46src/subpackage/account/pages/message/modules/edit/subscribe_stadium.vue
-
18src/subpackage/account/pages/permission/edit.vue
-
56src/subpackage/account/pages/permission/modules/edit/admin_jurisdiction.vue
-
53src/subpackage/account/pages/permission/modules/edit/cashier_jurisdiction.vue
-
53src/subpackage/account/pages/permission/modules/edit/min_jurisdiction.vue
-
44src/subpackage/account/pages/permission/modules/edit/stadium_jurisdiction.vue
-
2src/subpackage/account/pages/permission/modules/info/cashier_permission.vue
-
2src/subpackage/account/pages/permission/modules/info/min_permission.vue
-
2src/subpackage/account/pages/permission/modules/info/stadium_permission.vue
@ -0,0 +1,55 @@ |
|||||
|
<template> |
||||
|
<view class="jurisdiction-item" :class="{ active, centre }"> |
||||
|
<view class="ji-txt">账号&订阅</view> |
||||
|
<image class="ji-tag"></image> |
||||
|
</view> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
props: { |
||||
|
centre: { |
||||
|
type: Boolean, |
||||
|
default: false |
||||
|
}, |
||||
|
active: { |
||||
|
type: Boolean, |
||||
|
default: false |
||||
|
}, |
||||
|
}, |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss"> |
||||
|
.jurisdiction-item{ |
||||
|
position: relative; |
||||
|
padding: 0 10upx; |
||||
|
height: 92upx; |
||||
|
border: 1px solid #CDCDCD; |
||||
|
border-radius: 10upx; |
||||
|
overflow: hidden; |
||||
|
@include ctf; |
||||
|
.ji-txt{ |
||||
|
@include flcw(28upx, 40upx, #9C9C9F); |
||||
|
@include tHide; |
||||
|
} |
||||
|
.ji-tag{ |
||||
|
position: absolute; |
||||
|
right: 0; |
||||
|
bottom: 0; |
||||
|
width: 30upx; |
||||
|
height: 30upx; |
||||
|
background: skyblue; |
||||
|
} |
||||
|
&.centre{ |
||||
|
@include ctf(center); |
||||
|
} |
||||
|
&.active{ |
||||
|
background: #E0F6F0; |
||||
|
border-color: #E0F6F0; |
||||
|
.ji-txt{ |
||||
|
color: #1A1A1A; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</style> |
@ -0,0 +1,53 @@ |
|||||
|
<template> |
||||
|
<select-container title="订阅模块"> |
||||
|
<view class="jurisdiction-content"> |
||||
|
<view class="mjc-item" v-for="i in 3" :key="i"> |
||||
|
<jurisdiction-item |
||||
|
centre |
||||
|
:active='i%2 === 0' |
||||
|
></jurisdiction-item> |
||||
|
</view> |
||||
|
</view> |
||||
|
|
||||
|
</select-container> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import select_container from '../../../../components/select_container.vue'; |
||||
|
import jurisdiction_item from '../../../../components/jurisdiction_item.vue'; |
||||
|
export default { |
||||
|
components: { |
||||
|
'select-container': select_container, |
||||
|
'jurisdiction-item': jurisdiction_item |
||||
|
}, |
||||
|
data(){ |
||||
|
return { |
||||
|
|
||||
|
} |
||||
|
}, |
||||
|
onLoad(){ |
||||
|
|
||||
|
}, |
||||
|
methods: { |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss"> |
||||
|
.jurisdiction-content{ |
||||
|
padding: 0 20upx; |
||||
|
display: flex; |
||||
|
flex-wrap: wrap; |
||||
|
justify-content: space-between; |
||||
|
.mjc-item{ |
||||
|
flex-shrink: 0; |
||||
|
flex-grow: 0; |
||||
|
width: 322upx; |
||||
|
&:nth-child(n + 3){ |
||||
|
margin-top: 20upx; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
</style> |
@ -0,0 +1,46 @@ |
|||||
|
<template> |
||||
|
<select-container title="订阅门店"> |
||||
|
<view class="jurisdiction-content"> |
||||
|
<view class="mjc-item" v-for="i in 3" :key="i"> |
||||
|
<jurisdiction-item |
||||
|
:active='i%2 === 0' |
||||
|
></jurisdiction-item> |
||||
|
</view> |
||||
|
</view> |
||||
|
|
||||
|
</select-container> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import select_container from '../../../../components/select_container.vue'; |
||||
|
import jurisdiction_item from '../../../../components/jurisdiction_item.vue'; |
||||
|
export default { |
||||
|
components: { |
||||
|
'select-container': select_container, |
||||
|
'jurisdiction-item': jurisdiction_item |
||||
|
}, |
||||
|
data(){ |
||||
|
return { |
||||
|
|
||||
|
} |
||||
|
}, |
||||
|
onLoad(){ |
||||
|
|
||||
|
}, |
||||
|
methods: { |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss"> |
||||
|
.jurisdiction-content{ |
||||
|
padding: 0 20upx; |
||||
|
.mjc-item{ |
||||
|
&:nth-child(n + 2){ |
||||
|
margin-top: 8upx; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
</style> |
@ -0,0 +1,56 @@ |
|||||
|
<template> |
||||
|
<info-container title="后台权限"> |
||||
|
<template v-slot:title-right> |
||||
|
<view class="aj-title-right"> |
||||
|
<switch color="#009874" style="transform:scale(0.7)"></switch> |
||||
|
</view> |
||||
|
</template> |
||||
|
<template v-slot:content> |
||||
|
<view class="aj-content"> |
||||
|
<picker> |
||||
|
<view class="ac-frame"> |
||||
|
<input class="af-ipt" disabled type="text" /> |
||||
|
<image class="af-icon"></image> |
||||
|
</view> |
||||
|
</picker> |
||||
|
</view> |
||||
|
</template> |
||||
|
</info-container> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import infoContainer from '../../../../components/info_container.vue'; |
||||
|
export default { |
||||
|
components: { |
||||
|
'info-container': infoContainer |
||||
|
}, |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss"> |
||||
|
.aj-title-right{ |
||||
|
@include ctf(flex-end); |
||||
|
} |
||||
|
.aj-content{ |
||||
|
padding: 0 20upx; |
||||
|
.ac-frame{ |
||||
|
padding: 0 20upx; |
||||
|
height: 92upx; |
||||
|
border-radius: 10upx; |
||||
|
background: #F2F2F7; |
||||
|
@include ctf(space-between); |
||||
|
.af-ipt{ |
||||
|
flex: 1; |
||||
|
height: 100%; |
||||
|
@include flcw(28upx, 40upx, #1A1A1A); |
||||
|
} |
||||
|
.af-icon{ |
||||
|
margin-left: 10upx; |
||||
|
flex-shrink: 0; |
||||
|
width: 28upx; |
||||
|
height: 28upx; |
||||
|
background: skyblue; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
</style> |
@ -0,0 +1,53 @@ |
|||||
|
<template> |
||||
|
<select-container title="收银系统权限"> |
||||
|
<view class="jurisdiction-content"> |
||||
|
<view class="mjc-item" v-for="i in 3" :key="i"> |
||||
|
<jurisdiction-item |
||||
|
centre |
||||
|
:active='i%2 === 0' |
||||
|
></jurisdiction-item> |
||||
|
</view> |
||||
|
</view> |
||||
|
|
||||
|
</select-container> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import select_container from '../../../../components/select_container.vue'; |
||||
|
import jurisdiction_item from '../../../../components/jurisdiction_item.vue'; |
||||
|
export default { |
||||
|
components: { |
||||
|
'select-container': select_container, |
||||
|
'jurisdiction-item': jurisdiction_item |
||||
|
}, |
||||
|
data(){ |
||||
|
return { |
||||
|
|
||||
|
} |
||||
|
}, |
||||
|
onLoad(){ |
||||
|
|
||||
|
}, |
||||
|
methods: { |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss"> |
||||
|
.jurisdiction-content{ |
||||
|
padding: 0 16upx; |
||||
|
display: flex; |
||||
|
flex-wrap: wrap; |
||||
|
.mjc-item{ |
||||
|
flex-shrink: 0; |
||||
|
flex-grow: 0; |
||||
|
width: 216upx; |
||||
|
margin: 0 4upx; |
||||
|
&:nth-child(n + 4){ |
||||
|
margin-top: 8upx; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
</style> |
@ -0,0 +1,53 @@ |
|||||
|
<template> |
||||
|
<select-container title="商家助手小程序权限"> |
||||
|
<view class="jurisdiction-content"> |
||||
|
<view class="mjc-item" v-for="i in 5" :key="i"> |
||||
|
<jurisdiction-item |
||||
|
centre |
||||
|
:active='i%2 === 0' |
||||
|
></jurisdiction-item> |
||||
|
</view> |
||||
|
</view> |
||||
|
|
||||
|
</select-container> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import select_container from '../../../../components/select_container.vue'; |
||||
|
import jurisdiction_item from '../../../../components/jurisdiction_item.vue'; |
||||
|
export default { |
||||
|
components: { |
||||
|
'select-container': select_container, |
||||
|
'jurisdiction-item': jurisdiction_item |
||||
|
}, |
||||
|
data(){ |
||||
|
return { |
||||
|
|
||||
|
} |
||||
|
}, |
||||
|
onLoad(){ |
||||
|
|
||||
|
}, |
||||
|
methods: { |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss"> |
||||
|
.jurisdiction-content{ |
||||
|
padding: 0 16upx; |
||||
|
display: flex; |
||||
|
flex-wrap: wrap; |
||||
|
.mjc-item{ |
||||
|
flex-shrink: 0; |
||||
|
flex-grow: 0; |
||||
|
width: 216upx; |
||||
|
margin: 0 4upx; |
||||
|
&:nth-child(n + 4){ |
||||
|
margin-top: 8upx; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
</style> |
@ -0,0 +1,44 @@ |
|||||
|
<template> |
||||
|
<select-container title="门店权限"> |
||||
|
<view class="jurisdiction-content"> |
||||
|
<view class="mjc-item" v-for="i in 4" :key="i"> |
||||
|
<jurisdiction-item |
||||
|
:active='i%2 === 0' |
||||
|
></jurisdiction-item> |
||||
|
</view> |
||||
|
</view> |
||||
|
|
||||
|
</select-container> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import select_container from '../../../../components/select_container.vue'; |
||||
|
import jurisdiction_item from '../../../../components/jurisdiction_item.vue'; |
||||
|
export default { |
||||
|
components: { |
||||
|
'select-container': select_container, |
||||
|
'jurisdiction-item': jurisdiction_item |
||||
|
}, |
||||
|
data(){ |
||||
|
return { |
||||
|
|
||||
|
} |
||||
|
}, |
||||
|
onLoad(){ |
||||
|
|
||||
|
}, |
||||
|
methods: { |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style lang="scss"> |
||||
|
.jurisdiction-content{ |
||||
|
padding: 0 16upx; |
||||
|
.mjc-item + .mjc-item{ |
||||
|
margin-top: 8upx; |
||||
|
} |
||||
|
} |
||||
|
|
||||
|
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue