Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ai-card
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit aa73a285
authored
Sep 05, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
31c5a654
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
26 deletions
components/UserInfo/UserInfo.wxml
components/UserInfo/UserInfo.wxss
project.private.config.json
components/UserInfo/UserInfo.wxml
View file @
aa73a28
<view class="user-wrapper">
<view class="user-wrapper">
<view class="user-info">
<view class="user-box">
<block wx:if="{{!showWechant}}">
<view class="user-info">
<view class="user-company">
<block wx:if="{{!showWechant}}">
<image class="company-logo" webp src="{{IMGURL}}home/logo.png"></image>
<view class="user-company">
<text>汽车流通行业数字化运营服务商</text>
<image class="company-logo" webp src="{{IMGURL}}home/logo.png"></image>
<text>汽车流通行业数字化运营服务商</text>
</view>
<view class="user-name">
<view class="name">石文</view>
<view class="position">市场总监</view>
</view>
<view class="user-phone">
<image class="user-icon" webp src="{{IMGURL}}home/icon-phone.png"></image>
<view>13274150220</view>
</view>
<view class="user-address">
<image class="user-icon" webp src="{{IMGURL}}home/icon-address.png"></image>
<view class="address">深圳市南山区留仙大道3370号南山智园崇文园区1号楼14层</view>
</view>
<image class="user-avatar" src="https://img.zcool.cn/community/01e47e60ab5b4011013eaf70962e3f.jpg@520w_390h_1c_1e_2o_100sh.jpg"></image>
<image bindtap="addWechat" class="add-wechat" webp src="{{IMGURL}}home/add-wechat.png"></image>
</block>
<view class="scrm" wx:else>
<image class="srcm-img" src="https://img.zcool.cn/community/01e47e60ab5b4011013eaf70962e3f.jpg@520w_390h_1c_1e_2o_100sh.jpg"></image>
<view class="scrm-text">长按识别二维码,免费体验嘀加SCRM</view>
<image bindtap="addWechat" class="add-wechat" webp src="{{IMGURL}}home/back-user.png"></image>
</view>
</view>
<view class="user-name">
<view class="name">石文</view>
<view class="position">市场总监</view>
</view>
<view class="user-phone">
<image class="user-icon" webp src="{{IMGURL}}home/icon-phone.png"></image>
<view>13274150220</view>
</view>
<view class="user-address">
<image class="user-icon" webp src="{{IMGURL}}home/icon-address.png"></image>
<view class="address">深圳市南山区留仙大道3370号南山智园崇文园区1号楼14层</view>
</view>
<image class="user-avatar" src="https://img.zcool.cn/community/01e47e60ab5b4011013eaf70962e3f.jpg@520w_390h_1c_1e_2o_100sh.jpg"></image>
<image bindtap="addWechat" class="add-wechat" webp src="{{IMGURL}}home/add-wechat.png"></image>
</block>
<view class="scrm" wx:else>
<image class="srcm-img" src="https://img.zcool.cn/community/01e47e60ab5b4011013eaf70962e3f.jpg@520w_390h_1c_1e_2o_100sh.jpg"></image>
<view class="scrm-text">长按识别二维码,免费体验嘀加SCRM</view>
<image bindtap="addWechat" class="add-wechat" webp src="{{IMGURL}}home/back-user.png"></image>
</view>
</view>
<image class="user-bg" webp src="{{IMGURL}}home/user-bg.png" />
<image class="user-bg" webp src="{{IMGURL}}home/user-bg.png" />
</view>
</view>
...
...
components/UserInfo/UserInfo.wxss
View file @
aa73a28
...
@@ -5,13 +5,16 @@
...
@@ -5,13 +5,16 @@
margin-bottom: 20rpx;
margin-bottom: 20rpx;
}
}
.user-info {
.user-info {
position: relative;
height: 416rpx;
height: 416rpx;
padding: 40rpx 52rpx;
padding: 40rpx 52rpx;
box-shadow: 0 12rpx 32rpx 0 rgba(147, 160, 194, .35);
box-shadow: 0 12rpx 32rpx 0 rgba(147, 160, 194, .35);
border-radius: 16rpx;
border-radius: 16rpx;
box-sizing: border-box;
box-sizing: border-box;
}
}
.user-box {
position: relative;
z-index: 1;
}
.user-bg {
.user-bg {
position: absolute;
position: absolute;
top: 0;
top: 0;
...
...
project.private.config.json
View file @
aa73a28
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
"description"
:
"项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
,
"description"
:
"项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
,
"projectname"
:
"ai-card"
,
"projectname"
:
"ai-card"
,
"setting"
:
{
"setting"
:
{
"compileHotReLoad"
:
true
"compileHotReLoad"
:
true
,
"urlCheck"
:
false
}
}
}
}
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment