sen
1 天以前 5abcde36961125cbf436f91b8c17610a6b5f8308
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<template>
  <view class="agreement-content">
    <text class="title">{{ content.title }}</text>
    <text class="intro">{{ content.intro }}</text>
    <view v-for="(clause, i) in content.clauses" :key="i" class="clause">
      <text class="heading">{{ clause.number }}、</text>
      <text class="text">{{ clause.text }}</text>
    </view>
    <text class="footer">{{ content.footer }}</text>
    <text class="ending">{{ content.ending }}</text>
    <view class="signature">
      <text v-for="(line, i) in content.signature" :key="i" class="sign-line">{{ line }}</text>
    </view>
  </view>
</template>
 
<script>
export default {
  name: 'AgreementContent',
  props: {
    content: {
      type: Object,
      required: true
    }
  }
}
</script>
 
<style scoped>
.agreement-content {
  line-height: 1.8;
}
 
.title {
  display: block;
  font-size: 32rpx;
  color: #333;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30rpx;
  padding-bottom: 20rpx;
  border-bottom: 1rpx solid #f0f0f0;
}
 
.intro {
  display: block;
  font-size: 28rpx;
  color: #666;
  margin-bottom: 20rpx;
}
 
.clause {
  margin-bottom: 15rpx;
}
 
.heading {
  font-size: 28rpx;
  color: #333;
  font-weight: 500;
}
 
.text {
  font-size: 28rpx;
  color: #666;
}
 
.footer,
.ending {
  display: block;
  font-size: 28rpx;
  color: #666;
  margin-top: 20rpx;
}
 
.signature {
  margin-top: 40rpx;
}
 
.sign-line {
  display: block;
  font-size: 28rpx;
  color: #666;
  margin-top: 15rpx;
  text-align: right;
  padding-right: 30rpx;
}
</style>