applyInformation.vue 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <template>
  2. <view style="position: relative;">
  3. <!-- 胶囊 -->
  4. <mvBar :mysNavConfig="mysNavConfig"></mvBar>
  5. <view :style="{marginTop:navH}"></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. navH: getApp().globalData.navHeight,
  37. account: {},
  38. mysNavConfig: {
  39. /* 开启单页显示首页图标 */
  40. isHome: true,
  41. /* 固定导航 */
  42. navFixed: true,
  43. /* 标题 (屏幕中心居中 两边图标中心居中使用slot center1) */
  44. navTitle: {
  45. text: "我的信息",
  46. color: "",
  47. fontSize: "32rpx", // px upx rpx
  48. fontWeight: "normal", // 100 - 700
  49. },
  50. btnType: "type2",
  51. onLeftClick: '',
  52. /* type2 按钮 */
  53. type2Config: {
  54. // 左图标
  55. leftPath: "/static/img/png2.png",
  56. // 右图标
  57. rightPath: "/static/img/png4.png",
  58. // 圆角
  59. radius: "40rpx",
  60. },
  61. },
  62. }
  63. },
  64. onLoad(options) {
  65. let data = options.textObj.replace(/""/g, "");
  66. data = JSON.parse(decodeURIComponent(data))
  67. this.account = data.account
  68. console.log(this.account)
  69. },
  70. methods: {
  71. }
  72. }
  73. </script>
  74. <style lang="scss" scoped>
  75. .account-info {
  76. padding: 30rpx;
  77. font-size: 30rpx;
  78. .ac-txt {
  79. display: flex;
  80. padding-left: 20rpx;
  81. margin-top: 30rpx;
  82. }
  83. .ac-link {
  84. margin-top: 30rpx;
  85. background-color: #EBEBEB;
  86. padding: 20rpx;
  87. word-wrap: break-word;
  88. word-break: break-all;
  89. overflow: hidden;
  90. /*这个参数根据需求来决定要不要*/
  91. }
  92. .ac-photo {
  93. display: flex;
  94. // align-items: center;
  95. margin: 20rpx;
  96. .ac-photo-img {
  97. width: 300rpx;
  98. height: 300rpx;
  99. padding-left: 30rpx;
  100. }
  101. }
  102. }
  103. </style>