Browse Source

提交代码

yh
杨豪 3 years ago
parent
commit
4fa115a18c
  1. 6
      pages.json
  2. 5
      pages/index/index.vue
  3. 21
      pages/my/index.vue
  4. 7
      pages/order/index.vue
  5. 19
      pagesB/pages/member/feedback.vue
  6. 7
      pagesB/pages/my/shareFriends.vue

6
pages.json

@ -7,7 +7,7 @@
"style": { "style": {
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"navigationBarTitleText": "番茄饭团", "navigationBarTitleText": "番茄饭团",
"enablePullDownRefresh": false "enablePullDownRefresh": true
// "navigationStyle": "custom" // "navigationStyle": "custom"
} }
}, },
@ -73,7 +73,7 @@
"path": "pages/order/index", "path": "pages/order/index",
"style": { "style": {
"navigationBarTitleText": "我的订单", "navigationBarTitleText": "我的订单",
"enablePullDownRefresh": false "enablePullDownRefresh": true
} }
}, },
{ {
@ -115,7 +115,7 @@
"path": "pages/my/index", "path": "pages/my/index",
"style": { "style": {
"navigationBarTitleText": "个人中心", "navigationBarTitleText": "个人中心",
"enablePullDownRefresh": false "enablePullDownRefresh": true
} }
}, },

5
pages/index/index.vue

