Commit 7bfbc33e by Xiuchuan Jiang

jxc

1 parent de883b1c
No preview for this file type
...@@ -23,6 +23,7 @@ page{background-color: #efeff4;} ...@@ -23,6 +23,7 @@ page{background-color: #efeff4;}
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; */ right: 0; */
position: relative;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
...@@ -126,3 +127,4 @@ page-container{ ...@@ -126,3 +127,4 @@ page-container{
.tcol.none{ .tcol.none{
color:#1989fa color:#1989fa
} }
.bluebg{display:block;position: absolute;background-color:#001C90;left:0;top:-200rpx;width: 100%;height: 400rpx;}

1.47 KB | W: | H:

954 Bytes | W: | H:

miniProject/images/cong-b.png
miniProject/images/cong-b.png
miniProject/images/cong-b.png
miniProject/images/cong-b.png
  • 2-up
  • Swipe
  • Onion skin

1.67 KB | W: | H:

549 Bytes | W: | H:

miniProject/images/cong.png
miniProject/images/cong.png
miniProject/images/cong.png
miniProject/images/cong.png
  • 2-up
  • Swipe
  • Onion skin

1.62 KB | W: | H:

1.63 KB | W: | H:

miniProject/images/home-b.png
miniProject/images/home-b.png
miniProject/images/home-b.png
miniProject/images/home-b.png
  • 2-up
  • Swipe
  • Onion skin

1.7 KB | W: | H:

1.1 KB | W: | H:

miniProject/images/home.png
miniProject/images/home.png
miniProject/images/home.png
miniProject/images/home.png
  • 2-up
  • Swipe
  • Onion skin

916 Bytes | W: | H:

1.87 KB | W: | H:

miniProject/images/me-b.png
miniProject/images/me-b.png
miniProject/images/me-b.png
miniProject/images/me-b.png
  • 2-up
  • Swipe
  • Onion skin

1011 Bytes | W: | H:

1.36 KB | W: | H:

miniProject/images/me.png
miniProject/images/me.png
miniProject/images/me.png
miniProject/images/me.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -16,55 +16,55 @@ Page({ ...@@ -16,55 +16,55 @@ Page({
menuItems: [{ menuItems: [{
name: '基础客流', name: '基础客流',
icon: 'icon11', icon: '1',
path: '/pages/zong/basic/index' path: '/pages/zong/basic/index'
}, },
{ {
name: '进出客流', name: '进出客流',
icon: 'icon2', icon: '2',
path: '/pages/zong/contrast/index' path: '/pages/zong/contrast/index'
}, },
{ {
name: '排行榜', name: '排行榜',
icon: 'icon13', icon: '3',
path: '/pages/zong/ranking/index' path: '/pages/zong/ranking/index'
}, },
{ {
name: '同环比', name: '同环比',
icon: 'icon12', icon: '4',
path: '/pages/zong/sequential/index' path: '/pages/zong/sequential/index'
}, },
{ {
name: '时段客流', name: '时段客流',
icon: 'icon10', icon: '5',
path: '/pages/zong/timeTravel/index' path: '/pages/zong/timeTravel/index'
}, },
{ {
name: '节假日客流', name: '节假日客流',
icon: 'icon1', icon: '6',
path: '/pages/zong/holiday-comparison/index' path: '/pages/zong/holiday-comparison/index'
}, },
], ],
tourItems:[{ tourItems:[{
name: '实时监控', name: '实时监控',
icon: 'icon3', icon: '8',
path: '/pages/tour/gate/index?type=view' path: '/pages/tour/gate/index?type=view'
},{ },{
name: '远程巡店', name: '远程巡店',
icon: 'icon9', icon: '9',
path: '/pages/tour/gate/index?type=tour' path: '/pages/tour/gate/index?type=tour'
},{ },{
name: '点检巡店', name: '点检巡店',
icon: 'icon8', icon: '10',
path: '/pages/tour/point/index' path: '/pages/tour/point/index'
},{ },{
name: '我发起的', name: '我发起的',
icon: 'icon6', icon: '11',
path: '/pages/tour/list/index?type=create' path: '/pages/tour/list/index?type=create'
},{ },{
name: '待我处理', name: '待我处理',
icon: 'icon6', icon: '12',
path: '/pages/tour/list/index?type=handle' path: '/pages/tour/list/index?type=handle'
}] }]
}, },
...@@ -78,7 +78,7 @@ Page({ ...@@ -78,7 +78,7 @@ Page({
if (deploymentType === 'store') { if (deploymentType === 'store') {
menuItems.push({ menuItems.push({
name: '进店率', name: '进店率',
icon: 'icon5', icon: '7',
path: '/pages/zong/entry-rate/index' path: '/pages/zong/entry-rate/index'
}) })
this.setData({ menuItems }) this.setData({ menuItems })
......
<view class="container" style="padding-top: {{navHeight}}px;width:{{windowWidth}}px"> <view class="container" style="padding-top: {{navHeight}}px;width:{{windowWidth}}px">
<view class="^bluebg"></view>
<view class="top"> <view class="top">
<image class="~bgimg" mode="scaleToFill" src="{{picUrl}}/banner.png"></image> <image class="~bgimg" mode="scaleToFill" src="{{picUrl}}/banner.png"></image>
<view class="mallselect" bindtap="mallBtn">{{accountName}} <van-icon name="play" custom-class="drop"/></view> <view class="mallselect" bindtap="mallBtn">{{accountName}} <van-icon name="play" custom-class="drop"/></view>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
"zone-picker": "/components/zone-picker/index", "zone-picker": "/components/zone-picker/index",
"navbar": "/components/navbar/index" "navbar": "/components/navbar/index"
}, },
"enablePullDownRefresh":false,
"navigationBarTitleText": "", "navigationBarTitleText": "",
"navigationBarBackgroundColor": "#0268FF", "navigationBarBackgroundColor": "#0268FF",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
......
<view class="container" style="padding-top: {{navHeight}}px;width:{{windowWidth}}px"> <view class="container" style="padding-top: {{navHeight}}px;width:{{windowWidth}}px">
<view class="^bluebg"></view>
<view class="top"> <view class="top">
<image class="~bgimg" src="{{picUrl}}/banner.png"></image> <image class="~bgimg" src="{{picUrl}}/banner.png"></image>
<view class="mallselect" bindtap="mallBtn">{{orgName}} <van-icon name="play" custom-class="drop {{isMall?'hide':''}}"/></view> <view class="mallselect" bindtap="mallBtn">{{orgName}} <van-icon name="play" custom-class="drop {{isMall?'hide':''}}"/></view>
......
...@@ -87,7 +87,7 @@ Page({ ...@@ -87,7 +87,7 @@ Page({
const deploymentType = wx.getStorageSync('deploymentType') const deploymentType = wx.getStorageSync('deploymentType')
wx.setStorage({ data: name, key: 'name' }) wx.setStorage({ data: name, key: 'name' })
wx.setStorage({ data: password, key: 'password' }) wx.setStorage({ data: password, key: 'password' })
console.info('atoken',res.data.atoken) wx.setStorage({ data: res.data.user.type, key: 'userrole_type' })
await wx.setStorage({ data: res.data.atoken, key: 'atoken' }) await wx.setStorage({ data: res.data.atoken, key: 'atoken' })
wx.setStorage({ data: res.data.user.accountId||2, key: 'accountId' }) wx.setStorage({ data: res.data.user.accountId||2, key: 'accountId' })
getApps({ getApps({
......
...@@ -131,7 +131,7 @@ Page({ ...@@ -131,7 +131,7 @@ Page({
let mallId = wx.getStorageSync('mallId'); let mallId = wx.getStorageSync('mallId');
let mallList = wx.getStorageSync('mallList'); let mallList = wx.getStorageSync('mallList');
let params = { let params = {
mallId:this.data.mallId, mallId:this.data.mallId||'',
pageSize:999, pageSize:999,
patrolType:1, patrolType:1,
...this.data.date ...this.data.date
......
...@@ -46,15 +46,15 @@ ...@@ -46,15 +46,15 @@
<navbar2 bg-color="#fff" navbar-color="#000"> <navbar2 bg-color="#fff" navbar-color="#000">
<view class="navtitle"> <view class="navtitle">
<van-icon bindtap="onGoBack" size="24" name="arrow-left" custom-class="back" /> <van-icon bindtap="onGoBack" size="24" name="arrow-left" custom-class="back" />
<view class="title">巡店记录</view> <view class="title">{{type=='create'?'我发起的':'待我处理'}}</view>
</view> </view>
</navbar2> </navbar2>
<view class="tlist"> <view class="tlist">
<van-tabs type="card" color="#1267E0" bindchange="tabsChange"> <van-tabs type="card" color="#1267E0" bindchange="tabsChange">
<van-tab title="全部" name="list"></van-tab> <van-tab title="全部" name="list"></van-tab>
<van-tab title="待处理" name="unfull" dot="{{unfull}}"></van-tab> <van-tab title="待处理" name="unfull"></van-tab>
<van-tab title="待复查" name="check" dot="{{check}}"></van-tab> <van-tab title="待复查" name="check"></van-tab>
<van-tab title="已完成" name="full" dot="{{full}}"></van-tab> <van-tab title="已完成" name="full"></van-tab>
</van-tabs> </van-tabs>
<view class="fview acea-row"> <view class="fview acea-row">
<view class="mallselect" bindtap="mallBtn">{{mallName}} <view class="mallselect" bindtap="mallBtn">{{mallName}}
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
<view class="tlist"> <view class="tlist">
<van-tabs type="card" color="#1267E0" bindchange="tabsChange"> <van-tabs type="card" color="#1267E0" bindchange="tabsChange">
<van-tab title="全部" name="list"></van-tab> <van-tab title="全部" name="list"></van-tab>
<van-tab title="未点检" name="unckeck" dot="{{uncheck}}"></van-tab> <van-tab title="未点检" name="unckeck"></van-tab>
<van-tab title="已点检" name="check" dot="{{check}}"></van-tab> <van-tab title="已点检" name="check"></van-tab>
</van-tabs> </van-tabs>
<view class="fview acea-row"> <view class="fview acea-row">
<view class="mallselect" bindtap="mallBtn">{{mallName}} <view class="mallselect" bindtap="mallBtn">{{mallName}}
......
{ {
"description": "项目配置文件", "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"packOptions": { "packOptions": {
"ignore": [] "ignore": [],
"include": []
}, },
"setting": { "setting": {
"urlCheck": true, "urlCheck": true,
...@@ -39,38 +40,19 @@ ...@@ -39,38 +40,19 @@
"minifyWXML": true, "minifyWXML": true,
"showES6CompileOption": false, "showES6CompileOption": false,
"useCompilerPlugins": false, "useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true "ignoreUploadUnusedFiles": true,
"useStaticServer": true
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.14.4", "libVersion": "2.14.4",
"appid": "wx220b5d2dbb82ce64", "appid": "wx220b5d2dbb82ce64",
"projectname": "miniProject", "projectname": "miniProject",
"debugOptions": {
"hidedInDevtools": []
},
"scripts": {},
"isGameTourist": false,
"simulatorType": "wechat", "simulatorType": "wechat",
"simulatorPluginLibVersion": {}, "simulatorPluginLibVersion": {},
"cloudfunctionTemplateRoot": "cloudfunctionTemplate", "cloudfunctionTemplateRoot": "cloudfunctionTemplate/",
"condition": { "condition": {},
"search": { "editorSetting": {
"list": [] "tabIndent": "insertSpaces",
}, "tabSize": 2
"conversation": {
"list": []
},
"game": {
"list": []
},
"plugin": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": []
}
} }
} }
\ No newline at end of file \ No newline at end of file
{
"projectname": "miniProject",
"setting": {
"compileHotReLoad": true
},
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
}
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!