Browse Source

上传代码

zys
杨豪 3 years ago
parent
commit
c11f608012
  1. 8
      api/user.js
  2. 0
      components/newsSwiper.vue
  3. 4
      components/quick-skeleton/quick-skeleton.vue
  4. 5
      config/index.js
  5. 13
      pages.json
  6. 2
      pages/Loading/index.vue
  7. 8
      pages/demandHall/business/index.vue
  8. 6
      pages/demandHall/enterpriseServer/index.vue
  9. 44
      pages/demandHall/supplyHall/index.vue
  10. 18
      pages/home/index.vue
  11. 54
      pages/information/index.vue
  12. 9
      pages/life/articleList/index.vue
  13. 1
      pages/life/index.vue
  14. 162
      pages/login/agreementPage.vue
  15. 12
      pages/release/companyAuth/index.css
  16. 32
      pages/release/companyAuth/index.vue
  17. 49
      pages/release/personAuth/index.vue
  18. 42
      pages/user/incomeDetail/index.vue
  19. 9
      pages/user/mine/index.vue
  20. 48
      pages/user/withdraw/index.vue
  21. BIN
      static/images/home/减去 3@2x.png
  22. BIN
      static/images/home/组 326@2x.png
  23. BIN
      static/images/home/资源 21@2x.png
  24. BIN
      static/tabbarComponent/icon/icon_home.png
  25. BIN
      static/tabbarComponent/icon/icon_home_HL.png
  26. BIN
      static/tabbarComponent/icon/icon_mine.png
  27. BIN
      static/tabbarComponent/icon/icon_mine_HL.png
  28. BIN
      static/tabbarComponent/icon/icon_release2.png
  29. BIN
      static/tabbarComponent/icon/tab5-a.png
  30. BIN
      static/tabbarComponent/icon/tab5.png

8
api/user.js

