Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
a936517180
2 changed files with 117 additions and 406 deletions
  1. 268
      pages/home/index/index.wxml
  2. 255
      pages/home/index/index.wxss

268
pages/home/index/index.wxml

@ -51,163 +51,121 @@
<text wx:else class="vipImgText">开通会员</text>
</view>
</view>
<view class="zt">
<view class="dmArea1">
<view class="dmArea1-top">
<view class="dmArea1-top-left">
<text class="dmArea1-top-left-text">代卖订单</text>
</view>
<view class="dmArea1-top-right" id="agentall" is-link bindtap="toPage">
<view class="dmArea1-top-right-inoc">
<image class="dmArea1-top-right-inoc-class" src="/assets/myinfo/incon13.png"></image>
</view>
<text class="dmArea1-top-right-text">查看更多订单</text>
</view>
</view>
<view class="boderLine"></view>
<view class="dmArea1-bottom">
<view class="dmArea1-bottom-zt" id="agent50" is-link bindtap="toPage">
<view class="dmArea1-bottom-zt-topIcon">
<image class="dmArea1-bottom-zt-topIcon-icon" src="/assets/myinfo/dyy.png"></image>
</view>
<view class="dmArea1-bottom-zt-text"><text class="dmArea1-bottom-zt-text-text">待预约</text></view>
</view>
<view class="dmArea1-bottom-zt" id="agent51" is-link bindtap="toPage">
<view class="dmArea1-bottom-zt-topIcon">
<image class="dmArea1-bottom-zt-topIcon-icon" src="/assets/myinfo/bz9.png"></image>
</view>
<view class="dmArea1-bottom-zt-text"><text class="dmArea1-bottom-zt-text-text">待送货</text></view>
</view>
<view class="dmArea1-bottom-zt" id="agent53" is-link bindtap="toPage">
<view class="dmArea1-bottom-zt-topIcon">
<image class="dmArea1-bottom-zt-topIcon-icon" src="/assets/myinfo/bz12.png"></image>
</view>
<view class="dmArea1-bottom-zt-text"><text class="dmArea1-bottom-zt-text-text">结算中</text></view>
</view>
<view class="dmArea1-bottom-zt" id="agent54" is-link bindtap="toPage">
<view class="dmArea1-bottom-zt-topIcon">
<image class="dmArea1-bottom-zt-topIcon-icon" src="/assets/myinfo/bz11.png"></image>
</view>
<view class="dmArea1-bottom-zt-text"><text class="dmArea1-bottom-zt-text-text">已完成</text></view>
</view>
<view class="dmArea1-bottom-zt" id="agent55" is-link bindtap="toPage">
<view class="dmArea1-bottom-zt-topIcon">
<image class="dmArea1-bottom-zt-topIcon-icon" src="/assets/myinfo/bz10.png"></image>
</view>
<view class="dmArea1-bottom-zt-text"><text class="dmArea1-bottom-zt-text-text">已关闭</text></view>
</view>
</view>
</view>
<view class="dmArea2">
<view class="dmArea2-top" id="balance" is-link bindtap="toPage">
<view class="dmArea2-top-left">
<text class="dmArea2-top-left-text">我的钱包</text>
</view>
<view class="dmArea2-top-right">
<view class="dmArea2-top-right-inoc">
<image class="dmArea2-top-right-inoc-class" src="/assets/myinfo/incon13.png"></image>
</view>
<text class="dmArea2-top-right-text">进入钱包</text>
</view>
</view>
<view class="boderLine"></view>
<view class="dmArea2-bottom">
<view class="dmArea2-bottom-content">
<view class="dmArea2-bottom-contentIconTxt" id="balance" is-link bindtap="toPage">
<view class="dmArea2-bottom-contentIcon">{{formate.numberFormat(accountMoney)}}</view>
<view class="dmArea2-bottom-contentTxt">我的余额</view>
</view>
<view class="dmArea2-bottom-contentIconTxt" id="balance" is-link bindtap="toPage">
<view class="dmArea2-bottom-contentIcon">{{formate.numberFormat(frozenMoney)}}</view>
<view class="dmArea2-bottom-contentTxt">提现中的余额</view>
</view>
<view class="dmArea2-bottom-contentIconTxt" id="toMyMoney" is-link bindtap="toPage">
<view style="float:right">
<view class="dmArea2-bottom-contentIcon2F">
<view class="dmArea2-bottom-contentIcon2">查看账单</view>
</view>
<view class="dmArea2-bottom-contentTxt2">我的账单</view>
</view>
</view>
</view>
</view>
</view>
<view style="padding: 0rpx 24rpx;margin-top:24rpx">
<view class="bg-white" style="border-radius: 12rpx;padding: 24rpx 12rpx 24rpx 0rpx">
<view class="flex flex-justify" style="padding: 0rpx 16rpx 18rpx 24rpx;border-bottom: 1rpx solid #f3f3f3;">
<view class="text-black text-sg">代卖订单</view>
<view id="agentall" class="flex flex-center" style="padding:4rpx 0rpx 4rpx 4rpx" bindtap="toPage">
<view class="text-gray text-sm" style="margin-right:8rpx">查看更多订单</view>
<text class="cuIcon-right" style="color: #ccc;"></text>
</view>
</view>
<wux-grids col="4" square bordered="{{ false }}">
<wux-grid hover-class="none" id="agent50" bind:click="toPage">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/dyy.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">待预约</view>
</wux-grid>
<wux-grid hover-class="none" id="agent51" bind:click="toPage">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/bz9.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">待送货</view>
</wux-grid>
<wux-grid hover-class="none" id="agent53" bind:click="toPage">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/bz12.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">结算中</view>
</wux-grid>
<wux-grid hover-class="none" id="agent54" bind:click="toPage">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/bz11.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">已完成</view>
</wux-grid>
<!-- <wux-grid hover-class="none" id="agent55" bind:click="toPage">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/bz10.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">已关闭</view>
</wux-grid> -->
</wux-grids>
</view>
</view>
<view class="dmArea3" id="shop" is-link bindtap="toPage">
<view class="dmArea3-left">
<image class="dmArea3-left-inco" src="/assets/myinfo/fb.png"></image>
<text wx:if="{{!userInfo}}" class="dmArea3-left-text">赶紧登陆赚钱吧</text>
<text wx:if="{{userInfo && userInfo.hasStore==1}}" class="dmArea3-left-text">赶紧发布商品赚钱吧</text>
<text wx:if="{{userInfo && userInfo.hasStore==0}}" class="dmArea3-left-text">超多人想买,快来开店赚钱</text>
</view>
<view wx:if="{{!userInfo}}" class="dmArea3-right">立即登录</view>
<view wx:if="{{userInfo && userInfo.hasStore==1}}" class="dmArea3-right">进入店铺</view>
<view wx:if="{{userInfo && userInfo.hasStore==0}}" class="dmArea3-right">申请开店</view>
</view>
<view style="padding: 0rpx 24rpx;margin-top:24rpx">
<view id="balance" class="bg-white" style="border-radius: 12rpx;padding: 24rpx 12rpx 24rpx 0rpx" bindtap="toPage">
<view class="flex flex-justify" style="padding: 0rpx 16rpx 18rpx 24rpx;border-bottom: 1rpx solid #f3f3f3;">
<view class="text-black text-sg">我的钱包</view>
<view id="agentall" class="flex flex-center" style="padding:4rpx 0rpx 4rpx 4rpx">
<view class="text-gray text-sm" style="margin-right:8rpx">进入钱包</view>
<text class="cuIcon-right" style="color: #ccc;"></text>
</view>
</view>
<view class="flex" style="padding-top: 24rpx;">
<view class="flex flex-center flex-column" style="width: 35%;">
<view class="dmArea2-bottom-contentIcon">{{formate.numberFormat(accountMoney)}}</view>
<view class="dmArea2-bottom-contentTxt">我的余额</view>
</view>
<view class="flex flex-center flex-column" style="width: 25%;">
<view class="dmArea2-bottom-contentIcon">{{formate.numberFormat(frozenMoney)}}</view>
<view class="dmArea2-bottom-contentTxt">提现中的余额</view>
</view>
<view style="width: 15%;"></view>
<view class="flex flex-center flex-column" style="width: 25%;" id="toMyMoney" catchtap="toPage">
<view class="dmArea3-right" style="height: 40rpx;line-height: 40rpx;color:#999999;font-size: 20rpx;border: 1rpx solid #999999;">查看账单</view>
<view class="dmArea2-bottom-contentTxt">我的账单</view>
</view>
</view>
</view>
</view>
<view class="dmArea4">
<view class="dmArea1-top">
<view class="dmArea1-top-left">
<text class="dmArea1-top-left-text">其他工具</text>
</view>
</view>
<view class="boderLine"></view>
<view class="bg-white padding dmArea4Content">
<view class="grid col-4 grid-square">
<view class="dmArea4Content" id="bidding" is-link bindtap="toPage">
<view class="dmArea4ImgView">
<image class="dmArea4Img" src="/assets/myinfo/wdbj.png"></image>
</view>
<view class="dmArea4text">我的报价</view>
</view>
<view class="dmArea4Content">
<view class="dmArea4ImgView" id="ordering" is-link bindtap="toPage">
<image class="dmArea4Img" src="/assets/myinfo/jydd.png"></image>
</view>
<view class="dmArea4text">交易订单</view>
</view>
<view class="dmArea4Content">
<view class="dmArea4ImgView" id="integral" is-link bindtap="toPage">
<image class="dmArea4Img" src="/assets/myinfo/wdjf.png"></image>
</view>
<view class="dmArea4text">我的积分</view>
</view>
<view class="dmArea4Content">
<view class="dmArea4ImgView" id="myCus" is-link bindtap="toPage">
<image class="dmArea4Img" src="/assets/myinfo/wdkf.png"></image>
</view>
<view class="dmArea4text">我的客服</view>
</view>
</view>
<view class="grid col-4 grid-square">
<view class="dmArea4Content">
<view class="dmArea4ImgView" id="adress" is-link bindtap="toPage">
<image class="dmArea4Img" src="/assets/myinfo/shdz.png"></image>
</view>
<view class="dmArea4text">收货地址</view>
</view>
<view class="dmArea4Content">
<view class="dmArea4ImgView" id="qnLogistic" is-link bindtap="toPage">
<image class="dmArea4Img" src="/assets/myinfo/qnwl.png"></image>
</view>
<view class="dmArea4text">千鸟物流</view>
</view>
<view class="dmArea4Content" style="margin-top:12rpx">
<view class="dmArea4ImgView">
<image class="dmArea4Img" src="/assets/myinfo/fxztb.png"></image>
</view>
<button open-type="share" title="快来看看你的纸通宝吧!" hover-class="none" class="fxztb">分享纸通宝</button>
</view>
<!-- <view class="dmArea4Content" style="margin-top:20rpx">
<view class="dmArea4ImgView" id="cscs" is-link bindtap="toPage">
<image class="dmArea4Img" src="/assets/myinfo/qnwl.png"></image>
</view>
<view class="dmArea4text">城市测试</view>
</view> -->
</view>
</view>
</view>
</view>
<view style="padding: 0rpx 24rpx;margin-top:24rpx">
<view id="shop" class="bg-white" style="border-radius: 12rpx;padding: 24rpx 12rpx 24rpx 0rpx" bindtap="toPage">
<view class="flex flex-justify" style="padding: 0rpx 16rpx 0rpx 24rpx;">
<view class="flex flex-center">
<image class="dmArea3-left-inco" src="/assets/myinfo/fb.png"></image>
<text wx:if="{{!userInfo}}" class="dmArea3-left-text">赶紧登陆赚钱吧</text>
<text wx:if="{{userInfo && userInfo.hasStore==1}}" class="dmArea3-left-text">赶紧发布商品赚钱吧</text>
<text wx:if="{{userInfo && userInfo.hasStore==0}}" class="dmArea3-left-text">超多人想买,快来开店赚钱</text>
</view>
<view wx:if="{{!userInfo}}" class="dmArea3-right">立即登录</view>
<view wx:elif="{{userInfo && userInfo.hasStore==1}}" class="dmArea3-right">进入店铺</view>
<view wx:elif="{{userInfo && userInfo.hasStore==0}}" class="dmArea3-right">申请开店</view>
</view>
</view>
</view>
<view style="padding: 0rpx 24rpx;margin-top:24rpx">
<view class="bg-white" style="border-radius: 12rpx;padding: 24rpx 12rpx 24rpx 0rpx">
<view class="flex flex-justify" style="padding: 0rpx 16rpx 18rpx 24rpx;border-bottom: 1rpx solid #f3f3f3;">
<view class="text-black text-sg">其他工具</view>
</view>
<wux-grids col="4" square bordered="{{ false }}">
<wux-grid hover-class="none" id="bidding" bind:click="toPage">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/wdbj.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">我的报价</view>
</wux-grid>
<wux-grid hover-class="none" id="ordering" bind:click="toPage">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/jydd.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">交易订单</view>
</wux-grid>
<wux-grid hover-class="none" id="integral" bind:click="toPage">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/wdjf.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">我的积分</view>
</wux-grid>
<wux-grid hover-class="none" id="myCus" bind:click="toPage">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/wdkf.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">我的客服</view>
</wux-grid>
<wux-grid hover-class="none" id="adress" bind:click="toPage">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/shdz.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">收货地址</view>
</wux-grid>
<wux-grid hover-class="none" id="qnLogistic" bind:click="toPage">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/qnwl.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">千鸟物流</view>
</wux-grid>
<wux-grid hover-class="none">
<image style="height: 68rpx;width: 68rpx;margin-top: 18rpx;" src="/assets/myinfo/fxztb.png"></image>
<view style="font-size: 26rpx;margin-top: 8rpx;">分享纸通宝</view>
</wux-grid>
</wux-grids>
</view>
</view>
<view style="height: 24rpx;"></view>
</scroll-view>
<wux-dialog id="wux-dialog" />

