Commit 584d0555 authored by youjie's avatar youjie

no message

parent f9938669
...@@ -127,7 +127,12 @@ ...@@ -127,7 +127,12 @@
"pages": [{ "pages": [{
"path": "contract" //电子合同 "path": "contract" //电子合同
}, { }, {
"path": "orderList" //订单列表 "path": "orderList", //我的订单
"style": {
"navigationBarTitleText": "我的订单",
"backgroundColor": "#F6F6F6",
"navigationBarBackgroundColor": "#F6F6F6"
}
}, { }, {
"path": "contractDetail" //合同详情 "path": "contractDetail" //合同详情
}] }]
...@@ -138,13 +143,15 @@ ...@@ -138,13 +143,15 @@
"path": "index", "path": "index",
"style": { "style": {
"navigationBarTitleText": "我的小孩", "navigationBarTitleText": "我的小孩",
"backgroundColor": "#F6F6F6" "backgroundColor": "#F6F6F6",
"navigationBarBackgroundColor": "#F6F6F6"
} }
},{ },{
"path": "addChild", "path": "addChild",
"style": { "style": {
"navigationBarTitleText": "添加小孩信息", "navigationBarTitleText": "添加小孩信息",
"backgroundColor": "#F6F6F6" "backgroundColor": "#F6F6F6",
"navigationBarBackgroundColor": "#F6F6F6"
} }
}] }]
},{ },{
...@@ -153,8 +160,8 @@ ...@@ -153,8 +160,8 @@
"path": "index", "path": "index",
"style": { "style": {
"navigationBarTitleText": "亲友团", "navigationBarTitleText": "亲友团",
"navigationBarBackgroundColor": "#F6F6F6", "backgroundColor": "#F6F6F6",
"backgroundColor": "#F6F6F6" "navigationBarBackgroundColor": "#F6F6F6"
} }
}] }]
} }
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
height: 491rpx; height: 491rpx;
text-align: center; text-align: center;
position: relative; position: relative;
margin-top: 20rpx;
} }
.FriendsAndRelatives-header image{ .FriendsAndRelatives-header image{
margin: auto; margin: auto;
...@@ -126,7 +127,7 @@ ...@@ -126,7 +127,7 @@
<text class="left-title">亲友团</text> <text class="left-title">亲友团</text>
</view> </view>
<view class="header-right flex"> <view class="header-right flex">
<view class="right-image"> <view class="right-image" @click="invite">
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664164163000_619.png" <image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1664164163000_619.png"
style="width: 99rpx;height: 99rpx;"></image> style="width: 99rpx;height: 99rpx;"></image>
<text class="left-title">微信邀请</text> <text class="left-title">微信邀请</text>
...@@ -218,6 +219,23 @@ ...@@ -218,6 +219,23 @@
imgGirl:'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1663931928000_154.png' imgGirl:'https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Test/Upload/Goods/1663931928000_154.png'
}); });
const methods = { const methods = {
invite(){
uni.share({
provider: "weixin",
scene: "WXSceneSession",
type: 0,
href: "http://uniapp.dcloud.io/",
title: "uni-app分享",
summary: "我正在使用HBuilderX开发uni-app,赶紧跟我一起来体验!",
imageUrl: "https://bjetxgzv.cdn.bspapp.com/VKCEYUGU-uni-app-doc/d8590190-4f28-11eb-b680-7980c8a877b8.png",
success: function (res) {
console.log("success:" + JSON.stringify(res));
},
fail: function (err) {
console.log("fail:" + JSON.stringify(err));
}
});
},
usernameInput(val) { usernameInput(val) {
data.Account = val.detail; data.Account = val.detail;
}, },
......
...@@ -203,7 +203,6 @@ ...@@ -203,7 +203,6 @@
proxy proxy
} = getCurrentInstance(); } = getCurrentInstance();
let data = reactive({ let data = reactive({
pageTitle: "合同列表",
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 10, pageSize: 10,
...@@ -247,14 +246,6 @@ ...@@ -247,14 +246,6 @@
onLoad(options) { onLoad(options) {
this.msg.OrderType = options.type this.msg.OrderType = options.type
this.getData(); this.getData();
if (options.type == 1) {
this.pageTitle = '语培订单'
} else if (options.type == 2) {
this.pageTitle = '留学订单'
}
uni.setNavigationBarTitle({
title: this.pageTitle
});
}, },
onReachBottom() { onReachBottom() {
if (this.msg.pageIndex < this.pageCount) { if (this.msg.pageIndex < this.pageCount) {
......
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