Agreement.vue 606 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <!-- 申请协议 -->
  3. <view>
  4. <view class="argee-title">{{ distributionSet.title }}</view>
  5. <view class="argee-cont"><u-parse :html="distributionSet.desc"></u-parse></view>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. data() {
  11. return {
  12. distributionSet: {}
  13. };
  14. },
  15. onLoad() {
  16. this.distributionSet = this.$store.state.distributionSet;
  17. uni.setNavigationBarTitle({
  18. title: this.distributionSet.title
  19. });
  20. }
  21. };
  22. </script>
  23. <style lang="scss" scoped>
  24. .argee-title {
  25. line-height: 32upx;
  26. padding: 20upx 0;
  27. text-align: center;
  28. }
  29. .argee-cont {
  30. padding: 0 20upx 20upx;
  31. }
  32. </style>