Commit 8261118aa49f88026a16db29e59ed41c5b2128b8

Authored by vking
1 parent 55249c0e

taocan-share-pinglun

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