diff --git a/App.vue b/App.vue
index ce76edb..1ec3616 100644
--- a/App.vue
+++ b/App.vue
@@ -144,13 +144,13 @@
// 匹配并更新已有 style 属性的 img 标签
html = html.replace(/(
]*\bstyle\s*=\s*['"])([^'"]*)(['"][^>]*>)/g,
function(match, p1, p2, p3) {
- return p1 + ';width: 100%;margin:0 auto;' + p3;
+ return p1 + ';width: 100%;border-radius: 10px;margin:0 auto;' + p3;
});
// 匹配并添加 style 属性到没有 style 属性的 img 标签
html = html.replace(/(
]*\bstyle\s*=)[^>]*>)/g,
function(match, p1) {
- return p1.replace(/\/?>$/, ' style="width: 100%;margin:0 auto;" />');
+ return p1.replace(/\/?>$/, ' style="width: 100%;border-radius: 10px;margin:0 auto;" />');
});
return html;
diff --git a/pages.json b/pages.json
index 1daf720..385609c 100644
--- a/pages.json
+++ b/pages.json
@@ -216,6 +216,11 @@
"style": {
"navigationBarTitleText": "河南省青年企业家协会"
}
+ }, {
+ "path": "news/new_list",
+ "style": {
+ "navigationBarTitleText": "河南省青年企业家协会"
+ }
}]
}],
"globalStyle": {
diff --git a/pages/index/directory.vue b/pages/index/directory.vue
index b05fd15..6aa62a4 100644
--- a/pages/index/directory.vue
+++ b/pages/index/directory.vue
@@ -1,109 +1,114 @@
-
-
+
+
-
-
-
-
+
+
+ 通讯录
+
-
-
-
-
-
-
-
-
-
-
-
- 搜 索
-
+
+
+
+
+
+
+
+
+
+ 搜 索
+
-
-
-
-
-
-
- {{ item.industry_name }}
-
+
+
+
+ 地区
+
-
-
-
-
-
-
-
-
-
- {{item.position_name}}
-
-
-
-
-
-
-
-
-
- {{v.nikename}}
- {{v.nation}}
-
-
- {{v.enterprise_name==null?'':v.enterprise_name}}
-
-
-
+
+
+ {{hy_name=='全部'?'行业':hy_name}}
+
+
+
+
+ 届数
+
+
+
+ 组织架构
+
+
+
+
+
+
+
+ {{item.industry_name}}
+
+
+
+
+
+
+ {}"
+ style="position: absolute;width: 100%;height:100%;background-color: rgba(0, 0,0, 0.3);z-index: 100;">
+
+
+
+
+ {{item.position_name}}
+
+
+
+
+
+
+
+
+
+ {{v.nikename}}
+ {{v.position_name}}
-
- 暂无
+
+ {{v.enterprise_name==null?v.work_unit:v.enterprise_name}}
-
-
+
+
+ 暂无数据
-
-
-
-
-
@@ -119,20 +124,14 @@
export default {
data() {
return {
+ showNo: false,
+ isFixed: false,
serach_content: '',
list: [],
topCurrent: 0,
tabbarIndex: 0,
// 分类菜单item的信息
tabbarItemInfo: [],
- // scrollView的top值
- scrollViewBasicTop: 0,
- // scrollView的高度
- scrollViewHeight: 0,
- // 左边scrollView的滚动高度
- leftScrollViewTop: 0,
- // 右边scrollView的滚动高度
- rightScrollViewTop: 0,
// 当前选中的tabbar序号
currentTabbarIndex: 0,
apiImgUrl: this.$store.state.imgUrl,
@@ -143,25 +142,9 @@
selectList: [],
gid: store.state.Gid,
top: 0,
- }
- },
- computed: {
- tabbarItemClass() {
- return index => {
- if (index === this.currentTabbarIndex) {
- return 'tn-classify__tabbar__item--active tn-bg-white'
- } else {
- let clazz = ''
- if (this.currentTabbarIndex > 0 && index === this.currentTabbarIndex - 1) {
- clazz += ' tn-classify__tabbar__item--active--prev'
- }
- if (this.currentTabbarIndex < this.industry_list.length && index === this.currentTabbarIndex +
- 1) {
- clazz += ' tn-classify__tabbar__item--active--next'
- }
- return clazz
- }
- }
+ openDqShow: false,
+ selectTopNumber: 220,
+ hy_name: '全部',
}
},
onLoad(d) {
@@ -173,9 +156,6 @@
this.getAssociationIndex();
},
methods: {
- preventTouchMove() {
-
- },
serach_do() {
this.list = [];
this.getAddressList();
@@ -232,7 +212,7 @@
});
this.industry_list.unshift({
id: 0,
- industry_name: '组织架构'
+ industry_name: '全部'
});
this.leftId = res.data[0].id;
uni.showLoading({
@@ -260,6 +240,8 @@
console.log(res);
if (res.code == 1) {
this.list = res.data.ret;
+ } else {
+ this.showNo = true;
}
setTimeout(function() {
uni.hideLoading();
@@ -277,36 +259,23 @@
uni.showLoading({
title: '加载中...'
});
+ this.isFixed = false;
+ this.showNo = false;
+ this.openDqShow = false;
this.currentTabbarIndex = index;
this.leftId = this.industry_list[index].id;
+ this.hy_name = this.industry_list[index].industry_name;
this.list = [];
- this.top = this.randomBetween();
this.getAddressList();
- //this.handleLeftScrollView(index)
- //this.switchClassifyContent();
},
- randomBetween() {
- let baseRandom = Math.random() * (0.99999 - 0.00001) + 0.00001;
- return baseRandom.toFixed(5); //
- },
- // 点击分类后,处理scrollView滚动到居中位置
- handleLeftScrollView(index) {
- const tabbarItemTop = this.tabbarItemInfo[index].top - this.scrollViewBasicTop
- if (tabbarItemTop > this.scrollViewHeight / 2) {
- this.leftScrollViewTop = tabbarItemTop - (this.scrollViewHeight / 2) + this.tabbarItemInfo[index]
- .height
+ ReachScroll(e) {
+ //当距离大于20的时候吸顶
+ if (e.detail.scrollTop > 100) {
+ this.isFixed = true;
} else {
- this.leftScrollViewTop = 0
+ this.isFixed = false;
}
},
- // 切换对应分类的数据
- switchClassifyContent() {
- this.rightScrollViewTop = 1
- this.$nextTick(() => {
- this.rightScrollViewTop = 0
- })
- //this.classifyContent.subClassify[0].title = this.tabbar[this.currentTabbarIndex]
- },
tn(url) {
uni.navigateTo({
url: url
@@ -439,4 +408,21 @@
height: calc(100vh - 286rpx);
padding-bottom: 100rpx;
}
-
+
+ .textThis {
+ color: #3056D3;
+ font-weight: bold;
+ }
+
+ .textNo {
+ color: #000000;
+ }
+
+ .fixed {
+ position: fixed;
+ }
+
+ .abc {
+ position: absolute;
+ }
+
\ No newline at end of file
diff --git a/pages/index/home.vue b/pages/index/home.vue
index f9011fc..44e092a 100644
--- a/pages/index/home.vue
+++ b/pages/index/home.vue
@@ -43,9 +43,11 @@
-
+
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 洛阳市总商会
-
- 成立时间:2021-10-01
-
-
-
-
-
- 已认证
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{item.association_name}}
-
- 成立时间:{{item.createtime}}
-
-
-
- 已认证
-
-
-
-
-
-
-
-
diff --git a/pages/index/pizz_info.vue b/pages/index/pizz_info.vue
index 5b61d6b..19d5146 100644
--- a/pages/index/pizz_info.vue
+++ b/pages/index/pizz_info.vue
@@ -182,7 +182,7 @@
inactiveIcon: '/static/02.png'
},
{
- title: '发现',
+ title: '青企圈',
activeIcon: '/static/03_3.png',
inactiveIcon: '/static/03.png'
},
@@ -374,4 +374,4 @@
+
\ No newline at end of file
diff --git a/pages/index/service.vue b/pages/index/service.vue
index 33b2980..a189a1d 100644
--- a/pages/index/service.vue
+++ b/pages/index/service.vue
@@ -38,8 +38,7 @@
-
+
@@ -94,7 +93,7 @@
inactiveIcon: '/static/02.png'
},
{
- title: '发现',
+ title: '青企圈',
activeIcon: '/static/03_3.png',
inactiveIcon: '/static/03.png'
},
diff --git a/pages/packageA/user/my_invoice.vue b/pages/packageA/user/my_invoice.vue
index 1987ff9..fd19a8e 100644
--- a/pages/packageA/user/my_invoice.vue
+++ b/pages/packageA/user/my_invoice.vue
@@ -65,54 +65,30 @@
-
-
- {{header_id_name}}
+
+
+ 请选择开票信息
+
+
+ 申请人:{{header_id_name.name}}
+ 公司名称:{{header_id_name.unit}}
+ 纳税人识别号:{{header_id_name.taxpayer_identification_number}}
+ 单位地址:{{header_id_name.unit_address}}
+ 单位电话:{{header_id_name.telephone}}
+ 银行基本户账号:{{header_id_name.bank_basic_account_number}}
+ 开户行:{{header_id_name.bank}}
+
+
- 添加开票信息
+
-
+
-
- 添加开票信息
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 取消
- 提交
-
-
-
+
申请发票
@@ -211,6 +187,81 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 添加开票信息
+
+
+
+
+
+ 申请人:{{item.name}}
+ 公司名称:{{item.unit}}
+ 纳税人识别号:{{item.taxpayer_identification_number}}
+ 单位地址:{{item.unit_address}}
+ 单位电话:{{item.telephone}}
+ 银行基本户账号:{{item.bank_basic_account_number}}
+ 开户行:{{item.bank}}
+
+
+
+
+
+
+ 确定
+
+
+ 添加开票信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 提交
+
+
+
+
@@ -229,6 +280,7 @@
apiImgUrl: this.$store.state.imgUrl,
addMod: false,
infoMod: false,
+ tt_add_show_add: false,
addForm: {
name: '',
taxpayer_identification_number: '',
@@ -250,8 +302,8 @@
id: 2
}
],
- header_id: 0,
- header_id_name: '请选择开票信息',
+ header_id: -1,
+ header_id_name: '',
invoice_type_name: '普票',
invoice_type: 1,
tt_add_show: false,
@@ -276,6 +328,11 @@
this.getList();
},
methods: {
+ radioGroupChange(d) {
+ const item = this.tt_list.find(item => item.id == d);
+ console.log(item);
+ this.header_id_name = item;
+ },
openImg() {
uni.previewImage({
current: 0,
@@ -304,16 +361,17 @@
this.invoice_type = this.actionSheetList[index].id;
},
tt_show_do() {
- if (this.tt_list.length == 0) {
- uni.showToast({
- title: '请先添加开票信息',
- icon: 'none',
- duration: 2000
- });
- this.tt_add_show = true;
- } else {
- this.tt_show = true;
- }
+ this.tt_add_show = true;
+ // if (this.tt_list.length == 0) {
+ // uni.showToast({
+ // title: '请先添加开票信息',
+ // icon: 'none',
+ // duration: 2000
+ // });
+ // this.tt_add_show = true;
+ // } else {
+ // this.tt_show = true;
+ // }
},
kp_add_do() {
@@ -353,6 +411,9 @@
this.invoice_type_name = '普票';
this.invoice_type = 1;
this.money = '';
+ this.allList = [];
+ this.page = 1;
+ this.getList();
} else {
uni.showModal({
title: '提示',
@@ -400,12 +461,12 @@
if (res.data == null) {
this.tt_list = [];
} else {
- var key = res.data;
- const transformedSelectList = key.map(item => ({
- value: item.id,
- label: item.unit
- }));
- this.tt_list = transformedSelectList;
+ // var key = res.data;
+ // const transformedSelectList = key.map(item => ({
+ // value: item.id,
+ // label: item.unit
+ // }));
+ this.tt_list = res.data;
}
})
.catch(error => {
@@ -424,7 +485,7 @@
.then(res => {
console.log(res);
this.allList.push(...res.data.data);
- this.count = res.data.total;
+ this.count = res.data.count;
})
.catch(error => {
uni.showToast({
diff --git a/pages/packageB/event/event_info.vue b/pages/packageB/event/event_info.vue
index e83ac31..286db76 100644
--- a/pages/packageB/event/event_info.vue
+++ b/pages/packageB/event/event_info.vue
@@ -1,22 +1,75 @@
-
+
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 活动详情
-
-
+
+
+
+ {{ info.activity_name }}
+
+
+ {{formatTime(info.activity_end_time)}}-{{formatTime(info.activity_start_time)}}
+
+
+
+ {{ info.activity_location }}
+
+
+
+ 活动介绍
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 点赞
+
+
+
+
+
+
+
+ 收藏
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
感谢您的捐助
@@ -592,6 +645,9 @@
url: url
})
},
+ formatTime(time) {
+ return time.split(" ")[0];
+ },
goBack() {
if (getCurrentPages().length > 1) {
uni.navigateBack()
@@ -616,4 +672,27 @@
line-height: 80rpx;
font-size: 28rpx;
}
-
+
+ button::after {
+ border: none;
+ }
+
+ button {
+ position: relative;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ padding-left: 0px;
+ padding-right: 0px;
+ box-sizing: border-box;
+ text-align: center;
+ text-decoration: none;
+ line-height: 1.35;
+ -webkit-tap-highlight-color: transparent;
+ overflow: hidden;
+ background-color: transparent;
+ font-size: 28rpx;
+ width: 100%;
+ height: 100%;
+ }
+
\ No newline at end of file
diff --git a/pages/packageB/news/new_list.vue b/pages/packageB/news/new_list.vue
new file mode 100644
index 0000000..e149459
--- /dev/null
+++ b/pages/packageB/news/new_list.vue
@@ -0,0 +1,166 @@
+
+
+
+
+
+
+
+
+ 新闻详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.news_title }}
+
+ #{{ item.name }}
+
+ {{ formatTime(item.showtime) }}
+
+
+ {{ item.news_hits }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/tuniao-ui/components/tn-popup/tn-popup.vue b/tuniao-ui/components/tn-popup/tn-popup.vue
index ddbb83e..f8925fc 100644
--- a/tuniao-ui/components/tn-popup/tn-popup.vue
+++ b/tuniao-ui/components/tn-popup/tn-popup.vue
@@ -1,492 +1,463 @@
-
+
+ .tn-popup {
+ /* #ifndef APP-NVUE */
+ display: block;
+ /* #endif */
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ overflow: hidden;
+ z-index: 29091 !important;
+
+ &__content {
+ /* #ifndef APP-NVUE */
+ display: block;
+ /* #endif */
+ position: absolute;
+ transition: all 0.25s linear;
+
+ &--visible {
+ transform: translate3D(0px, 0px, 0px) !important;
+
+ &.tn-popup--center {
+ transform: scale(1);
+ opacity: 1;
+ }
+ }
+
+ &__center_box {
+ min-width: 100rpx;
+ min-height: 100rpx;
+ /* #ifndef APP-NVUE */
+ display: block;
+ /* #endif */
+ position: relative;
+ background-color: #FFFFFF;
+ }
+
+ &__scroll-view {
+ width: 100%;
+ height: 100%;
+ }
+
+ &__center--animation-zoom {
+ transform: scale(1.15);
+ }
+ }
+
+ &__scroll_view {
+ width: 100%;
+ height: 100%;
+ }
+
+ &--left {
+ top: 0;
+ bottom: 0;
+ left: 0;
+ background-color: #FFFFFF;
+ }
+
+ &--right {
+ top: 0;
+ bottom: 0;
+ right: 0;
+ background-color: #FFFFFF;
+ }
+
+ &--top {
+ left: 0;
+ right: 0;
+ top: 0;
+ }
+
+ &--bottom {
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-color: #FFFFFF;
+ }
+
+ &--center {
+ display: flex;
+ flex-direction: column;
+ bottom: 0;
+ top: 0;
+ left: 0;
+ right: 0;
+ justify-content: center;
+ align-items: center;
+ opacity: 0;
+ }
+
+ &__close {
+ position: absolute;
+
+ &--top-left {
+ top: 30rpx;
+ left: 30rpx;
+ }
+
+ &--top-right {
+ top: 30rpx;
+ right: 30rpx;
+ }
+
+ &--bottom-left {
+ bottom: 30rpx;
+ left: 30rpx;
+ }
+
+ &--bottom-right {
+ bottom: 30rpx;
+ right: 30rpx;
+ }
+ }
+
+ &__mask {
+ width: 100%;
+ height: 100%;
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ border: 0;
+ background-color: $tn-mask-bg-color;
+ transition: 0.25s linear;
+ transition-property: opacity;
+ opacity: 0;
+
+ &--show {
+ opacity: 1;
+ }
+ }
+ }
+
\ No newline at end of file