@ -230,6 +230,10 @@
// } // }
// }) // })
}, },
onPullDownRefresh() {
this.page = 1;
this.getHaoDianTuiJian1();
},
onShow() { onShow() {
let that = this; let that = this;
var city = this.$queue.getData('city'); var city = this.$queue.getData('city');
@ -482,6 +486,7 @@
this.loadingType = 2; this.loadingType = 2;
} }
uni.hideLoading(); uni.hideLoading();
uni.stopPullDownRefresh()
}) })
}, },
setMorKm(m) { setMorKm(m) {

21
pages/my/index.vue

@ -104,6 +104,12 @@
</view> </view>
<view class="tui-tool-text">设置</view> <view class="tui-tool-text">设置</view>
</view> </view>
<view class="tui-tool-item">
<!-- <view class="tuandui_item_left" @tap="goPageLogin('/pages/member/yaoqing')">
团队成员{{oneUserCount}}</view> -->
<view @tap="goPageLogin('/pagesB/pages/my/shareFriends')" class="yaoqing_btn">
邀请好友</view>
</view>
<!-- <view class=" tui-tool-item" v-if="userId" @tap='loginOut()'> <!-- <view class=" tui-tool-item" v-if="userId" @tap='loginOut()'>
<view class="tui-icon-box"> <view class="tui-icon-box">
<image src="https://bwc.xianmxkj.com/img/20210828/e8f096d23a5c4cb0bf0f716901e0ce9a.png" <image src="https://bwc.xianmxkj.com/img/20210828/e8f096d23a5c4cb0bf0f716901e0ce9a.png"
@ -148,8 +154,8 @@
<view @tap="goPageLogin('/pages/my/shareFriends')" class="yaoqing_btn"> <view @tap="goPageLogin('/pages/my/shareFriends')" class="yaoqing_btn">
邀请好友</view> 邀请好友</view>
</view> </view>
</view> </view> -->
-->
<!-- <view class="main"> <!-- <view class="main">
<view class="integrals-box"> <view class="integrals-box">
<view class="integral" @tap="goPageLoginS('/pages/order/index')"> <view class="integral" @tap="goPageLoginS('/pages/order/index')">
@ -336,6 +342,12 @@
} }
} }
}, },
onPullDownRefresh() {
this.getUserInfo(this.userId);
this.getUserInfointegral(this.userId);
this.getUserInfoSumMoney(this.userId);
this.checkChannel();
},
methods: { methods: {
//h5 //h5
randomAvater(){ randomAvater(){
@ -491,6 +503,7 @@
} }
uni.hideLoading(); uni.hideLoading();
uni.stopPullDownRefresh()
}); });
}, },
goPageLoginS(url) { goPageLoginS(url) {
@ -741,7 +754,6 @@
.nick { .nick {
font-size: 32rpx; font-size: 32rpx;
font-family: PingFang SC Bold, PingFang SC Bold-Bold;
font-weight: 700; font-weight: 700;
color: #333333; color: #333333;
} }
@ -935,7 +947,7 @@
} }
} }
} }
}
.info-jifen { .info-jifen {
width: 92%; width: 92%;
height: 360rpx; height: 360rpx;
@ -1042,7 +1054,6 @@
font-weight: 500; font-weight: 500;
} }
} }
}
.main { .main {
.integrals-box { .integrals-box {
margin-bottom: 50rpx; margin-bottom: 50rpx;

7
pages/order/index.vue

@ -155,6 +155,10 @@
this.goLogin(); this.goLogin();
} }
}, },
onPullDownRefresh() {
this.page = 1;
this.getList();
},
methods: { methods: {
// //
fangqi(id) { fangqi(id) {
@ -193,7 +197,7 @@
// //
shangchuan(item) { shangchuan(item) {
uni.navigateTo({ uni.navigateTo({
url: '/pages/order/release?orderId=' + item.id + '&classify=' + item.classify url: '/pages/order/release?orderId=' + item.orderId + '&classify=' + item.classify
}); });
}, },
timeFormat(param) { timeFormat(param) {
@ -235,6 +239,7 @@
this.loadingType = 2; this.loadingType = 2;
} }
uni.hideLoading(); uni.hideLoading();
uni.stopPullDownRefresh()
}); });
}, },
fromTabSelect(index) { fromTabSelect(index) {

19
pagesB/pages/member/feedback.vue

@ -9,7 +9,7 @@
</view> </view>
</view> </view>
<view> <view>
<textarea placeholder="请填写15字以上的内容描述,我们将尽快给您回复" style="height:200rpx;" v-model="text" placeholder-style="font-size: 24rpx;color: #999999;" /> <textarea placeholder="请填写15字以上的内容描述,我们将尽快给您回复" style="height:200rpx;" v-model="sendDate.content" placeholder-style="font-size: 24rpx;color: #999999;" />
</view> </view>
</view> </view>
<!-- <text @tap="chooseMsg">快速键入</text> --> <!-- <text @tap="chooseMsg">快速键入</text> -->
@ -23,6 +23,9 @@
<text class="feedback-star" v-for="(value, key) in stars" :key="key" :class="key < sendDate.score ? 'active' : ''" @tap="chooseStar(value)"></text> <text class="feedback-star" v-for="(value, key) in stars" :key="key" :class="key < sendDate.score ? 'active' : ''" @tap="chooseStar(value)"></text>
</view> </view>
</view> --> </view> -->
<view class="feedback-body">
<input class="feedback-input" v-model="sendDate.contact" placeholder="请输入qq或者邮箱方便我们联系你 " />
</view>
<view type="primary" class="button" @tap="send">提交</view> <view type="primary" class="button" @tap="send">提交</view>
</view> </view>
</template> </template>
@ -150,7 +153,7 @@
}; };
</script> </script>
<style> <style lang="scss">
page { page {
background-color: #F6F6F6; background-color: #F6F6F6;
} }
@ -195,6 +198,18 @@
color: #999999; color: #999999;
margin-right: 20rpx; margin-right: 20rpx;
} }
.feedback-body{
width: 100%;
padding: 0 32rpx;
margin-top: 24rpx;
input{
background: #fff;
width: 97%;
height: 32rpx;
padding: 20rpx 12rpx;
border-radius: 8rpx;
}
}
.button { .button {
width: 240rpx; width: 240rpx;

7
pagesB/pages/my/shareFriends.vue

@ -85,8 +85,8 @@
<view class="cu-modal" :class="modalName == 'Image' ? 'show' : ''" @tap="hideModal"> <view class="cu-modal" :class="modalName == 'Image' ? 'show' : ''" @tap="hideModal">
<view class="cu-dialog" v-if="backgroundImageUrl && erweimapath && haibaoShow" @tap="hideModal"> <view class="cu-dialog" v-if="backgroundImageUrl && erweimapath && haibaoShow" @tap="hideModal">
<view class="bg-img"> <view class="bg-img">
<!-- <wm-poster @success="posterSuccess" :imgSrc="backgroundImageUrl" :Referrer="'我的邀请码:'+invitationCode" <wm-poster @success="posterSuccess" :imgSrc="backgroundImageUrl" :Referrer="'我的邀请码:'+invitationCode"
:QrSrc="url" :Title="tuiguang" :LineType="false"></wm-poster> --> :QrSrc="url" :Title="tuiguang" :LineType="false"></wm-poster>
</view> </view>
</view> </view>
</view> </view>
@ -138,7 +138,6 @@
} }
}, },
onShow() { onShow() {
this.$Request.getT('/team/selectMemberConfigList').then(res => { this.$Request.getT('/team/selectMemberConfigList').then(res => {
if (res.code === 0) { if (res.code === 0) {
// res.data.forEach(d =>{ // res.data.forEach(d =>{
@ -183,6 +182,7 @@
if (!this.haibaoImg) { if (!this.haibaoImg) {
this.haibaoShow = true; this.haibaoShow = true;
this.$queue.showLoading('海报生成中...'); this.$queue.showLoading('海报生成中...');
} else { } else {
this.modalName = 'Image'; this.modalName = 'Image';
} }
@ -215,6 +215,7 @@
}); });
}, },
async shareFc() { async shareFc() {
let _this = this; let _this = this;
try { try {
const d = await getSharePoster({ const d = await getSharePoster({

Loading…
Cancel
Save