viewpointEn.vue 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <template>
  2. <view class="">
  3. <uni-nav-bar status-bar=true fixed=true left-icon="arrowleft" :background-color="'#538BE7'" color="#ffffff" @clickLeft="navigateBack">
  4. <text slot="default" style="width:375upx;text-align: center; flex: 1; font-size: 18px; font-weight: bold;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; ">
  5. {{meetingViewpoint.speakGuestEn}} {{meetingViewpoint.positionEn}}</text>
  6. <!-- 分享先隐藏 -->
  7. <!--<view class="navbar-right" slot="right">-->
  8. <!-- <view class="message-box right-item" @click="share">-->
  9. <!-- <u-icon name="share-fill" color="white" size="50"></u-icon>-->
  10. <!-- </view>-->
  11. <!--</view>-->
  12. </uni-nav-bar>
  13. <!-- 顶部返回按钮 -->
  14. <!--<uni-icons type="arrowleft" size="30" class="iconsback" color="#fff" @click="navigateBack"></uni-icons>-->
  15. <!-- 图片 -->
  16. <view>
  17. <image :src="websiteUrl+meetingViewpoint.videoUrl" mode="" style="width: 100%;"></image>
  18. </view>
  19. <!-- 内容描述部分 -->
  20. <view class="content">
  21. <view style="font-size: 40rpx;font-weight: 700;margin-bottom: 20rpx;line-height: 1;">{{meetingViewpoint.speakGuestEn}}</view>
  22. <view style="font-size: 30rpx;font-weight: 700;margin-bottom: 20rpx;line-height: 1;">{{meetingViewpoint.positionEn}}</view>
  23. <view><p style="text-indent:2em">{{meetingViewpoint.ideaContentEn}}</p></view>
  24. </view>
  25. </view>
  26. </template>
  27. <script>
  28. import uniIcons from "@/components/uni-icons/uni-icons.vue";
  29. export default{
  30. data(){
  31. return{
  32. meetingViewpoint:{}
  33. }
  34. },
  35. methods:{
  36. async getList(id){
  37. const res= await this.$myRequest({
  38. url: '/meeting/meetingOutInfos/findSpeakGuestDetail/',
  39. data: {
  40. id:id
  41. },
  42. header:{
  43. ANON:true
  44. }
  45. });
  46. console.log(res)
  47. // this.bannerData = []
  48. this.meetingViewpoint = res.data
  49. },
  50. navigateBack(){
  51. uni.navigateBack();
  52. },
  53. },
  54. onLoad(option) {
  55. // console.log("option.id", option.id)
  56. this.getList(option.id)
  57. },
  58. }
  59. </script>
  60. <style>
  61. page{
  62. /*padding-top: 72rpx;*/
  63. background-color: #fff;
  64. }
  65. .iconsback{
  66. position: fixed;
  67. top: 72rpx;
  68. left: 20rpx;
  69. z-index: 1;
  70. }
  71. .content{
  72. padding: 28px 12px;
  73. }
  74. </style>