usecenter.wxml 5.0 KB
<!-- <view class="setimgtop commonpadding flex">
  <view class='setimg'>
    <image src="/img/detting.png" mode=""></image>
  </view>
</view> -->
<view class="shangheng"></view>
<view class="commonpadding topbu">
	<view class="edit" bindtap="ziliao" wx:if="{{token!=''}}">
		<image src="/img/edit.png"></image>
	</view>
	<view class="tiezitopone flex">
		<view class="tiezitouhead">
			<image src="{{userinfo.avatar==null?'/img/peopleimg.png':userinfo.avatar}}" mode=""></image>
		</view>

		<view class="zhuyeright" wx:if="{{userinfo.nickname!=null}}">
			<view class="tieziname">{{userinfo.nickname}}</view>
			<view class="star starone flexone" bindtap="rankstar">
				<view class="staritem">
					<image src="/img/star.png" wx:if="{{userinfo.level>=1}}"></image>
					<image src="/img/huangkong.png" wx:if="{{userinfo.level<0.5}}"></image>
					<image src="/img/huangban.png" wx:if="{{userinfo.level>=0.5&&userinfo.level<1}}"></image>
				</view>
				<view class="staritem">
					<image src="/img/star.png" wx:if="{{userinfo.level>=2}}"></image>
					<image src="/img/huangkong.png" wx:if="{{userinfo.level<1.5}}"></image>
					<image src="/img/huangban.png" wx:if="{{userinfo.level>=1.5&&userinfo.level<2}}"></image>
				</view>
				<view class="staritem">
					<image src="/img/star.png" wx:if="{{userinfo.level>=3}}"></image>
					<image src="/img/huangkong.png" wx:if="{{userinfo.level<2.5}}"></image>
					<image src="/img/huangban.png" wx:if="{{userinfo.level>=2.5&&userinfo.level<3}}"></image>
				</view>
				<view class="staritem">
					<image src="/img/star.png" wx:if="{{userinfo.level>=4}}"></image>
					<image src="/img/huangkong.png" wx:if="{{userinfo.level<3.5}}"></image>
					<image src="/img/huangban.png" wx:if="{{userinfo.level>=3.5&&userinfo.level<4}}"></image>
				</view>
				<view class="staritem">
					<image src="/img/star.png" wx:if="{{userinfo.level>=5}}"></image>
					<image src="/img/huangkong.png" wx:if="{{userinfo.level<4.5}}"></image>
					<image src="/img/huangban.png" wx:if="{{userinfo.level>=4.5&&userinfo.level<5}}"></image>
				</view>
			</view>
		</view>

		<view class="zhuyeright logink" wx:else bindtap="userlogin">
			<view class="tieziname">微信登录</view>
		</view>

	</view>
	<view class="text" wx:if="{{userinfo.brief!=null}}">{{userinfo.brief}}</view>


</view>


<view class="jumplist commonpadding">
	<view class="jumpitem flextwo" bindtap='mycollect' data-id="1">
		<view class='jumpleft flexone'>
			<view class="jumpimg">
				<image src="/img/mycollect.png" mode=""></image>
			</view>
			<view class="jumpname">我的收藏</view>
		</view>
		<view class="ordertopright">
			<image src="/img/leftrow.png  " mode=""></image>
		</view>
	</view>
	<view class="jumpitem flextwo" bindtap="mycollect" data-id="2">
		<view class='jumpleft flexone'>
			<view class="jumpimg">
				<image src="/img/qucanting.png" mode=""></image>
			</view>
			<view class="jumpname">去过的餐厅</view>
		</view>
		<view class="ordertopright">
			<image src="/img/leftrow.png  " mode=""></image>
		</view>
	</view>
	<!-- <view class="jumpitem flextwo" bindtap="mycollect" data-id="3">
		<view class='jumpleft flexone'>
			<view class="jumpimg">
				<image src="/img/xiangce.png" mode=""></image>
			</view>
			<view class="jumpname">我的相册</view>
		</view>
		<view class="ordertopright">
			<image src="/img/leftrow.png  " mode=""></image>
		</view>
	</view> -->

	<view class="jumpitem flextwo" bindtap="mycollect" data-id="4">
		<view class='jumpleft flexone'>
			<view class="jumpimg">
				<image src="/img/pinglun.png" mode=""></image>
			</view>
			<view class="jumpname">我的评论</view>
		</view>
		<view class="ordertopright">
			<image src="/img/leftrow.png  " mode=""></image>
		</view>
	</view>

	<view class="jumpitem flextwo" bindtap="mycollect" data-id="5">
		<view class='jumpleft flexone'>
			<view class="jumpimg">
				<image src="/img/tuijian.png" mode=""></image>
			</view>
			<view class="jumpname">我的推荐</view>
		</view>
		<view class="ordertopright">
			<image src="/img/leftrow.png  " mode=""></image>
		</view>
	</view>



</view>
<!-- 底部导航 -->
<v-tab-bar selected="{{selected}}" ></v-tab-bar>
<!-- 底部导航 -->
<!-- <view class="teacherfooter">
	<view class="teacherfootitem" bindtap="footersel" data-id="1">
		<view class="teacherfootitemtop">
			<image src="{{footersel==1?'/img/indexactive.png':'/img/index.png'}}"></image>
		</view>
		<view class="teacherfootname {{footersel==1?'selactive':''}}">首页</view>
	</view>
	<view class="teacherfootitem taste">
		<view class="teacherfootitemtop order">
			<image src="/img/kefu.png"></image>
		</view>
		<view class="teacherfootname selactive">美味君</view>
		<button open-type="contact" class="connect"></button>
	</view>
	<view class="teacherfootitem" bindtap="footersel" data-id="2">
		<view class="teacherfootitemtop ">
			<image src=" {{footersel==2?'/img/personactive.png':'/img/person.png'}}"></image>
		</view>
		<view class="teacherfootname {{footersel==2?'selactive':''}}">我的</view>
	</view>
</view> -->