Blame view

components/page-foot/page-foot.vue 724 Bytes
4b045f7c   刘淇   江阴初始化项目
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
  <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>