Commit cce343bd authored by huangyuanyuan's avatar huangyuanyuan

11

parents 1904333b 4496d721
......@@ -76,7 +76,7 @@ App({
return promise;
},
// 抽奖接口2
$apit: function (url, msg, groupId, uid, token, secretKey) {
$apiJava: function (url, msg, groupId, uid, token, secretKey) {
var promise = new Promise((resolve, reject) => {
wx.showLoading({
......@@ -85,8 +85,8 @@ App({
let timestamp = (new Date()).valueOf()
let sign = md5('msg=' + encodeURIComponent(JSON.stringify(msg)).toLowerCase() + '&' + 'timestamp=' + timestamp + '&' + 'token=' + token + '&' + 'key=' + secretKey)
wx.request({
url: 'https://efficient.oytour.com/'+ url, //线上
// url: 'http://192.168.2.215:9000/' + url, //测试 亚军
// url: 'https://efficient.oytour.com/'+ url, //线上
url: 'http://47.96.12.235:9001/' + url, //测试
method: 'POST',
data: {
......
......@@ -9,14 +9,16 @@
"pages/GroupTour/GroupDetails/GroupDetails",
"pages/GroupTour/GroupList/GroupList",
"pages/product/product",
"pages/visa/visa",
"pages/GroupTour/GroupTour",
"pages/member/member",
"pages/member/memberCenter/memberCenter",
"pages/member/memberInfo/memberInfo",
"pages/visa/visa",
"pages/Voucher/Voucher",
"pages/Voucher/rating/rating",
"pages/Voucher/VoucherDetails/VoucherDetails",
"pages/Voucher/write/write",
"pages/freeTravel/free",
"pages/Ticket/Ticket",
"pages/local/localhome",
"pages/login/smsLogin/smsLogin",
......@@ -35,7 +37,6 @@
"pages/product/SametradeZW/Applicationnotes/Applicationnotes",
"pages/product/SametradeZW/Successview/Successview",
"component/amount/amount"
],
"window": {
"backgroundTextStyle": "light",
......
......@@ -68,10 +68,14 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
let tcId = options.hasOwnProperty('tcId') ? options.tcId : '3037';
this.setData({
tcId: tcId
})
const scene = decodeURIComponent(options.scene)
if (scene) {
let tcId = scene.split('=')[1];
console.log(tcId)
this.setData({
tcId: tcId
})
}
//修改title
wx.setNavigationBarTitle({
title: '意见调查'
......
......@@ -42,7 +42,7 @@
<button class='next cancle' type="default" size="mini" bindtap="logOut"><navigator open-type="exit" target="miniProgram">取消</navigator></button>
</view>
<view class='tips'>
根据自身经历写游记,还可获得
根据自身经历写游记,还可获得惊喜小礼
</view>
</view>
</view>
......@@ -50,13 +50,13 @@
<view class='box'>
<view class='tit'>感谢参与调查</view>
<image src='../../../images/voucher/xieyouji_icon.png'></image>
<view class='btn'>
<button class='next' type="default" size="mini"><navigator open-type="exit" target="miniProgram">好的,不用谢</navigator></button>
<!-- <button class='next' type="default" size="mini" bindtap="logOut">好的,不用谢~</button> -->
</view>
<view class='tips'>
非常感谢您的配合,祝您生活愉快~
</view>
<view class='btn'>
<button class='next' type="default" size="mini"><navigator open-type="exit" target="miniProgram">好的</navigator></button>
<!-- <button class='next' type="default" size="mini" bindtap="logOut">好的,不用谢~</button> -->
</view>
</view>
</view>
</view>
\ No newline at end of file
......@@ -36,10 +36,10 @@
<view class='tit'>感谢参与调查</view>
<image src='../../../images/voucher/xieyouji_icon.png'></image>
<view class='btn'>
<button class='next' type="default" size="mini"><navigator open-type="exit" target="miniProgram">好的,不用谢</navigator></button>
<button class='next' type="default" size="mini"><navigator open-type="exit" target="miniProgram">好的</navigator></button>
<!-- <button class='next' type="default" size="mini" bindtap="logOut">好的,不用谢~</button> -->
</view>
<view class='tips'>常感谢您的配合,请保持电话畅通~稍后客户经理会与您联系</view>
<view class='tips'>非常感谢您的配合,请保持电话畅通~客服将在3-5个工作日内与您联系</view>
</view>
</view>
</view>
\ No newline at end of file
let app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
progress: 20,
userInfo: {}
},
getInfo: function () {
let _this = this
app.$apiJava("api/b2b/user/getSimpleUser", { account: _this.data.userInfo.account }).then(res => {
console.log(res)
}).catch(err => { })
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
let userInfo = wx.getStorageSync('admin');
this.setData({
userInfo: userInfo
})
this.getInfo()
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file
<view class='page'>
<view class='page__bd'>
<view wx:if="{{isLogin===false}}" class='mine1'>
<view class='mine1_text'>登录行程助理账号后,您可查看对应信息</view>
<navigator class='mine1_btn' open-type="navigate" url="/pages/login/login">立即登录</navigator>
</view>
<!-- 个人信息 -->
<view wx:else class='mine2'>
<view class='mine2_info clearfix'>
<view class="boxF">
<view class="boxS">
<view class="boxT" style="background-image: url(http://b.hiphotos.baidu.com/image/pic/item/10dfa9ec8a1363272bc51737938fa0ec08fac78e.jpg);"></view>
</view>
</view>
<view class='inf-box'>
<view class='top'>
<view class='name'>唐杰</view>
<view class='grade'><text>V2</text></view>
<view class='progress-box'>
<view class='progress-box-line' style='width: {{progress}}%'></view>
</view>
<view class='text'>成长值</view>
</view>
<view class='addr'>
<view class='addr-left'>
<image src='../../images/menber/fangzi.png'></image>
<text>唐菲旅行社</text>
</view>
<view>
<image src='../../images/menber/phone.png'></image>
<text>18911111489</text>
</view>
</view>
<view class='kefu'>
<text>客服经理(唐杰:15444444566)</text>
</view>
</view>
<view class='jiaoyi-box'>
<view class='jiaoyi-box-left'>
<view class='price'>¥ <text>466989.00</text></view>
<view class='jiaoti-tit'>本月交易额</view>
</view>
<view class='jiaoyi-box-right'>
<view class='price'>¥ <text>256589.00</text></view>
<view class='jiaoti-tit'>累计交易额</view>
</view>
</view>
</view>
</view>
<!-- 订单菜单 个人菜单-->
<view class='bottom-box'>
<view class='order-menu'>
<view class='order-menu-tit'>
<view>我的近期订单</view>
<view class='_more'>全部订单>></view>
</view>
<view class="tablist">
<view>
<navigator hover-class="Home_hover" url="/pages/Ticket/Ticket">
<image mode="aspectFit" src="../../images/menber/order-icon-tuan.png"></image>
<view class='order-type-name'>跟团游</view>
</navigator>
</view>
<view>
<navigator hover-class="Home_hover" url="/pages/freeTravel/free">
<image mode="aspectFit" src="../../images/menber/order-icon-zi.png"></image>
<view class='order-type-name'>自由行</view>
</navigator>
</view>
<view>
<navigator hover-class="Home_hover" url="/pages/local/localhome">
<image mode="aspectFit" src="../../images/menber/order-icon-dang.png"></image>
<view class='order-type-name'>当地游</view>
</navigator>
</view>
<view>
<navigator hover-class="Home_hover" url="/pages/Ticket/Ticket">
<image mode="aspectFit" src="../../images/menber/order-icon-ji.png"></image>
<view class='order-type-name'>机票</view>
</navigator>
</view>
<view>
<navigator hover-class="Home_hover" url="/pages/visa/visa">
<image mode="aspectFit" src="../../images/menber/order-icon-gai.png"></image>
<view class='order-type-name'>签证</view>
</navigator>
</view>
</view>
</view>
<view class='order-menu order-menu2'>
<view class='order-menu-tit'>
<view>个人菜单</view>
</view>
<view class="tablist">
<view>
<navigator hover-class="Home_hover" url="/pages/member/memberCenter/memberCenter">
<image mode="aspectFit" src="../../images/menber/menu-hui.png"></image>
<view class='order-type-name'>会员中心</view>
</navigator>
</view>
<view>
<navigator hover-class="Home_hover" url="/pages/freeTravel/free">
<image mode="aspectFit" src="../../images/menber/menu-ding.png"></image>
<view class='order-type-name'>定制游</view>
</navigator>
</view>
<view>
<navigator hover-class="Home_hover" url="/pages/member/memberInfo/memberInfo">
<image mode="aspectFit" src="../../images/menber/menu-ge.png"></image>
<view class='order-type-name'>个人信息</view>
</navigator>
</view>
<view>
<navigator hover-class="Home_hover" url="/pages/Ticket/Ticket">
<image mode="aspectFit" src="../../images/menber/menu-ji.png"></image>
<view class='order-type-name'>我的积分</view>
</navigator>
</view>
<view>
<navigator hover-class="Home_hover" url="/pages/visa/visa">
<image mode="aspectFit" src="../../images/menber/menu-you.png"></image>
<view class='order-type-name'>我的优惠券</view>
</navigator>
</view>
</view>
</view>
</view>
</view>
</view>
\ No newline at end of file
.page {
width: 100%;
height: 100VH;
background:rgba(248,245,245,1);
}
.Home_hover{
background: transparent;
}
.page__bd {
width: 100%;
height: 100%;
}
.mine1 {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.mine1_text {
font-size: 16px;
}
.mine1_btn {
display: flex;
justify-content: center;
align-items: center;
margin: 60rpx 0 0 0;
width: 60%;
height: 80rpx;
font-size: 16px;
color: #fff;
background-color: #257bf1;
border-radius: 20px;
}
.mine2 {
width: 100%;
}
.mine2_info{
height: 362rpx;
background: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190627115204492.png) no-repeat;
background-size:100% 100%;
padding: 17rpx 43rpx;
margin-bottom: 91rpx;
clear: both;
background-color: white;
}
.boxF, .boxS, .boxT, .overlay
{
width: 115rpx;
height: 143.75rpx;
overflow: hidden;
border-radius: 10rpx;
}
.boxF, .boxS
{
visibility: hidden;
}
.boxF
{
transform: rotate(120deg);
float: left;
margin-left: 10px;
-ms-transform: rotate(120deg);
-moz-transform: rotate(120deg);
-webkit-transform: rotate(120deg);
}
.boxS
{
transform: rotate(-60deg);
-ms-transform: rotate(-60deg);
-moz-transform: rotate(-60deg);
-webkit-transform: rotate(-60deg);
}
.boxT
{
transform: rotate(-60deg);
background: no-repeat 50% center;
background-size: 125% auto;
-ms-transform: rotate(-60deg);
-moz-transform: rotate(-60deg);
-webkit-transform: rotate(-60deg);
visibility: visible;
}
.inf-box{
padding-left: 160rpx;
padding-top: 60rpx;
}
.top{
display: flex;
align-items: center;
}
.grade{
width: 50rpx;
height: 50rpx;
line-height: 50rpx;
background: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190627021559572.png) no-repeat;
background-size:100% 100%;
font-style: italic;
font-size: 24rpx;
color:rgba(218,134,60,1);
text-shadow:0px 1px 1px rgba(87,59,0,1);
margin-right: 27rpx;
}
.name{
font-size: 32rpx;
color:rgba(255,255,255,1);
padding-right: 23rpx;
}
.grade text{
padding-left: 9rpx;
}
.progress-box,.progress-small-box{
position: relative;
width:120rpx;
height:10rpx;
background:rgba(232,107,119,1);
border-radius:5rpx;
}
.progress-small-box{
width: 65rpx;
}
.progress-box-line{
height: 10rpx;
background: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190627024722097.png) repeat;
background-size: auto 100%;
border-top-right-radius: 5rpx;
border-bottom-right-radius: 5rpx;
}
.top .text{
padding-left: 16rpx;
font-size: 24rpx;
color:rgba(255,188,194,1);
}
.addr{
display: flex;
margin-top: 28rpx;
}
.addr>view{
display: flex;
align-items: center;
}
.addr text{
font-size: 28rpx;
color:rgba(255,255,255,1);
}
.addr .addr-left{
margin-right: 54rpx;
}
.addr image{
width: 33rpx;
height: 33rpx;
margin-right: 19rpx;
display: block;
}
.kefu{
margin: 27rpx 0 29rpx 0;
font-size:28rpx;
color:rgba(155,30,42,1);
}
.jiaoyi-box{
display: flex;
}
.jiaoyi-box>view{
width:313rpx;
height:128rpx;
background:rgba(255,255,255,1);
box-shadow:0px 12px 76px 0px rgba(177,177,177,1);
border-radius:20rpx;
padding: 10rpx 16rpx;
}
.jiaoyi-box>view.jiaoyi-box-left{
margin-right: 42rpx;
}
.jiaoyi-box>view .price{
font-size: 32rpx;
}
.jiaoyi-box>view .price text{
font-size: 40rpx;
}
.jiaoyi-box>view.jiaoyi-box-left .price{
color: #EE4454;
}
.jiaoyi-box>view .jiaoti-tit{
font-size: 24rpx;
color:rgba(0, 0, 0, .5);
}
.bottom-box{
margin: 0 31rpx;
}
.order-menu{
height:244rpx;
background:rgba(255,255,255,1);
border-radius:20rpx;
padding: 30rpx;
}
.order-menu-tit{
display: flex;
align-items: flex-end;
font-size: 28rpx;
justify-content: space-between;
}
.order-menu-tit ._more{
color:rgba(102,102,102,1);
font-size: 24rpx;
}
.tablist{
display: flex;
justify-content: space-around;
margin-top: 46rpx;
}
.tablist>view{
width: 18%;
text-align: center;
font-size: 22rpx;
color: #000000;
}
.tablist image{
height: 54rpx;
}
.order-type-name{
padding-top: 10rpx;
color: #666666;
}
.order-menu2{
margin-top: 50rpx;
}
.order-menu2 image{
width: 54rpx;
}
\ No newline at end of file
// pages/member/memberCenter/memberCenter.js
Page({
/**
* 页面的初始数据
*/
data: {
progress: 20,
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file
<view class='member-center'>
<view class='member-center-top'>
<view class='left'>
V2
</view>
<view class='right'>
<view class='name'>V2普通会员</view>
<view class='reg'>600</view>
<view class='progress-box'>
<view class='progress-box-line' style='width: {{progress}}%'></view>
</view>
<view class='tips'>还差234升级V3尊享会员</view>
</view>
</view>
<view class='member-center-bottom'>
<view class='member-center-bottom-tit'>
<view>等级参考</view>
<view class='_more'>等级说明>></view>
</view>
<view class='dengji'>
<scroll-view scroll-x>
<view class='big-box'>
<view class='live-item'>
<view class='live-item-left'>
<view class='live-item-left-img' style='background-image: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190627045202190.png)'>
V0
</view>
<view class='reg-num'>0</view>
</view>
<view class='progress-small-box'>
<view class='progress-small-box-line' style='width: {{40}}%'></view>
<view class='radius' style='left:{{40-2}}%'></view>
</view>
</view>
<view class='live-item'>
<view class='live-item-left'>
<view class='live-item-left-img' style='background-image: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190627045202206.png)'>
V1
</view>
<view class='reg-num'>588</view>
</view>
<view class='progress-small-box'>
<view class='progress-small-box-line' style='width: {{0}}%'></view>
<!-- <view class='radius' style='left:{{80}}%'></view> -->
</view>
</view>
<view class='live-item'>
<view class='live-item-left'>
<view class='live-item-left-img' style='background-image: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190627045202161.png)'>
V2
</view>
<view class='reg-num'>4588</view>
</view>
<view class='progress-small-box'>
<view class='progress-small-box-line' style='width: {{0}}%'></view>
<!-- <view class='radius' style='left:{{80}}%'></view> -->
</view>
</view>
<view class='live-item'>
<view class='live-item-left'>
<view class='live-item-left-img' style='background-image: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190627045202161.png)'>
V3
</view>
<view class='reg-num'>14588</view>
</view>
<view class='progress-small-box'>
<view class='progress-small-box-line' style='width: {{0}}%'></view>
<!-- <view class='radius' style='left:{{80}}%'></view> -->
</view>
</view>
<view class='live-item'>
<view class='live-item-left'>
<view class='live-item-left-img' style='background-image: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190627045202216.png)'>
V4
</view>
<view class='reg-num'>24588</view>
</view>
<view class='progress-small-box'>
<view class='progress-small-box-line' style='width: {{0}}%'></view>
<!-- <view class='radius' style='left:{{80}}%'></view> -->
</view>
</view>
</view>
</scroll-view>
</view>
</view>
</view>
\ No newline at end of file
page {
width: 100%;
height: 100VH;
background:#FFFFFF;
}
.member-center{
padding: 0 30rpx;
}
.member-center-top{
height:278rpx;
background:linear-gradient(90deg,rgba(253,81,75,1),rgba(253,153,121,1));
box-shadow:0rpx 5rpx 20rpx 0rpx rgba(253,111,94,1);
border-radius:20rpx;
padding: 53rpx 40rpx 40rpx 40rpx;
display: flex;
align-items: center;
}
.member-center-top .left{
width: 138rpx;
height: 138rpx;
background: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190627043242843.png) no-repeat;
background-size:100% 100%;
font-size: 66rpx;
padding-left: 20rpx;
line-height: 138rpx;
font-style:italic;
color:rgba(218,134,60,1);
text-shadow:0px 1px 1px rgba(87,59,0,1);
margin-right: 33rpx;
}
.member-center-top .right{
flex: 2;
}
.member-center-top .right .name{
font-size: 28rpx;
color: rgba(255,255,254,1);
}
.member-center-top .right .reg{
font-size:70rpx;
color:rgba(244,224,194,1);
}
.member-center-top .right .tips{
font-size: 24rpx;
color:rgba(255,254,254,.6);
margin-top: 22rpx;
}
.progress-box,.progress-small-box{
position: relative;
width: 100%;
height: 10rpx;
background:rgba(232,107,119,1);
border-radius:5rpx;
}
.progress-small-box{
width: 70rpx;
height: 4rpx;
background:rgba(238,238,238,.8);
margin: -50rpx 10rpx 0 0;
}
.radius{
width:16px;
height:16px;
background:rgba(238,68,84,1);
border:4px solid rgba(255, 216, 220, 1);
border-radius:50%;
position: absolute;
top: -5px;
}
.progress-box-line,.progress-small-box-line{
height: 10rpx;
background: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190627024722097.png) repeat;
background-size: auto 100%;
border-top-right-radius: 5rpx;
border-bottom-right-radius: 5rpx;
}
.progress-small-box-line{
background: #FC818D;
}
.member-center-bottom{
margin-top: 40rpx;
}
.member-center-bottom .member-center-bottom-tit{
display: flex;
align-items: flex-end;
font-size: 28rpx;
justify-content: space-between;
}
.member-center-bottom .member-center-bottom-tit ._more{
color:rgba(102,102,102,1);
font-size: 24rpx;
}
.member-center-bottom .member-center-bottom-tit{
margin-bottom: 47rpx;
}
.live-item{
display: flex;
align-items: center;
text-align: center;
}
.live-item .live-item-left{
width: 80rpx;
text-align: center;
}
.live-item .live-item-left .live-item-left-img{
margin-left: 10rpx;
width: 60rpx;
height: 60rpx;
background-size:100% 100%;
font-size: 29rpx;
line-height: 60rpx;
padding-right: 10rpx;
font-style:italic;
}
.big-box{
padding: 0 40rpx;
display: flex;
}
scroll-view .live-item:nth-child(1){
color:rgba(139,162,190,1);
}
scroll-view .live-item:nth-child(2){
color:rgba(218,134,60,1);
}
scroll-view .live-item:nth-child(3){
color:rgba(157,159,158,1);
}
scroll-view .live-item:nth-child(4){
color:rgba(218,134,60,1);
}
scroll-view .live-item:nth-child(5){
color:rgba(255,255,255,1);
}
.reg-num{
font-size: 24rpx;
margin-top: 10rpx;
color:rgba(102,102,102,1);
}
\ No newline at end of file
// pages/member/memberInfo/memberInfo.js
Page({
/**
* 页面的初始数据
*/
data: {
active: 1,
},
setActive: function (e) {
let type = e.target.id.split('active')[1]
this.setData({
active: Number(type)
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"usingComponents": {}
}
\ No newline at end of file
<view class='memberInfo'>
<view class='memberInfo-info'>
<view class='head'>
<view class="boxF">
<view class="boxS">
<view class="boxT" style="background-image: url(http://b.hiphotos.baidu.com/image/pic/item/10dfa9ec8a1363272bc51737938fa0ec08fac78e.jpg);"></view>
</view>
</view>
</view>
<view class='name'>
<text>唐先生</text>
<image src='../../../images/memberInfo/qianbi.png'></image>
</view>
<view class='info-box'>
<view class='info-box-tit'>
<text>门店基本资料</text>
<view class='line'></view>
</view>
<view class='info-box-info'>
<view class='info-box-info-item'>
<image mode='widthFix' src='../../../images/memberInfo/fangzi.png'></image>
<text>唐菲旅行社</text>
</view>
<view class='info-box-info-item'>
<image mode='widthFix' src='../../../images/memberInfo/hehe.png'></image>
<text>wr15645646123</text>
</view>
<view class='info-box-info-item'>
<image mode='widthFix' src='../../../images/memberInfo/phone.png'></image>
<text>1895678489</text>
</view>
<view class='info-box-info-item'>
<image mode='widthFix' src='../../../images/memberInfo/dizhi.png'></image>
<text>中国四川成都锦江区,成都锦江区东风南路288号168号楼5楼44</text>
</view>
<view class='info-box-info-item'>
<image mode='widthFix' src='../../../images/memberInfo/biaoqian.png'></image>
<text>驴妈妈/七彩旅行社/省国旅</text>
</view>
</view>
</view>
</view>
</view>
<view>
<scroll-view scroll-x style="width: 100%;white-space: nowrap;">
<view class='bottom-nav'>
<view class='{{active === 1? "active" : ""}}' id="active1" bindtap='setActive'>
门店基本资料
</view>
<view class='{{active === 2? "active" : ""}}' id="active2" bindtap='setActive'>
个人安全设置
</view>
<view class='{{active === 3? "active" : ""}}' id="active3" bindtap='setActive'>
实名认证
</view>
</view>
</scroll-view>
</view>
page {
width: 100%;
height: 100VH;
background:rgba(248,245,245,1);
background:linear-gradient(0deg,rgba(179,235,255,1),rgba(255,255,255,1),rgba(255,255,255,1));
overflow: hidden
}
.memberInfo{
height: 987rpx;
margin-top: 57rpx;
background: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190628101804297.png) no-repeat;
background-size:100% 100%;
padding-top: 120rpx;
}
.head{
display: flex;
justify-content: center;
height: 150rpx;
position: absolute;
top: 20rpx;
width: 100%;
}
.boxF, .boxS, .boxT, .overlay
{
width: 115rpx;
height: 143.75rpx;
overflow: hidden;
border-radius: 10rpx;
position: relative;
}
.boxF, .boxS
{
visibility: hidden;
}
.boxF
{
transform: rotate(120deg);
float: left;
margin-left: 10px;
-ms-transform: rotate(120deg);
-moz-transform: rotate(120deg);
-webkit-transform: rotate(120deg);
}
.boxS
{
transform: rotate(-60deg);
-ms-transform: rotate(-60deg);
-moz-transform: rotate(-60deg);
-webkit-transform: rotate(-60deg);
}
.boxT
{
transform: rotate(-60deg);
background: no-repeat 50% center;
background-size: 125% auto;
-ms-transform: rotate(-60deg);
-moz-transform: rotate(-60deg);
-webkit-transform: rotate(-60deg);
visibility: visible;
}
.name{
text-align: center;
font-size: 32rpx;
position: relative;
margin: 0 65rpx;
}
.name image{
position: absolute;
right: 0;
top: -48rpx;
width: 35rpx;
height: 38rpx;
}
.info-box{
padding: 0 56rpx;
}
.info-box-tit{
text-align: center;
margin: 38rpx 0 40rpx 0;
}
.info-box-tit text{
display: inline-block;
font-size: 32rpx;
}
.info-box-tit .line{
height: 4rpx;
background: url(http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190628101804138.png) no-repeat;
background-size:100% 100%;
position: relative;
top: -25rpx;
}
.info-box-info {
padding: 50rpx 40rpx 66rpx 40rpx;
}
.info-box-info .info-box-info-item{
display: flex;
align-items:center;
margin-bottom: 58rpx;
}
.info-box-info image{
width: 33rpx;
}
.info-box-info text{
font-size: 28rpx;
margin-left: 29rpx;
}
.bottom-nav{
padding: 0 60rpx 0 285rpx;
display: flex;
}
.bottom-nav view{
padding: 17rpx 22rpx;
background: transparent;
border-radius:12rpx;
font-size: 32rpx;
color:#73BFDB;
margin: 0 35rpx;
}
.bottom-nav view.active{
background: #AFE4F8;
color:#4393B1;
}
......@@ -22,7 +22,7 @@ Page({
let uid = this.data.uid;
let groupId = this.data.groupId;
let lotteryId = this.data.lotteryId;
app.$apit('api/sell/lottery/getLotteryAward', { lotteryId: lotteryId,}, groupId, uid, token, secretKey).then(res => {
app.$apiJava('api/sell/lottery/getLotteryAward', { lotteryId: lotteryId,}, groupId, uid, token, secretKey).then(res => {
console.log(res)
var that = this;
......@@ -139,7 +139,7 @@ Page({
})
var list = [];
// //获取抽奖列表
app.$apit('api/sell/lottery/getB2bTaskLottery', {}, groupId, uid, token, secretKey).then(res => {
app.$apiJava('api/sell/lottery/getB2bTaskLottery', {}, groupId, uid, token, secretKey).then(res => {
let a = res.lotteryRules ;
let b = a.replace(/<p>/g, '\n');
let c = b.replace(/[</p>]/g, '')
......@@ -151,7 +151,7 @@ Page({
})
// //获取抽奖次数
app.$apit('api/sell/lottery/getLotteryRemainingCount', { lotteryId: res.id }, groupId, uid, token, secretKey).then(res => {
app.$apiJava('api/sell/lottery/getLotteryRemainingCount', { lotteryId: res.id }, groupId, uid, token, secretKey).then(res => {
this.setData({
remainingCount: res.remainingCount,
})
......
......@@ -16,7 +16,7 @@ Page({
let uid = option.uid;
let groupId = option.groupId;
let lotteryId = option.lotteryId;
app.$apit('/api/b2b/lottery/getUserLotteryWinningList', { lotteryId: lotteryId, pageIndex: 1, pageSize: 20 }, groupId, uid, token, secretKey).then(res => {
app.$apiJava('/api/b2b/lottery/getUserLotteryWinningList', { lotteryId: lotteryId, pageIndex: 1, pageSize: 20 }, groupId, uid, token, secretKey).then(res => {
this.setData({
pageData: res.pageData
})
......
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