applyInformation.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <template>
  2. <view style="position: relative;">
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view style="margin-top: 160rpx;"></view>
  6. <view style="font-size: 25rpx;margin: 0rpx 20rpx;align:center;">
  7. <p>这里记录报名时的账号信息,不可更改,合作以报名时的信息为准</p>
  8. </view>
  9. <view class="account-info">
  10. <view class="ac-txt">
  11. <p style="width: 200rpx;">昵称</p>
  12. <p>{{account.platform_nickname}}</p>
  13. </view>
  14. <view class="ac-txt">
  15. <p style="width: 200rpx;">粉丝数</p>
  16. <p>{{account.show_fans_count}}</p>
  17. </view>
  18. <view class="ac-link">
  19. <text>{{account.home_page_url}}</text>
  20. </view>
  21. <view class="ac-photo">
  22. <p>主页截图</p>
  23. <image :src="account.home_page_capture_url" class="ac-photo-img"></image>
  24. </view>
  25. </view>
  26. </view>
  27. </template>
  28. <script>
  29. import mvBar from "@/components/mys_navBar/mysNavBar";
  30. export default {
  31. components: {
  32. mvBar,
  33. },
  34. data() {
  35. return {
  36. account: {},
  37. mysNavConfig: {
  38. /* 开启单页显示首页图标 */
  39. isHome: true,
  40. /* 固定导航 */
  41. navFixed: true,
  42. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  43. navTitle: {
  44. text: "我的信息",
  45. color: "",
  46. fontSize: "32rpx", // px upx rpx
  47. fontWeight: "normal", // 100 - 700
  48. },
  49. btnType: "type2",
  50. onLeftClick: '',
  51. /* type2 按钮 */
  52. type2Config: {
  53. // 左图标
  54. leftPath: "/static/img/png2.png",
  55. // 右图标
  56. rightPath: "/static/img/png4.png",
  57. // 圆角
  58. radius: "40rpx",
  59. },
  60. },
  61. }
  62. },
  63. onLoad(options) {
  64. let data = options.textObj.replace(/""/g, "");
  65. data = JSON.parse(decodeURIComponent(data))
  66. this.account = data.account
  67. console.log(this.account)
  68. },
  69. methods: {
  70. }
  71. }
  72. </script>
  73. <style lang="scss" scoped>
  74. .account-info {
  75. padding: 30rpx;
  76. font-size: 30rpx;
  77. .ac-txt {
  78. display: flex;
  79. padding-left: 20rpx;
  80. margin-top: 30rpx;
  81. }
  82. .ac-link {
  83. margin-top: 30rpx;
  84. background-color: #EBEBEB;
  85. padding: 20rpx;
  86. word-wrap: break-word;
  87. word-break: break-all;
  88. overflow: hidden;
  89. /*这个参数根据需求来决定要不要*/
  90. }
  91. .ac-photo {
  92. display: flex;
  93. align-items: center;
  94. margin: 20rpx;
  95. .ac-photo-img {
  96. width: 300rpx;
  97. height: 300rpx;
  98. padding-left: 30rpx;
  99. }
  100. }
  101. }
  102. </style>