更新确认地址信息

This commit is contained in:
zdx
2020-12-28 14:00:13 +08:00
parent 637e63b224
commit 734d3a9377
14 changed files with 169 additions and 74 deletions

View File

@@ -4,8 +4,8 @@ Component({
* 组件的属性列表
*/
properties: {
info:{
type:Object
info: {
type: Object
}
},
@@ -73,9 +73,12 @@ Component({
break;
}
},
// 跳转到员工名片详情
goCard(e) {
console.log(e.currentTarget.dataset.cardid);
wx.navigateTo({
url: '/pages/card/index?cardid='+e.currentTarget.dataset.cardid,
})
}
}
})

View File

@@ -35,7 +35,7 @@
<!-- 管理层人员展示 -->
<scroll-view class="scroll-view_H" scroll-x="true" bindscroll="scroll" style="width: 100%">
<view class="scroll-view-item_H" wx:for='{{info.colleagues}}'>
<view class="enterprise_list ">
<view class="enterprise_list " catchtap="goCard" data-cardid='{{item.card_id}}'>
<image class="enterprise_header" src="{{item.cover || '/static/images/company_bg4.png'}} "></image>
<view class="enterprise_nickname">{{item.name}}</view>
<view class="enterprise_job">{{item.job}}</view>

View File

@@ -7,7 +7,7 @@
background-color: #fff;
box-shadow: 0 0 14rpx rgba(0, 0, 0, 0.3);
margin-top: 20rpx;
padding:30rpx 30rpx 20rpx 30rpx;
padding:30rpx 20rpx 20rpx 20rpx;
}
.enterprise_content .content{

View File

@@ -17,7 +17,12 @@ Component({
* 组件的方法列表
*/
methods: {
// 获取员工列表
// 跳转到员工名片详情
goCard(e) {
console.log(e.currentTarget.dataset.cardid);
wx.navigateTo({
url: '/pages/card/index?cardid='+e.currentTarget.dataset.cardid,
})
}
}
})

View File

@@ -1,4 +1,4 @@
<view class="personal_list">
<view class="personal_list" catchtap="goCard" data-cardid="{{info.card_id}}">
<image class="personal_header" src="{{info.cover}}"></image>
<view class='personal_left'>
<view class="personal_nickname">{{info.name}}<span class="personal_job">({{info.job}})</span></view>

View File

@@ -1,16 +1,21 @@
/* 企业视频*/
.enterprise_content{
font-size:29rpx ;
.enterprise_content {
font-size: 29rpx;
color: #333;
margin: 0 30rpx;
border-radius: 12rpx;
background-color: #fff;
box-shadow: 0 0 14rpx rgba(0, 0, 0, 0.3);
margin-top: 20rpx;
padding:30rpx 30rpx 20rpx 30rpx;
padding: 30rpx 20rpx 20rpx 20rpx;
}
.enterprise_content .content{
.enterprise_content video {
width: 100%;
}
.enterprise_content .content {
position: relative;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
@@ -23,7 +28,7 @@
}
/* 播放 */
.content .play{
.content .play {
background-color: rgba(0, 0, 0, 0.3);
width: 100%;
height: calc(100% - 10rpx);
@@ -36,7 +41,8 @@
align-items: center;
box-sizing: border-box;
}
.content .play image{
.content .play image {
width: 102rpx;
height: 102rpx;
}