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 19e9ab72
authored
Oct 21, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
40420735
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
109 additions
and
16 deletions
app.json
pages/activityApplication/activityApplication.js
pages/activityApplication/activityApplication.json
pages/activityApplication/activityApplication.wxml
pages/activityApplication/activityApplication.wxss
pages/tab/index/index.js
pages/tab/index/index.wxml
pages/template/channel/channel.wxml
pages/template/channel/channel.wxss
app.json
View file @
19e9ab7
...
@@ -17,7 +17,8 @@
...
@@ -17,7 +17,8 @@
"pages/productDetail/navigationArround/navigationArround"
,
"pages/productDetail/navigationArround/navigationArround"
,
"pages/productDetail/paintProtect/paintProtect"
,
"pages/productDetail/paintProtect/paintProtect"
,
"pages/productDetail/seatVentilate/seatVentilate"
,
"pages/productDetail/seatVentilate/seatVentilate"
,
"pages/productDetail/solarFilm/solarFilm"
"pages/productDetail/solarFilm/solarFilm"
,
"pages/activityApplication/activityApplication"
],
],
"window"
:
{
"window"
:
{
"backgroundTextStyle"
:
"light"
,
"backgroundTextStyle"
:
"light"
,
...
...
pages/activityApplication/activityApplication.js
0 → 100644
View file @
19e9ab7
// pages/activityApplication/activityApplication.js
Page
({
/**
* 页面的初始数据
*/
data
:
{
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
(
options
)
{
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady
()
{
},
/**
* 生命周期函数--监听页面显示
*/
onShow
()
{
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide
()
{
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload
()
{
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh
()
{
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom
()
{
},
/**
* 用户点击右上角分享
*/
onShareAppMessage
()
{
}
})
\ No newline at end of file
\ No newline at end of file
pages/activityApplication/activityApplication.json
0 → 100644
View file @
19e9ab7
{
"usingComponents"
:
{}
}
\ No newline at end of file
\ No newline at end of file
pages/activityApplication/activityApplication.wxml
0 → 100644
View file @
19e9ab7
<!--pages/activityApplication/activityApplication.wxml-->
<text>pages/activityApplication/activityApplication.wxml</text>
pages/activityApplication/activityApplication.wxss
0 → 100644
View file @
19e9ab7
/* pages/activityApplication/activityApplication.wxss */
\ No newline at end of file
\ No newline at end of file
pages/tab/index/index.js
View file @
19e9ab7
...
@@ -372,6 +372,20 @@ Page({
...
@@ -372,6 +372,20 @@ Page({
},
},
});
});
},
},
// banner跳转
jumpBanner
(
e
)
{
console
.
log
(
e
)
const
path
=
e
.
target
.
dataset
.
path
switch
(
path
)
{
case
'left'
:
console
.
log
(
'数字化+新能源汽车'
)
break
case
'right'
:
console
.
log
(
'众筹活动助力'
)
wx
.
$router
.
go
(
"activityApplication"
);
break
}
},
// 获取员工名片信息
// 获取员工名片信息
getCardDetail
()
{
getCardDetail
()
{
console
.
log
(
util
.
getStorageSync
(
'scene'
),
wx
.
$trackData
.
cardId
)
console
.
log
(
util
.
getStorageSync
(
'scene'
),
wx
.
$trackData
.
cardId
)
...
...
pages/tab/index/index.wxml
View file @
19e9ab7
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<user-info data-skeleton-hide="cardInfo" shareDisabled="{{shareDisabled}}" cardInfo="{{cardInfo}}"></user-info>
<user-info data-skeleton-hide="cardInfo" shareDisabled="{{shareDisabled}}" cardInfo="{{cardInfo}}"></user-info>
<view class="main-bottom">
<view class="main-bottom">
<!-- 面向渠道 -->
<!-- 面向渠道 -->
<template is="channel"></template>
<template is="channel"
data="{{IMGURL, img_version}}"
></template>
<!-- tab介绍 -->
<!-- tab介绍 -->
<view class="tab-list">
<view class="tab-list">
<block wx:for="{{tabList}}" wx:key="index">
<block wx:for="{{tabList}}" wx:key="index">
...
...
pages/template/channel/channel.wxml
View file @
19e9ab7
<template name="channel">
<template name="channel">
<view class="channel-bg">
<view class="channel-bg">
<image class="channel-img" mode="widthFix" webp src="https://img02.glsx.com.cn/weapp/resource/miniprogram/ai-card/home/banner-bg.png" data-name="logo"></image>
<!-- <image class="channel-img" mode="widthFix" webp src="https://img02.glsx.com.cn/weapp/resource/miniprogram/ai-card/home/banner-bg.png" data-name="logo"></image>
<view class="channel-word">
<view class="channel-word">
<view class="channel-title">面向渠道</view>
<view class="channel-title">面向渠道</view>
<view class="channel-text">助力数字化转型,实现获客增值</view>
<view class="channel-text">助力数字化转型,实现获客增值</view>
</view> -->
<image class="channel-img" mode="widthFix" webp src="{{IMGURL}}home/banner-left.png?v={{img_version}}" bindtap="jumpBanner" data-path="left"></image>
<image class="channel-img" mode="widthFix" webp src="{{IMGURL}}home/banner-right.png?v={{img_version}}" bindtap="jumpBanner" data-path="right"></image>
</view>
</view>
</view>
</template>
</template>
\ No newline at end of file
\ No newline at end of file
pages/template/channel/channel.wxss
View file @
19e9ab7
.channel-bg {
.channel-bg {
width: 700rpx;
/*
width: 700rpx;
height: 144rpx;
height: 144rpx; */
margin: 0 auto
;
margin: 0 22rpx
;
position: relative;
position: relative;
}
}
.channel-img {
.channel-img {
width: 100%;
width: calc(50% - 10rpx);
height: 168rpx;
}
.channel-img:first-child {
margin-right: 16rpx;
}
}
.channel-word {
.channel-word {
position: absolute;
position: absolute;
top: 24rpx;
top: 24rpx;
left: 38rpx;
left: 38rpx;
}
}
.channel-title {
.channel-title {
...
...
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