Commit 88d8b826 by 前端

Merge branch 'zq_dev_3.0' into 'v3.0'

细节处理

See merge request !81
2 parents 8beae358 0670e17d
...@@ -4,6 +4,11 @@ ...@@ -4,6 +4,11 @@
left: 0; left: 0;
top: 0; top: 0;
} }
.bar-text {
font-weight: 600;
font-size: 34rpx;
color: #2D2D2E;
}
.container{ .container{
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
<!--pages/login.wxml--> <!--pages/login.wxml-->
<navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}" page-title="门店助手"> <navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}" page-title="门店助手">
<text>门店助手</text> <text class="bar-text">门店助手</text>
</navigation-bar> </navigation-bar>
<image class="login-bg" src="{{IMGURL}}login.png"></image> <image class="login-bg" src="{{IMGURL}}login.png"></image>
<view class="container" style="padding-top: {{headerHeight}}px;"> <view class="container" style="padding-top: {{headerHeight}}px;">
......
<!--pages/login/register/register.wxml--> <!--pages/login/register/register.wxml-->
<navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}" page-title="门店助手"> <navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}" page-title="门店助手">
<text>门店助手</text> <text class="bar-text">门店助手</text>
</navigation-bar> </navigation-bar>
<image class="login-bg" src="{{IMGURL}}login.png"></image> <image class="login-bg" src="{{IMGURL}}login.png"></image>
<view class="container" style="padding-top: {{headerHeight}}px;"> <view class="container" style="padding-top: {{headerHeight}}px;">
......
...@@ -32,10 +32,8 @@ Page({ ...@@ -32,10 +32,8 @@ Page({
onRoute(options){ onRoute(options){
this.setData({ this.setData({
dataFromOptions: options, dataFromOptions: options
staffName: options.staffName
}) })
console.log(this.data.dataFromOptions)
}, },
/** /**
......
...@@ -71,7 +71,7 @@ Page({ ...@@ -71,7 +71,7 @@ Page({
}) })
}, },
createImg(){ createImg(){
if(this.data.isShow && this.data.fromLocal==1){ if(this.data.fromLocal==1){
let { actNum,activeNavIdx,senceData } = this.data; let { actNum,activeNavIdx,senceData } = this.data;
let img = `${IMGURL}scene/longpic${actNum + 1}.png` let img = `${IMGURL}scene/longpic${actNum + 1}.png`
wx.showLoading({ wx.showLoading({
...@@ -213,9 +213,9 @@ Page({ ...@@ -213,9 +213,9 @@ Page({
}, },
//模态框关闭 //模态框关闭
modelClose() { modelClose() {
this.setData({ // this.setData({
isShow: false // isShow: false
}); // });
}, },
// 图片加载事件 // 图片加载事件
onloadFn(event) { onloadFn(event) {
......
...@@ -74,20 +74,18 @@ page{ ...@@ -74,20 +74,18 @@ page{
} }
} }
.btns-wrap { .btns-wrap {
padding-bottom: 84rpx;
position: fixed; position: fixed;
left: 0; left: 0;
bottom: 0; bottom: 0;
width: 100%; width: 100%;
height: 120rpx;
background: #ffffff; background: #ffffff;
// border-radius: 8px 8px 0 0; border-radius: 8px 8px 0 0;
z-index: 5;
.top { .top {
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
.btn { align-items: center;
padding-top: 16px; height: 130rpx;
}
.img { .img {
display: block; display: block;
margin: 0 auto 8px; margin: 0 auto 8px;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<view class="btom" bindtap="modelClose">取消</view> <view class="btom" bindtap="modelClose">取消</view>
</view> </view>
</view> --> </view> -->
<view class="btns-wrap"> <view class="btns-wrap isFullSucreen" wx:if="{{isShow && fromLocal==1}}">
<view class="top"> <view class="top">
<view class="btn" wx:for="{{btnList}}" wx:key="name" bindtap="handleClick" data-index="{{index}}"> <view class="btn" wx:for="{{btnList}}" wx:key="name" bindtap="handleClick" data-index="{{index}}">
<block wx:if="{{index == 1}}"> <block wx:if="{{index == 1}}">
......
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
white-space: nowrap; white-space: nowrap;
box-sizing: border-box; box-sizing: border-box;
margin-top: 24rpx; margin-top: 24rpx;
margin-bottom: 16rpx; margin-bottom: 10rpx;
padding: 0 20rpx; padding: 0 20rpx;
height: 80rpx; height: 86rpx;
} }
.prod-wrap .nav-wrap .nav { .prod-wrap .nav-wrap .nav {
...@@ -306,15 +306,15 @@ ...@@ -306,15 +306,15 @@
} }
.download{ .download{
position: absolute; position: absolute;
top: 8rpx; top: 16rpx;
right: 8rpx; right: 16rpx;
z-index: 1; z-index: 1;
width: 50rpx; width: 40rpx;
height: 50rpx; height: 50rpx;
} }
.video-item video { .video-item video {
width: 100%; width: 100%;
height: 590rpx; height: 592rpx;
} }
.video-item:nth-child(even) { .video-item:nth-child(even) {
margin-left: 22rpx; margin-left: 22rpx;
......
...@@ -4,6 +4,11 @@ page{ ...@@ -4,6 +4,11 @@ page{
} }
.container{ .container{
position: relative; position: relative;
.bar-text {
font-weight: 600;
font-size: 34rpx;
color: #2D2D2E;
}
.header{ .header{
padding-bottom: 8px; padding-bottom: 8px;
} }
......
<view class="container"> <view class="container">
<image wx:if="{{sceneCodeList.length>0 && showPage}}" style="height: {{headerHeight+45}}px;" src="{{IMGURL}}discovery_center_bg.png" class="bg-img"></image> <image wx:if="{{sceneCodeList.length>0 && showPage}}" style="height: {{headerHeight+45}}px;" src="{{IMGURL}}discovery_center_bg.png" class="bg-img"></image>
<navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}" page-title="发现"> <navigation-bar bindnavbarReady="navbarReady" navStyle="{{navStyle}}" page-title="发现">
<text>发现</text> <text class="bar-text">发现</text>
</navigation-bar> </navigation-bar>
<block wx:if="{{sceneCodeList.length>0 && showPage}}"> <block wx:if="{{sceneCodeList.length>0 && showPage}}">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!