Commit 24a5268ead39e75876a8b753900457f87b605b2c

Authored by zhangyan
1 parent bae75711

no message

... ... @@ -6,6 +6,7 @@
"pages/rank/rank",
"pages/seller/seller",
"pages/seller/s_detail",
"pages/pub/p_team",
"pages/question/question",
"pages/person/person",
"pages/person/p_list"
... ...
... ... @@ -12,7 +12,7 @@
color:#fff;
}
.orange-font{
color:#fe9401;
color:#f3ab36;
}
/*字体大小*/
... ... @@ -77,7 +77,7 @@
background:#353535;
}
.bg-orange{
background:#fe9401;
background:#f3ab36;
}
.bg-gray{
background:#f7f7f7;
... ...
... ... @@ -22,7 +22,7 @@ Component({
iconactive:"/pages/image/dog-server-active.svg"
},
{
pagepath:"/pages/me/d_index",
pagepath:"",
title:"发布",
icon:"/pages/image/publish.svg"
},
... ... @@ -40,7 +40,8 @@ Component({
icon:"/pages/image/me.svg",
iconactive:"/pages/image/me-active.svg"
}
]
],
pubactive:false,
},
... ... @@ -54,6 +55,11 @@ Component({
})
},
tabpub:function(){
this.setData({
pubactive:!this.data.pubactive
})
},
autotab:function(){
var tabbar=this.data.tabbar;
var idx=this.data.tabidx;
... ... @@ -66,6 +72,14 @@ Component({
this.setData({
tabbar:tabbar
})
},
gopubteam:function(){
this.setData({
pubactive:false,
})
wx.navigateTo({
url:'/pages/pub/p_team'
})
}
}
})
\ No newline at end of file
... ...
... ... @@ -7,10 +7,15 @@
</view>
</block>
<block wx:else>
<view class="tabbar-pub bg-orange flex-cm">
<view class="tabbar-pub bg-orange flex-cm" bindtap="tabpub">
<image src="{{item.icon}}" style="width:50rpx;height:50rpx;margin-left:10rpx;"></image>
</view>
</block>
</block>
</view>
<view class="tablist fixed left right bottom {{pubactive==true ? 'tablist-active' : ''}}">
<view class="tab-block white-font font26r font-siny tab-team flex-cm" bindtap="gopubteam">遛呗</view>
<view class="tab-block white-font font26r font-siny tab-pub flex-cm">秀呗</view>
</view>
... ...
... ... @@ -5,6 +5,7 @@
padding:0 30rpx;
box-sizing:border-box;
box-shadow:0 -1px 5px rgba(0,0,0,.1);
z-index:100;
}
.tabbar-block{
... ... @@ -21,4 +22,34 @@
height:65rpx;
border-radius:10rpx;
margin-top:-14rpx;
}
.tablist{
width:120rpx;
height:120rpx;
margin:0 auto;
z-index:99;
}
.tab-block{
width:90rpx;
height:90rpx;
border-radius:50%;
background:rgba(0,0,0,.8);
position:absolute;
bottom:15rpx;
}
.tab-team{
left:15rpx;
transition:left .3s ease,bottom .3s ease;
}
.tablist-active .tab-team{
left:-90rpx;
bottom:210rpx;
}
.tab-pub{
right:15rpx;
transition:right .3s ease,bottom .3s ease;
}
.tablist-active .tab-pub{
right:-90rpx;
bottom:210rpx;
}
\ No newline at end of file
... ...
... ... @@ -10,14 +10,14 @@
.top-tab-block{
padding:0 24rpx;
height:60rpx;
border:1px solid #fe9401;
border:1px solid #f3ab36;
box-sizing:border-box;
}
.border-right-none{
border-right:0;
}
.tab-block-active{
background:#fe9401;
background:#ffa830;
}
.search{
height:100%;
... ...
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1541053794538" class="icon" style="" viewBox="0 0 1030 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="10507" xmlns:xlink="http://www.w3.org/1999/xlink" width="64.375" height="64"><defs><style type="text/css"></style></defs><path d="M979.774086 469.475083H551.122924V40.82392C551.122924 17.009967 530.710963 0 510.299003 0s-40.82392 17.009967-40.82392 40.82392v432.053156H40.82392C17.009967 469.475083 0 489.887043 0 510.299003s17.009967 40.82392 40.82392 40.823921h432.053156v432.053156c0 20.41196 17.009967 40.82392 40.823921 40.82392s40.82392-17.009967 40.82392-40.82392V551.122924H986.578073c20.41196 0 40.82392-17.009967 40.82392-40.823921s-23.813953-40.82392-47.627907-40.82392z" p-id="10508" fill="#ffffff"></path></svg>
\ No newline at end of file
... ...
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1540260084601" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3608" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><defs><style type="text/css"></style></defs><path d="M948.6 242.9c-67.1-33.4-138.6-50.4-212.7-50.4s-145.6 17-212.7 50.4l-2.3 1.1c-6 3-13 3-18.9 0l-2.3-1.1c-67.1-33.4-138.6-50.4-212.7-50.4s-145.6 17-212.7 50.4c-7.2 3.6-11.7 10.9-11.7 19v541.9c0 11.7 9.5 21.2 21.2 21.2h1.7c2.1 0 4.1-0.3 6.1-0.9 62.1-18.5 128.5-27.9 197.1-27.9 68.1 0 133.9 9.2 195.5 27.5l21.2 6.3c3.9 1.2 8.1 1.2 12 0l21.2-6.3c61.7-18.2 127.5-27.5 195.5-27.5 68.7 0 135 9.4 197.1 27.9 2 0.6 4 0.9 6.1 0.9h1.7c11.7 0 21.2-9.5 21.2-21.2V261.9c0.2-8-4.4-15.4-11.6-19z m-479.5 506c0 13.4-12.4 23.5-25.5 20.8-49.8-10.5-101.7-15.9-154.8-15.9-54.3 0-107.2 5.6-158.1 16.6-13.2 2.9-25.6-7.3-25.6-20.7V289c0-8.5 5.1-16.2 12.9-19.5 53.9-23 110.7-34.6 169.1-34.6 58.5 0 115.2 11.6 169.1 34.6 7.8 3.3 12.9 11 12.9 19.5v459.9z m448.8 0.7c0 13.5-12.4 23.6-25.6 20.7-50.8-11-103.8-16.6-158.1-16.6-53.1 0-105 5.3-154.8 15.9-13.2 2.8-25.5-7.3-25.5-20.8V289c0-8.5 5.1-16.2 12.9-19.5 53.9-23 110.7-34.6 169.1-34.6s115.2 11.6 169.1 34.6c7.8 3.3 12.9 11 12.9 19.5v460.6z" p-id="3609" fill="#fe9401"></path></svg>
\ No newline at end of file
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1540260084601" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3608" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64"><defs><style type="text/css"></style></defs><path d="M948.6 242.9c-67.1-33.4-138.6-50.4-212.7-50.4s-145.6 17-212.7 50.4l-2.3 1.1c-6 3-13 3-18.9 0l-2.3-1.1c-67.1-33.4-138.6-50.4-212.7-50.4s-145.6 17-212.7 50.4c-7.2 3.6-11.7 10.9-11.7 19v541.9c0 11.7 9.5 21.2 21.2 21.2h1.7c2.1 0 4.1-0.3 6.1-0.9 62.1-18.5 128.5-27.9 197.1-27.9 68.1 0 133.9 9.2 195.5 27.5l21.2 6.3c3.9 1.2 8.1 1.2 12 0l21.2-6.3c61.7-18.2 127.5-27.5 195.5-27.5 68.7 0 135 9.4 197.1 27.9 2 0.6 4 0.9 6.1 0.9h1.7c11.7 0 21.2-9.5 21.2-21.2V261.9c0.2-8-4.4-15.4-11.6-19z m-479.5 506c0 13.4-12.4 23.5-25.5 20.8-49.8-10.5-101.7-15.9-154.8-15.9-54.3 0-107.2 5.6-158.1 16.6-13.2 2.9-25.6-7.3-25.6-20.7V289c0-8.5 5.1-16.2 12.9-19.5 53.9-23 110.7-34.6 169.1-34.6 58.5 0 115.2 11.6 169.1 34.6 7.8 3.3 12.9 11 12.9 19.5v459.9z m448.8 0.7c0 13.5-12.4 23.6-25.6 20.7-50.8-11-103.8-16.6-158.1-16.6-53.1 0-105 5.3-154.8 15.9-13.2 2.8-25.5-7.3-25.5-20.8V289c0-8.5 5.1-16.2 12.9-19.5 53.9-23 110.7-34.6 169.1-34.6s115.2 11.6 169.1 34.6c7.8 3.3 12.9 11 12.9 19.5v460.6z" p-id="3609" fill="#666666"></path></svg>
\ No newline at end of file
... ...
... ... @@ -41,5 +41,19 @@ Page({
count:200,
}
]
},
onLoad:function(){
},
onShow:function(){
},
petlist:function(e){
var index=e.currentTarget.dataset.idx;
if(index==0){
wx.navigateTo({
url:'p_list'
})
}
}
})
\ No newline at end of file
... ...
... ... @@ -78,7 +78,7 @@
</view>
<view class="me-middle bg-white flex-lr">
<block wx:for="{{setting}}">
<view class="flex-vc">
<view class="flex-vc" bindtap="petlist" data-idx="{{index}}">
<image src="{{item.iconurl}}" class="me-setting-icon"></image>
<view class="black-font font24r font-siny">{{item.title}}</view>
</view>
... ...
Page({
})
\ No newline at end of file
... ...
{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#ffc16a",
"navigationBarTextStyle":"white",
"navigationBarTitleText":"发起遛呗"
}
\ No newline at end of file
... ...
<view class="pub-team flex-vl">
<input placeholder="请输入标题,不能多于20个字" placeholder-class="gray-font font26r font-siny" class="bg-white black-font font28r" maxlength="20"/>
<view class="cut"></view>
<textarea placeholder="请输入详细描述,不能多于500个字" placeholder-class="gray-font font26r font-siny" class="bg-white black-font font28r" maxlength="500"></textarea>
<view class="select-picture bg-white flex-rs">
<view class="add-picture flex-cm">
<image src="/pages/image/add.svg" class="add-picture-icon"></image>
</view>
</view>
<view class="cut"></view>
<view class="pub-team-date flex-lr bg-white">
<view class="gray-deep-font font24r font-siny">2018-11-04 16:40</view>
<image src="/pages/image/click.svg" class="click-icon"></image>
</view>
<view class="cut"></view>
<view class="pub-team-address flex-lr bg-white">
<view class="gray-deep-font font24r font-siny">地点</view>
<image src="/pages/image/click.svg" class="click-icon"></image>
</view>
</view>
<view class="pub-button white-font bg-orange font30r font-siny flex-cm fixed left bottom">确认发布</view>
\ No newline at end of file
... ...
page{
background:#f7f7f7;
}
.pub-team{
width:100%;
}
input, .pub-team-date, .pub-team-address{
width:100%;
height:90rpx;
padding:0 30rpx;
box-sizing:border-box;
}
textarea{
width:100%;
height:280rpx;
padding:24rpx 30rpx;
box-sizing:border-box;
}
.select-picture{
width:100%;
padding:30rpx 0 30rpx 30rpx;
box-sizing:border-box;
}
.add-picture{
width:160rpx;
height:200rpx;
margin-right:20rpx;
background:#eee;
}
.add-picture-icon{
width:60rpx;
height:60rpx;
}
.pub-button{
width:100%;
height:90rpx;
background:#ffc16a;
}
\ No newline at end of file
... ...
... ... @@ -18,6 +18,16 @@
<view class="flex-vl" style="width:490rpx;padding-right:30rpx;box-sizing:border-box;">
<view class="black-font font30r font-bold font-more" style="width:100%;display:block;">平常喂金毛吃鸡肝,有哪些危害?</view>
<view class="font-more gray-deep-font font24r" style="width:100%;display:block;margin-top:20rpx;">有些主人看到金毛喜欢吃鸡肝,就会肆无忌惮的喂金毛吃鸡肝,殊不知发反反复复殊不知发反反复复殊不知发反反复复殊不知发反反复复</view>
<view class="question-action flex-lm">
<view class="question-look flex-lm">
<image src="/pages/image/look.svg" class="look-icon"></image>
<view class="gray-deep-font font24r font-siny">200</view>
</view>
<view class="question-look flex-lm">
<image src="/pages/image/collection.svg" class="collection-icon"></image>
<view class="gray-deep-font font24r font-siny">200</view>
</view>
</view>
</view>
<image src="/pages/image/topic3.jpg" class="question-image" mode="aspectFill"></image>
</view>
... ...
... ... @@ -63,10 +63,19 @@
width:200rpx;
height:130rpx;
}
.question-icon{
width:50rpx;
height:50rpx;
margin-bottom:2rpx;
.question-look{
margin-right:30rpx;
padding-top:20rpx;
}
.look-icon{
width:40rpx;
height:40rpx;
margin-right:10rpx;
}
.collection-icon{
width:36rpx;
height:36rpx;
margin-right:10rpx;
}
.question-act{
margin-left:60rpx;
... ...
... ... @@ -67,7 +67,7 @@
.rank-care-act{
width:120rpx;
height:46rpx;
border:1px solid #fe9401;
border:1px solid #ffc16a;
border-radius:23rpx;
margin-top:22rpx;
}
... ... @@ -121,5 +121,5 @@
width:120rpx;
height:46rpx;
border-radius:22rpx;
border:1px solid #fe9401;
border:1px solid #ffc16a;
}
\ No newline at end of file
... ...