企业信息

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
/* 立即报名 */
.besure_now_act {
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({
data: {
type: 1,

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,7 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({
/**
@@ -67,7 +71,7 @@ Page({
goDetail() {
var lists = JSON.stringify(this.data.info.items)
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() {
if (!this.data.info.isSubscribed) {

View File

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

View File

@@ -1,9 +1,11 @@
/**
* Web二雪
* 趁时光不老 努力活成自己想要成为的样子
*/
Page({
data: {
lists: [], //列表
crowdfund_id:''
crowdfund_id: ''
},
/**
* 页面的初始数据
@@ -11,7 +13,7 @@ Page({
onLoad(e) {
this.setData({
lists: JSON.parse(e.lists),
crowdfund_id:e.crowdfund_id
crowdfund_id: e.crowdfund_id
})
},
/**
@@ -20,7 +22,7 @@ Page({
beSure(e) {
console.log('besure');
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 {
padding: 20rpx;
background-color: #fff;
@@ -81,7 +84,7 @@
box-sizing: border-box;
}
.project_item{
.project_item {
display: flex;
flex-direction: row;
justify-content: start;
@@ -91,19 +94,19 @@
border-bottom: solid 2rpx #f9f9f9;
}
.item_title{
.item_title {
color: #999;
font-weight: normal;
font-size: 28rpx;
margin-right: 20rpx;
}
.item_content{
.item_content {
flex: 1;
}
/* 没有列表 */
.no_list{
.no_list {
color: #999;
text-align: center;
display: flex;
@@ -114,7 +117,8 @@
padding-top: 100rpx;
font-size: 26rpx;
}
.no_list image{
.no_list image {
width: 200rpx;
margin-bottom: 20rpx;
}

View File

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

View File

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