Commit 98f45ea4 by 张立顺

fix

1 parent 58f372d6
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
background-color: #f8fafb; background-color: #f8fafb;
border-radius: 20rpx 20rpx 0 0; border-radius: 20rpx 20rpx 0 0;
} }
.prod-wrap .big-title { .prod-wrap .big-title {
margin-left: 32rpx; margin-left: 32rpx;
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
...@@ -11,6 +12,7 @@ ...@@ -11,6 +12,7 @@
color: #323436; color: #323436;
padding-top: 32rpx; padding-top: 32rpx;
} }
.prod-wrap .nav-wrap { .prod-wrap .nav-wrap {
white-space: nowrap; white-space: nowrap;
box-sizing: border-box; box-sizing: border-box;
...@@ -18,6 +20,7 @@ ...@@ -18,6 +20,7 @@
margin-bottom: 16rpx; margin-bottom: 16rpx;
padding-left: 32rpx; padding-left: 32rpx;
} }
.prod-wrap .nav-wrap .nav { .prod-wrap .nav-wrap .nav {
display: inline-block; display: inline-block;
height: 64rpx; height: 64rpx;
...@@ -33,6 +36,7 @@ ...@@ -33,6 +36,7 @@
color: #323436; color: #323436;
padding: 0 16rpx; padding: 0 16rpx;
} }
.prod-wrap .nav-wrap .active-nav { .prod-wrap .nav-wrap .active-nav {
color: #ffffff; color: #ffffff;
font-weight: 500; font-weight: 500;
...@@ -42,6 +46,7 @@ ...@@ -42,6 +46,7 @@
// border: 2rpx solid rgba(68,97,240,0.50); // border: 2rpx solid rgba(68,97,240,0.50);
// box-shadow: 0 8rpx 16rpx 0 rgba(175,187,219,0.35); // box-shadow: 0 8rpx 16rpx 0 rgba(175,187,219,0.35);
} }
.prod-wrap .nav-wrap .nav:last-child { .prod-wrap .nav-wrap .nav:last-child {
margin-right: 0; margin-right: 0;
} }
...@@ -71,6 +76,7 @@ ...@@ -71,6 +76,7 @@
flex-shrink: 0; flex-shrink: 0;
border-radius: 4rpx; border-radius: 4rpx;
} }
.img-desc { .img-desc {
position: absolute; position: absolute;
width: 104rpx; width: 104rpx;
...@@ -85,6 +91,7 @@ ...@@ -85,6 +91,7 @@
letter-spacing: 0; letter-spacing: 0;
text-align: center; text-align: center;
} }
.prod-info { .prod-info {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -92,33 +99,39 @@ ...@@ -92,33 +99,39 @@
padding: 12rpx 0; padding: 12rpx 0;
margin-left: 24rpx; margin-left: 24rpx;
} }
.prod-info > text {
.prod-info>text {
display: block; display: block;
white-space: nowrap; white-space: nowrap;
height: 40rpx; height: 40rpx;
line-height: 40rpx; line-height: 40rpx;
} }
.prod-info .title { .prod-info .title {
font-family: PingFangSC-Medium; font-family: PingFangSC-Medium;
font-weight: 600; font-weight: 600;
font-size: 28rpx; font-size: 28rpx;
color: #323436; color: #323436;
} }
.prod-info .sale, .prod-info .sale,
.prod-info .earnings { .prod-info .earnings {
font-size: 26rpx; font-size: 26rpx;
color: #7a8299; color: #7a8299;
} }
.prod-info .sale-num { .prod-info .sale-num {
font-size: 26rpx; font-size: 26rpx;
color: #323436; color: #323436;
} }
.prod-info .earnings-num { .prod-info .earnings-num {
font-size: 28rpx; font-size: 28rpx;
font-family: DINAlternate-Bold; // font-family: DINAlternate-Bold;
font-weight: Bold; font-weight: Bold;
color: #f35251; color: #f35251;
} }
.share-btn { .share-btn {
height: 56rpx; height: 56rpx;
line-height: 56rpx; line-height: 56rpx;
...@@ -136,6 +149,7 @@ ...@@ -136,6 +149,7 @@
top: 50%; top: 50%;
transform: translateY(-50%); transform: translateY(-50%);
} }
.share-btn .icon { .share-btn .icon {
width: 32rpx; width: 32rpx;
height: 32rpx; height: 32rpx;
...@@ -147,11 +161,13 @@ ...@@ -147,11 +161,13 @@
} }
.project-img { .project-img {
// height: 1600rpx; // height: 1600rpx;
// white-space: nowrap; // white-space: nowrap;
.img-item { .img-item {
position: relative; position: relative;
} }
.more-btn { .more-btn {
position: absolute; position: absolute;
left: 50%; left: 50%;
...@@ -168,11 +184,13 @@ ...@@ -168,11 +184,13 @@
line-height: 64rpx; line-height: 64rpx;
} }
} }
.stickyTab { .stickyTab {
position: sticky; position: sticky;
z-index: 2; z-index: 2;
background-color: #f5f7fb; background-color: #f5f7fb;
} }
// .out-tab{ // .out-tab{
// .out-text { // .out-text {
// // color: red !important; // // color: red !important;
...@@ -190,22 +208,27 @@ ...@@ -190,22 +208,27 @@
width: 100%; width: 100%;
height: 1110rpx; height: 1110rpx;
} }
.img-item12 { .img-item12 {
width: 100%; width: 100%;
height: 1290rpx; height: 1290rpx;
} }
.img-item13 { .img-item13 {
width: 100%; width: 100%;
height: 596rpx; height: 596rpx;
} }
.img-item14 { .img-item14 {
width: 100%; width: 100%;
height: 744rpx; height: 744rpx;
} }
.img-item15 { .img-item15 {
width: 100%; width: 100%;
height: 490rpx; height: 490rpx;
} }
.img-item16 { .img-item16 {
width: 100%; width: 100%;
height: 1532rpx; height: 1532rpx;
...@@ -216,27 +239,34 @@ ...@@ -216,27 +239,34 @@
width: 100%; width: 100%;
height: 2168rpx; height: 2168rpx;
} }
.img-item22 { .img-item22 {
width: 100%; width: 100%;
height: 1290rpx; height: 1290rpx;
} }
.img-item23 { .img-item23 {
width: 100%; width: 100%;
height: 596rpx; height: 596rpx;
} }
.img-item24 { .img-item24 {
width: 100%; width: 100%;
height: 830rpx; height: 830rpx;
} }
.img-item25 { .img-item25 {
width: 100%; width: 100%;
height: 490rpx; height: 490rpx;
} }
.img-item26 { .img-item26 {
height: 752rpx; height: 752rpx;
.video-item{
.video-item {
width: 100%; width: 100%;
video{
video {
border-radius: 16rpx; border-radius: 16rpx;
height: 348rpx; height: 348rpx;
} }
...@@ -248,22 +278,27 @@ ...@@ -248,22 +278,27 @@
width: 100%; width: 100%;
height: 1110rpx; height: 1110rpx;
} }
.img-item32 { .img-item32 {
width: 100%; width: 100%;
height: 1290rpx; height: 1290rpx;
} }
.img-item33 { .img-item33 {
width: 100%; width: 100%;
height: 596rpx; height: 596rpx;
} }
.img-item34 { .img-item34 {
width: 100%; width: 100%;
height: 984rpx; height: 984rpx;
} }
.img-item35 { .img-item35 {
width: 100%; width: 100%;
height: 490rpx; height: 490rpx;
} }
// .img-item26 { // .img-item26 {
// width: 100%; // width: 100%;
// height: 752rpx; // height: 752rpx;
...@@ -273,22 +308,27 @@ ...@@ -273,22 +308,27 @@
width: 100%; width: 100%;
height: 678rpx; height: 678rpx;
} }
.img-item42 { .img-item42 {
width: 100%; width: 100%;
height: 1266rpx; height: 1266rpx;
} }
.img-item43 { .img-item43 {
width: 100%; width: 100%;
height: 1398rpx; height: 1398rpx;
} }
.img-item44 { .img-item44 {
width: 100%; width: 100%;
height: 830rpx; height: 830rpx;
} }
.img-item45 { .img-item45 {
width: 100%; width: 100%;
height: 490rpx; height: 490rpx;
} }
.img-item46 { .img-item46 {
width: 100%; width: 100%;
height: 1666rpx; height: 1666rpx;
...@@ -299,18 +339,22 @@ ...@@ -299,18 +339,22 @@
width: 100%; width: 100%;
height: 814rpx; height: 814rpx;
} }
.img-item52 { .img-item52 {
width: 100%; width: 100%;
height: 998rpx; height: 998rpx;
} }
.img-item53 { .img-item53 {
width: 100%; width: 100%;
height: 596rpx; height: 596rpx;
} }
.img-item54 { .img-item54 {
width: 100%; width: 100%;
height: 984rpx; height: 984rpx;
} }
.img-item55 { .img-item55 {
width: 100%; width: 100%;
height: 490rpx; height: 490rpx;
...@@ -324,6 +368,7 @@ ...@@ -324,6 +368,7 @@
position: absolute; position: absolute;
top: 280rpx; top: 280rpx;
} }
.video-title { .video-title {
position: relative; position: relative;
padding: 96rpx 0 24rpx; padding: 96rpx 0 24rpx;
...@@ -334,6 +379,7 @@ ...@@ -334,6 +379,7 @@
letter-spacing: 0; letter-spacing: 0;
line-height: 64rpx; line-height: 64rpx;
} }
.video-title::after { .video-title::after {
content: ''; content: '';
display: block; display: block;
...@@ -345,33 +391,39 @@ ...@@ -345,33 +391,39 @@
transform: translateX(-50%); transform: translateX(-50%);
background-color: #ffffff; background-color: #ffffff;
} }
.video-list { .video-list {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
padding: 0 32rpx; padding: 0 32rpx;
font-size: 0; font-size: 0;
} }
.video-item { .video-item {
position: relative; position: relative;
width: calc(50% - 12rpx); width: calc(50% - 12rpx);
margin-bottom: 32rpx; margin-bottom: 32rpx;
} }
.video-item video { .video-item video {
width: 100%; width: 100%;
height: 590rpx; height: 590rpx;
// border: 1rpx dashed #AFB0B2; // border: 1rpx dashed #AFB0B2;
} }
.video-item .download{
.video-item .download {
position: absolute; position: absolute;
top:0; top: 0;
right: 2px; right: 2px;
font-size: 26rpx; font-size: 26rpx;
color: #666; color: #666;
z-index: 1; z-index: 1;
} }
.video-item:nth-child(even) { .video-item:nth-child(even) {
margin-left: 22rpx; margin-left: 22rpx;
} }
.video-text { .video-text {
margin-top: 16rpx; margin-top: 16rpx;
font-size: 24rpx; font-size: 24rpx;
...@@ -379,10 +431,11 @@ ...@@ -379,10 +431,11 @@
font-size: 24rpx; font-size: 24rpx;
color: #343456; color: #343456;
} }
.video-tips { .video-tips {
width: 100%; width: 100%;
text-align: center; text-align: center;
font-size: 28rpx; font-size: 28rpx;
color: rgba(255,255,255,.6); color: rgba(255, 255, 255, .6);
padding: 16rpx 0 92rpx; padding: 16rpx 0 92rpx;
} }
\ No newline at end of file \ No newline at end of file
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<image class="headPortrait" src="{{userInfo.userAvatarUrl||IMAGES.userAvatarUrl }}" webp> <image class="headPortrait" src="{{userInfo.userAvatarUrl||IMAGES.userAvatarUrl }}" webp>
头像 头像
</image> </image>
<view class="name">{{userInfo.merchantId}}</view> <view class="name">{{userInfo.merchantName}}</view>
<view class="id">账号:{{userInfo.merchantId}}</view> <view class="id">账号:{{userInfo.merchantId}}</view>
<view class="createTime">创建时间:{{userInfo.createdDate}}</view> <view class="createTime">创建时间:{{userInfo.createdDate}}</view>
</view> </view>
......
...@@ -33,12 +33,19 @@ ...@@ -33,12 +33,19 @@
background-size: 100% 96rpx; background-size: 100% 96rpx;
.price-txt { .price-txt {
font-size: 26rpx; // font-family: 'test';
font-size: 28rpx;
font-weight: Bold;
// font-size: 26rpx;
} }
} }
.price-txt { .price-txt {
font-weight: 600; // font-family: 'test';
// font-family: "test";
font-weight: Bold;
// font-weight: 600;
font-size: 26rpx;
color: #F35251; color: #F35251;
} }
...@@ -75,7 +82,7 @@ ...@@ -75,7 +82,7 @@
} }
.price-txt { .price-txt {
font-size: 22rpx; font-size: 26rpx;
} }
} }
...@@ -110,6 +117,7 @@ ...@@ -110,6 +117,7 @@
.tip-link { .tip-link {
color: #3E71FE; color: #3E71FE;
} }
.time { .time {
color: #8A8C90; color: #8A8C90;
; ;
...@@ -124,4 +132,20 @@ ...@@ -124,4 +132,20 @@
text-align: center; text-align: center;
color: #CCCED1; color: #CCCED1;
padding-bottom: 60rpx; padding-bottom: 60rpx;
}
@font-face {
/* 是你封装的名字 */
font-family: "test";
/* 你字体包的位置 */
/* src: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf'); */
src: url('Gotham-Black.otf');
/* https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf */
/* format('opentype'); */
}
.test {
font-family: 'test';
} }
\ No newline at end of file \ No newline at end of file
<!--pages/tab/output/components/client/client.wxml-->
<scroll-view class="client" scroll-y="{{true}}" bindscrolltolower="onReachBottom" lower-threshold='50' scroll-top="{{scrollTop}}">
<view class="client-box">
<view class="profit-box flex-between">
<text>总收益</text>
<text class="price-txt">¥{{totalProfit}}</text>
</view>
<view class="box" wx:for="{{list}}" wx:key="index" bindtap="handleJump" data-idx="{{index}}">
<view class="head flex-between">
<view class="name text-hide">{{item.merchantName}}</view>
<view class="price-txt">¥{{item.totalMoney}}</view>
</view>
<!-- 场景内容 -->
<view class="box-content">
<scene-box formData="{{item}}"></scene-box>
<!-- 通知 -->
<view class="box-bottom">
<view wx:if="{{item.msgList.length}}" class="flex">
<view class="tip-blue">最新</view>
<view class="bottom-content">
<view class="flex-between tip-row" wx:for="{{item.msgList}}" wx:for-item="subItem" wx:for-index="idx" wx:key="idx">
<view>{{subItem.msg}}</view>
<view class="time">{{subItem.createTime}}</view>
</view>
</view>
</view>
<view wx:if="{{!item.msgList.length && !item.isOpenScene}}" class="flex">
<view class="tip-blue">通知</view>
<view class="bottom-content">
<view class="tip-row">
<view>运营建议:您的门店尚未开展活动,暂无产值。建议<text class="tip-link" catchtap="handleJumpIdx">开通新产品</text>拓展营收范围。</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">到底啦!</view>
</view>
</scroll-view>
\ No newline at end of file \ No newline at end of file
<!-- pages/tab/output/components/client/client.wxml -->
<scroll-view
class="client"
scroll-y="{{true}}"
bindscrolltolower="onReachBottom"
lower-threshold='50'
scroll-top="{{scrollTop}}">
<!-- <view class="test">1234567890</view> -->
<view class="client-box">
<view class="profit-box flex-between">
<text>总收益</text>
<text class="price-txt">¥{{totalProfit}}</text>
</view>
<view
class="box"
wx:for="{{list}}"
wx:key="index"
bindtap="handleJump"
data-idx="{{index}}">
<view class="head flex-between">
<view class="name text-hide">{{item.merchantName}}</view>
<view class="price-txt ">¥{{item.totalMoney}}</view>
</view>
<!-- 场景内容 -->
<view class="box-content">
<scene-box formData="{{item}}" />
<!-- 通知 -->
<view class="box-bottom">
<view wx:if="{{item.msgList.length}}" class="flex">
<view class="tip-blue">最新</view>
<view class="bottom-content">
<view
class="flex-between tip-row"
wx:for="{{item.msgList}}"
wx:for-item="subItem"
wx:for-index="idx"
wx:key="idx">
<view>{{subItem.msg}}</view>
<view class="time">{{subItem.createTime}}</view>
</view>
</view>
</view>
<view wx:if="{{!item.msgList.length && !item.isOpenScene}}" class="flex">
<view class="tip-blue">通知</view>
<view class="bottom-content">
<view class="tip-row">
<view>
运营建议:您的门店尚未开展活动,暂无产值。建议
<text class="tip-link" catchtap="handleJumpIdx">开通新产品</text>
拓展营收范围。
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{totalPages != -1 && pageObj.currentPage == totalPages}}" class="end-txt">
到底啦!
</view>
</view>
</scroll-view>
...@@ -9,7 +9,7 @@ Page({ ...@@ -9,7 +9,7 @@ Page({
navStyle: 'background-color: rgba(0,0,0,0);', navStyle: 'background-color: rgba(0,0,0,0);',
loginType: 0, loginType: 0,
agree: true, agree: true,
tabIndx: 1, tabIndx: 0,
tabList: ['我的客户', '我的门店', '我的员工'], tabList: ['我的客户', '我的门店', '我的员工'],
popupShow: false, popupShow: false,
subIndex: -1, subIndex: -1,
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
width: 100%; width: 100%;
// height: 486rpx; // height: 486rpx;
height: 264rpx; height: 264rpx;
background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/bg.bg') no-repeat; background: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/bg.png') no-repeat;
background-size: 100% 264rpx; background-size: 100% 264rpx;
background-color: #fff; background-color: #fff;
position: absolute; position: absolute;
......
/**app.wxss**/ /**app.wxss**/
/*每个页面公共css */
@font-face {
/* 是你封装的名字 */
font-family: "test";
/* 你字体包的位置 */
/* src: url('https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf'); */
src: url('/static/style/font/Gotham-Black.otf');
/* https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/output/Gotham-Black.otf */
/* format('opentype'); */
}
.sticky { .sticky {
position: sticky; position: sticky;
......
No preview for this file type
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!