Commit 7bfbc33e by Xiuchuan Jiang

jxc

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