@ -495,3 +495,11 @@ export function integral(q) {
export function signIntegral(q) { export function signIntegral(q) {
return request.post('/sign/integral') return request.post('/sign/integral')
} }
/*
* 提现
* */
export function cash(data) {
return request.post('/user/cash', data)
}

0
pages/demandHall/business/newsSwiper.vue → components/newsSwiper.vue

4
components/quick-skeleton/quick-skeleton.vue

@ -58,7 +58,11 @@
const that = this; const that = this;
// //
uni.createSelectorQuery().selectAll(`.${this.selector}`).boundingClientRect().exec(function(res){ uni.createSelectorQuery().selectAll(`.${this.selector}`).boundingClientRect().exec(function(res){
// console.log(res)
if(res[0][0]) {
that.systemInfo.height = res[0][0].height + res[0][0].top; that.systemInfo.height = res[0][0].height + res[0][0].top;
}
}); });
// //

5
config/index.js

@ -1,10 +1,11 @@
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api'; // export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api' // export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api'
// export const VUE_APP_API_URL = 'http://192.168.0.112:8092/api' // export const VUE_APP_API_URL = 'http://192.168.0.112:8092/api'
export const VUE_APP_API_URL = 'http://10.11.32.103:8092/api' // export const VUE_APP_API_URL = 'http://10.11.32.103:8092/api'
// export const VUE_APP_API_URL = 'https://cloud.api.cyjyyjy.com/api' export const VUE_APP_API_URL = 'https://cloud.api.cyjyyjy.com/api'
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api'; // export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://thapi.xinxintuan.co/api' // export const VUE_APP_API_URL = 'https://thapi.xinxintuan.co/api'
// export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api'; // export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api'; // export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api';
export const VUE_APP_RESOURCES_URL = 'https://h5.yixiang.co/static' export const VUE_APP_RESOURCES_URL = 'https://h5.yixiang.co/static'

13
pages.json

@ -36,6 +36,12 @@
"path": "pages/login/index", "path": "pages/login/index",
"style": {} "style": {}
}, },
{
"path": "pages/login/agreementPage",
"style": {
"navigationBarTitleText": "用户协议"
}
},
{ {
"path": "pages/authorization/index", "path": "pages/authorization/index",
"style": {} "style": {}
@ -487,7 +493,8 @@
{ {
"path": "pages/information/index", "path": "pages/information/index",
"style": { "style": {
"navigationBarTitleText": "资讯广场" "navigationBarTitleText": "资讯广场",
"enablePullDownRefresh": true
} }
} }
], ],
@ -524,8 +531,8 @@
{ {
"pagePath": "pages/information/index", "pagePath": "pages/information/index",
"text": "资讯", "text": "资讯",
"iconPath": "/static/tabbarComponent/icon/tab3.png", "iconPath": "/static/tabbarComponent/icon/tab5.png",
"selectedIconPath": "/static/tabbarComponent/icon/tab3-a.png" "selectedIconPath": "/static/tabbarComponent/icon/tab5-a.png"
}, },
{ {
"pagePath": "pages/user/index", "pagePath": "pages/user/index",

2
pages/Loading/index.vue

@ -4,7 +4,7 @@
<image src="https://download.cyjyyjy.com/miniappLogo.png" mode="aspectFill"></image> <image src="https://download.cyjyyjy.com/miniappLogo.png" mode="aspectFill"></image>
<text>海量资源与福利尽在云生态~</text> <text>海量资源与福利尽在云生态~</text>
<!-- <image src="@/static/live-logo.gif" rel="preload" mode="widthFix" style="width: 100%" /> --> <!-- <image src="@/static/live-logo.gif" rel="preload" mode="widthFix" style="width: 100%" /> -->
<image src="../../static/images/loading.gif" class="loading" mode=""></image> <!-- <image src="../../static/images/loading.gif" class="loading" mode=""></image> -->
</view> </view>
</view> </view>
</template> </template>

8
pages/demandHall/business/index.vue

@ -97,7 +97,7 @@
</view> </view>
<!-- 优质项目 --> <!-- 优质项目 -->
<view class="project-box"> <!-- <view class="project-box">
<image src="../../../static/images/business-title3.png" class="title-img"></image> <image src="../../../static/images/business-title3.png" class="title-img"></image>
<view class="project-list acea-row" v-for="(item,index) in 3" :key="index"> <view class="project-list acea-row" v-for="(item,index) in 3" :key="index">
<image src="../../../static/images/business-img1.png" mode="" class="project-img"></image> <image src="../../../static/images/business-img1.png" mode="" class="project-img"></image>
@ -115,7 +115,7 @@
</view> </view>
</view> </view>
</view> </view>
</view> </view> -->
</view> </view>
</template> </template>
@ -123,7 +123,7 @@
<script> <script>
import { getArticle } from "@/api/home"; import { getArticle } from "@/api/home";
import { briefing, supply, listResourcesCagetory, listEnterprise } from "@/api/business" import { briefing, supply, listResourcesCagetory, listEnterprise } from "@/api/business"
import NewsSwiper from "./newsSwiper.vue" import NewsSwiper from "@/components/newsSwiper.vue"
export default { export default {
components:{ NewsSwiper }, components:{ NewsSwiper },
data() { data() {
@ -383,7 +383,7 @@
width: 100%; width: 100%;
height: 330rpx; height: 330rpx;
white-space: nowrap; white-space: nowrap;
margin-left: 30rpx; padding-left: 30rpx;
.company-list { .company-list {
width: 408rpx; width: 408rpx;

6
pages/demandHall/enterpriseServer/index.vue

@ -31,7 +31,6 @@
<view class="line2">{{item.title}}</view> <view class="line2">{{item.title}}</view>
<view class="category-box acea-row"> <view class="category-box acea-row">
<view class="tag-item-b tag">{{item.cname}}</view> <view class="tag-item-b tag">{{item.cname}}</view>
<!-- <view class="tag-item-y tag">场地租赁</view> -->
</view> </view>
<view class="enterprise-price">{{item.totalMoney}}</view> <view class="enterprise-price">{{item.totalMoney}}</view>
</view> </view>
@ -56,7 +55,6 @@
<view class="title-h">{{item.enterpriseName}}</view> <view class="title-h">{{item.enterpriseName}}</view>
<view class="category-box acea-row"> <view class="category-box acea-row">
<view class="tag-item-b tag">{{item.cname}}</view> <view class="tag-item-b tag">{{item.cname}}</view>
<!-- <view class="tag-item-y tag"></view> -->
</view> </view>
<view class="title-s">{{item.enterpriseTitle}}</view> <view class="title-s">{{item.enterpriseTitle}}</view>
</view> </view>
@ -114,7 +112,7 @@
choseCagetory: '', choseCagetory: '',
choseBusiness: '', choseBusiness: '',
cName: "", cName: "",
cagetoryList: [],
resourceList: [], resourceList: [],
companyList: [], companyList: [],
loading: true, loading: true,
@ -123,7 +121,7 @@
} }
}, },
onLoad: function(options) { onLoad: function(options) {
// this.getCagetoryList(); this.getCagetoryList();
this.getPageData(); this.getPageData();
}, },
methods: { methods: {

44
pages/demandHall/supplyHall/index.vue

@ -17,12 +17,12 @@
</view> </view>
</view> </view>
</view> </view>
</view> </view>
<view class="supplyHall-box"> <view class="supplyHall-box">
<!-- 需求广场 -->
<view class="resource-box" v-if="active == 2"> <view class="resource-box" v-if="active == 2">
<!-- 需求列表 --> <view class="enterprise-list" v-for="(item, index) in list" :key="index" @tap="toNeedsDetail"
<view class="enterprise-list" v-for="(item, index) in list" :key="index" @tap="toNeedsDetail" :data-id="item.id"> :data-id="item.id">
<view :class="'tips-item' + (item.enterpriseType == 2 ? ' bg2' : '')"> <view :class="'tips-item' + (item.enterpriseType == 2 ? ' bg2' : '')">
{{item.enterpriseType == 1 ? '企业' : '个人'}} {{item.enterpriseType == 1 ? '企业' : '个人'}}
</view> </view>
@ -40,32 +40,12 @@
<view class="user-name">{{item.enterpriseName}}</view> <view class="user-name">{{item.enterpriseName}}</view>
</view> </view>
</view> </view>
<view class="todetails">查看详情</view> <view class="todetails">查看详情</view>
</view> </view>
<LoadStatus :loadStatus="loadStatus"></LoadStatus> <LoadStatus :loadStatus="loadStatus"></LoadStatus>
</view> </view>
<!-- 资源列表 --> <!-- 资源列表 -->
<view class="company-box" v-if="active == 1"> <view class="company-box" v-if="active == 1">
<!-- <view v-for="(item, index) in list" :key="index" @tap="toResourDetail" :data-id="item.id"> -->
<!-- <view class="personal-list" v-if="item.enterpriseType == 1">
<view :class="tips-item">个人</view>
<view class="acea-row row-column-between info-box">
<view class="user-info acea-row row-middle">
<image src="../../../static/images/business-img1.png" mode="" class="head-img"></image>
<view class="user-name">大老虎</view>
<view class="user-address">武汉</view>
<view class="user-price">{{item.totalMoney}}</view>
</view>
<view class="supply-con">李先生需要景区方面资源洽谈相关合作</view>
<view class="category-box acea-row">
<view class="tag-item-b tag">商务合作</view>
<view class="tag-item-y tag">场地租赁</view>
</view>
<view class="time-end">2021.8.30截止报名</view>
</view>
<view class="todetails">查看详情</view>
</view> -->
<view class="enterprise-list" v-for="(item, index) in list" :key="index" @tap="toResourDetail" :data-id="item.id"> <view class="enterprise-list" v-for="(item, index) in list" :key="index" @tap="toResourDetail" :data-id="item.id">
<view :class="'tips-item' + (item.enterpriseType == 2 ? ' bg2' : '' )"> <view :class="'tips-item' + (item.enterpriseType == 2 ? ' bg2' : '' )">
{{item.enterpriseType == 1 ? '企业' : '个人'}} {{item.enterpriseType == 1 ? '企业' : '个人'}}
@ -87,8 +67,8 @@
</view> </view>
<view class="todetails">查看详情</view> <view class="todetails">查看详情</view>
</view> </view>
<!-- </view> -->
<LoadStatus :loadStatus="loadStatus"></LoadStatus> <LoadStatus :loadStatus="loadStatus"></LoadStatus>
<!-- </view> -->
</view> </view>
</view> </view>
<view class="mask-box" v-if="showScreenDialog"> <view class="mask-box" v-if="showScreenDialog">
@ -128,7 +108,7 @@
components:{ LoadStatus }, components:{ LoadStatus },
data() { data() {
return { return {
active: '1', active: 2,
showScreenDialog: false, showScreenDialog: false,
cagetoryActive: "", cagetoryActive: "",
/// ///
@ -141,7 +121,6 @@
cName: "", cName: "",
// //
list: [], list: [],
pageNumber: 0, pageNumber: 0,
pageSize: 10, pageSize: 10,
loading: true, loading: true,
@ -151,6 +130,9 @@
onShow: function() { onShow: function() {
this.getPageData(); this.getPageData();
}, },
onLoad: function(options) {
this.getCagetoryList();
},
onPullDownRefresh: function() { onPullDownRefresh: function() {
this.setData({ this.setData({
loading: true, loading: true,
@ -183,6 +165,15 @@
showScreenDialog: true, showScreenDialog: true,
}); });
}, },
getCagetoryList() {
app.http('get', 'ResourcesCagetory/listResourcesCagetory').then(res => {
if (res.data.success) {
this.setData({
cagetoryList: res.data.data
});
}
});
},
cagetoryClick(e) { cagetoryClick(e) {
let item = e.currentTarget.dataset.item; let item = e.currentTarget.dataset.item;
let i = e.currentTarget.dataset.i; let i = e.currentTarget.dataset.i;
@ -635,6 +626,7 @@
border: 2rpx solid #FF6E33; border: 2rpx solid #FF6E33;
color: #FE7D26; color: #FE7D26;
background: #FDEFE6; background: #FDEFE6;
} }
.across-line { .across-line {

18
pages/home/index.vue

@ -1,8 +1,7 @@
<template> <template>
<view class="productSort"> <view class="productSort">
<!-- 顶部主页 --> <!-- 顶部主页 -->
<skeleton v-if="showSkeleton" ref="skeleton" loading="chiaroscuro" selector="skeleton" <skeleton v-if="showSkeleton" ref="skeleton" loading="chiaroscuro" selector="skeleton" bgcolor="#FFF"></skeleton>
bgcolor="#FFF"></skeleton>
<view class="pageTitle-box" :class="isFixed ? 'showPageTitle' : ''" <view class="pageTitle-box" :class="isFixed ? 'showPageTitle' : ''"
:style="{'padding-top':navTopHeight + 'px',height:navHeight*2+ 'px'}"> :style="{'padding-top':navTopHeight + 'px',height:navHeight*2+ 'px'}">
<view class="top-logo acea-row row-center" <view class="top-logo acea-row row-center"
@ -121,7 +120,7 @@
</view> </view>
<!-- 为您推荐 --> <!-- 为您推荐 -->
<view class="warter-box"> <view class="warter-box">
<image src="../../static/images/rec-headline.png" mode="" class="headline-img" skeleton-rect></image> <image src="../../static/images/rec-title.png" mode="" class="headline-img" skeleton-rect></image>
<u-waterfall v-model="productDtos" ref="uWaterfall"> <u-waterfall v-model="productDtos" ref="uWaterfall">
<template v-slot:left="{leftList}"> <template v-slot:left="{leftList}">
<view class="warter" v-for="(item, index) in leftList" :key="index" @tap="toGoodsDetail(item.id)"> <view class="warter" v-for="(item, index) in leftList" :key="index" @tap="toGoodsDetail(item.id)">
@ -149,6 +148,7 @@
</template> </template>
</u-waterfall> </u-waterfall>
<!-- <u-loadmore bg-color="rgb(240, 240, 240)" :status="loadStatus" @loadmore="addRandomData"></u-loadmore> --> <!-- <u-loadmore bg-color="rgb(240, 240, 240)" :status="loadStatus" @loadmore="addRandomData"></u-loadmore> -->
<view class="see-more" @click="toLifeIndex">查看更多>></view>
</view> </view>
<!-- <tabbar :current="currentTabIndex" @click="tabBarClick"></tabbar> --> <!-- <tabbar :current="currentTabIndex" @click="tabBarClick"></tabbar> -->
</view> </view>
@ -223,9 +223,7 @@
}, },
onReady: function() { onReady: function() {
const that = this; const that = this;
that.$refs.skeleton.attachedAction(); that.$refs.skeleton.attachedAction();
that.$refs.skeleton.readyAction(); that.$refs.skeleton.readyAction();
}, },
onLoad() { onLoad() {
@ -273,6 +271,11 @@
uni.hideNavigationBarLoading(); uni.hideNavigationBarLoading();
}) })
}, },
toLifeIndex(){
uni.switchTab({
url: '/pages/life/index'
})
},
tolearnMore() { tolearnMore() {
this.$yrouter.push("/pages/life/learnMore/index") this.$yrouter.push("/pages/life/learnMore/index")
}, },
@ -368,6 +371,11 @@
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.see-more{
font-size: 28rpx;
color: #333333;
text-align: center;
}
.productSort { .productSort {
background: #EEEEEE !important; background: #EEEEEE !important;
position: relative; position: relative;

54
pages/information/index.vue

@ -1,11 +1,12 @@
<template> <template>
<view class="information-box"> <view class="information-box">
<view class="search-box acea-row row-middle"> <skeleton v-if="showSkeleton" ref="skeleton" loading="chiaroscuro" selector="skeleton" bgcolor="#FFF"></skeleton>
<view class="search-box acea-row row-middle skeleton-rect">
<image src="../../static/images/search-icon.png" mode=""></image> <image src="../../static/images/search-icon.png" mode=""></image>
<input type="text" value="" placeholder="请输入相关关键词" /> <input type="text" value="" placeholder="请输入相关关键词" />
<view class="search acea-row row-center-wrapper">搜一下</view> <view class="search acea-row row-center-wrapper">搜一下</view>
</view> </view>
<swiper class="vote-box"> <swiper class="vote-box skeleton-rect">
<swiper-item v-for="(item,index) in hotList" :key="index"> <swiper-item v-for="(item,index) in hotList" :key="index">
<image :src="item.imageInput" mode="aspectFill" class="vote-img"></image> <image :src="item.imageInput" mode="aspectFill" class="vote-img"></image>
<view class="news"> <view class="news">
@ -14,7 +15,7 @@
</view> </view>
</swiper-item> </swiper-item>
</swiper> </swiper>
<scroll-view class="scroll-view_N" scroll-x="true"> <scroll-view class="scroll-view_N skeleton-rect" scroll-x="true">
<view class="rotaion-box" @click="toCategoryList(item.id)" v-for="(item,index) in categoryList" :key="index"> <view class="rotaion-box" @click="toCategoryList(item.id)" v-for="(item,index) in categoryList" :key="index">
<view class="acea-row rotaion row-center"> <view class="acea-row rotaion row-center">
<image :src="item.img" mode="aspectFill"></image> <image :src="item.img" mode="aspectFill"></image>
@ -24,7 +25,7 @@
</view> </view>
</scroll-view> </scroll-view>
<!-- 最新资讯 --> <!-- 最新资讯 -->
<view class="newInfo-box" v-if="newList.length > 0"> <view class="newInfo-box skeleton-rect" v-if="newList.length > 0">
<image src="../../static/images/newInfo.png" mode="" class="newInfo-title-img"></image> <image src="../../static/images/newInfo.png" mode="" class="newInfo-title-img"></image>
<view class="newInfo"> <view class="newInfo">
<view class="modular acea-row row-between" v-for="(item,index) in newList" :key="index" <view class="modular acea-row row-between" v-for="(item,index) in newList" :key="index"
@ -44,10 +45,10 @@
</view> </view>
</view> </view>
<!-- 热点精选 --> <!-- 热点精选 -->
<view class="hotspot-box"> <view class="hotspot-box skeleton-rect">
<image src="../../static/images/user/hotspot.png" mode="" class="title-h-img"></image> <image src="../../static/images/user/hotspot.png" mode="" class="title-h-img"></image>
<scroll-view class="scroll-view_H acea-row" scroll-x="true"> <scroll-view class="scroll-view_H acea-row" scroll-x="true">
<view class="slide-box" v-for="(item,index) in hotList" :key="index"> <view class="slide-box" v-for="(item,index) in hotList" :key="index" @click="toDetail(item.id)">
<image :src="item.imageInput" mode="aspectFill"></image> <image :src="item.imageInput" mode="aspectFill"></image>
<view class="hotspot-con"> <view class="hotspot-con">
<view class="hotspot-icon">热点</view> <view class="hotspot-icon">热点</view>
@ -57,9 +58,9 @@
</scroll-view> </scroll-view>
</view> </view>
<!-- 值得关注 --> <!-- 值得关注 -->
<view class="follow-box"> <view class="follow-box skeleton-rect">
<image src="../../static/images/follow-title.png" mode="" class="title-h-img"></image> <image src="../../static/images/follow-title.png" mode="" class="title-h-img"></image>
<view class="follow-con" v-for="(item,index) in concernList" :key="index"> <view class="follow-con" v-for="(item,index) in concernList" :key="index" @click="toDetail(item.id)">
<view class="follow-top acea-row row-between"> <view class="follow-top acea-row row-between">
<view class="acea-row follow-title"> <view class="acea-row follow-title">
<view class="follow-h line2">{{item.title}}</view> <view class="follow-h line2">{{item.title}}</view>
@ -83,6 +84,7 @@
<!-- <view class="follow-btn">关注+</view> --> <!-- <view class="follow-btn">关注+</view> -->
</view> </view>
</view> </view>
<!-- <LoadStatus :loadStatus="loadstatus"></LoadStatus> -->
</view> </view>
</view> </view>
</template> </template>
@ -90,7 +92,13 @@
<script> <script>
import { getArticle } from "@/api/home"; import { getArticle } from "@/api/home";
import { articleIndex } from "@/api/article" import { articleIndex } from "@/api/article"
import LoadStatus from "@/components/LoadStatus"
import skeleton from '@/components/quick-skeleton/quick-skeleton'
export default { export default {
components:{
LoadStatus,
skeleton
},
data() { data() {
return { return {
categoryList: [], categoryList: [],
@ -100,6 +108,8 @@
articleList: [], articleList: [],
page: 0, page: 0,
size: 10, size: 10,
loadstatus: '上拉加载更多...',
showSkeleton: true
} }
}, },
mounted() { mounted() {
@ -108,26 +118,44 @@
}, },
onReachBottom() { onReachBottom() {
this.page = this.page + 1 this.page = this.page + 1
this.getArticleList() // this.getArticleList()
}, },
computed:{ computed:{
},
onPullDownRefresh() {
this.getArticleIndex()
},
onReady: function() {
const that = this;
that.$refs.skeleton.attachedAction();
that.$refs.skeleton.readyAction();
}, },
methods: { methods: {
getArticleIndex(){ getArticleIndex(){
uni.showLoading({
title: '正在加载中...',
})
articleIndex().then((res)=>{ articleIndex().then((res)=>{
this.categoryList = res.data.categoryList this.categoryList = res.data.categoryList
this.concernList = res.data.concernList this.concernList = res.data.concernList
this.hotList = res.data.hotList this.hotList = res.data.hotList
this.newList = res.data.newList this.newList = res.data.newList
uni.hideLoading()
uni.stopPullDownRefresh()
this.showSkeleton = false
}) })
}, },
getArticleList() { getArticleList() {
this.loadstatus = '正在加载中...'
getArticle({ getArticle({
page: this.page, page: this.page,
size: this.size, size: this.size,
isHot: 0 isHot: 0
}).then((res) => { }).then((res) => {
if(res.data.content.length < this.size){
this.loadstatus = '没有更多了...'
}
this.articleList = this.articleList.concat(res.data.content) this.articleList = this.articleList.concat(res.data.content)
}) })
}, },
@ -140,7 +168,6 @@
}) })
}, },
toCategoryList(id){ toCategoryList(id){
console.log('id',id)
uni.navigateTo({ uni.navigateTo({
url: '/pages/life/articleList/index?active=' + id url: '/pages/life/articleList/index?active=' + id
}); });
@ -289,6 +316,7 @@
.newInfo { .newInfo {
width: 100%; width: 100%;
height: 528rpx; height: 528rpx;
overflow-y: scroll;
border-top: 2rpx solid #EFEFEF; border-top: 2rpx solid #EFEFEF;
} }
@ -397,7 +425,6 @@
/* 值得关注 */ /* 值得关注 */
.follow-box { .follow-box {
width: 100%; width: 100%;
height: 940rpx;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
} }
@ -468,15 +495,14 @@
.title-s { .title-s {
height: 28rpx; height: 28rpx;
font-size: 20rpx; font-size: 22rpx;
margin-bottom: 6rpx; margin-bottom: 6rpx;
font-weight: 600; font-weight: 600;
} }
.title-con { .title-con {
width: 230rpx; width: 230rpx;
height: 22rpx; font-size: 20rpx;
font-size: 16rpx;
color: #707070; color: #707070;
} }

9
pages/life/articleList/index.vue

@ -18,7 +18,7 @@
<view class="list-item acea-row row-between row-middle" v-for="(item,index) in articleList" :key="index" <view class="list-item acea-row row-between row-middle" v-for="(item,index) in articleList" :key="index"
@click="toDetail(item.id)"> @click="toDetail(item.id)">
<view class="item-l"> <view class="item-l">
<view class="title-box acea-row"> <view class="title-box acea-row row-middle">
<image src="../../../static/images/hot.png" v-if="item.isHot"></image> <image src="../../../static/images/hot.png" v-if="item.isHot"></image>
<view class="title line2">{{item.title}}</view> <view class="title line2">{{item.title}}</view>
</view> </view>
@ -233,16 +233,15 @@
.title-box { .title-box {
font-size: 32rpx; font-size: 32rpx;
color: #4A4A4A; color: #4A4A4A;
margin-bottom: 25rpx;
image { image {
width: 19rpx; width: 20rpx;
height: 22rpx; height: 22rpx;
margin-right: 20rpx; margin-right: 10rpx;
} }
.title { .title {
margin-top: -10rpx;
margin-bottom: 25rpx;
} }
} }

1
pages/life/index.vue

@ -230,6 +230,7 @@ export default {
this.active = i; this.active = i;
}, },
getProducts() { getProducts() {
console.log(getProducts,'//////getProducts')
this.loadStatus = "loading"; this.loadStatus = "loading";
getProducts({ page: this.page, limit: this.limit }).then((res) => { getProducts({ page: this.page, limit: this.limit }).then((res) => {
// console.log(res) // console.log(res)

162
pages/login/agreementPage.vue

@ -0,0 +1,162 @@
<template>
<view class="argeement-page">
用户协议<br/>
本隐私政策介绍本公司的隐私数据相关政策和惯例这将涵盖我们如何收集使用处理存储和/或披露那些通过本公司的移动App收集的关于您的个人信息请你仔细阅读我们的隐私政策<br/>
本公司如何收集您的个人信息<br/>
个人信息是可用于唯一地识别或联系某人的数据<br/>
当您使用本公司的系统注册用户过程中我们将会收集您的个人信息电子邮件地址电话号码为了保护个人隐私您不应提供除本公司特别要求之外的任何其它信息<br/>
本公司如何使用您的个人信息<br/>
1通过您的个人信息向您发送本公司移动App的服务信息<br/>
2通过您的个人信息实现密码找回功能<br/>
3除本公司发生重组合并或出售可将我们收集的一切个人信息转让给相关第三方外本公司不会向任何无关第三方提供出售出租分享或交易您的个人信息除非事先得到您的许可或该第三方和本公司单独或共同为您提供服务且在该服务结束后其将被禁止访问包括其以前能够访问的所有这些信息<br/>
个人信息安全<br/>
保证您的个人数据的安全对我们来说至关重要当您在本公司的移动App中注册输入个人数据时我们会利用安全套接字层技术 (SSL) 对这些信息进行加密<br/>
在数据传输和数据保管两个阶段里我们会通过广为接受的行业标准如防火墙加密和数据隐私法律要求来保护您向我们提交的信息<br/>
然而没有任何一种互联网传输或电子存储方法是100%安全的因此尽管我们通过商业上可接受的方式来保护您的个人信息但仍无法保证信息的绝对安全<br/>
本公司会将个人信息保存多久<br/>
一般来说本公司仅保留您的个人信息至履行收集目的所需的期限同时将遵守适用法律规定的数据保留期限<br/>
法律免责声明<br/>
在法律要求的情况下以及本公司认为必须披露与您有关的信息来保护本公司的法定权益和/或遵守司法程序法院指令或适用于本公司的系统的法律程序时我们有权透露您的个人信息<br/>
如果本公司确定为了执行本公司的条款和条件或保护我们的经营披露是合理必须的则我们可披露与您有关的信息<br/>
本隐私政策的更改<br/>
如果决定更改隐私政策我们会在本政策中本公司网站中以及我们认为适当的位置发布这些更改以便您了解我们如何收集使用您的个人信息哪些人可以访问这些信息以及在什么情况下我们会透露这些信息<br/>
本公司保留随时修改本政策的权利因此请经常查看如对本政策作出重大更改本公司会通过网站通知的形式告知<br/>
用户协议<br/>
特别提示<br/>
云生态在此特别提醒您用户在注册成为用户之前请认真阅读本用户协议以下简称协议确保您充分理解本协议中各条款请您审慎阅读并选择接受或不接受本协议除非您接受本协议所有条款否则您无权注册登录或使用本协议所涉服务您的注册登录使用等行为将视为对本协议的接受并同意接受本协议各项条款的约束<br/>
本协议约定云生态与用户之间关于云生态软件服务以下简称服务的权利义务用户是指注册登录使用本服务的个人本协议可由云生态随时更新更新后的协议条款一旦公布即代替原来的协议条款恕不再另行通知用户可在本网站查阅最新版协议条款在云生态修改协议条款后如果用户不接受修改后的条款请立即停止使用云生态提供的服务用户继续使用云生态提供的服务将被视为接受修改后的协议<br/>
用户个人信息保护<br/>
1用户在注册帐号或使用本服务的过程中可能需要填写或提交一些必要的个人信息如法律法规规章规范性文件以下称法律法规规定的需要填写的身份信息如用户提交的信息不完整或不符合法律法规的规定则用户可能无法使用本服务或在使用本服务的过程中受到限制<br/>
2用户个人信息包括<br/>
1用户自行提供的用户个人信息如注册时填写的手机号码电子邮件等个人信息使用服务时提供的共享信息等<br/>
2其他方分享的用户个人信息<br/>
3云生态为提供服务而合法收集的用户必要个人信息如使用服务时系统自动采集的设备或软件信息浏览历史信息通讯时间信息等技术信息用户开启定位功能并使用服务时的地理位置信息等
其中个人隐私信息是指涉及用户个人身份或个人隐私的信息比如用户真实姓名身份证号手机号码手机设备识别码IP地址用户聊天记录非个人隐私信息是指用户对本服务的操作状态以及使用习惯等明确且客观反映在云生态服务器端的基本记录信息个人隐私信息范围外的其它普通信息以及用户同意公开的上述隐私信息云生态保证在取得用户书面同意的情况下收集使用或公开用户的个人隐私信息用户同意云生态无需获得用户的另行确认与授权即可收集使用或公开用户的非个人隐私信息<br/>
3尊重用户个人信息的私有性是云生态的一贯制度云生态将采取技术措施和其他必要措施确保用户个人信息安全防止在本服务中收集的用户个人信息泄露毁损或丢失在发生前述情形或者云生态发现存在发生前述情形的可能时云生态将及时采取补救措施并告知用户用户如发现存在前述情形亦需立即与云生态联系<br/>
4云生态未经用户同意不向任何第三方公开 透露用户个人隐私信息但以下特定情形除外<br/>
(1) 云生态根据法律法规规定或有权机关的指示提供用户的个人隐私信息<br/>
(2) 由于用户将其用户密码告知他人或与他人共享注册帐户与密码由此导致的任何个人信息的泄漏或其他非因云生态原因导致的个人隐私信息的泄露<br/>
(3) 用户自行向第三方公开其个人隐私信息<br/>
(4) 用户与云生态及合作单位之间就用户个人隐私信息的使用公开达成约定云生态因此向合作单位公开用户个人隐私信息<br/>
(5) 任何由于黑客攻击电脑病毒侵入及其他不可抗力事件导致用户个人隐私信息的泄露<br/>
(6) 用户个人信息已经经过处理无法识别特定个人且不能复原<br/>
5用户同意云生态可在以下事项中使用用户的个人隐私信息<br/>
(1) 云生态向用户及时发送重要通知如软件更新本协议条款的变更<br/>
(2) 云生态内部进行审计数据分析和研究等以改进云生态的产品服务和与用户之间的沟通<br/>
(3) 依本协议约定云生态管理审查用户信息及进行处理措施<br/>
(4) 适用法律法规规定的其他事项<br/>
除上述事项外如未取得用户事先同意云生态不会将用户个人隐私信息使用于任何其他用途<br/>
内容规范<br/>
1本条所述内容是指用户使用本服务过程中所制作上载复制发布传播的任何内容包括但不限于帐号头像名称用户说明等注册信息及认证资料或文字语音图片视频图文等发送回复或自动回复消息和相关链接页面以及其他使用帐号或本服务所产生的内容<br/>
2用户不得利用云生态帐号或本服务制作上载复制发布传播如下法律法规和政策禁止的内容<br/>
(1) 反对宪法所确定的基本原则的<br/>
(2) 危害国家安全泄露国家秘密颠覆国家政权破坏国家统一的<br/>
(3) 损害国家荣誉和利益的<br/>
(4) 煽动民族仇恨民族歧视破坏民族团结的<br/>
(5) 破坏国家宗教政策宣扬邪教和封建迷信的<br/>
(6) 散布谣言扰乱社会秩序破坏社会稳定的<br/>
(7) 散布淫秽色情赌博暴力凶杀恐怖或者教唆犯罪的<br/>
(8) 侮辱或者诽谤他人侵害他人合法权益的<br/>
(9) 不遵守法律法规底线社会主义制度底线国家利益底线公民合法权益底线社会公共秩序底线道德风尚底线和信息真实性底线的七条底线要求的<br/>
(10) 含有法律行政法规禁止的其他内容的信息<br/>
3用户不得利用云生态帐号或本服务制作上载复制发布传播如下干扰云生态正常运营以及侵犯其他用户或第三方合法权益的内容<br/>
(1) 含有任何性或性暗示的<br/>
(2) 含有辱骂恐吓威胁内容的<br/>
(3) 含有骚扰垃圾广告恶意信息诱骗信息的<br/>
(4) 涉及他人隐私个人信息或资料的<br/>
(5) 侵害他人名誉权肖像权知识产权商业秘密等合法权利的<br/>
(6) 含有其他干扰本服务正常运营和侵犯其他用户或第三方合法权益内容的信息<br/>
使用规则<br/>
1用户在本服务中或通过本服务所传送发布的任何内容并不反映或代表也不得被视为反映或代表云生态的观点立场或政策云生态对此不承担任何责任<br/>
2用户不得利用云生态帐号或本服务进行如下行为<br/>
(1) 提交发布虚假信息或盗用他人头像或资料冒充利用他人名义的<br/>
(2) 强制诱导其他用户关注点击链接页面或分享信息的<br/>
(3) 虚构事实隐瞒真相以误导欺骗他人的<br/>
(4) 利用技术手段批量建立虚假帐号的<br/>
(5) 利用云生态帐号或本服务从事任何违法犯罪活动的<br/>
(6) 制作发布与以上行为相关的方法工具或对此类方法工具进行运营或传播无论这些行为是否为商业目的<br/>
(7) 其他违反法律法规规定侵犯其他用户合法权益干扰云生态正常运营或云生态未明示授权的行为<br/>
3用户须对利用云生态帐号或本服务传送信息的真实性合法性无害性准确性有效性等全权负责与用户所传播的信息相关的任何法律责任由用户自行承担与云生态无关如因此给云生态或第三方造成损害的用户应当依法予以赔偿<br/>
4云生态提供的服务中可能包括广告用户同意在使用过程中显示云生态和第三方供应商合作伙伴提供的广告除法律法规明确规定外用户应自行对依该广告信息进行的交易负责对用户因依该广告信息进行的交易或前述广告商提供的内容而遭受的损失或损害云生态不承担任何责任<br/>
5除非云生态书面许可用户不得从事下列任一行为<br/>
(1) 删除软件及其副本上关于著作权的信息<br/>
(2) 对软件进行反向工程反向汇编反向编译或者以其他方式尝试发现软件的源代码<br/>
(3) 对云生态拥有知识产权的内容进行使用出租出借复制修改链接转载汇编发表出版建立镜像站点等<br/>
(4) 对软件或者软件运行过程中释放到任何终端内存中的数据软件运行过程中客户端与服务器端的交互数据以及软件运行所必需的系统数据进行复制修改增加删除挂接运行或创作任何衍生作品形式包括但不限于使用插件外挂或非经云生态授权的第三方工具/服务接入软件和相关系统<br/>
(5) 通过修改或伪造软件运行中的指令数据增加删减变动软件的功能或运行效果或者将用于上述用途的软件方法进行运营或向公众传播无论这些行为是否为商业目的<br/>
(6) 通过非云生态开发授权的第三方软件插件外挂系统登录或使用云生态软件及服务或制作发布传播非云生态开发授权的第三方软件插件外挂系统<br/>
账户管理<br/>
1 云生态帐号的所有权归云生态所有用户完成申请注册手续后获得云生态帐号的使用权该使用权仅属于初始申请注册人禁止赠与借用租用转让或售卖云生态因经营需要有权回收用户的云生态帐号<br/>
2用户可以通过<br/>
1查看与编辑个人资料页<br/>
2设置页面里的账号与安全页面来查询更改删除注销云生态帐户上的个人资料注册信息及传送内容等但需注意删除有关信息的同时也会删除用户储存在系统中的文字和图片用户需承担该风险<br/>
3用户有责任妥善保管注册帐号信息及帐号密码的安全因用户保管不善可能导致遭受盗号或密码失窃责任由用户自行承担用户需要对注册帐号以及密码下的行为承担法律责任用户同意在任何情况下不使用其他用户的帐号或密码在用户怀疑他人使用其帐号或密码时用户同意立即通知云生态<br/>
4用户应遵守本协议的各项条款正确适当地使用本服务如因用户违反本协议中的任何条款云生态在通知用户后有权依据协议中断或终止对违约用户云生态帐号提供服务同时云生态保留在任何时候收回云生态帐号用户名的权利<br/>
5如用户注册云生态帐号后一年不登录通知用户后云生态可以收回该帐号以免造成资源浪费由此造成的不利后果由用户自行承担<br/>
6用户可以通过设置页面里的账号与安全页面来进行账号注销服务用户确认注销账号是不可恢复的操作用户应自行备份与云生态账号相关的信息和数据用户确认操作之前与云生态账号相关的所有服务均已进行妥善处理用户确认并同意注销账号后并不代表本云生态账号注销前的账号行为和相关责任得到豁免或减轻如在注销期间用户的账号被他人投诉被国家机关调查或者正处于诉讼仲裁程序中云生态有限自行终止用户的账号注销并无需另行得到用户的同意<br/>
数据储存<br/>
1云生态不对用户在本服务中相关数据的删除或储存失败负责<br/>
2云生态可以根据实际情况自行决定用户在本服务中数据的最长储存期限并在服务器上为其分配数据最大存储空间等用户可根据自己的需要自行备份本服务中的相关数据<br/>
3如用户停止使用本服务或本服务终止云生态可以从服务器上永久地删除用户的数据本服务停止终止后云生态没有义务向用户返还任何数据<br/>
风险承担<br/>
1用户理解并同意云生态仅为用户提供信息分享传送及获取的平台用户必须为自己注册帐号下的一切行为负责包括用户所传送的任何内容以及由此产生的任何后果用户应对云生态及本服务中的内容自行加以判断并承担因使用内容而引起的所有风险包括因对内容的正确性完整性或实用性的依赖而产生的风险云生态无法且不会对因用户行为而导致的任何损失或损害承担责任
2用户理解并同意因业务发展需要云生态保留单方面对本服务的全部或部分服务内容变更暂停终止或撤销的权利用户需承担此风险<br/>
知识产权声明<br/>
1除本服务中涉及广告的知识产权由相应广告商享有外云生态在本服务中提供的内容包括但不限于网页文字图片音频视频图表等的知识产权均归云生态所有但用户在使用本服务前对自己发布的内容已合法取得知识产权的除外<br/>
2除另有特别声明外云生态提供本服务时所依托软件的著作权专利权及其他知识产权均归云生态所有<br/>
3云生态在本服务中所涉及的图形文字或其组成以及其他云生态标志及产品服务名称以下统称云生态标识其著作权或商标权归云生态所有未经云生态事先书面同意用户不得将云生态标识以任何方式展示或使用或作其他处理也不得向他人表明用户有权展示使用或其他有权处理云生态标识的行为<br/>
4上述及其他任何云生态或相关广告商依法拥有的知识产权均受到法律保护未经云生态或相关广告商书面许可用户不得以任何形式进行使用或创造相关衍生作品<br/>
5用户在使用云生态服务时发表上传的文字图片视频音频软件以及表演等信息此部分信息的知识产权归用户责任由用户承担但用户的发表上传行为视为对云生态的授权用户理解并同意授予云生态及其关联公司全球范围内完全免费不可撤销独家永久可转授权和可再许可的权利包括但不限于复制权发行权出租权展览权表演权放映权广播权信息网络传播权摄制权改编权翻译权汇编权以及著作权法规定的由著作权人享有的其他著作财产权利及邻接权利云生态可自行选择是否使用以及使用方式包括但不限于将前述信息在云生态旗下的服务平台上使用与传播将上述信息再次编辑后使用以及由云生态授权给合作方使用编辑与传播等<br/>
十一法律责任<br/>
1如果云生态发现或收到他人举报或投诉用户违反本协议约定的云生态有权不经通知随时对相关内容包括但不限于用户资料聊天记录进行审查删除并视情节轻重对违规帐号处以包括但不限于警告帐号封禁 设备封禁 功能封禁 的处罚且通知用户处理结果<br/>
2因违反用户协议被封禁的用户在封禁期限届满后自助解封其中被实施功能封禁的用户会在封禁期届满后自动恢复被封禁功能被封禁用户可向云生态网站相关页面提交申诉云生态将对申诉进行审查并自行合理判断决定是否变更处罚措施<br/>
3用户理解并同意云生态有权依合理判断对违反有关法律法规或本协议规定的行为进行处罚对违法违规的任何用户采取适当的法律行动并依据法律法规保存有关信息向有关部门报告等用户应承担由此而产生的一切法律责任<br/>
4用户理解并同意因用户违反本协议约定导致或产生的任何第三方主张的任何索赔要求或损失包括合理的律师费用户应当赔偿云生态与合作公司关联公司并使之免受损害<br/>
十二不可抗力及其他免责事由<br/>
1用户理解并确认在使用本服务的过程中可能会遇到不可抗力等风险因素使本服务发生中断不可抗力是指不能预见不能克服并不能避免且对一方或双方造成重大影响的客观事件包括但不限于自然灾害如洪水地震瘟疫流行和风暴等以及社会事件如战争动乱政府行为等出现上述情况时云生态将努力在第一时间与相关单位配合及时进行修复但是由此给用户或第三方造成的损失云生态及合作单位在法律允许的范围内免责<br/>
2本服务同大多数互联网服务一样受包括但不限于用户原因网络服务质量社会环境等因素的差异影响可能受到各种安全问题的侵扰如他人利用用户的资料造成现实生活中的骚扰用户下载安装的其它软件或访问的其他网站中含有特洛伊木马等病毒威胁到用户的计算机信息和数据的安全继而影响本服务的正常使用等等用户应加强信息安全及使用者资料的保护意识要注意加强密码保护以免遭致损失和骚扰<br/>
3用户理解并确认本服务存在因不可抗力计算机病毒或黑客攻击系统不稳定用户所在位置用户关机以及其他任何技术互联网络通信线路原因等造成的服务中断或不能满足用户要求的风险因此导致的用户或第三方任何损失云生态不承担任何责任<br/>
4用户理解并确认在使用本服务过程中存在来自任何他人的包括误导性的欺骗性的威胁性的诽谤性的令人反感的或非法的信息或侵犯他人权利的匿名或冒名的信息以及伴随该等信息的行为因此导致的用户或第三方的任何损失云生态不承担任何责任<br/>
5用户理解并确认云生态需要定期或不定期地对云生态平台或相关的设备进行检修或者维护如因此类情况而造成服务在合理时间内的中断云生态无需为此承担任何责任但云生态应事先进行通告<br/>
6云生态重视对未成年人的保护云生态将依赖用户提供的个人信息判断用户是否为未成年人任何18岁以下的未成年人均不得注册帐号或使用本服务<br/>
7因云生态提供的服务系基于地理位置提供的移动社交服务用户确认其地理位置信息为非个人隐私信息用户成功注册云生态帐号视为确认授权云生态提取公开及使用用户的地理位置信息<br/>用户地理位置信息将作为用户公开资料之一由云生态向其他用户公开以便云生态向用户提供基于地理位置的移动社交服务如用户需要终止向其他用户公开其地理位置信息可随时自行设置为隐身状态<br/>
8为了改善云生态的技术和服务向用户提供更好的服务体验云生态或可会自行收集使用或向第三方提供用户的非个人隐私信息<br/>
9云生态保证在合法正当与必要的原则下收集使用或者公开用户个人信息且不会收集与提供的服务无关的用户个人信息<br/>
10云生态十分注重保护用户的个人隐私并制定了云生态隐私权政策用户亦可以通过设置页面里的帮助来进行具体查看用户确认并同意使用云生态提供的服务将被视为接受云生态隐私权政策<br/>
2如发生下列任何一种情形云生态有权变更中断或终止向用户提供的免费服务或收费服务而无需对用户或任何第三方承担任何责任<br/>
(1) 根据法律规定用户应提交真实信息而用户提供的个人资料不真实或与注册时信息不一致又未能提供合理证明<br/>
(2) 用户违反相关法律法规或本协议的约定<br/>
(3) 按照法律规定或有权机关的要求<br/>
(4) 出于安全的原因或其他必要的情形<br/>
十四活动服务说明与免责条款<br/>
1云生态活动功能板块是以地理位置为基础发布用户周边文化活动信息的活动信息共享平台下称本平台<br/><br/>
2本平台发布之全部文化活动信息,包括但不限于活动地理位置信息均直接或者间接来自于文化活动主办方<br/>
3本平台发布文化活动信息意在宣传文化活动丰富用户文化生活本平台用户于本平台活动功能板块发布的留言评论等信息均系用户自行发布本平台不对上述信息的真实性准确性或及时性完整性负责<br/>
十五其他<br/>
1云生态郑重提醒用户注意本协议中免除云生态责任和限制用户权利的条款请用户仔细阅读自主考虑风险<br/>
2本协议的效力解释及纠纷的解决适用于中华人民共和国法律若用户和云生态之间发生任何纠纷或争议首先应友好协商解决协商不成的用户同意将纠纷或争议提交云生态住所地有管辖权的人民法院管辖<br/>
3本协议的任何条款无论因何种原因无效或不具可执行性其余条款仍有效对双方具有约束力<br/>
4由于互联网高速发展您与云生态签署的本协议列明的条款可能并不能完整罗列并覆盖您云生态所有权利与义务现有的约定也不能保证完全符合未来发展的需求因此云生态隐私权政策云生态平台行为规范等均为本协议的补充协议与本协议不可分割且具有同等法律效力如您使用云生态平台服务视为您同意上述补充协议
</view>
</template>
<script>
export default{
data(){
return {
}
}
}
</script>
<style scoped>
.argeement-page{
padding: 0 20rpx 90rpx;
font-size: 28rpx;
color: rgb(51, 51, 51);
}
</style>

12
pages/release/companyAuth/index.css

@ -106,3 +106,15 @@
height: 24rpx; height: 24rpx;
margin-left: 10rpx; margin-left: 10rpx;
} }
.argeement-box{
font-size: 24rpx;
color: #666;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
.argeement-box view{
width: 60%;
}

32
pages/release/companyAuth/index.vue

@ -145,6 +145,16 @@
</view> --> </view> -->
</view> </view>
<view class="submit-btn" @tap="submit">保存并提交</view> <view class="submit-btn" @tap="submit">保存并提交</view>
<view class="argeement-box">
<checkbox-group @change="argeementClick">
<checkbox value="1" style="transform:scale(0.7);position: relative; top: 3rpx;" :checked="isCheck" />
</checkbox-group>
<view class="acea-row">
我已阅读并同意
<navigator url="/pages/login/agreementPage" open-type="navigate" style="color: rgb(255, 50, 50);">用户协议及隐私政策</navigator>
</view>
</view>
</view> </view>
</template> </template>
@ -333,10 +343,25 @@
// urls: [url], // urls: [url],
// }) // })
}, },
argeementClick(e){
console.log(e)
let state = e.detail.value
if(state.length > 0) {
this.isCheck = true
} else{
this.isCheck = false
}
},
submit() { submit() {
let form = this.form; let form = this.form;
console.log(form); console.log(form);
if(!this.isCheck){
uni.showToast({
title: '请阅读并勾选用户隐私协议',
icon: 'none'
});
return;
}
if (form.isLegalPerson == 0 && form.authorizationPath == '') { if (form.isLegalPerson == 0 && form.authorizationPath == '') {
uni.showToast({ uni.showToast({
@ -455,7 +480,10 @@
</script> </script>
<style> <style>
/* pages/release/companyAuth/index.wxss */ /* pages/release/companyAuth/index.wxss */
@import "./index.css";
.auth-page{
padding-bottom: 90rpx;
}
.is-legal-box { .is-legal-box {
width: 100%; width: 100%;
padding: 30rpx 40rpx; padding: 30rpx 40rpx;

49
pages/release/personAuth/index.vue

@ -42,6 +42,16 @@
</view> --> </view> -->
</view> </view>
<view class="submit-btn" @tap="submit">保存并提交</view> <view class="submit-btn" @tap="submit">保存并提交</view>
<view class="argeement-box">
<checkbox-group @change="argeementClick">
<checkbox value="1" style="transform:scale(0.7);position: relative; top: 3rpx;" :checked="isCheck" />
</checkbox-group>
<view class="acea-row">
我已阅读并同意
<navigator url="/pages/login/agreementPage" open-type="navigate" style="color: rgb(255, 50, 50);">用户协议及隐私政策</navigator>
</view>
</view>
</view> </view>
</template> </template>
@ -61,7 +71,8 @@ export default {
idcardPicBehind: '', idcardPicBehind: '',
idcardPicHold: '' idcardPicHold: ''
}, },
isEdit: false isEdit: false,
isCheck: false
}; };
}, },
@ -86,24 +97,24 @@ export default {
} }
}, },
methods: { methods: {
argeementClick(e){
console.log(e)
let state = e.detail.value
if(state.length > 0) {
this.isCheck = true
} else{
this.isCheck = false
}
},
inpChange(e) { inpChange(e) {
let type = e.currentTarget.dataset.type; let type = e.currentTarget.dataset.type;
let value = e.detail.value; let value = e.detail.value;
if (type == 'name') { if (type == 'name') {
this.setData({//['form.legalPersonName']: value
});
//try fix
this.form.legalPersonName = value; this.form.legalPersonName = value;
} else if (type == 'phone') { } else if (type == 'phone') {
this.setData({//.form.legalPhone: value
});
//try fix
this.form.legalPhone = value; this.form.legalPhone = value;
} else if (type == 'idcard') { } else if (type == 'idcard') {
this.setData({//.form.legalPersonIdcard: value
});
//try fix
this.form.legalPersonIdcard = value; this.form.legalPersonIdcard = value;
} }
}, },
@ -112,19 +123,10 @@ export default {
let type = e.currentTarget.dataset.type; let type = e.currentTarget.dataset.type;
util.chooseImages(img => { util.chooseImages(img => {
if (type == 'f') { if (type == 'f') {
this.setData({//['form.idcardPicFront']: img
});
//try fix
this.form.idcardPicFront = img; this.form.idcardPicFront = img;
} else if (type == 'b') { } else if (type == 'b') {
this.setData({//.form.idcardPicBehind: img
});
//try fix
this.form.idcardPicBehind = img; this.form.idcardPicBehind = img;
} else { } else {
this.setData({//.form.idcardPicHold: img
});
//try fix
this.form.idcardPicHold = img; this.form.idcardPicHold = img;
} }
}); });
@ -132,6 +134,13 @@ export default {
submit() { submit() {
let form = this.form; let form = this.form;
if(!this.isCheck){
uni.showToast({
title: '请阅读并勾选用户隐私协议',
icon: 'none'
});
return;
}
if (form.legalPersonName == '') { if (form.legalPersonName == '') {
uni.showToast({ uni.showToast({
@ -204,4 +213,6 @@ export default {
<style> <style>
/* pages/release/personAuth/index.wxss */ /* pages/release/personAuth/index.wxss */
@import "../companyAuth/index.css"; @import "../companyAuth/index.css";
</style> </style>

42
pages/user/incomeDetail/index.vue

@ -14,7 +14,7 @@
<view class="income-l income-r acea-row row-column row-middle row-left"> <view class="income-l income-r acea-row row-column row-middle row-left">
<view class="t">累计收益</view> <view class="t">累计收益</view>
<view class="num">{{pageData.brokeragePrice}}</view> <view class="num">{{pageData.brokeragePrice}}</view>
<!-- <view class="btn">提现</view> --> <view class="btn" @click="toWithDraw">提现</view>
</view> </view>
</view> </view>
</view> </view>
@ -64,42 +64,12 @@ export default {
this.getDetail(); this.getDetail();
}, },
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {}
/**
* 用户点击右上角分享
*/
// onShareAppMessage: function () {
// }
,
methods: { methods: {
toWithDraw(){
uni.navigateTo({
url: '/pages/user/withdraw/index'
})
},
getDetail() { getDetail() {
app.http('get', 'user/profitDetail').then(res => { app.http('get', 'user/profitDetail').then(res => {
if (res.data.success) { if (res.data.success) {

9
pages/user/mine/index.vue

@ -260,10 +260,13 @@
}, },
tixian() { tixian() {
uni.showToast({ uni.navigateTo({
title: '提现功能暂未开放!', url: '/pages/user/withdraw/index'
icon: 'none'
}); });
// uni.showToast({
// title: '',
// icon: 'none'
// });
} }
} }

48
pages/user/withdraw/index.vue

@ -2,28 +2,64 @@
<view class="withdraw-box"> <view class="withdraw-box">
<view class="top-box"> <view class="top-box">
<view class="title">可用金额</view> <view class="title">可用金额</view>
<view class="money">888.88</view> <view class="money">{{userInfo.spread.brokeragePrice || 0}}</view>
</view> </view>
<view class="draw-box"> <view class="draw-box">
<view class="title">提现金额()</view> <view class="title">提现金额()</view>
<view class="inp-box acea-row row-between-wrapper"> <view class="inp-box acea-row row-between-wrapper">
<input placeholder="0" type="number" placeholder-style="color:#1d1d1d"> <input placeholder="0" type="number" v-model="money" placeholder-style="color:#1d1d1d">
<view class="btn">全部提现</view> <view class="btn" @click="inpAll">全部提现</view>
</view> </view>
</view> </view>
<view class="add-btn">确认提现</view> <view class="add-btn" @click="submit">确认提现</view>
</view> </view>
</template> </template>
<script> <script>
const app = getApp()
import { cash } from '@/api/user'
export default{ export default{
data(){ data(){
return { return {
userInfo: {},
money: null
} }
}, },
mounted(){
this.getInfo()
},
methods:{ methods:{
getInfo() {
app.http('get', 'userinfo').then(res => {
if (res.data.success) {
this.setData({
userInfo: res.data.data
});
uni.setStorageSync('userInfo',res.data.data)
}
});
},
inpAll(){
this.money = this.userInfo.spread.brokeragePrice
},
submit(){
if(this.data.money == ''){
return uni.showToast({
title:'请输入提现金额!',
icon: 'none'
})
}
cash({
money: parseInt(this.data.money)
}).then((res)=>{
uni.showToast({
title: '申请提现成功',
})
setTimeout(()=>{
this.getInfo()
},1500)
})
},
} }
} }
</script> </script>

BIN
static/images/home/减去 3@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 386 B

BIN
static/images/home/组 326@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
static/images/home/资源 21@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 692 B

BIN
static/tabbarComponent/icon/icon_home.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 566 B

BIN
static/tabbarComponent/icon/icon_home_HL.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 814 B

BIN
static/tabbarComponent/icon/icon_mine.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 695 B

BIN
static/tabbarComponent/icon/icon_mine_HL.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

BIN
static/tabbarComponent/icon/icon_release2.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 729 B

BIN
static/tabbarComponent/icon/tab5-a.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

BIN
static/tabbarComponent/icon/tab5.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 B

Loading…
Cancel
Save