12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <template>
- <view class="Privacy">
- <view class="content" v-html="content"></view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- content: '',
- }
- },
- onLoad() {
- let obj = this.$store.getters.allset.privacy
- this.content = obj.value.privacy
- },
- methods: {
- // 获取隐私协议
- // getPrivacy() {
- // this.$loading();
- // this.$api.document.privacy().then(res => {
- // console.log(res, "隐私协议")
- // if (res.code == 0) {
- // this.content = res.data.value.privacy
- // };
- // this.$hideLoading();
- // }).catch(e => {
- // console.log(e)
- // this.$hideLoading()
- // })
- // }
- }
- }
- </script>
- <style lang="scss" scoped>
- $pageColor:#F9F9F9;
- $bgColor:#FFFFFF;
- .Privacy {
- height: 100%;
- background: $bgColor;
- }
- .title {
- height: 82rpx;
- width: 750rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- text {
- font-size: 32rpx;
- font-family: PingFang-SC-Bold, PingFang-SC;
- font-weight: bold;
- color: #333333;
- }
- }
- .content {
- padding: 0 30rpx;
- view {
- margin-bottom: 24rpx;
- text {
- font-size: 28rpx;
- font-family: PingFang-SC-Bold, PingFang-SC;
- font-weight: bold;
- color: #333333;
- }
- }
- }
- </style>
|