init
This commit is contained in:
37
pages/subpages/services/deploy/deploy.js
Normal file
37
pages/subpages/services/deploy/deploy.js
Normal file
@@ -0,0 +1,37 @@
|
||||
Page({
|
||||
data: {
|
||||
title: '代码部署服务',
|
||||
description: '提供专业的项目环境安装和源码部署服务,包括IDEA、MySQL、JDK等软件安装和项目的完整部署。'
|
||||
},
|
||||
|
||||
onShareAppMessage() {
|
||||
return new Promise((resolve) => {
|
||||
wx.showLoading({
|
||||
title: '生成分享图片...'
|
||||
});
|
||||
// 获取页面截图
|
||||
wx.createSelectorQuery()
|
||||
.select('.content')
|
||||
.fields({
|
||||
size: true,
|
||||
scrollOffset: true
|
||||
})
|
||||
.exec((res) => {
|
||||
wx.hideLoading();
|
||||
resolve({
|
||||
title: this.data.title,
|
||||
path: '/pages/subpages/services/deploy/deploy',
|
||||
imageUrl: '' // 微信会自动使用页面截图
|
||||
});
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
onShareTimeline() {
|
||||
return {
|
||||
title: this.data.title,
|
||||
query: '',
|
||||
imageUrl: '' // 微信会自动使用页面截图
|
||||
}
|
||||
}
|
||||
})
|
||||
6
pages/subpages/services/deploy/deploy.json
Normal file
6
pages/subpages/services/deploy/deploy.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"van-button": "@vant/weapp/button/index",
|
||||
"van-icon": "@vant/weapp/icon/index"
|
||||
}
|
||||
}
|
||||
33
pages/subpages/services/deploy/deploy.wxml
Normal file
33
pages/subpages/services/deploy/deploy.wxml
Normal file
@@ -0,0 +1,33 @@
|
||||
<view class="container">
|
||||
<view class="content">
|
||||
<text class="title">代码部署服务</text>
|
||||
<text class="description">
|
||||
<text>一、项目环境安装</text>
|
||||
项目运行需要的安装包如下:
|
||||
IDEA、MySQL、JDK、Node、Navicat
|
||||
购买后:
|
||||
1.您需要下载todesk(https://www.todesk.com)远程工具,方便我们远程协助您
|
||||
2.我们提供所有项目运行必备的软件安装包
|
||||
3.我们会安排专门人员一对一为您提供安装服务
|
||||
4.安装完成后,会帮您测试软件功能是否正常
|
||||
5.软件安装正常后,需要您做确认,运行环境安装环节结束
|
||||
<text>二、项目源码部署</text>
|
||||
1.限定本平台内提供的项目源码
|
||||
2.远程在您电脑上部署调试好源码,正常运行并确认后,部署环节结束
|
||||
<text>三、说明</text>
|
||||
1.后续如果您电脑重装系统或者其他人为因素造成软件无法正常运行,与本次服务无关
|
||||
2.后续您对代码或者数据库进行二次修改,造成代码运行出错,与本次服务无关
|
||||
3.本服务属于一次性服务,服务完请您当时确认服务完成,过期无效
|
||||
</text>
|
||||
<text class="note">服务费用:¥50</text>
|
||||
<text class="node1">购买代码部署请长按二维码添加微信(forfeastcoding),备注小程序</text>
|
||||
<image class="qrcode" src="../../../../static/tabbar/qrcode.jpg" show-menu-by-longpress="true"></image>
|
||||
</view>
|
||||
|
||||
<view class="article-action">
|
||||
<button class="share-btn" size="mini" open-type="share" plain="true">
|
||||
<van-icon name="guide-o" />
|
||||
<text>分享</text>
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
99
pages/subpages/services/deploy/deploy.wxss
Normal file
99
pages/subpages/services/deploy/deploy.wxss
Normal file
@@ -0,0 +1,99 @@
|
||||
.container {
|
||||
min-height: 100vh;
|
||||
background-color: #fff;
|
||||
padding: 30rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.content {
|
||||
flex: 1;
|
||||
padding-bottom: 140rpx;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 40rpx;
|
||||
font-weight: bold;
|
||||
color: #333;
|
||||
display: block;
|
||||
margin-bottom: 40rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.description {
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
line-height: 2;
|
||||
white-space: pre-wrap;
|
||||
margin-bottom: 30rpx;
|
||||
padding: 0 20rpx;
|
||||
}
|
||||
|
||||
.description text {
|
||||
font-weight: bold;
|
||||
display: block;
|
||||
margin-top: -30rpx;
|
||||
margin-bottom: -30rpx;
|
||||
}
|
||||
|
||||
.article-action {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 100rpx;
|
||||
background: #fff;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
padding: 0 30rpx;
|
||||
box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.share-btn {
|
||||
display: flex !important;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0 30rpx !important;
|
||||
font-size: 17px !important;
|
||||
color: #666 !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
.share-btn van-icon {
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
.share-btn text {
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
|
||||
.note {
|
||||
display: block;
|
||||
font-size: 28rpx;
|
||||
color: rgb(6, 80, 240);
|
||||
margin: 20rpx 0;
|
||||
padding: 20rpx;
|
||||
background: rgba(6, 80, 240, 0.05);
|
||||
border-radius: 12rpx;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.node1 {
|
||||
margin-top: 30rpx;
|
||||
font-size: 26rpx;
|
||||
color: rgb(252, 7, 7);
|
||||
display: block;
|
||||
text-align: center;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.qrcode {
|
||||
margin: 20rpx auto;
|
||||
height: 300rpx;
|
||||
width: 300rpx;
|
||||
display: block;
|
||||
border-radius: 12rpx;
|
||||
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
Reference in New Issue
Block a user