255
pages/home/index/index.wxss

@ -6,25 +6,11 @@
margin-right: 12rpx
}
.img-auth2-view {
width: 100rpx;
height: 32rpx;
position: absolute;
left: 140rpx;
z-index: 999;
top: 7px;
}
.img-auth2 {
width: 100rpx;
height: 32rpx;
}
.cu-custom .cu-bar {
background-image: linear-gradient(124deg, rgba(0, 122, 255, 0.67) 0%, rgba(13, 100, 227, 0.95) 100%) !important;
}
.topArea {
height: 410rpx;
background-image: linear-gradient(124deg, rgba(0, 122, 255, 0.67) 0%, rgba(13, 100, 227, 0.95) 100%);
@ -156,166 +142,9 @@
top: -34rpx;
}
.boderLine {
width: 100%;
height: 1rpx;
border-bottom: 1rpx solid #f3f3f3;
position: absolute;
top: 72rpx;
}
.zt {
width: 100%;
height: 1158rpx;
padding: 20rpx 24rpx 0rpx 24rpx;
/*上右下左*/
}
.dmArea1 {
width: 100%;
height: 269rpx;
padding-bottom: 40rpx;
background-color: white;
border-radius: 10rpx;
border-radius: 10rpx;
position: relative;
}
.dmArea1-top {
width: 100%;
height: 42rpx;
padding: 15rpx 24rpx 40rpx 30rpx;
}
.dmArea1-top-left {
width: 120rpx;
height: 42rpx;
float: left;
}
.dmArea1-top-left-text {
font-family: PingFangSC-Medium;
font-size: 30rpx;
color: rgba(0, 0, 0, 0.85);
letter-spacing: 0;
}
.dmArea1-top-right {
width: 184rpx;
height: 37rpx;
float: right;
}
.dmArea1-top-right-text {
font-family: PingFangSC-Regular;
font-size: 26rpx;
color: rgba(0, 0, 0, 0.65);
letter-spacing: 1.3rpx;
text-align: right;
}
.dmArea1-top-right-inoc {
width: 11rpx;
height: 19rpx;
float: right;
}
.dmArea1-top-right-inoc-class {
width: 11rpx;
height: 19rpx;
}
.dmArea1-bottom {
height: 172rpx;
width: 100%;
padding: 57rpx 37rpx 0rpx 32rpx;
display: flex;
justify-content: space-between
}
.dmArea1-bottom-zt {
width: 78rpx;
}
.dmArea1-bottom-zt-topIcon {
width: 68rpx;
height: 68rpx;
margin-left: 5rpx;
}
.dmArea1-bottom-zt-topIcon-icon {
width: 68rpx;
height: 68rpx;
}
.dmArea1-bottom-zt-text {
height: 37rpx;
width: 78rpx;
margin-top: 20rpx;
}
.dmArea1-bottom-zt-text-text {
font-family: PingFangSC-Regular;
font-size: 26rpx;
color: rgba(0, 0, 0, 0.65);
letter-spacing: 0;
}
.dmArea2 {
width: 100%;
height: 224rpx;
background-color: white;
margin-top: 20rpx;
border-radius: 10rpx;
border-radius: 10rpx;
position: relative;
}
.dmArea2-top {
width: 100%;
height: 42rpx;
padding: 15rpx 24rpx 40rpx 30rpx;
}
.dmArea2-top-left {
width: 120rpx;
height: 42rpx;
float: left;
}
.dmArea2-top-left-text {
font-family: PingFangSC-Medium;
font-size: 30rpx;
color: rgba(0, 0, 0, 0.85);
letter-spacing: 0;
}
.dmArea2-top-right {
width: 130rpx;
height: 37rpx;
float: right;
}
.dmArea2-top-right-inoc {
width: 11rpx;
height: 19rpx;
float: right;
}
.dmArea2-top-right-inoc-class {
width: 11rpx;
height: 19rpx;
}
.dmArea2-top-right-text {
font-family: PingFangSC-Regular;
font-size: 26rpx;
color: rgba(0, 0, 0, 0.65);
letter-spacing: 1.3rpx;
text-align: right;
}
.dmArea2-bottom {
width: 100%;
@ -348,50 +177,7 @@
text-align: center;
margin-top: 7rpx;
}
.dmArea2-bottom-contentIcon2F {
width: 100%;
padding-top: 6rpx;
display: flex;
justify-content: center
}
.dmArea2-bottom-contentIcon2 {
text-align: center;
font-family: PingFangSC-Regular;
font-size: 16rpx;
color: rgba(0, 0, 0, 0.85);
letter-spacing: 0.8px;
width: 90rpx;
height: 38rpx;
background: #FFFFFF;
border: 1px solid rgba(0, 0, 0, 0.50);
border-radius: 18.75rpx;
border-radius: 18.75rpx;
line-height: 38rpx;
}
.dmArea2-bottom-contentTxt2 {
text-align: center;
font-family: PingFangSC-Regular;
font-size: 26rpx;
color: #666666;
margin-top: 24rpx;
letter-spacing: 0;
}
.dmArea3 {
width: 100%;
height: 96rpx;
margin-top: 20rpx;
padding: 23rpx 32rpx 23rpx 33.5rpx;
background-color: white;
border-radius: 10rpx;
border-radius: 10rpx;
position: relative;
}
.dmArea3-left {
width: 380rpx;
height: 100%;
@ -400,7 +186,6 @@
}
.dmArea3-right {
float: right;
width: 120rpx;
height: 50rpx;
background: #FFFFFF;
@ -434,34 +219,6 @@
padding: 57rpx 37rpx 0rpx 32rpx;
}
.dmArea4 {
width: 100%;
background-color: white;
margin-top: 20rpx;
margin-bottom: 20rpx;
border-radius: 10rpx;
border-radius: 10rpx;
position: relative;
}
.dmArea4ImgView {
height: 68rpx;
width: 100%;
text-align: center;
}
.dmArea4Img {
height: 68rpx;
width: 68rpx;
}
.dmArea4text {
width: 100%;
text-align: center;
margin-top: 10rpx;
border: white;
}
.fxztb {
font-size: 28rpx;
padding: 0;
@ -470,8 +227,4 @@
}
.fxztb::after{
border: none;
}
.dmArea4Content{
margin-top: 15rpx;
}
}
Loading…
Cancel
Save