123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232 |
- <template>
- <div>
- <div v-show="isLogin==false">
- <div style="text-align: center;margin: 137px 0 94px 0">
- <img class="loginTip" src="@/assets/img/country/defaltback2.png" alt="">
- </div>
- <div style="margin-bottom: 54px">
- <div class="moreContent">{{$t('common.ForMore')}}</div>
- <div style="width: 190px;height: 37px;background-color: rgba(24, 144, 255, 1);margin: 15px auto;cursor: pointer;text-align: center" @click="toViewLogin=true">
- <span style="font-size: 18px;font-weight: 400;color: #FFFFFF;line-height: 38px;" >{{$t('common.resourceLogIn')}}</span>
- </div>
- <LoginMusk :toViewLogin="toViewLogin" @LoginBack="LoginBack"></LoginMusk>
- </div>
- </div>
- <div v-show="isLogin==true">
- <div style="margin: 0 30px;" v-for="(item,index) in enterprise">
- <div class="enterprise_style">
- <span class="enterprise_style_span" style="padding: 10px;text-align: center;height: 100%;color: #2C558A;border-bottom: 2px solid #6699ff;">
- <span style="display: inline-block;width: 10px;height: 10px;background: #0B82FF;border-radius: 50%;"></span>
- {{item.title}}
- </span>
- </div>
- <p style="margin-top: 15px;color: #666;margin-left: 35px;min-height: 300px;margin-right: 35px;">
- <!-- <img :src="'api/file/pub/' + item.pictureUrl" alt="" class="right" width="400px">-->
- <span style="color: #666666;" v-html="item.contentHtml"></span>
- <!-- <span style="color: #02558a;margin-left: 25px;" class="cursor" @click="toView('countryInformationDetails','')">详情</span> -->
- </p>
- </div>
- </div>
- </div>
- </template>
- <script>
- import {getCountry,getInformationList} from '@/api/country/countryList';
- import LoginMusk from '@/components/LoginMusk'
- export default {
- name: 'countryDevelopmentGuidelines',
- props:['id'],
- data () {
- return {
- enterpriseDetails:'',
- informationsClass:'1',
- enterprise:[],
- isLogin:false,
- toViewLogin:false
- }
- },
- created(){
- },
- mounted(){
- this.getCountryData();// 获取开发指引
- if(this.$Cookies.get('token')){
- this.isLogin = true;
- }else{
- this.isLogin = false;
- }
- },
- watch:{
- '$i18n.locale'(){
- this.getCountryData();
- }
- },
- methods:{
- getCountryData(){
- let list={
- pageSize:5,
- pageNo:1,
- businessType:'countryShow',
- businessId:this.id,
- typeDict:5,
- language:this.$i18n.locale.toUpperCase(),
- }
- getInformationList(list).then(res=>{
- this.enterprise=res.data?res.data.allDataList:[];
- })
- },
- getIconUrl(url){
- return require("@/assets/img/realTimeInfo/"+url);
- },
- toView(router,json){
- this.$router.push({name:router,params:json})
- },
- screenBack(data){
- console.log(data,'screenBackscreenBackscreenBackscreenBack')
- },
- screen(i){
- this.index=i
- },
- getInformation(num){
- this.informationsClass=num
- },
- LoginBack (data) {
- this.toViewLogin = false;
- },
- }
- }
- </script>
- <!-- Add "scoped" attribute to limit CSS to this component only -->
- <style scoped>
- .box {
- margin-top: 10px;
- background: #fff;
- /* height: 500px; */
- padding: 20px 0;
- }
- .crumbs {
- margin-left: 20px;
- }
- body {
- margin: 0;
- }
- .swipers {
- position: absolute;
- top: 30px;
- left: 100px;
- width: 460px;
- height: 390px;
- }
- .details {
- position: absolute;
- top: 30px;
- left: 600px;
- width: 460px;
- height: 390px;
- }
- .swiper-container {
- width: 100%;
- height: 300px;
- margin-left: auto;
- margin-right: auto;
- }
- .swiper-slide {
- background-size: cover;
- background-position: center;
- }
- .gallery-top {
- height: 80%;
- width: 100%;
- }
- .gallery-thumbs {
- height: 20%;
- box-sizing: border-box;
- padding: 10px 0;
- }
- .gallery-thumbs .swiper-slide {
- width: 25%;
- height: 100%;
- opacity: 0.4;
- }
- .gallery-thumbs .swiper-slide-thumb-active {
- opacity: 1;
- }
- .initData_label {
- color: #6c8c9d;
- font-weight: 700;
- font-size: 18px;
- line-height: 42px;
- }
- .enterprise_style{
- line-height: 40px;
- color: #2C558A;
- /* padding-left: 100px; */
- font-size: 18px;
- /* font-weight: 700; */
- margin-top: 5px;
- margin-left: 20px;
- /* border-bottom: 1px solid #95d13e; */
- }
- .enterprise_style_span {
- /* padding: 10px; */
- text-align: center;
- height: 100%;
- /* background: #95d13e; */
- color: #2C558A;
- /* border-bottom: 2px solid #6699ff; */
- }
- .enterprise_style_product tr {
- line-height: 30px;
- width: 100%;
- display: inline-block;
- border-bottom: 1px dashed #ccc;
- font-size: 14px;
- color: #6C819D;
- margin-bottom: 5px;
- }
- .recommend {
- margin-top:15px;
- margin-left: 20px;
- }
- .recommend li{
- display: inline-block;
- width: 170px;
- /* height: 130px; */
- text-align: center;
- margin-right: 15px;
- }
- .information1 {
- display: inline-block;
- width: 123px;
- height: 100%;
- border:1px solid rgba(228, 228, 228, 1);
- text-align: center;
- background: #f9f9f9;
- color: #999;
- }
- .information2 {
- display: inline-block;
- width: 123px;
- height: 100%;
- border-top:3px solid #2c5589;
- text-align: center;
- color: #2c5589;
- }
- .information1:hover {
- color: #FF0036;
- }
- img.right {
- float: right;
- }
- .moreContent{
- text-align: center;
- font-size:18px;
- font-weight: 600;
- }
- .loginTip{
- width: 1046px;
- height: 364px;
- }
- </style>
|