12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <template>
- <view style="background-color: #fff">
- <uni-nav-bar status-bar=true fixed=true left-icon="arrowleft" :background-color="'#538BE7'" color="#ffffff" @clickLeft="navigateBack">
- <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; ">
- {{meetingNewsDetail.title}}</text>
- <!-- 分享先隐藏 -->
- <!--<view class="navbar-right" slot="right">-->
- <!-- <view class="message-box right-item" @click="share">-->
- <!-- <u-icon name="share-fill" color="white" size="50"></u-icon>-->
- <!-- </view>-->
- <!--</view>-->
- </uni-nav-bar>
- <view class="news-container">
- <view class="">
- <view style="font-size: 36rpx;font-weight: 600;margin-bottom: 20rpx;text-align: center;">{{meetingNewsDetail.title}}</view>
- <view style="font-size: 20rpx;font-weight: 500;margin-bottom: 30rpx;text-align: center;">资料来源 : {{meetingNewsDetail.dataSource}}</view>
- <view class="newsdetail" v-html="meetingNewsDetail.urlDesc"></view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default{
- data(){
- return{
- meetingNewsDetail:{}
- }
- },
- methods:{
- navigateBack(){
- uni.navigateBack();
- },
- async getList(id){
- const res= await this.$myRequest({
- url: '/meeting/meetingOutInfos/getNewsDetail/',
- data: {
- id:id
- },
- header:{
- ANON:true
- }
- });
- console.log(res)
- // this.bannerData = []
- this.meetingNewsDetail = res.data
- },
- },
- onLoad(option) {
- // console.log("option.id", option.id)
- this.getList(option.id)
- },
- }
- </script>
- <style>
- .news-container{
- box-sizing: border-box;
- padding: 60upx 40upx 88upx;
- }
- /deep/ .newsdetail img{
- max-width: 100%;
- }
- </style>
|