v1.0发布

This commit is contained in:
itgaojian163 2025-04-25 17:37:14 +08:00
parent b4ffd70e35
commit 25816b0373
12 changed files with 628 additions and 50 deletions

View File

@ -1,50 +1,50 @@
{ {
"pages": [ "pages": [
"pages/login/login", "pages/mainPage/mainPage",
"pages/index/index", "pages/login/login",
"pages/mine/mineIndex/mine", "pages/index/index",
"pages/copyright/createProjectInfo/createProjectInfo", "pages/mine/mineIndex/mine",
"pages/copyright/createBuy/createBuy", "pages/copyright/createProjectInfo/createProjectInfo",
"pages/copyright/payment/payment", "pages/copyright/createBuy/createBuy",
"pages/mine/mineAccount/mineCoupons/mineCoupons", "pages/copyright/payment/payment",
"pages/copyright/publicPay/publicPay", "pages/mine/mineAccount/mineCoupons/mineCoupons",
"pages/copyright/common/payState", "pages/copyright/publicPay/publicPay",
"pages/readTxt/readTxt", "pages/copyright/common/payState",
"pages/mine/mineAccount/mineInfo/mineInfo", "pages/readTxt/readTxt",
"pages/mine/mineAccount/mineOrder/mineOrder", "pages/mine/mineAccount/mineInfo/mineInfo",
"pages/mine/mineAccount/mineContact/mineContact", "pages/mine/mineAccount/mineOrder/mineOrder",
"pages/treaty/rule/rule", "pages/mine/mineAccount/mineContact/mineContact",
"pages/mine/mineAccount/minePayRecord/minePayRecord" "pages/treaty/rule/rule",
], "pages/mine/mineAccount/minePayRecord/minePayRecord"
"window": { ],
"navigationBarTextStyle": "black", "window": {
"navigationBarTitleText": "AI喵著", "navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#ffffff" "navigationBarTitleText": "AI喵著",
}, "navigationBarBackgroundColor": "#ffffff"
"tabBar": { },
"custom": true, "tabBar": {
"color": "#515151", "custom": true,
"selectedColor": "#FE9944", "color": "#515151",
"list": [ "selectedColor": "#FE9944",
{ "list": [{
"pagePath": "pages/index/index", "pagePath": "pages/index/index",
"text": "首页", "text": "首页",
"iconPath": "/static/images/ic_home_normal.png", "iconPath": "/static/images/ic_home_normal.png",
"selectedIconPath": "/static/images/ic_home_select.png" "selectedIconPath": "/static/images/ic_home_select.png"
}, },
{ {
"pagePath": "pages/mine/mineIndex/mine", "pagePath": "pages/mine/mineIndex/mine",
"text": "我的", "text": "我的",
"iconPath": "/static/images/ic_mine_normal.png", "iconPath": "/static/images/ic_mine_normal.png",
"selectedIconPath": "/static/images/ic_mine_select.png" "selectedIconPath": "/static/images/ic_mine_select.png"
} }
] ]
}, },
"style": "v2", "style": "v2",
"componentFramework": "glass-easel", "componentFramework": "glass-easel",
"sitemapLocation": "sitemap.json", "sitemapLocation": "sitemap.json",
"lazyCodeLoading": "requiredComponents", "lazyCodeLoading": "requiredComponents",
"useExtendedLib": { "useExtendedLib": {
"weui": true "weui": true
} }
} }

View File

@ -154,4 +154,34 @@ page {
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
overflow: hidden; overflow: hidden;
}
.size-16 {
height: 16rpx;
height: 16rpx;
}
.size-32 {
width: 32rpx;
height: 32rpx;
}
.size-48 {
width: 48rpx;
height: 48rpx;
}
.size-48-128 {
width: 128rpx;
height: 48rpx;
}
.size-64 {
width: 64rpx;
height: 64rpx;
}
.size-128 {
width: 128rpx;
height: 128rpx;
} }

View File

@ -37,6 +37,9 @@ Component({
notifyParentToRefresh() { notifyParentToRefresh() {
// 触发自定义事件 'parentRefresh',并可以传递数据(这里传递一个空对象) // 触发自定义事件 'parentRefresh',并可以传递数据(这里传递一个空对象)
this.triggerEvent('refresh', {}); this.triggerEvent('refresh', {});
},
notifyParentCreate() {
this.triggerEvent('create', {})
} }
} }
}) })

View File

