Merge branch 'dev' of git.oa00.com:xiaowen/swsWecat into dev

* 'dev' of git.oa00.com:xiaowen/swsWecat:
  cxw-010203
  我的
  cxw-010203
dev
liuyongli 3 years ago
commit 5a9da1da3a

@ -1,6 +1,6 @@
//app.js
App({
globalData: {
}
})

@ -6,7 +6,9 @@
"pages/brandSearch/index",
"pages/varComm/index",
"pages/mine/index",
"pages/logs/logs"
"pages/logs/logs",
"pages/mine/pages/bindUser/index",
"pages/mine/pages/myReport/index"
],
"window": {
"backgroundTextStyle": "light",
@ -63,8 +65,8 @@
"van-cell-group": "@vant/weapp/cell-group/index",
"van-tab": "@vant/weapp/tab/index",
"van-tabs": "@vant/weapp/tabs/index",
"van-image": "@vant/weapp/image/index"
"van-image": "@vant/weapp/image/index",
"van-transition": "@vant/weapp/transition/index"
}

@ -56,6 +56,9 @@
height: 140rpx;
bottom: 25.6%;
z-index: 100;
border-top-left-radius: 140rpx;
border-top-right-radius: 140rpx;
background: #fff;
}
.tab-bar-item view.diy {

Binary file not shown.

After

Width:  |  Height:  |  Size: 1001 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

@ -3,7 +3,38 @@
Page({
data: {
value: "",
active: 0
tabActive: 0,
active: 1,
navData: [
{
img: "./cars/audi.jpg",
title: "奥迪"
},
{
img: "./cars/audi.jpg",
title: "奥迪"
},
{
img: "./cars/audi.jpg",
title: "奥迪"
},
{
img: "./cars/audi.jpg",
title: "奥迪"
},
{
img: "./cars/audi.jpg",
title: "奥迪"
},
{
img: "./cars/audi.jpg",
title: "奥迪"
},
{
img: "./cars/audi.jpg",
title: "奥迪"
}
]
},
onShow() {
this.getTabBar().init();

@ -5,8 +5,17 @@
<van-icon size="26px" color="#fff" name="arrow-left" style="background: #006BFF" />
<van-search style="width: 100%;" shape="round" background="#006BFF" value="{{ value }}" placeholder="请输入品牌" />
</view>
<view class="bs-tabs">
<scroll-view class="bs-tab-sv" scroll-x="true">
<view class="bs-tab-sv-item" wx:for="{{navData}}" wx:key="{{index}}">
<image class="userAvatar" src="{{item.img}}" />
<view class="bs-tab-title">{{item.title}}</view>
</view>
</scroll-view>
</view>
</view>
<van-index-bar class="bs-bar">
<view class="bs-block"></view>
<van-index-bar class="bs-bar" sticky-offset-top="207">
<view>
<van-index-anchor index="A" />
<view class="bs-item">

@ -1,5 +1,7 @@
.container {
.view-page {
width: 100%;
color: #333333;
background: #fff;
}
.bs-top-title {
text-align: center;
@ -38,13 +40,49 @@
height: 42px;
margin-right: 15px;
}
.bs-bar .van-index-bar{
border-top: 1px solid transparent;
margin-top: 120px;
.bs-block {
position: relative;
height: 207px;
}
.bs-bar {
position: relative;
}
.bs-bar .van-index-anchor-wrapper {
background: #F9F9F9;
}
.bs-bar .van-index-anchor--active {
top: 120px !important;
}
.bs-bar .van-index-bar__sidebar {
top: 63%;
}
/*横向列表项*/
.bs-tabs {
width: 100%;
margin-top: 0px;
height: 70px;
background: #fff;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
padding-top: 15px;
box-shadow: 0 -2px 3px -1px rgba(0,0,0,0.2);
}
.bs-tab-sv {
width: 100%;
width: 100%;
white-space: nowrap;
display: flex;
}
.bs-tab-sv-item {
width: 20%;
height: 100rpx;
text-align: center;
display: inline-block;
}
.userAvatar{
width: 48px;
height: 40px;
border-radius: 4px;
}
.bs-tab-title{
font-size: 13px;
}

@ -6,13 +6,17 @@
<view style="font-size:24rpx; color: #9b9999;margin-top: 24rpx;"> 欢迎您使⽤硕为思平台</view>
</view>
<view class="title_right" style="margin-right: 32rpx;">
<van-image round width="128rpx" height="128rpx" fit='cover' src="https://img.yzcdn.cn/vant/cat.jpeg" />
<van-image round width="128rpx" height="128rpx" fit='cover' src="https://img.yzcdn.cn/vant/cat.jpeg"/>
</view>
</view>
<view class="content">
<van-cell title="账号绑定" is-link icon="/images/my_con1.png" border="{{false}}" title-class='cell_label' />
<van-cell title="账号绑定" is-link icon="/images/my_con1.png" border="{{false}}" title-class='cell_label'
url='./pages/bindUser/index'
link-type="navigateTo" />
<van-cell title="帮助中心" is-link icon="/images/my_con2.png" border="{{false}}" title-class='cell_label' />
<van-cell title="我的报告" is-link icon="/images/my_con3.png" border="{{false}}" title-class='cell_label' />
<van-cell title="我的报告" is-link icon="/images/my_con3.png" border="{{false}}" title-class='cell_label'
url='./pages/myReport/index'
link-type="navigateTo"/>
<van-cell title="隐私政策" is-link icon="/images/my_con4.png" border="{{false}}" title-class='cell_label' />
<van-cell title="关于我们" is-link icon="/images/my_con5.png" border="{{false}}" title-class='cell_label' />
</view>

@ -48,4 +48,10 @@
position: relative;
top: 50%;
transform: translateX(-50%);
}
.title_right{
border: 2px solid white;
border-radius: 50%;
height: 128rpx;
width: 128rpx;
}

@ -0,0 +1,66 @@
// pages/mine/pages/bindUser.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

@ -0,0 +1,5 @@
{
"usingComponents": {},
"navigationBarTitleText":"绑定账号"
}

@ -0,0 +1,9 @@
<!--pages/mine/pages/bindUser.wxml-->
<view class="bind_box" >
<view style="font-size:28rpx;font-weight:bolder;margin-left: 32rpx">硕为思账号</view>
<input placeholder="请输入账号" placeholder-class="placeholder-style" ></input>
<view style="font-size:28rpx;font-weight:bolder;margin-top: 32rpx;margin-left: 32rpx"
>密码</view>
<input placeholder="请输入密码" placeholder-class="placeholder-style"></input>
<button class="bts">立即绑定</button>
</view>

@ -0,0 +1,37 @@
/* pages/mine/pages/bindUser/bindUser.wxss */
.bind_box{
margin-top: 34rpx;
width: 686rpx;
height: 528rpx;
background: white;
margin-left:32rpx;
padding-top: 32rpx;
}
.bind_box input{
height: 96rpx;
width: 590rpx;
background-color: #f9f9f9;
margin-top: 24rpx;
margin-left: 32rpx;
padding-left: 32rpx;
font-size: 28rpx;
color: #333333;
}
page{
background: #f9f9f9;
}
.placeholder-style{
font-size: 28rpx;
/* margin-left: 32rpx; */
}
.bts{
margin-top: 48rpx;
width: 622rpx;
margin-left:32rpx ;
color: white;
background: #66b6ff;
font-size: 28rpx;
height: 88rpx;
line-height: 88rpx;
}

@ -0,0 +1,66 @@
// pages/mine/pages/myReport/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

@ -0,0 +1,4 @@
{
"usingComponents": {},
"navigationBarTitleText":"我的报告"
}

@ -0,0 +1,22 @@
<view class="box">
<view class="ppt">
<van-image width="64rpx" height="64rpx" fit='cover' src="/images/my_ppt.png"
custom-class='img1'/>
<view class="ppt_cneter">
<view style="font-size: 28rpx;font-weight: bold;">测试v7_PPT主题分析报告</view>
<view style="font-size: 24rpx; color: #9d9d9d;">2022-06-15 11:24:47</view>
</view>
<van-image width="48rpx" height="48rpx" fit='cover' src="/images/my_right.png"
custom-class='img2' />
</view>
<view class="ppt">
<van-image width="64rpx" height="64rpx" fit='cover' src="/images/my_ppt.png"
custom-class='img1'/>
<view class="ppt_cneter">
<view style="font-size: 28rpx;font-weight: bold;">测试v7_PPT主题分析报告</view>
<view style="font-size: 24rpx; color: #9d9d9d;">2022-06-15 11:24:47</view>
</view>
<van-image width="48rpx" height="48rpx" fit='cover' src="/images/my_right.png"
custom-class='img2' />
</view>
</view>

@ -0,0 +1,34 @@
/* pages/mine/pages/myReport/index.wxss */
.box{
margin-top:34rpx;
margin-left: 32rpx;
height:1346rpx;
background-color: #ffffff;
width: 686rpx;
}
.ppt{
width:622rpx;
height: 132rpx;
display:flex;
margin-left: 32rpx;
border-bottom:1rpx solid rgba(232, 232, 232, 0.5) ;
}
.ppt .img1{
/* margin-left: 32rpx; */
margin-top: 32rpx;
}
.ppt .img2{
margin-top: 42rpx;
margin-left: 48rpx;
}
.ppt_cneter{
margin-top: 30rpx;
margin-left: 16rpx;
width: 442rpx;
}
page{
background: #f9f9f9;
}
Loading…
Cancel
Save