走访慰问
This commit is contained in:
@@ -64,7 +64,6 @@
|
|||||||
"miniprogram-api-typings": "^3.3.2",
|
"miniprogram-api-typings": "^3.3.2",
|
||||||
"node-sass": "npm:dart-sass@^1.25.0",
|
"node-sass": "npm:dart-sass@^1.25.0",
|
||||||
"postcss-comment": "^2.0.0",
|
"postcss-comment": "^2.0.0",
|
||||||
"sass-loader": "^7.1.0",
|
|
||||||
"uview-ui": "^1.8.4",
|
"uview-ui": "^1.8.4",
|
||||||
"vue-template-compiler": "^2.6.11"
|
"vue-template-compiler": "^2.6.11"
|
||||||
},
|
},
|
||||||
|
|||||||
51
src/apps/AppWalkask/AppWalkask.vue
Normal file
51
src/apps/AppWalkask/AppWalkask.vue
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
<template>
|
||||||
|
<div class="AppWalkask">
|
||||||
|
<u-navbar title="走访慰问" back-icon-color="#fff" title-color="#fff" title-width="300" title-size="36" :background="backgroundNavbar"> </u-navbar>
|
||||||
|
|
||||||
|
<div class="header-top">
|
||||||
|
<u-tabs :list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div v-if="current == 0">0</div>
|
||||||
|
<div v-if="current == 1">1</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: 'AppWalkask',
|
||||||
|
appName: '走访慰问',
|
||||||
|
computed: {},
|
||||||
|
components: {},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
backgroundNavbar: {
|
||||||
|
backgroundColor: '#3975C6',
|
||||||
|
},
|
||||||
|
list: [
|
||||||
|
{
|
||||||
|
name: '全部',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '我的走访',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
current: 0,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad() {},
|
||||||
|
onShow() {},
|
||||||
|
methods: {
|
||||||
|
change(index) {
|
||||||
|
this.current = index
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.AppWalkask {
|
||||||
|
}
|
||||||
|
</style>
|
||||||
Reference in New Issue
Block a user