Commit 0fb211ef authored by LiZongLin's avatar LiZongLin

Merge branch 'dev' of http://gitlab.91isoft.com:90/wyf/tjty-app into dev

parents 99738a60 f3354e1d
...@@ -78,12 +78,3 @@ export function addUnifiedOrder(orderVo) { ...@@ -78,12 +78,3 @@ export function addUnifiedOrder(orderVo) {
}) })
} }
//微信支付回调下
export function addUnifiedOrderWx(orderVo) {
return request({
url: 'http://bin001.free.idcfengye.com/dealFlow/stream/wxPayNotify',
method: 'post',
data: orderVo
})
}
\ No newline at end of file
...@@ -128,10 +128,9 @@ ...@@ -128,10 +128,9 @@
console.log(this.activityId) console.log(this.activityId)
this.getList(this.activityId) this.getList(this.activityId)
}, },
// onShow() { onShow() {
// console.log('onShow') this.getList(this.activityId)
// this.getList(this.activityId) },
// },
filters: { filters: {
ellipsis(value){ ellipsis(value){
if (!value) return ''; if (!value) return '';
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<uni-easyinput :inputBorder="false" v-model="info.idCard" placeholder="请输入证件号" :clearable="false"> <uni-easyinput :inputBorder="false" v-model="info.idCard" placeholder="请输入证件号" :clearable="false">
</uni-easyinput> </uni-easyinput>
</uni-forms-item> </uni-forms-item>
<uni-forms-item label="活动分类" required name="projectId"> <uni-forms-item label="项目分类" required name="projectId">
<picker @change="projectPickerChange" :value="projectIndex" :range="projectList" range-key="projectName" <picker @change="projectPickerChange" :value="projectIndex" :range="projectList" range-key="projectName"
:disabled="projectDisable" @cancel="projectCancel"> :disabled="projectDisable" @cancel="projectCancel">
<view v-if="projectIndex ===projectList.length" class="uni-input">请选择项目 <view v-if="projectIndex ===projectList.length" class="uni-input">请选择项目
...@@ -244,7 +244,7 @@ import { ...@@ -244,7 +244,7 @@ import {
this.info.status = '0' this.info.status = '0'
addsignInInfo(this.info).then(response=>{ addsignInInfo(this.info).then(response=>{
console.log(response) //存在的话就返回报错 console.log(response) //存在的话就返回报错
if(response.data.code === 500) if(response.code === 500)
return uni.$showMsg(response.msg) return uni.$showMsg(response.msg)
this.orderVo.signupId = response.data.signupId this.orderVo.signupId = response.data.signupId
this.orderVo.wechatId = this.info.wechatId this.orderVo.wechatId = this.info.wechatId
......
...@@ -358,11 +358,6 @@ ...@@ -358,11 +358,6 @@
this.flag = false this.flag = false
this.list(this.type, this.queryParams.pageNum) this.list(this.type, this.queryParams.pageNum)
}, },
...mapMutations('m_user', ['updateToken']), ...mapMutations('m_user', ['updateToken']),
...mapMutations('m_user', ['updateUserInfo']), ...mapMutations('m_user', ['updateUserInfo']),
//登录判断 //登录判断
......
...@@ -217,6 +217,14 @@ ...@@ -217,6 +217,14 @@
overflow-x: hidden; overflow-x: hidden;
overflow-y: hidden; overflow-y: hidden;
// top: 88rpx;
/* #ifdef APP-PLUS */
top: calc(var(--top-window-height) + 0px);
/* #endif */
-webkit-overflow-scroll:touch;
left: 0;
.home{ .home{
position: absolute; position: absolute;
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<view class="info"> <view class="info">
<view class="question" style="display: flex;width: 100%; justify-content: space-between;"> <view class="question" style="display: flex;width: 100%; justify-content: space-between;">
<view style="width: 80%;height: 100%;"> <view style="width: 80%;height: 100%;">
<view style="padding: 6% 3% 0 5%;height: 100%;">{{item.activityName}}</view> <view style="padding: 6% 3% 0 5%;height: 100%;">{{item.activityName|ellipsis}}</view>
</view> </view>
<view style="width: 20%;height: 100%;"> <view style="width: 20%;height: 100%;">
<!-- <view class="item1"> --> <!-- <view class="item1"> -->
...@@ -44,26 +44,25 @@ ...@@ -44,26 +44,25 @@
</view> </view>
<dividerface></dividerface> <dividerface></dividerface>
<view class="item" style="display: flex">比赛时间:<view class="time">{{item.activityTime}}</view> <view class="item" style="display: flex">比赛时间<view class="time">{{item.activityTime}}</view>
</view> </view>
<view class="item" style="display: flex">报名时间:<view class="time"> <view class="item" style="display: flex">报名时间<view class="time">
{{item.taseCreateTime||item.tasCreateTime}} {{item.taseCreateTime||item.tasCreateTime}}
</view> </view>
</view> </view>
<view class="item" style="display: flex;margin-left: 34rpx;">参赛人:<view class="time"> <view class="item" style="display: flex;margin-left: 34rpx;">参赛人<view class="time">
{{item.tasName||item.taseName}} {{item.tasName||item.taseName}}
</view> </view>
</view> </view>
<view style="display: flex;"> <view style="display: flex;">
<button @tap="tapPopup(item.type,item.tasSignupId,item.taseSignupId)" style="width: 50%;background-color: #3b7cde;border-radius:0 0 0 16px;">报名详情</button> <button @tap="tapPopup(item.type,item.tasSignupId,item.taseSignupId)" style="width: 50%;background-color: #3b7cde;border-radius:0 0 0 16px;color: aliceblue">报名详情</button>
<button @click="goDetail(item.type,wechatId,item.activityId)" <button @click="goDetail(item.type,wechatId,item.activityId)"
style="width: 50%;background-color: #3b7cde;border-radius:0 0 16px 0;">活动详情</button> style="width: 50%;background-color: #3b7cde;border-radius:0 0 16px 0;color: aliceblue">活动详情</button>
</view> </view>
</view> </view>
</view> </view>
<view class="popup" v-show="showexam" > <view class="popup" v-show="showexam" >
<view class="popup-info"> <view class="popup-info">
<view style="margin-bottom: 20px;margin-left: 45px;">学校&nbsp;:{{signupexamlist.school}}</view> <view style="margin-bottom: 20px;margin-left: 45px;">学校&nbsp;:{{signupexamlist.school}}</view>
...@@ -77,7 +76,6 @@ ...@@ -77,7 +76,6 @@
</view> </view>
</view> </view>
</view> </view>
<view class="popup" v-show="show">else <view class="popup" v-show="show">else
<view class="popup-info"> <view class="popup-info">
...@@ -116,6 +114,7 @@ ...@@ -116,6 +114,7 @@
userInfo userInfo
} from 'os'; } from 'os';
export default { export default {
data() { data() {
return { return {
showtime:false, showtime:false,
...@@ -130,6 +129,17 @@ ...@@ -130,6 +129,17 @@
signuplist:{} signuplist:{}
} }
}, },
filters: {
ellipsis(value){
if (!value) return '';
if (value.length > 31) {
return value.slice(0,31) + '...'
}
return value
}
},
computed: { computed: {
...mapState('m_user', ['userInfo']), ...mapState('m_user', ['userInfo']),
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment