yunshangxie/pages/index/new_info.vue

94 lines
2.8 KiB
Vue
Raw Normal View History

2023-12-25 17:56:30 +08:00
<template>
<view style="letter-spacing: 1rpx;">
<tn-nav-bar :isBack="false" backTitle="" :bottomShadow="true" backgroundColor="#FFFFFF">
<view class="custom-nav tn-flex tn-flex-col-center tn-flex-row-left">
<view style="padding-left: 15rpx;" @click="goBack()">
<text class="tn-icon-left" style="font-size: 40rpx;"></text>
</view>
<view class="tn-margin-top"
style=";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;">
<tn-tabs :list="[{name:'详情'}]" :current="topCurrent" activeColor="#000" :bold="false"
:fontSize="36"></tn-tabs>
</view>
</view>
</tn-nav-bar>
<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
<view style="padding: 30rpx;">
<view style="text-align: center;font-size:40rpx;font-weight: 600">团省委书记王笃波一行到访中青 企协开展对接洽谈</view>
<view style="margin-top: 30rpx;color: #999;">
<text>时间2023-12-25</text>
<text style="margin-left: 20rpx;">来源河南青企协</text>
</view>
<view style="width: 100%;height: 2rpx;background-color: #eee;margin-top: 30rpx;"></view>
<view>
<view style="margin-top: 20rpx;position: relative;">
<image src="/static/b1.png"
style="width: 100rpx;height: 100rpx;position: absolute;left: 0;right: 0;top: 38%;z-index: 10;margin: 0 auto;">
</image>
<image src="/static/t7.jpg" style="width: 100%;border-radius: 20rpx;" mode="widthFix">
</image>
</view>
<view style="line-height: 50rpx; text-indent: 2em;margin-top: 20rpx;">
<p>河南省青年企业家协会HeNan Young
EntrepreneursAssociation简称为省青企协是全省性的青年企业家的群众组织是共青团联系青年企业家的桥梁和纽带是具有独立法人资格的非营利性社会团体是中国青年企业家协会河南省青年联合会河南省企业联合会河南省企业家协会的团体会员
</p>
</view>
</view>
</view>
</view>
</view>
</template>
<script>
2024-04-20 17:56:32 +08:00
import {
newsInfo,
} from '@/util/api.js';
import store from '@/store/index.js'
2023-12-25 17:56:30 +08:00
export default {
data() {
return {
topCurrent: 0
}
},
2024-04-20 17:56:32 +08:00
mounted(d) {
console.log(d);
},
2023-12-25 17:56:30 +08:00
methods: {
2024-04-20 17:56:32 +08:00
getNewsInfo() {
activityIndex({
association_id: store.state.Gid,
news_id: this.content
})
.then(res => {
console.log(res);
if (res.code == 1) {
this.actList.push(...res.data.ret);
} else {
this.load_status = 'nomore';
}
})
.catch(error => {
uni.showToast({
title: error,
duration: 2000
});
})
},
2023-12-25 17:56:30 +08:00
goBack() {
if (getCurrentPages().length > 1) {
uni.navigateBack()
} else {
uni.redirectTo({
url: '/pages/index/index'
})
}
}
}
}
</script>
<style>
2024-04-20 17:56:32 +08:00
</style>