Commit dac9af66bb28c6cf7234e5ce9e796c5fd287ba21

Authored by wangfan
1 parent c261e162

manager-invitation

... ... @@ -33,7 +33,8 @@
"pages/reserve/detail",
"pages/me/follow",
"pages/manager-invitation/index",
"pages/manager-invitation/review"
"pages/manager-invitation/review",
"pages/manager-invitation/editor"
],
"subpackages": [
{
... ...
// pages/manager-invitation/review.js
import util from '../../utils/util';
import App from '../../utils/api';
import TP from '../../utils/tpls';
const {regeneratorRuntime} = global
Page({
... ... @@ -10,18 +11,7 @@ Page({
data: {
height: 667,
current: 1,
tpls: [
{
id: 1,
code: 1,
name: '商务',
},
{
id: 2,
code: 2,
name: '温馨',
},
],
tpls: TP.tpls(),
seller:{
name:'一键订示例餐厅',
room:'天香阁',
... ... @@ -110,5 +100,10 @@ Page({
this.setData({
current:util.attr(e,'current'),
})
}
},
goEditor(){
wx.navigateTo({
url:'./editor?tplid='+this.data.tpls[this.data.current].id
})
},
})
\ No newline at end of file
... ...
... ... @@ -24,7 +24,7 @@
</block>
</view>
</view>
<view class="editor flex-vc">修改内容</view>
<view class="editor flex-vc" bindtap="goEditor">修改内容</view>
<!--//商务-->
<template name="tpl-1">
<view class="flex-vc shangwu">
... ...
... ... @@ -118,8 +118,8 @@ image{
height: 468rpx;
border-radius: 50%;
overflow: hidden;
background-image: url("http://qn.colorcun.com/manager-invitation/wx/hunshazhao2.png");
background-size: 100%;
background-image: url("http://qn.colorcun.com/manager-invitation/wx/hunshazhao3.jpg");
background-size: cover;
}
.wenxin-mask-img{
position: absolute;
... ...
... ... @@ -31,7 +31,7 @@
"list": []
},
"miniprogram": {
"current": 43,
"current": 44,
"list": [
{
"id": 0,
... ... @@ -363,6 +363,13 @@
"pathName": "pages/manager-invitation/review",
"query": "id=154",
"scene": null
},
{
"id": -1,
"name": "pages/manager-invitation/editor",
"pathName": "pages/manager-invitation/editor",
"query": "tplid=1",
"scene": null
}
]
}
... ...
module.exports ={
tpls(){
return [
{
id: 1,
code: 1,
name: '商务',
},
{
id: 2,
code: 2,
name: '温馨',
},
]
},
}
\ No newline at end of file
... ...