Blame view

components/ncc/ncc-group/index.vue 467 Bytes
290144e9   易尊强   第一次
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
  <template>
  	<view class="ncc-group" :style="{'text-align':contentPosition}">{{content}}</view>
  </template>
  <script>
  	export default {
  		name: 'ncc-group',
  		props: {
  			content: {
  				type: String,
  				default: ''
  			},
  			'content-position': {
  				type: String,
  				default: 'left'
  			},
  		}
  	}
  </script>
  <style lang="scss" scoped>
  	.ncc-group {
  		width: 100%;
  		color: #333333;
  		font-size: 32rpx;
  		line-height: 70rpx;
  		margin: 0;
  		padding: 0 32rpx;
  	}
  </style>