content.vue 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <template>
  2. <view class="content">
  3. <u-parse :content="content" :tagStyle="tagStyle"></u-parse>
  4. </view>
  5. </template>
  6. <script>
  7. export default {
  8. data() {
  9. return {
  10. content:"",
  11. tagStyle: {
  12. img: 'display: block;'
  13. }
  14. }
  15. },
  16. onLoad(val) {
  17. var info=uni.getStorageSync('content');
  18. console.log(this.content)
  19. }
  20. }
  21. </script>
  22. <style scoped lang="scss">
  23. page{
  24. height: 100%;
  25. }
  26. .content{
  27. height: 100%;
  28. }
  29. .logo{
  30. padding-top: 15%;
  31. text-align: center;
  32. image{
  33. width: 80px;
  34. height: 80px;
  35. }
  36. p{
  37. margin: 10px 0px;
  38. font-size: 14px;
  39. }
  40. }
  41. .set-box{
  42. margin-top: 30upx;
  43. background: #fff;
  44. padding: 0 40upx;
  45. .item{
  46. display: flex;
  47. align-items: center;
  48. justify-content: space-between;
  49. padding: 25upx 0;
  50. .left{
  51. display: flex;
  52. align-items: center;
  53. .text{
  54. font-size: 30upx;
  55. color: #666;
  56. }
  57. }
  58. .right{
  59. width: 10upx;
  60. height: 20upx;
  61. }
  62. .right-text{
  63. }
  64. }
  65. }
  66. .contact-btn {
  67. display: inline-block;
  68. position: absolute;
  69. width: 100%;
  70. background: salmon;
  71. opacity: 0;
  72. }
  73. </style>