You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
724 B
39 lines
724 B
1 year ago
|
<template name="page-foot">
|
||
|
<view class="page-share-title">
|
||
|
<text>感谢{{name}}提供本示例,</text>
|
||
|
<text class="submit" @click="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: 30rpx;
|
||
|
color: #BEBEBE;
|
||
|
padding: 20rpx 0;
|
||
|
}
|
||
|
|
||
|
.submit {
|
||
|
border-bottom: 1rpx solid #BEBEBE;
|
||
|
}
|
||
|
</style>
|