<template>
	<view class="index tn-safe-area-inset-bottom" style="background-color: #f7f7f7;min-height: 100vh;">
	
		<tn-nav-bar customBack>
			<view slot="back" class='tn-custom-nav-bar__back' @click="goBack()">
				<text class='icon tn-icon-left'></text>
			</view>
	
			<view slot="default" style="display: flex;">
				<view style="flex:1;margin-left:25px">
					<text :style="{fontSize:(wxFontSize)+'px'}">联系我们</text>
				</view>
			</view>
		</tn-nav-bar>
	
		<view :style="{paddingTop: vuex_custom_bar_height + 'px'}">
		 <view >
			 
			<view style="margin-top:16px;text-align: center;" @click="showImg">
			  <image mode="aspectFill" src="https://test-oss.lx-device.com/userFeedback/1740384610404D1s.jpg" style="height: 320px;margin-top: 150px;margin-bottom: 20px;"></image>
			</view>
			 
			<view style="text-align: center;"><text style="font-weight: bold;font-size: 20px;">联系我们</text></view>
			 
		 </view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				wxFontSize:17
			}
		},
		onLoad(){
			const appBaseInfo = wx.getAppBaseInfo();
			this.wxFontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;
		},
		methods: {
			goBack() {
				uni.navigateBack();
			},
			showImg(){
				let urls = [];
				urls.push('https://test-oss.lx-device.com/userFeedback/1740384610404D1s.jpg');
				// 预览图片
				uni.previewImage({
					urls: urls,
					current: 0,
				});
			},
			 
		}
	}
</script>


<style lang="scss" scoped>
	/* 胶囊*/
	.tn-custom-nav-bar__back {
		width: 60%;
		height: 100%;
		position: relative;
		display: flex;
		justify-content: space-evenly;
		align-items: center;
		box-sizing: border-box;
		// background-color: rgba(0, 0, 0, 0.15);
		border-radius: 1000rpx;
		border: 1rpx solid rgba(255, 255, 255, 0.5);
		// color: #FFFFFF;
		font-size: 18px;

		.icon {
			display: block;
			flex: 1;
			margin: auto;
			text-align: center;
		}

		&:before {
			content: " ";
			width: 1rpx;
			height: 110%;
			position: absolute;
			top: 22.5%;
			left: 0;
			right: 0;
			margin: auto;
			transform: scale(0.5);
			transform-origin: 0 0;
			pointer-events: none;
			box-sizing: border-box;
			opacity: 0.7;
			background-color: #FFFFFF;
		}
	}
</style>