first commit
This commit is contained in:
38
components/page-foot.vue
Normal file
38
components/page-foot.vue
Normal file
@ -0,0 +1,38 @@
|
||||
<template name="page-foot">
|
||||
<view class="page-share-title">
|
||||
<text>感谢{{name}}提供本示例,</text>
|
||||
<text class="submit" @tap="submit">我也提交</text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "page-foot",
|
||||
props: {
|
||||
name: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
submit() {
|
||||
uni.showModal({
|
||||
content:"hello uni-app开源地址为https://github.com/dcloudio/uni-app/tree/master/examples,请在这个开源项目上贡献你的代码",
|
||||
showCancel:false
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.page-share-title {
|
||||
text-align: center;
|
||||
font-size: 30upx;
|
||||
color: #BEBEBE;
|
||||
padding: 20upx 0;
|
||||
}
|
||||
|
||||
.submit {
|
||||
border-bottom: 1upx solid #BEBEBE;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user