Commit 298fb4e6 by 胡悦

添加新能源页面,更新骨架屏

1 parent 19e9ab72
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"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" "pages/activityApplication/activityApplication",
"pages/newEnergy/newEnergy"
], ],
"window": { "window": {
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
......
...@@ -7,7 +7,11 @@ Page({ ...@@ -7,7 +7,11 @@ Page({
data: { data: {
}, },
toBack() {
wx.navigateBack({
delta: 2,
})
},
/** /**
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
......
{ {
"usingComponents": {}, "usingComponents": {},
"navigationBarTitleText": "合作申请" "navigationBarTitleText": "活动申请"
} }
\ No newline at end of file \ No newline at end of file
...@@ -4,10 +4,9 @@ ...@@ -4,10 +4,9 @@
<image class="success-img" mode="widthFix" webp src="{{IMGURL}}home/success.png" bindload="imgSuccess" data-name="logo"></image> <image class="success-img" mode="widthFix" webp src="{{IMGURL}}home/success.png" bindload="imgSuccess" data-name="logo"></image>
</view> </view>
<view class="success-title">申请成功</view> <view class="success-title">申请成功</view>
<view class="success-text">您的合伙人对外宣传合作案例页面已生成,</view> <view class="success-text">您的申请已提交,</view>
<view class="success-text">点击下方按钮进入您的方案管理页面,</view> <view class="success-text">请耐心等待顾问专员与您联系。</view>
<view class="success-text">可对具体案例页面进行分享。</view> <button class="share-btn" bindtap="toBack">
<button class="share-btn"> 返回首页
进入您的可分享页面
</button> </button>
</view> </view>
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
.success-img { .success-img {
width: 448rpx; width: 448rpx;
height: 192rpx; height: 192rpx;
margin-top: 240rpx; margin-top: 192rpx;
} }
.success-title { .success-title {
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
font-weight: 500; font-weight: 500;
font-size: 56rpx; font-size: 56rpx;
color: #2D2D33; color: #2D2D33;
margin: 32rpx 0; margin: 80rpx 0 32rpx;
} }
.success-text { .success-text {
...@@ -29,9 +29,10 @@ ...@@ -29,9 +29,10 @@
width: 622rpx; width: 622rpx;
height: 80rpx; height: 80rpx;
font-size: 28rpx; font-size: 28rpx;
color: #ffffff; color: #5850FF;
background: #5850FF;
border-radius: 8rpx; border-radius: 8rpx;
line-height: 80rpx; line-height: 80rpx;
margin-top: 160rpx; margin-top: 208rpx;
border: 2rpx solid #9B96FF;
background-color: #fff;
} }
\ No newline at end of file \ No newline at end of file
// pages/newEnergy/newEnergy.js
import { trackData } from "../../utils/data";
import util from "../../utils/util";
Page({
/**
* 页面的初始数据
*/
data: {
},
toSuccess() {
wx.$router.go("applySuccess");
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
const options = wx.getEnterOptionsSync()
if (options.query.cardId) {
wx.$trackData = options.query
}
getApp()
.login()
.then(({ data }) => {
if (!wx.$trackData.detailShare) {
wx.$Track.sendTrack(trackData.NEWENERGY);
}
});
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: trackData.NEWENERGY.pageName,
path:
"pages/newEnergy/newEnergy?cardId=" +
util.getStorageSync("scene").cardId+"&merchant="+util.getStorageSync("scene").merchantId+'&detailShare=' +trackData.NEWENERGY.pageName
};
}
})
\ No newline at end of file \ No newline at end of file
{
"usingComponents": {},
"navigationBarTitleText": "数字化+新能源汽车"
}
\ No newline at end of file \ No newline at end of file
<!--pages/newEnergy/newEnergy.wxml-->
<view class="wrapper-bg">
<image class="newenergy-img" mode="widthFix" webp src="{{IMGURL}}home/newenergy1.png?v={{img_version}}"></image>
<image class="newenergy-img" mode="widthFix" webp src="{{IMGURL}}home/newenergy2.png?v={{img_version}}"></image>
<image class="newenergy-img" mode="widthFix" webp src="{{IMGURL}}home/newenergy3.png?v={{img_version}}"></image>
</view>
<button bindtap="toSuccess">提交</button>
\ No newline at end of file \ No newline at end of file
/* pages/newEnergy/newEnergy.wxss */
.wrapper-bg {
background-color: #505CFF;
padding-bottom: 74rpx;
}
.newenergy-img {
width: 100%;
margin-top: 24rpx;
}
\ No newline at end of file \ No newline at end of file
...@@ -379,6 +379,7 @@ Page({ ...@@ -379,6 +379,7 @@ Page({
switch(path) { switch(path) {
case 'left': case 'left':
console.log('数字化+新能源汽车') console.log('数字化+新能源汽车')
wx.$router.go("newEnergy");
break break
case 'right': case 'right':
console.log('众筹活动助力') console.log('众筹活动助力')
......
<!-- <!--
此文件为开发者工具生成,生成时间: 2022/9/17下午3:18:38 此文件为开发者工具生成,生成时间: 2022/10/21下午2:19:20
使用方法: 使用方法:
在 D:\workCode\2022-09\ai-card\pages\tab\index\index.wxml 引入模板 在 D:\workCode\2022-09\ai-card\pages\tab\index\index.wxml 引入模板
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
--> -->
<template name="skeleton"> <template name="skeleton">
<view class="sk-container"> <view class="sk-container">
<view class="sk-container"></view>
<view class="main-box"> <view class="main-box">
<view is="components/UserInfo/UserInfo" hidden="{{cardInfo}}"> <view is="components/UserInfo/UserInfo" hidden="{{cardInfo}}">
<view class="UserInfo--user-wrapper"> <view class="UserInfo--user-wrapper">
...@@ -26,16 +27,16 @@ ...@@ -26,16 +27,16 @@
<image class="UserInfo--company-logo sk-image"></image> <image class="UserInfo--company-logo sk-image"></image>
</view> </view>
<view class="UserInfo--user-name"> <view class="UserInfo--user-name">
<view class="UserInfo--name sk-transparent sk-text-19-4444-814 sk-text">虚拟员工</view> <view class="UserInfo--name sk-transparent sk-text-19-4444-883 sk-text">梁懿</view>
<view class="UserInfo--position sk-transparent sk-text-14-2857-785 sk-text">虚拟职位</view> <view class="UserInfo--position sk-transparent sk-text-14-2857-261 sk-text">哈哈</view>
</view> </view>
<view class="UserInfo--user-phone"> <view class="UserInfo--user-phone">
<image webp="true" class="UserInfo--user-icon sk-image"></image> <image webp="true" class="UserInfo--user-icon sk-image"></image>
<view class="sk-transparent sk-text-12-5000-404 sk-text">xxxxxxxx</view> <view class="sk-transparent sk-text-12-5000-996 sk-text">15814019200</view>
</view> </view>
<view class="UserInfo--user-address"> <view class="UserInfo--user-address">
<image webp="true" class="UserInfo--user-icon sk-image"></image> <image webp="true" class="UserInfo--user-icon sk-image"></image>
<view class="UserInfo--address sk-transparent sk-text-12-5000-556 sk-text">深圳市南山区留仙大道3370号南山智园崇文园区1号楼14层</view> <view class="UserInfo--address sk-transparent sk-text-12-5000-291 sk-text">深圳市南山区留仙大道3370号南山智园崇文园区1号楼14层</view>
</view> </view>
<image lazy-load="true" class="UserInfo--user-avatar sk-image"></image> <image lazy-load="true" class="UserInfo--user-avatar sk-image"></image>
<image webp="true" class="UserInfo--add-wechat sk-image"></image> <image webp="true" class="UserInfo--add-wechat sk-image"></image>
...@@ -45,7 +46,7 @@ ...@@ -45,7 +46,7 @@
<view class="UserInfo--btn-group"> <view class="UserInfo--btn-group">
<view class="UserInfo--phone-btn"> <view class="UserInfo--phone-btn">
<image webp="true" class="UserInfo--icon-dial sk-image"></image> <image webp="true" class="UserInfo--icon-dial sk-image"></image>
<view class="UserInfo--phone-text sk-transparent sk-text-14-2857-445 sk-text" style="background-position-x: 50%;">拨打电话</view> <view class="UserInfo--phone-text sk-transparent sk-text-14-2857-847 sk-text" style="background-position-x: 50%;">拨打电话</view>
</view> </view>
<button class="UserInfo--btn-plain UserInfo--btn sk-transparent sk-button sk-pseudo sk-pseudo-circle">保存名片</button> <button class="UserInfo--btn-plain UserInfo--btn sk-transparent sk-button sk-pseudo sk-pseudo-circle">保存名片</button>
<button class="UserInfo--btn-primary UserInfo--btn sk-transparent sk-button sk-pseudo sk-pseudo-circle" open-type="share">分享名片</button> <button class="UserInfo--btn-primary UserInfo--btn sk-transparent sk-button sk-pseudo sk-pseudo-circle" open-type="share">分享名片</button>
...@@ -55,44 +56,25 @@ ...@@ -55,44 +56,25 @@
</view> </view>
<view class="main-bottom"> <view class="main-bottom">
<view class="channel-bg"> <view class="channel-bg">
<image webp="true" class="channel-img sk-image" data-name="logo" mode="widthFix" style="height: 71.7949px;"></image> <image webp="true" class="channel-img sk-image" data-path="left" mode="widthFix" style="height: 86.8063px;"></image>
<view class="channel-word"> <image webp="true" class="channel-img sk-image" data-path="right" mode="widthFix" style="height: 85.7969px;"></image>
<view class="channel-title sk-transparent sk-text-17-8571-558 sk-text">面向渠道</view>
<view class="channel-text sk-transparent sk-text-16-6667-529 sk-text">助力数字化转型,实现获客增值</view>
</view>
</view> </view>
<view class="tab-list"> <view class="tab-list">
<view class="tab-item" data-index="0" data-name="[object Object]"> <view class="tab-item tab-item-active sk-image" data-index="0" data-name="[object Object]">
<image webp="true" class="tab-img sk-image" mode="widthFix" style="height: 36px;"></image> <image webp="true" class="tab-img sk-image" mode="widthFix" style="height: 36px;"></image>
<view class="tab-text sk-transparent sk-text-14-2857-87 sk-text" style="background-position-x: 50%;">公司介绍</view> <view class="tab-text sk-transparent sk-text-14-2857-411 sk-text" style="background-position-x: 50%;">公司介绍</view>
</view> </view>
<view class="tab-item tab-item-active sk-image" data-index="1" data-name="[object Object]"> <view class="tab-item" data-index="1" data-name="[object Object]">
<image webp="true" class="tab-img sk-image" mode="widthFix" style="height: 36px;"></image> <image webp="true" class="tab-img sk-image" mode="widthFix" style="height: 36px;"></image>
<view class="tab-text sk-transparent sk-text-14-2857-646 sk-text" style="background-position-x: 50%;">方案介绍</view> <view class="tab-text sk-transparent sk-text-14-2857-670 sk-text" style="background-position-x: 50%;">方案介绍</view>
</view> </view>
<view class="tab-item" data-index="2" data-name="[object Object]"> <view class="tab-item" data-index="2" data-name="[object Object]">
<image webp="true" class="tab-img sk-image" mode="widthFix" style="height: 36px;"></image> <image webp="true" class="tab-img sk-image" mode="widthFix" style="height: 36px;"></image>
<view class="tab-text sk-transparent sk-text-14-2857-669 sk-text" style="background-position-x: 50%;">视频直播</view> <view class="tab-text sk-transparent sk-text-14-2857-642 sk-text" style="background-position-x: 50%;">视频直播</view>
</view> </view>
</view> </view>
<view class="menu-list"> <view>
<view class="menu-item menu-active sk-transparent sk-text-34-0909-543 sk-text sk-pseudo sk-pseudo-circle" data-index="0"> <image webp="true" class="img sk-image" mode="widthFix" style="height: 1030.51px;"></image>
企微魔方
</view>
<view class="menu-item sk-transparent sk-text-35-2273-137 sk-text" data-index="1">
数字化权益
</view>
<view class="menu-item sk-transparent sk-text-35-2273-433 sk-text" data-index="2">
智能线索
</view>
<view class="menu-item sk-transparent sk-text-35-2273-571 sk-text" data-index="3">
D+增值转化
</view>
</view>
<view class="isFullSucreen">
<view class="p-b-20">
<image webp="true" class="img sk-image" mode="widthFix" style="height: 1318.16px;"></image>
</view>
</view> </view>
</view> </view>
</view> </view>
......
/* /*
此文件为开发者工具生成,生成时间: 2022/9/17下午3:18:38 此文件为开发者工具生成,生成时间: 2022/10/21下午2:19:20
在 D:\workCode\2022-09\ai-card\pages\tab\index\index.wxss 中引入样式 在 D:\workCode\2022-09\ai-card\pages\tab\index\index.wxss 中引入样式
``` ```
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
.sk-transparent { .sk-transparent {
color: transparent !important; color: transparent !important;
} }
.sk-text-19-4444-814 { .sk-text-19-4444-883 {
background-image: linear-gradient(transparent 19.4444%, #EEEEEE 0%, #EEEEEE 80.5556%, transparent 0%) !important; background-image: linear-gradient(transparent 19.4444%, #EEEEEE 0%, #EEEEEE 80.5556%, transparent 0%) !important;
background-size: 100% 72.0000rpx; background-size: 100% 72.0000rpx;
position: relative !important; position: relative !important;
...@@ -23,71 +23,41 @@ ...@@ -23,71 +23,41 @@
color: transparent !important; color: transparent !important;
background-repeat: repeat-y !important; background-repeat: repeat-y !important;
} }
.sk-text-14-2857-785 { .sk-text-14-2857-261 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 36.4000rpx; background-size: 100% 36.4000rpx;
position: relative !important; position: relative !important;
} }
.sk-text-12-5000-404 { .sk-text-12-5000-996 {
background-image: linear-gradient(transparent 12.5000%, #EEEEEE 0%, #EEEEEE 87.5000%, transparent 0%) !important; background-image: linear-gradient(transparent 12.5000%, #EEEEEE 0%, #EEEEEE 87.5000%, transparent 0%) !important;
background-size: 100% 32.0000rpx; background-size: 100% 32.0000rpx;
position: relative !important; position: relative !important;
} }
.sk-text-12-5000-556 { .sk-text-12-5000-291 {
background-image: linear-gradient(transparent 12.5000%, #EEEEEE 0%, #EEEEEE 87.5000%, transparent 0%) !important; background-image: linear-gradient(transparent 12.5000%, #EEEEEE 0%, #EEEEEE 87.5000%, transparent 0%) !important;
background-size: 100% 32.0000rpx; background-size: 100% 32.0000rpx;
position: relative !important; position: relative !important;
} }
.sk-text-14-2857-445 { .sk-text-14-2857-847 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 28.0000rpx; background-size: 100% 28.0000rpx;
position: relative !important; position: relative !important;
} }
.sk-text-17-8571-558 { .sk-text-14-2857-411 {
background-image: linear-gradient(transparent 17.8571%, #EEEEEE 0%, #EEEEEE 82.1429%, transparent 0%) !important;
background-size: 100% 56.0000rpx;
position: relative !important;
}
.sk-text-16-6667-529 {
background-image: linear-gradient(transparent 16.6667%, #EEEEEE 0%, #EEEEEE 83.3333%, transparent 0%) !important;
background-size: 100% 36.0000rpx;
position: relative !important;
}
.sk-text-14-2857-87 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 33.6000rpx; background-size: 100% 33.6000rpx;
position: absolute !important; position: absolute !important;
} }
.sk-text-14-2857-646 { .sk-text-14-2857-670 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 33.6000rpx; background-size: 100% 33.6000rpx;
position: absolute !important; position: absolute !important;
} }
.sk-text-14-2857-669 { .sk-text-14-2857-642 {
background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important; background-image: linear-gradient(transparent 14.2857%, #EEEEEE 0%, #EEEEEE 85.7143%, transparent 0%) !important;
background-size: 100% 33.6000rpx; background-size: 100% 33.6000rpx;
position: absolute !important; position: absolute !important;
} }
.sk-text-34-0909-543 {
background-image: linear-gradient(transparent 34.0909%, #EEEEEE 0%, #EEEEEE 65.9091%, transparent 0%) !important;
background-size: 100% 88.0000rpx;
position: relative !important;
}
.sk-text-35-2273-137 {
background-image: linear-gradient(transparent 35.2273%, #EEEEEE 0%, #EEEEEE 64.7727%, transparent 0%) !important;
background-size: 100% 88.0000rpx;
position: relative !important;
}
.sk-text-35-2273-433 {
background-image: linear-gradient(transparent 35.2273%, #EEEEEE 0%, #EEEEEE 64.7727%, transparent 0%) !important;
background-size: 100% 88.0000rpx;
position: relative !important;
}
.sk-text-35-2273-571 {
background-image: linear-gradient(transparent 35.2273%, #EEEEEE 0%, #EEEEEE 64.7727%, transparent 0%) !important;
background-size: 100% 88.0000rpx;
position: relative !important;
}
.sk-button { .sk-button {
color: #EFEFEF !important; color: #EFEFEF !important;
background: #EFEFEF !important; background: #EFEFEF !important;
......
...@@ -127,6 +127,20 @@ ...@@ -127,6 +127,20 @@
{ {
"name": "", "name": "",
"pathName": "pages/tab/index/index", "pathName": "pages/tab/index/index",
"query": "scene=sceneId%3D3275",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/newEnergy/newEnergy",
"query": "",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/applySuccess/applySuccess",
"query": "", "query": "",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
......
...@@ -63,5 +63,14 @@ const trackData = { ...@@ -63,5 +63,14 @@ const trackData = {
pageKey: 15, pageKey: 15,
pageName: "流失期-数字化美容", pageName: "流失期-数字化美容",
}, },
NEWENERGY: {
pageKey: 16,
pageName: "数字化+新能源汽车"
},
ACTIVITYAPPLICATION: {
pageKey: 17,
pageName: "众筹活动申请"
}
}; };
export { trackData }; export { trackData };
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!