@ -8,6 +8,10 @@
<image src="/static/images/load_err.png" class="loading_err"></image> <image src="/static/images/load_err.png" class="loading_err"></image>
<text style="align-self: center;margin-top: 10px;color: #cecece;font-size: 14px;">暂无数据,点击刷新</text> <text style="align-self: center;margin-top: 10px;color: #cecece;font-size: 14px;">暂无数据,点击刷新</text>
</view> </view>
<view wx:elif="{{loadingVisible=='create'}}" class="error-box" bind:tap="notifyParentCreate">
<image src="/static/images/load_err.png" class="loading_err"></image>
<text style="align-self: center;margin-top: 10px;color: #cecece;font-size: 14px;">点击去创建项目</text>
</view>
<block wx:else="{{loadingVisible=='success'}}"> <block wx:else="{{loadingVisible=='success'}}">
<slot></slot> <slot></slot>
</block> </block>

View File

@ -17,8 +17,13 @@ const apiPath = {
proLangList: '/api/env/custom/list-active-lang', //项目语言 proLangList: '/api/env/custom/list-active-lang', //项目语言
ruleData: '/app/agreementportal/getrelease/{id}', //使用规则 project="operator" ruleData: '/app/agreementportal/getrelease/{id}', //使用规则 project="operator"
investDetail: "/news-content/listpage?rows=1&page=1", //投资优势 investDetail: "/news-content/listpage?rows=1&page=1", //投资优势
mainProCount: '/api/env/custom/get-proj-counts', //首页介绍数量
} }
class ProjectService { class ProjectService {
//首页介绍数量
static doGetMainProCount() {
return request(apiPath.mainProCount, 'GET')
}
//项目列表 //项目列表
static doGetSelfProjectList(data) { static doGetSelfProjectList(data) {
return request(apiPath.getSelfProjectList, 'GET', data) return request(apiPath.getSelfProjectList, 'GET', data)

View File

@ -285,6 +285,11 @@ Page({
console.log(err) console.log(err)
}) })
}, },
doOpenCreate() {
wx.navigateTo({
url: '/pages/copyright/createBuy/createBuy',
})
},
//获取项目列表 //获取项目列表
doGetSelfList(params, isRefresh) { doGetSelfList(params, isRefresh) {
const _self = this const _self = this
@ -295,7 +300,7 @@ Page({
.then(res => { .then(res => {
console.log(res) console.log(res)
var status = 'success' var status = 'success'
status = res.rows && res.rows.length > 0 ? 'success' : 'empty' status = res.rows && res.rows.length > 0 ? 'success' : 'create'
const list = _self.addPrefixToPreviewImgs(res.rows) const list = _self.addPrefixToPreviewImgs(res.rows)
_self.setData({ _self.setData({
listLoading: isRefresh ? status : '', listLoading: isRefresh ? status : '',

View File

@ -57,7 +57,7 @@
</view> </view>
</view> </view>
<view class="content-box" style="height:{{contentHeight}}rpx;"> <view class="content-box" style="height:{{contentHeight}}rpx;">
<container-loading loadingState="{{listLoading}}" style="height:{{contentHeight}}rpx;" bindrefresh="doRefreshList"> <container-loading loadingState="{{listLoading}}" style="height:{{contentHeight}}rpx;" bindrefresh="doRefreshList" bindcreate="doOpenCreate">
<scroll-view scroll-y="{{true}}" style="height: {{contentHeight}}rpx;" bindrefresherrefresh="doRefreshList" refresher-enabled refresher-triggered="{{listRefreshTrig}}" bindscrolltolower="doLoadMore" lower-threshold='30'> <scroll-view scroll-y="{{true}}" style="height: {{contentHeight}}rpx;" bindrefresherrefresh="doRefreshList" refresher-enabled refresher-triggered="{{listRefreshTrig}}" bindscrolltolower="doLoadMore" lower-threshold='30'>
<view class="list-content"> <view class="list-content">
<block wx:for="{{projectList}}" wx:key="index"> <block wx:for="{{projectList}}" wx:key="index">

View File

@ -0,0 +1,56 @@
// pages/mainPage/mainPage.js
import ProApi from '../../net/api/projectApi';
const screenInfo = wx.getWindowInfo();
const statusBarHeight = screenInfo.statusBarHeight; // 状态栏高度
Page({
/**
* 页面的初始数据
*/
data: {
statusBarHeight: statusBarHeight,
recommendList: [{
id: '1',
content: '生成真实系统 | 可下载安装包'
},
{
id: '2',
content: '提供材料撰写 | 提供一键导出'
},
{
id: '2',
content: '不下证书就退款 | 免费补正也退款'
},
{
id: '2',
content: '全托管包下证 | 也可自行申报'
}
],
docCount: 0,
cerCount: 0,
recommendDesc: ''
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.getMainProCount()
},
getMainProCount() {
ProApi.doGetMainProCount()
.then(res => {
this.setData({
recommendDesc: `AI喵著网累计辅助编写资料<span style="font-size:20px;"> ${res.data[0]} </span>万套,通过平台代办下发证书<span style="font-size:20px;"> ${res.data[1]} </span>万件`
})
})
.catch(err => {
console.log(err)
})
},
openLogin() {
wx.navigateTo({
url: '/pages/login/login',
})
}
})

View File

@ -0,0 +1,4 @@
{
"usingComponents": {},
"navigationStyle": "custom"
}

View File

@ -0,0 +1,157 @@
<view class="page-container">
<view class="page-container-img"></view>
<!-- 标题图标 -->
<view class="main-logo size-48-128" style="margin-top:{{statusBarHeight}}px;"></view>
<!-- 文字介绍 -->
<view class="main-txt-recommend">
<view class="main-recommend-title">不止</view>
<swiper class="main-recommend-container" vertical="{{true}}" autoplay="{{true}}" circular="{{true}}" interval="{{2000}}">
<block wx:for="{{recommendList}}" wx:key="index">
<swiper-item>
<view class="main-recommend-content">{{item.content}}</view>
</swiper-item>
</block>
</swiper>
<view class="main-recommend-desc">
<rich-text nodes="{{recommendDesc}}"></rich-text>
</view>
</view>
<view class="buy-all-container">
<view class="buy-all-box">
<view class="buy-all-title">
<view class="buy-all-txt">
<text class="txt-title">全托管</text>
<text class="money">¥180~280</text>
</view>
<view class="buy-all-btn" bind:tap="openLogin" data-type="ALL">购买</view>
</view>
<view class="pd-20">
<view class="buy-desc-box mt-10">
<view class="buy-desc-txt">从下单到取证,仅需提供基本信息,我们为您提供一站式管家服务.</view>
<view class="mt-10" style="font-size: 25rpx;">提供的服务</view>
<view class="buy-desc-item mt-10">
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">包可运行软件开发与搭建</text>
</view>
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">包鉴别材料撰写</text>
</view>
</view>
<view class="buy-desc-item mt-10">
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">包代办,包下证,包开发票提</text>
</view>
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">供可运行软件安装包</text>
</view>
</view>
<view class="buy-desc-item mt-10">
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">提供可运行软件云服务900天</text>
</view>
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">提供可运行软件演示视频</text>
</view>
</view>
<view class="buy-desc-item mt-10">
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">客服一对一服务</text>
</view>
</view>
<view class="mt-10">
<text style="font-size:25rpx;">使用流程</text>
<view class="buy-desc-column mt-10 list">
<view class="buy-desc-row-no-margin list-item">
<text class="txt-hor">填写系统名称</text>
</view>
<view class="buy-desc-row-no-margin list-item">
<text class="txt-hor">填写基本信息</text>
</view>
<view class="buy-desc-row-no-margin list-item">
<text class="txt-hor">接收证书</text>
</view>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 写材料 -->
<view class="buy-all-box">
<view class="buy-all-title">
<view class="buy-all-txt">
<text class="txt-title">写材料</text>
<text class="money">¥30~80</text>
</view>
<view class="buy-all-btn" bind:tap="openLogin" data-type="MATERIAL">购买</view>
</view>
<view class="pd-20">
<view class="buy-desc-box">
<view class="buy-desc-txt mt-10">通过平台自己搭建可运行软件后由平台自动生成相关鉴别材料,下载鉴别材料后可自行申报或找相关代理机构申报.</view>
<view class="mt-10" style="font-size: 25rpx;">提供的服务</view>
<view class="buy-desc-item mt-10">
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">通过平台自己搭建可运行软件</text>
</view>
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">平台自动撰写鉴别材料</text>
</view>
</view>
<view class="buy-desc-item mt-10">
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">包补正材料撰写一直到下证</text>
</view>
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">两次补正不通过平台退款</text>
</view>
</view>
<view class="buy-desc-item mt-10">
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">包开发票</text>
</view>
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">提供可运行软件云服务300天</text>
</view>
</view>
<view class="buy-desc-item mt-10">
<view class="buy-desc-row">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="txt">客服一对一服务</text>
</view>
</view>
<view class="mt-10">
<text style="font-size: 25rpx;">使用流程</text>
<view style="display: flex;flex-direction: column;">
<view class="buy-desc-row-no-margin mt-10">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="single-txt">按系统操作流程执行</text>
</view>
<view class="buy-desc-row-no-margin mt-10">
<image src="/static/images/ic_check_fit.png" class="buy-desc-row-icon"></image>
<text class="single-txt ">如需视频文件和安装包请在下证后购买下载</text>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="main-btn" bind:tap="openLogin">去登录</view>
<!-- <view class="main-footer">
<view>客服中心</view>
<view>关于我们</view>
<view>400-086-1633</view>
</view> -->
</view>

File diff suppressed because one or more lines are too long

BIN
static/images/mian_bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 84 KiB