Commit 8261118aa49f88026a16db29e59ed41c5b2128b8

Authored by vking
1 parent 55249c0e

taocan-share-pinglun

  1 +// components/2.0/common/me.js
  2 +Component({
  3 + /**
  4 + * 组件的属性列表
  5 + */
  6 + properties: {
  7 +
  8 + },
  9 +
  10 + /**
  11 + * 组件的初始数据
  12 + */
  13 + data: {
  14 +
  15 + },
  16 +
  17 + /**
  18 + * 组件的方法列表
  19 + */
  20 + methods: {
  21 +
  22 + }
  23 +})
  1 +{
  2 + "component": true,
  3 + "usingComponents": {}
  4 +}
  1 +<!--components/2.0/common/me.wxml-->
  2 +<navigator url="/pages/me/index" hover-class="navigator-hover">
  3 + <view class="me view flex flex-direction align-center justify-center bg-white round">
  4 + <view class="icon view"></view>
  5 + <view class="text">我的</view>
  6 + </view>
  7 +</navigator>
  1 +/* components/2.0/common/me.wxss */
  2 +@import "../../../colorui/main.wxss";
  3 +.me{
  4 + width: 100rpx;
  5 + height: 84rpx;
  6 + background: #FFFFFF;
  7 + box-shadow: 0px 0px 10rpx 0px #E5E5E5;
  8 + border-radius: 200rpx 0px 0px 200rpx;
  9 +
  10 + position: fixed;
  11 + right:0rpx;
  12 + bottom:192rpx;
  13 + z-index: 99;
  14 +}
  15 +.me .icon{
  16 + background-image: url("http://nosqn.colorcun.com/2.0/home%20%284%29.png");
  17 + width: 32rpx;
  18 + height: 32rpx;
  19 +}
  20 +.me .text{
  21 + font-size: 20rpx;
  22 + font-weight: 400;
  23 + color: #5EB2FF;
  24 + line-height: 28rpx;
  25 + white-space:nowrap;
  26 +}
1 { 1 {
2 "component": true, 2 "component": true,
3 "usingComponents": { 3 "usingComponents": {
4 - 4 + "me":"/components/2.0/common/me"
5 } 5 }
6 } 6 }
@@ -15,3 +15,4 @@ @@ -15,3 +15,4 @@
15 <view class="text">订单</view> 15 <view class="text">订单</view>
16 </view> 16 </view>
17 </view> 17 </view>
  18 +<me></me>
@@ -87,6 +87,7 @@ @@ -87,6 +87,7 @@
87 87
88 </view> 88 </view>
89 <getpos bindpos="onpos" id="getpos" hasFailPop></getpos> 89 <getpos bindpos="onpos" id="getpos" hasFailPop></getpos>
  90 +<!--
90 <navigator url="/pages/me/index" hover-class="navigator-hover"> 91 <navigator url="/pages/me/index" hover-class="navigator-hover">
91 <view style="top:{{meTop}}px;" 92 <view style="top:{{meTop}}px;"
92 class="me view flex flex-direction align-center justify-center bg-white round"> 93 class="me view flex flex-direction align-center justify-center bg-white round">
@@ -94,6 +95,7 @@ @@ -94,6 +95,7 @@
94 <view class="text">我的</view> 95 <view class="text">我的</view>
95 </view> 96 </view>
96 </navigator> 97 </navigator>
  98 +-->
97 <!-- 99 <!--
98 100
99 <view class="toast" wx:if="{{hasGetSellersEnd && listMoreCount<1 && !hasSearchLimit}}">该地区没有可供预订的餐厅哦!努力开通中</view> 101 <view class="toast" wx:if="{{hasGetSellersEnd && listMoreCount<1 && !hasSearchLimit}}">该地区没有可供预订的餐厅哦!努力开通中</view>