企业信息

This commit is contained in:
zdx
2020-12-31 16:10:36 +08:00
parent 3855eb456f
commit f9f71e1c19
75 changed files with 425 additions and 357 deletions

View File

@@ -1,5 +1,7 @@
/* /**
* vip相关 * Web二雪
* 趁时光不老 努力活成自己想要成为的样子
* 企获客企业相关
*/ */
import { import {
req req
@@ -192,7 +194,7 @@ export default ({
crowdfundsCreatOrder, //创建订单 crowdfundsCreatOrder, //创建订单
wechat, //微信支付 wechat, //微信支付
company, //企业基本信息 company, //企业基本信息
companyLike,//关注企业 companyLike, //关注企业
actives, //企业活动列表 actives, //企业活动列表
activesDetail, //企业活动详情 activesDetail, //企业活动详情
activesEnroll, //企业报名 activesEnroll, //企业报名
@@ -206,5 +208,5 @@ export default ({
orderList, //获取项目订单 orderList, //获取项目订单
getOrderInfo, //根id 获取订单详情 getOrderInfo, //根id 获取订单详情
getRefundInfo, //根id 获取退款详情 getRefundInfo, //根id 获取退款详情
getRefundLogsInfo,//退款进度查询 getRefundLogsInfo, //退款进度查询
}) })

View File

@@ -48,7 +48,6 @@
"pages/user/companyMine/refundInfo/refundInfo", "pages/user/companyMine/refundInfo/refundInfo",
"pages/user/companyMine/projectDetail/projectDetail", "pages/user/companyMine/projectDetail/projectDetail",
"pages/home/index", "pages/home/index",
"pages/home/companyInfo/companyInfo",
"pages/home/noticeDetail/noticeDetail", "pages/home/noticeDetail/noticeDetail",
"pages/home/activeDetail/activeDetail", "pages/home/activeDetail/activeDetail",
"pages/home/projectDetail/projectDetail", "pages/home/projectDetail/projectDetail",

View File

@@ -1,4 +1,7 @@
// components/videoList/videoList.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Component({ Component({
/** /**
* 组件的属性列表 * 组件的属性列表

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.active_content { .active_content {
background-color: #fff; background-color: #fff;
margin: 20rpx; margin: 20rpx;

View File

@@ -1,4 +1,7 @@
// components/enterprise/enterprise.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Component({ Component({
/** /**
* 组件的属性列表 * 组件的属性列表

View File

@@ -1,4 +1,7 @@
/* components/enterprise/enterprise.wxss */ /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
/* title */ /* title */
image{ image{
height: auto; height: auto;

View File

@@ -1,10 +1,14 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Component({ Component({
/** /**
* 组件的属性列表 * 组件的属性列表
*/ */
properties: { properties: {
info:{ info: {
type:Object type: Object
} }
}, },
@@ -21,4 +25,4 @@ Component({
methods: { methods: {
} }
}) })

View File

@@ -1,16 +1,21 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
/* 企业视频*/ /* 企业视频*/
.enterprise_content{ .enterprise_content {
font-size:29rpx ; font-size: 29rpx;
color: #333; color: #333;
margin: 0 30rpx; margin: 0 30rpx;
border-radius: 12rpx; border-radius: 12rpx;
background-color: #fff; background-color: #fff;
box-shadow: 0 0 14rpx rgba(0, 0, 0, 0.3); box-shadow: 0 0 14rpx rgba(0, 0, 0, 0.3);
margin-top: 20rpx; margin-top: 20rpx;
padding:30rpx 20rpx 20rpx 20rpx; padding: 30rpx 20rpx 20rpx 20rpx;
} }
.enterprise_content .content{
.enterprise_content .content {
position: relative; position: relative;
text-overflow: -o-ellipsis-lastline; text-overflow: -o-ellipsis-lastline;
overflow: hidden; overflow: hidden;
@@ -23,7 +28,7 @@
} }
/* 播放 */ /* 播放 */
.content .play{ .content .play {
background-color: rgba(0, 0, 0, 0.3); background-color: rgba(0, 0, 0, 0.3);
width: 100%; width: 100%;
height: calc(100% - 10rpx); height: calc(100% - 10rpx);
@@ -36,7 +41,8 @@
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
} }
.content .play image{
.content .play image {
width: 102rpx; width: 102rpx;
height: 102rpx; height: 102rpx;
} }

View File

@@ -1,4 +1,7 @@
// components/videoList/videoList.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Component({ Component({
/** /**
* 组件的属性列表 * 组件的属性列表

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.active_content { .active_content {
/* height: 600rpx; */ /* height: 600rpx; */
background-color: #fff; background-color: #fff;
@@ -98,17 +102,17 @@
.active_bottom .right { .active_bottom .right {
font-size: 28rpx; font-size: 28rpx;
color:#378fff; color: #378fff;
padding: 30rpx; padding: 30rpx;
} }
.active_bottom .left{ .active_bottom .left {
margin-left: 20rpx; margin-left: 20rpx;
} }
.has_more{ .has_more {
color: #999; color: #999;
font-size: 26rpx; font-size: 26rpx;
text-align: center; text-align: center;
padding: 30rpx ; padding: 30rpx;
} }

View File

@@ -1,9 +1,13 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Component({ Component({
/** /**
* 组件的属性列表 * 组件的属性列表
*/ */
properties: { properties: {
info:Object info: Object
}, },
/** /**
@@ -17,12 +21,12 @@ Component({
* 组件的方法列表 * 组件的方法列表
*/ */
methods: { methods: {
// 跳转到员工名片详情 // 跳转到员工名片详情
goCard(e) { goCard(e) {
console.log(e.currentTarget.dataset.cardid); console.log(e.currentTarget.dataset.cardid);
wx.navigateTo({ wx.navigateTo({
url: '/pages/card/index?cardid='+e.currentTarget.dataset.cardid, url: '/pages/card/index?cardid=' + e.currentTarget.dataset.cardid,
}) })
} }
} }
}) })

View File

@@ -1,4 +1,8 @@
.personal_list{ /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.personal_list {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: flex-start; justify-content: flex-start;
@@ -9,7 +13,7 @@
padding: 20rpx 30rpx; padding: 20rpx 30rpx;
} }
.personal_header{ .personal_header {
width: 120rpx; width: 120rpx;
height: 120rpx; height: 120rpx;
border-radius: 50%; border-radius: 50%;
@@ -17,34 +21,34 @@
border: solid 2rpx #f7f7f7; border: solid 2rpx #f7f7f7;
} }
.personal_nickname{ .personal_nickname {
width: 100%; width: 100%;
font-size: 32rpx; font-size: 32rpx;
color: #333; color: #333;
font-weight: 600; font-weight: 600;
margin-top: 10rpx; margin-top: 10rpx;
white-space: nowrap; white-space: nowrap;
overflow:hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.personal_job{ .personal_job {
width: 100%; width: 100%;
font-size: 26rpx; font-size: 26rpx;
color: #666; color: #666;
font-weight: normal; font-weight: normal;
white-space: nowrap; white-space: nowrap;
overflow:hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
margin-top: 6rpx; margin-top: 6rpx;
padding-left: 10rpx; padding-left: 10rpx;
} }
.personal_left{ .personal_left {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: start; justify-content: start;
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
margin-left: 30rpx; margin-left: 30rpx;
} }

View File

@@ -1,4 +1,7 @@
// components/videoList/videoList.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Component({ Component({
/** /**
* 组件的属性列表 * 组件的属性列表

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.project_content { .project_content {
background-color: #fff; background-color: #fff;
margin: 20rpx; margin: 20rpx;
@@ -99,20 +103,23 @@
/* 滚动菜单 */ /* 滚动菜单 */
.scroll_menu{ .scroll_menu {
/* background-color: #fff; */ /* background-color: #fff; */
/* box-shadow: 0 0rpx 10px rgba(0, 0, 0, 0.1); */ /* box-shadow: 0 0rpx 10px rgba(0, 0, 0, 0.1); */
font-size: 26rpx; font-size: 26rpx;
} }
.scroll-view_H{
.scroll-view_H {
white-space: nowrap; white-space: nowrap;
color: #666; color: #666;
} }
.scroll-view-item{
.scroll-view-item {
height: 90rpx; height: 90rpx;
line-height: 90rpx; line-height: 90rpx;
} }
.scroll-view-item_H{
.scroll-view-item_H {
display: inline-block; display: inline-block;
/* width: 25%; */ /* width: 25%; */
padding: 0 30rpx; padding: 0 30rpx;
@@ -122,15 +129,16 @@
/* border-top: solid 10rpx #fff; /* border-top: solid 10rpx #fff;
border-bottom: solid 10rpx #fff; */ border-bottom: solid 10rpx #fff; */
} }
.scroll_view_select{
.scroll_view_select {
/* border-bottom: solid 4rpx #378fff; */ /* border-bottom: solid 4rpx #378fff; */
color: #378fff; color: #378fff;
font-weight: 600; font-weight: 600;
} }
.has_more{ .has_more {
color: #999; color: #999;
font-size: 26rpx; font-size: 26rpx;
text-align: center; text-align: center;
padding: 30rpx ; padding: 30rpx;
} }

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.active_content { .active_content {
background-color: #fff; background-color: #fff;
box-sizing: border-box; box-sizing: border-box;

View File

@@ -1,4 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**
@@ -14,7 +17,7 @@ Page({
onLoad: function (options) { onLoad: function (options) {
console.log(options.cover) console.log(options.cover)
this.setData({ this.setData({
cover:options.cover cover: options.cover
}) })
}, },
@@ -27,5 +30,5 @@ Page({
}) })
}, },
}) })

View File

@@ -1,8 +1,13 @@
page{ /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
page {
height: 100%; height: 100%;
} }
.content { .content {
padding-top:160rpx; padding-top: 160rpx;
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: #fff; background-color: #fff;
@@ -14,26 +19,26 @@ page{
box-sizing: border-box; box-sizing: border-box;
} }
.content .active_cover { .content .active_cover {
width: 150rpx; width: 150rpx;
height: 150rpx; height: 150rpx;
border-radius: 50%; border-radius: 50%;
} }
.content .txt1 { .content .txt1 {
font-size: 36rpx; font-size: 36rpx;
font-weight: 600; font-weight: 600;
color: #333; color: #333;
padding-top: 40rpx; padding-top: 40rpx;
} }
.content .txt2 { .content .txt2 {
padding-top: 20rpx; padding-top: 20rpx;
font-size: 24rpx; font-size: 24rpx;
color: #999; color: #999;
} }
.content .txt3 { .content .txt3 {
font-size: 28rpx; font-size: 28rpx;
color: #fff; color: #fff;
background-color: #378fff; background-color: #378fff;
@@ -46,7 +51,7 @@ page{
margin-top: 80rpx; margin-top: 80rpx;
} }
.content .txt4 { .content .txt4 {
font-size: 26rpx; font-size: 26rpx;
color: #999; color: #999;
padding: 20rpx 30rpx; padding: 20rpx 30rpx;

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
data: { data: {
crowdfund_item_id: '', crowdfund_item_id: '',
@@ -5,7 +9,7 @@ Page({
info: '', info: '',
remark: '', remark: '',
crowdfund_id: '', crowdfund_id: '',
addressDel:'', addressDel: '',
}, },
onLoad(e) { onLoad(e) {

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
/* 立即报名 */ /* 立即报名 */
.besure_now_act { .besure_now_act {
margin-top: 20rpx; margin-top: 20rpx;

View File

@@ -1,66 +0,0 @@
// pages/home/companyInfo/companyInfo.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})

View File

@@ -1,3 +0,0 @@
{
"usingComponents": {}
}

View File

@@ -1,2 +0,0 @@
<!--pages/home/companyInfo/companyInfo.wxml-->
<text>pages/home/companyInfo/companyInfo.wxml</text>

View File

@@ -1 +0,0 @@
/* pages/home/companyInfo/companyInfo.wxss */

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
data: { data: {
type: 1, type: 1,

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
page { page {
padding-bottom: 30rpx; padding-bottom: 30rpx;
} }

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**

View File

@@ -1,8 +1,13 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
/* 顶部图片logo展示 start */ /* 顶部图片logo展示 start */
page{ page {
padding-bottom: 30rpx; padding-bottom: 30rpx;
background-color: #f8f8f8; background-color: #f8f8f8;
} }
.company_info { .company_info {
width: 100%; width: 100%;
height: 300rpx; height: 300rpx;
@@ -37,7 +42,7 @@ page{
bottom: -84rpx; bottom: -84rpx;
left: 50%; left: 50%;
margin-left: -80rpx; margin-left: -80rpx;
box-shadow: 0 0rpx 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0rpx 10px rgba(0, 0, 0, 0.2);
} }
.cop_title { .cop_title {
@@ -46,9 +51,12 @@ page{
font-weight: 600; font-weight: 600;
padding-bottom: 30rpx; padding-bottom: 30rpx;
text-align: center; text-align: center;
white-space: nowrap;/*强制一行显示*/ white-space: nowrap;
overflow:hidden;/*超出部分隐藏*/ /*强制一行显示*/
text-overflow: ellipsis;/*最后添加省略号*/ overflow: hidden;
/*超出部分隐藏*/
text-overflow: ellipsis;
/*最后添加省略号*/
} }
/* 顶部图片logo展示 start */ /* 顶部图片logo展示 start */
@@ -83,7 +91,7 @@ page{
/* 基本信息 end */ /* 基本信息 end */
/* 拨打电话 进入商城 start */ /* 拨打电话 进入商城 start */
.cop_call_shop{ .cop_call_shop {
margin-top: 20rpx; margin-top: 20rpx;
width: 100%; width: 100%;
height: 90rpx; height: 90rpx;
@@ -94,7 +102,7 @@ page{
box-sizing: border-box; box-sizing: border-box;
} }
.cop_call{ .cop_call {
color: #fff; color: #fff;
font-size: 26rpx; font-size: 26rpx;
background-color: #378fff; background-color: #378fff;
@@ -105,40 +113,46 @@ page{
justify-content: center; justify-content: center;
align-items: center; align-items: center;
box-sizing: border-box; box-sizing: border-box;
box-shadow: 0 0rpx 10px rgba(0, 0, 0, 0.2); box-shadow: 0 0rpx 10px rgba(0, 0, 0, 0.2);
} }
.cop_call image{
.cop_call image {
width: 26rpx; width: 26rpx;
margin-right: 10rpx; margin-right: 10rpx;
} }
.cop_shop{ .cop_shop {
background-color: #fd5b5b; background-color: #fd5b5b;
} }
.cop_focus{ .cop_focus {
background-color: #efbd32; background-color: #efbd32;
} }
.cop_shop image{
.cop_shop image {
width: 40rpx; width: 40rpx;
} }
/* 拨打电话 进入商城 end */ /* 拨打电话 进入商城 end */
/* 滚动菜单 */ /* 滚动菜单 */
.scroll_menu{ .scroll_menu {
background-color: #fff; background-color: #fff;
box-shadow: 0 0rpx 10px rgba(0, 0, 0, 0.1); box-shadow: 0 0rpx 10px rgba(0, 0, 0, 0.1);
} }
.scroll-view_H{
.scroll-view_H {
white-space: nowrap; white-space: nowrap;
color: #666; color: #666;
} }
.scroll-view-item{
.scroll-view-item {
height: 90rpx; height: 90rpx;
line-height: 90rpx; line-height: 90rpx;
} }
.scroll-view-item_H{
.scroll-view-item_H {
display: inline-block; display: inline-block;
width: 25%; width: 25%;
height: 90rpx; height: 90rpx;
@@ -146,7 +160,8 @@ page{
text-align: center; text-align: center;
border-bottom: solid 4rpx #fff; border-bottom: solid 4rpx #fff;
} }
.scroll_view_select{
.scroll_view_select {
border-bottom: solid 4rpx #378fff; border-bottom: solid 4rpx #378fff;
color: #378fff; color: #378fff;
font-weight: 600; font-weight: 600;

View File

@@ -1,10 +1,10 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/**
* 页面的初始数据
*/
data: { data: {
dynamic_id: '', //活动id dynamic_id: '', //活动id
info: '', //详情信息 info: '', //详情信息
loaded: false loaded: false

View File

@@ -1,3 +1,8 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.active_content { .active_content {
background-color: #fff; background-color: #fff;
box-sizing: border-box; box-sizing: border-box;

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**
@@ -67,7 +71,7 @@ Page({
goDetail() { goDetail() {
var lists = JSON.stringify(this.data.info.items) var lists = JSON.stringify(this.data.info.items)
wx.navigateTo({ wx.navigateTo({
url: '/pages/home/projectReturn/projectReturn?lists=' + lists+'&crowdfund_id='+this.data.crowdfund_id, url: '/pages/home/projectReturn/projectReturn?lists=' + lists + '&crowdfund_id=' + this.data.crowdfund_id,
}) })
}, },
@@ -86,7 +90,7 @@ Page({
} }
}) })
}, },
// 关注取消关注项目 // 关注取消关注项目
islike() { islike() {
if (!this.data.info.isSubscribed) { if (!this.data.info.isSubscribed) {

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.project_content { .project_content {
background-color: #fff; background-color: #fff;
box-sizing: border-box; box-sizing: border-box;

View File

@@ -1,9 +1,11 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
data: { data: {
lists: [], //列表 lists: [], //列表
crowdfund_id:'' crowdfund_id: ''
}, },
/** /**
* 页面的初始数据 * 页面的初始数据
@@ -11,7 +13,7 @@ Page({
onLoad(e) { onLoad(e) {
this.setData({ this.setData({
lists: JSON.parse(e.lists), lists: JSON.parse(e.lists),
crowdfund_id:e.crowdfund_id crowdfund_id: e.crowdfund_id
}) })
}, },
/** /**
@@ -20,7 +22,7 @@ Page({
beSure(e) { beSure(e) {
console.log('besure'); console.log('besure');
wx.navigateTo({ wx.navigateTo({
url: '../beSureOrder/beSureOrder?crowdfund_item_id='+e.currentTarget.dataset.id+'&crowdfund_id='+this.data.crowdfund_id, url: '../beSureOrder/beSureOrder?crowdfund_item_id=' + e.currentTarget.dataset.id + '&crowdfund_id=' + this.data.crowdfund_id,
}) })
}, },

View File

@@ -1,4 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.project_detail_html { .project_detail_html {
padding: 20rpx; padding: 20rpx;
background-color: #fff; background-color: #fff;
@@ -81,7 +84,7 @@
box-sizing: border-box; box-sizing: border-box;
} }
.project_item{ .project_item {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: start; justify-content: start;
@@ -91,19 +94,19 @@
border-bottom: solid 2rpx #f9f9f9; border-bottom: solid 2rpx #f9f9f9;
} }
.item_title{ .item_title {
color: #999; color: #999;
font-weight: normal; font-weight: normal;
font-size: 28rpx; font-size: 28rpx;
margin-right: 20rpx; margin-right: 20rpx;
} }
.item_content{ .item_content {
flex: 1; flex: 1;
} }
/* 没有列表 */ /* 没有列表 */
.no_list{ .no_list {
color: #999; color: #999;
text-align: center; text-align: center;
display: flex; display: flex;
@@ -114,7 +117,8 @@
padding-top: 100rpx; padding-top: 100rpx;
font-size: 26rpx; font-size: 26rpx;
} }
.no_list image{
.no_list image {
width: 200rpx; width: 200rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**
@@ -31,12 +35,12 @@ Page({
imageUrl: this.data.info.pictures[0] imageUrl: this.data.info.pictures[0]
} }
}, },
/** /**
* 跳转到订单列表 * 跳转到订单列表
*/ */
beSure(){ beSure() {
wx.navigateTo({ wx.navigateTo({
url: '/pages/user/companyMine/companyOrder', url: '/pages/user/companyMine/companyOrder',
}) })
} }
}) })

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
page { page {
height: 100%; height: 100%;
} }
@@ -74,18 +78,19 @@ page {
z-index: -1; z-index: -1;
} }
.share_content .title{ .share_content .title {
margin-top: 100rpx; margin-top: 100rpx;
text-align: left; text-align: left;
color: #fff; color: #fff;
font-size: 34rpx; font-size: 34rpx;
padding: 0 30rpx; padding: 0 30rpx;
display:-webkit-box; display: -webkit-box;
-webkit-line-clamp:3; -webkit-line-clamp: 3;
-webkit-box-orient:vertical; -webkit-box-orient: vertical;
overflow:hidden; overflow: hidden;
} }
.share_content .des{
.share_content .des {
color: #fff; color: #fff;
text-align: left; text-align: left;
font-size: 24rpx; font-size: 24rpx;
@@ -93,7 +98,7 @@ page {
padding: 0 30rpx; padding: 0 30rpx;
} }
.share_content .bottom{ .share_content .bottom {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
@@ -108,7 +113,8 @@ page {
font-size: 28rpx; font-size: 28rpx;
padding: 20rpx 0; padding: 20rpx 0;
} }
.share_content .icon_share{
.share_content .icon_share {
width: 30rpx; width: 30rpx;
margin-right: 10rpx; margin-right: 10rpx;
} }

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
const style = { const style = {
codeContent: { codeContent: {
backgroundColor: 'white', backgroundColor: 'white',
@@ -63,7 +67,7 @@ Page({
code: "", //二维码 code: "", //二维码
company: {}, //公司信息 company: {}, //公司信息
user: {}, //用户信息, user: {}, //用户信息,
name:'',//用户名 name: '', //用户名
}, },
/** /**
@@ -79,7 +83,7 @@ Page({
user: { user: {
job: res.job, job: res.job,
cover: res.cover, cover: res.cover,
name:options.name name: options.name
}, },
company: { company: {
name: res.company, name: res.company,
@@ -115,7 +119,7 @@ Page({
}).then(() => { }).then(() => {
this.codeimg.canvasToTempFilePath().then(res => { this.codeimg.canvasToTempFilePath().then(res => {
console.log(res); console.log(res);
if (res.tempFilePath) { if (res.tempFilePath) {
wx.hideLoading() wx.hideLoading()
this.dowQrCodeImg(res.tempFilePath) this.dowQrCodeImg(res.tempFilePath)

View File

@@ -1,11 +1,15 @@
.codeImg{ /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.codeImg {
position: fixed; position: fixed;
left: -100%; left: -100%;
top: -100%; top: -100%;
} }
/* 展示图片 */ /* 展示图片 */
.code-content{ .code-content {
margin: 30rpx; margin: 30rpx;
padding: 60rpx 30rpx; padding: 60rpx 30rpx;
background: white; background: white;
@@ -14,12 +18,12 @@
text-align: center; text-align: center;
} }
.code-nickname{ .code-nickname {
font-size: 50rpx; font-size: 50rpx;
padding-bottom: 20rpx; padding-bottom: 20rpx;
} }
.code-text{ .code-text {
border-top: dashed 1rpx #ddd; border-top: dashed 1rpx #ddd;
padding-top: 30rpx; padding-top: 30rpx;
color: gray; color: gray;
@@ -27,34 +31,34 @@
font-size: 26rpx; font-size: 26rpx;
} }
.code-img{ .code-img {
padding: 70rpx 0; padding: 70rpx 0;
} }
.code-img-src{ .code-img-src {
width: 300rpx; width: 300rpx;
height: 300rpx; height: 300rpx;
background: #eee; background: #eee;
vertical-align: top; vertical-align: top;
} }
.code-logo-src{ .code-logo-src {
background: #eee; background: #eee;
width: 98rpx; width: 98rpx;
height: 98rpx; height: 98rpx;
} }
.code-company{ .code-company {
padding-top: 20rpx; padding-top: 20rpx;
} }
/* 操作按钮 */ /* 操作按钮 */
.code-btns{ .code-btns {
padding: 0 15rpx 50rpx 15rpx; padding: 0 15rpx 50rpx 15rpx;
display: flex; display: flex;
} }
.code-btn[size="default"]{ .code-btn[size="default"] {
background: #ddd; background: #ddd;
width: 100%; width: 100%;
line-height: 90rpx; line-height: 90rpx;
@@ -67,7 +71,6 @@
background: #ff8c37; background: #ff8c37;
} }
.code-btn[size="default"]:last-child{ .code-btn[size="default"]:last-child {
background: #378fff; background: #378fff;
} }

View File

@@ -1,4 +1,7 @@
// pages/companyOrder/companyOrder.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
page { page {
padding-top: 100rpx; padding-top: 100rpx;
} }

View File

@@ -1,4 +1,7 @@
// pages/user/companyMine/focusedProject/focusedProject.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.content { .content {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View File

@@ -1,4 +1,7 @@
// pages/user/companyMine/focusedProject/focusedProject.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.content { .content {
display: flex; display: flex;
flex-direction: row; flex-direction: row;

View File

@@ -1,4 +1,7 @@
// pages/companyModule/companyMoreVideo/companyMoreVideo.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**
@@ -14,7 +17,7 @@ Page({
duration: 500, duration: 500,
active_id: '', //活动id active_id: '', //活动id
info: '', //详情信息 info: '', //详情信息
loaded:false, loaded: false,
}, },
onLoad(e) { onLoad(e) {
this.setData({ this.setData({
@@ -54,10 +57,10 @@ Page({
*/ */
beSure() { beSure() {
wx.login({ wx.login({
success:res=>{ success: res => {
wx.$api.companyModule.activesEnroll(res.code,this.data.active_id).then(res => { wx.$api.companyModule.activesEnroll(res.code, this.data.active_id).then(res => {
if(Number(this.data.info.price)>0){ if (Number(this.data.info.price) > 0) {
var resss=JSON.parse(res); var resss = JSON.parse(res);
console.log('可支付') console.log('可支付')
wx.requestPayment({ wx.requestPayment({
timeStamp: resss.timeStamp, timeStamp: resss.timeStamp,
@@ -65,10 +68,10 @@ Page({
package: resss.package, package: resss.package,
signType: 'MD5', signType: 'MD5',
paySign: resss.paySign, paySign: resss.paySign,
success:res=>{ success: res => {
this.close(); this.close();
wx.navigateTo({ wx.navigateTo({
url: '/pages/companyModule/activeSuccess/activeSuccess?cover='+this.data.info.pictures[0], url: '/pages/companyModule/activeSuccess/activeSuccess?cover=' + this.data.info.pictures[0],
}) })
}, },
fail(res) { fail(res) {
@@ -77,12 +80,12 @@ Page({
}) })
} }
}) })
}else{ } else {
console.log('不用支付') console.log('不用支付')
this.close(); this.close();
wx.navigateTo({ wx.navigateTo({
url: '/pages/companyModule/activeSuccess/activeSuccess?cover='+this.data.info.pictures[0], url: '/pages/companyModule/activeSuccess/activeSuccess?cover=' + this.data.info.pictures[0],
}) })
} }
}) })
@@ -98,12 +101,12 @@ Page({
console.log(nodes); console.log(nodes);
this.setData({ this.setData({
info: res, info: res,
content:nodes, content: nodes,
loaded:true, loaded: true,
}) })
}) })
}, },
}) })

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.active_content { .active_content {
background-color: #fff; background-color: #fff;
box-sizing: border-box; box-sizing: border-box;
@@ -121,7 +125,7 @@
padding-bottom: 150rpx; padding-bottom: 150rpx;
} }
.active_detail_html img{ .active_detail_html img {
width: 100%; width: 100%;
} }
@@ -227,7 +231,7 @@
background-color: #378fff; background-color: #378fff;
font-weight: 600; font-weight: 600;
width: 70%; width: 70%;
margin-left:15%; margin-left: 15%;
box-sizing: border-box; box-sizing: border-box;
padding: 20rpx 30rpx; padding: 20rpx 30rpx;
border-radius: 50rpx; border-radius: 50rpx;
@@ -237,9 +241,9 @@
.active_be_sure .content .txt4 { .active_be_sure .content .txt4 {
font-size: 26rpx; font-size: 26rpx;
color: #999; color: #999;
padding:20rpx 30rpx; padding: 20rpx 30rpx;
} }
img{ img {
max-width: 100%; max-width: 100%;
} }

View File

@@ -1,4 +1,7 @@
// pages/companyOrder/companyOrder.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
/* 滚动菜单 */ /* 滚动菜单 */
.scroll_menu { .scroll_menu {
background-color: #fff; background-color: #fff;

View File

@@ -1,6 +1,10 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
data: { data: {
name:'***' name: '***'
}, },
onLoad(e) { onLoad(e) {
console.log(e.name); console.log(e.name);

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@@ -1,4 +1,7 @@
// pages/user/companyMine/focusedProject/focusedProject.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**
@@ -77,7 +80,7 @@ Page({
}) })
wx.showToast({ wx.showToast({
title: '取消成功', title: '取消成功',
icon:'none' icon: 'none'
}) })
wx.hideLoading({}) wx.hideLoading({})
}); });

View File

@@ -78,6 +78,10 @@
margin-bottom: 30rpx; margin-bottom: 30rpx;
} }
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.runIn { .runIn {
color: #fff; color: #fff;
border: solid 1rpx #fff; border: solid 1rpx #fff;
@@ -103,6 +107,7 @@
flex-wrap: wrap; flex-wrap: wrap;
box-sizing: border-box; box-sizing: border-box;
} }
.vip image{
.vip image {
margin-right: 10rpx; margin-right: 10rpx;
} }

View File

@@ -1,8 +1,7 @@
/* /**
* 手太欠 * Web二雪
* 企获客商城 * 趁时光不老 努力活成自己想要成为的样子
*/ */
const app = getApp() const app = getApp()
Page({ Page({

View File

@@ -1,6 +1,6 @@
/* /**
* 手太欠 * Web二雪
* 企获客商城 * 趁时光不老 努力活成自己想要成为的样子
*/ */
image { image {
height: auto; height: auto;

View File

@@ -1,6 +1,6 @@
/* /**
* 手太欠 * Web二雪
* 企获客商城 * 趁时光不老 努力活成自己想要成为的样子
*/ */
const app = getApp() const app = getApp()

View File

@@ -1,6 +1,6 @@
/* /**
* 手太欠 * Web二雪
* 企获客商城 * 趁时光不老 努力活成自己想要成为的样子
*/ */
image { image {
height: auto; height: auto;

View File

@@ -1,6 +1,6 @@
/* /**
* 手太欠 * Web二雪
* 企获客商城 * 趁时光不老 努力活成自己想要成为的样子
*/ */
const app = getApp() const app = getApp()

View File

@@ -1,8 +1,7 @@
/* /**
* 手太欠 * Web二雪
* 企获客商城 * 趁时光不老 努力活成自己想要成为的样子
*/ */
page { page {
background-color: #f7f7f7; background-color: #f7f7f7;
} }

View File

@@ -1,87 +0,0 @@
<form bindsubmit="refundSign">
<view class="refund-content">
<!-- 退货产品 -->
<view class="refund-goods">
<view class="refund-good" wx:for="{{orderData.items}}" wx:key="index">
<image class="refund-good-cover" src="{{item.cover}}"></image>
<view class="refund-good-info">
<view class="refund-good-title nowrap">{{item.title}}</view>
<view class="refund-good-value nowrap">{{item.value}}</view>
<view class="refund-good-price nowrap">单价:<text>{{item.price}}</text> X {{item.qty}}</view>
</view>
</view>
</view>
<!-- 产品信息 -->
<view class="refund-statistical">
<view class="refund-statistical-item">
商品总金额
<label class="refund-statistical-item-label">¥{{orderData.amount || '0.00'}}</label>
</view>
<view class="refund-statistical-item">
运费
<label class="refund-statistical-item-label">¥{{orderData.freight || '0.00'}}</label>
</view>
<view class="refund-statistical-item">
优惠券抵扣
<label class="refund-statistical-item-label">¥{{orderData.coupons_all_price || '0.00'}}</label>
</view>
<view class="refund-statistical-item">
实际支付金额
<label class="refund-statistical-item-label">¥{{orderData.total || '0'}}</label>
</view>
</view>
<!-- 退款原因 -->
<view class="refund-statistical refund-info">
<view class="refund-statistical-item">
退款金额
<label
class="refund-statistical-item-label refund-info-item-label">¥{{orderData.total || '0.00'}}</label>
</view>
</view>
<view class="refund-statistical refund-info">
<view class="refund-statistical-item refundTitle-item">
选择退款原因
<picker bindchange="refundChange" range-key="remark" value="{{refundIndex}}" range="{{refundTitle}}">
<view class="picker">
{{refundTitle[refundIndex].remark}}
</view>
</picker>
</view>
</view>
<view class="refund-statistical refund-info">
<view class="refund-statistical-item">
退款类型
<label class="refund-statistical-item-label">{{refundType[1]}}</label>
</view>
</view>
<view class="refund-statistical refund-info">
<view class="refund-info-item-text">
退款原因
<textarea class="refund-info-item-textarea" placeholder="输入退款原因" name="remark"></textarea>
</view>
</view>
<view class="refund-statistical refund-info">
<view class="refund-info-item-text">
添加图片
<view class="issue-info-img">
<view class="issue-info-img-itme issue-info-img-tag" wx:for="{{imgs}}" wx:key="imgs">
<image class="form-img" mode="aspectFill" src="{{item}}"></image>
<text class="issue-info-img-remove" data-index="{{index}}" bindtap="removeImg">×</text>
</view>
<view class="issue-info-img-itme" wx:if="{{imgs.length < 9}}">
<view class="issue-info-img-add" bindtap="formUploadFile">
<image src="/static/images/images_add.png" mode="widthFix"></image>
<view>添加图片</view>
</view>
</view>
</view>
</view>
</view>
</view>
<view class="refund-footer">
<button class="refund-footer-btn" size="mini" form-type="submit">提交</button>
</view>
</form>

View File

@@ -1,8 +1,7 @@
/* /**
* 手太欠 * Web二雪
* 企获客商城 * 趁时光不老 努力活成自己想要成为的样子
*/ */
const app = getApp() const app = getApp()
Page({ Page({

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.refund-content { .refund-content {
padding-bottom: 190rpx; padding-bottom: 190rpx;
} }
@@ -220,4 +224,4 @@
color: #666; color: #666;
font-size: 26rpx; font-size: 26rpx;
padding: 0 30rpx 15rpx 30rpx; padding: 0 30rpx 15rpx 30rpx;
} }

View File

@@ -1,4 +1,7 @@
// pages/user/companyMine/refundInfo/refundInfo.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**

View File

@@ -1,4 +1,7 @@
/* pages/user/companyMine/refundInfo/refundInfo.wxss */ /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.content { .content {
padding: 120rpx 30rpx; padding: 120rpx 30rpx;
background-color: #fff; background-color: #fff;

View File

@@ -1,4 +1,7 @@
// pages/user/user.js /**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**

View File

@@ -1,6 +1,6 @@
/* /**
* 手太欠 * Web二雪
* 企获客商城模块 * 趁时光不老 努力活成自己想要成为的样子
*/ */
page { page {

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
data: { data: {
content: '', content: '',

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.content { .content {
width: 100%; width: 100%;
display: flex; display: flex;

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
/** /**
@@ -8,7 +12,7 @@ Page({
phone: "", //用户信息 phone: "", //用户信息
nickname: "", //用户昵称 nickname: "", //用户昵称
cover: "", //用户头像 cover: "", //用户头像
sex:'', sex: '',
}, },
besure() { besure() {
@@ -29,7 +33,7 @@ Page({
phone: res.username, phone: res.username,
nickname: res.nickname, nickname: res.nickname,
cover: res.avatar, cover: res.avatar,
sex:res.sex sex: res.sex
}) })
}) })
}, },
@@ -66,7 +70,7 @@ Page({
wx.clearStorage({ wx.clearStorage({
success: () => { success: () => {
wx.navigateTo({ wx.navigateTo({
url: '/pages/welcome/index', url: '/pages/welcome/index',
}) })
} }
}) })

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.info_blcok { .info_blcok {
margin-top: 30rpx; margin-top: 30rpx;
} }

View File

@@ -1,7 +1,6 @@
/** /**
* Web唐明明 * Web二雪
* 匆匆数载恍如梦,岁月迢迢华发增。 * 趁时光不老 努力活成自己想要成为的样子
* 碌碌无为枉半生,一朝惊醒万事空。
*/ */
Page({ Page({

View File

@@ -1,9 +1,7 @@
/** /**
* Web唐明明 * Web二雪
* 匆匆数载恍如梦,岁月迢迢华发增。 * 趁时光不老 努力活成自己想要成为的样子
* 碌碌无为枉半生,一朝惊醒万事空。
*/ */
.inputTxt { .inputTxt {
background-color: #fff; background-color: #fff;
padding: 0 30rpx; padding: 0 30rpx;

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
data: { data: {
nodes: { nodes: {

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
page { page {
padding: 30rpx; padding: 30rpx;
box-sizing: border-box; box-sizing: border-box;

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({ Page({
data: {}, data: {},
showtoast() { showtoast() {

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
.item { .item {
display: flex; display: flex;
flex-direction: row; flex-direction: row;