Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 94daa4d9
authored
Aug 15, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
移动端修改
1 parent
14e18b8e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
115 additions
and
191 deletions
linkwe-mobile/.env.development
linkwe-mobile/.env.production
linkwe-mobile/package-lock.json
linkwe-mobile/src/styles/common.css
linkwe-mobile/src/views/portrait/index.vue
linkwe-mobile/.env.development
View file @
94daa4d
# 开发环境配置
ENV = 'development'
# 塬微管理系统/开发环境
VUE_APP_BASE_API = 'http://146.56.222.200/api'
# VUE_APP_BASE_API = 'http://3x2d6z.natappfree.cc'
# 基础api(根据实际情况,自行配置,下为示例)
VUE_APP_BASE_API = 'http://demo.linkwechat.cn'
# 开发环境IP
VUE_APP_BASE_URL = 'http://192.168.0.101'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
linkwe-mobile/.env.production
View file @
94daa4d
# 生产环境配置
ENV = 'production'
ENV = 'production'
# 塬微管理系统/生产环境api
# VUE_APP_BASE_API = 'http://106.13.201.219'
VUE_APP_BASE_API = 'http://146.56.222.200/api'
# 基础api
VUE_APP_BASE_API = 'http://demo.linkwechat.cn'
# 生产环境IP
# VUE_APP_BASE_URL = 'http://106.13.201.219'
VUE_APP_BASE_URL = 'http://146.56.222.200/api'
# 路由基础路径
VUE_APP_BASE_URL = '/'
\ No newline at end of file
linkwe-mobile/package-lock.json
View file @
94daa4d
...
...
@@ -1732,16 +1732,6 @@
"integrity"
:
"sha1-/q7SVZc9LndVW4PbwIhRpsY1IPo="
,
"dev"
:
true
},
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"big.js"
:
{
"version"
:
"3.2.0"
,
"resolved"
:
"https://registry.npm.taobao.org/big.js/download/big.js-3.2.0.tgz"
,
...
...
@@ -1774,47 +1764,12 @@
"unique-filename"
:
"^1.1.1"
}
},
"chalk"
:
{
"version"
:
"4.1.1"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.1.tgz"
,
"integrity"
:
"sha512-diHzdDKxcU+bAsUboHLPEDQiw0qEe0qd7SYUn3HgcFlWgbDcfLGswOHYeGrHKzG9z6UYf01d9VFMfZxPM1xZSg=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
,
"optional"
:
true
},
"emojis-list"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"https://registry.npm.taobao.org/emojis-list/download/emojis-list-2.1.0.tgz"
,
"integrity"
:
"sha1-TapNnbAPmBmIDHn6RXrlsJof04k="
,
"dev"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"html-webpack-plugin"
:
{
"version"
:
"3.2.0"
,
"resolved"
:
"https://registry.npm.taobao.org/html-webpack-plugin/download/html-webpack-plugin-3.2.0.tgz?cache=0&sync_timestamp=1609777842352&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhtml-webpack-plugin%2Fdownload%2Fhtml-webpack-plugin-3.2.0.tgz"
,
...
...
@@ -1864,16 +1819,6 @@
"minipass"
:
"^3.1.1"
}
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
},
"terser-webpack-plugin"
:
{
"version"
:
"2.3.8"
,
"resolved"
:
"https://registry.npm.taobao.org/terser-webpack-plugin/download/terser-webpack-plugin-2.3.8.tgz?cache=0&sync_timestamp=1603881694762&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fterser-webpack-plugin%2Fdownload%2Fterser-webpack-plugin-2.3.8.tgz"
,
...
...
@@ -1900,56 +1845,6 @@
"define-properties"
:
"^1.1.2"
,
"object.getownpropertydescriptors"
:
"^2.0.3"
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.2.0"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.2.0.tgz"
,
"integrity"
:
"sha512-TitGhqSQ61RJljMmhIGvfWzJ2zk9m1Qug049Ugml6QP3t0e95o0XJjk29roNEiPKJQBEi8Ord5hFuSuELzSp8Q=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
},
"dependencies"
:
{
"big.js"
:
{
"version"
:
"5.2.2"
,
"resolved"
:
"https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz"
,
"integrity"
:
"sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"emojis-list"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz"
,
"integrity"
:
"sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q=="
,
"dev"
:
true
,
"optional"
:
true
},
"json5"
:
{
"version"
:
"2.2.0"
,
"resolved"
:
"https://registry.npmjs.org/json5/-/json5-2.2.0.tgz"
,
"integrity"
:
"sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"minimist"
:
"^1.2.5"
}
},
"loader-utils"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz"
,
"integrity"
:
"sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
"json5"
:
"^2.1.2"
}
}
}
}
}
},
...
...
@@ -11460,6 +11355,87 @@
}
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.5.0"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.5.0.tgz"
,
"integrity"
:
"sha512-WXh+7AgFxGTgb5QAkQtFeUcHNIEq3PGVQ8WskY5ZiFbWBkOwcCPRs4w/2tVyTbh2q6TVRlO3xfvIukUtjsu62A=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"loader-utils"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.0.tgz"
,
"integrity"
:
"sha512-rP4F0h2RaWSvPEkD7BLDFQnvSf+nK+wr3ESUjNTyAGobqrijmW92zc+SO6d4p4B1wh7+B/Jg1mkQe5NYUEHtHQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
"json5"
:
"^2.1.2"
}
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
}
}
},
"vue-router"
:
{
"version"
:
"3.4.9"
,
"resolved"
:
"https://registry.npm.taobao.org/vue-router/download/vue-router-3.4.9.tgz?cache=0&sync_timestamp=1609110108136&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-router%2Fdownload%2Fvue-router-3.4.9.tgz"
,
...
...
linkwe-mobile/src/styles/common.css
View file @
94daa4d
...
...
@@ -310,18 +310,6 @@ ais {
.pt5
{
padding-top
:
5px
;
}
.pb5
{
padding-bottom
:
5px
;
}
.pt10
{
padding-top
:
10px
;
}
.pt15
{
padding-top
:
15px
;
}
.pt20
{
padding-top
:
20px
;
}
.pr5
{
padding-right
:
5px
;
...
...
@@ -335,6 +323,16 @@ ais {
padding-left
:
5px
;
}
.pt10
{
padding-top
:
10px
;
}
.pt15
{
padding-top
:
15px
;
}
.pt20
{
padding-top
:
20px
;
}
.mt5
{
margin-top
:
5px
;
}
...
...
@@ -347,14 +345,14 @@ ais {
margin-bottom
:
5px
;
}
.mb8
{
margin-bottom
:
8px
;
}
.ml5
{
margin-left
:
5px
;
}
.mb8
{
margin-bottom
:
8px
;
}
.mt10
{
margin-top
:
10px
;
}
...
...
linkwe-mobile/src/views/portrait/index.vue
View file @
94daa4d
...
...
@@ -70,27 +70,23 @@
<div>
客户标签
</div>
<div
class=
"data"
is-link
@
click=
"labelEdit"
>
编辑
</div>
</div>
<van-row
v-if=
"form.weTagGroupList"
gutter=
"10"
class=
"labelstyle mt15"
>
<van-col
span=
"4.5"
v-for=
"(item, index) in form.weTagGroupList"
:key=
"index"
>
<div
v-if=
"form.weTagGroupList"
class=
"labelstyle mt15"
>
<template
v-for=
"item in form.weTagGroupList"
>
<div
class=
"label"
v-for=
"(
item1, index1
) in item.weTags"
:key=
"
index1
"
v-for=
"(
unit, unique
) in item.weTags"
:key=
"
unique
"
>
{{
item1
.
name
}}
{{
unit
.
name
}}
</div>
</
van-col
>
</
template
>
<!-- <van-col span="4.5"> <div class="label">标签1</div></van-col>
<van-col span="4.5"> <div class="label">标签1</div></van-col>
<van-col span="4.5"> <div class="label">标签1</div></van-col>
<van-col span="4.5"> <div class="label">标签1</div></van-col>
<van-col span="4.5"> <div class="label">标签1</div></van-col>
<van-col span="4.5"> <div class="label">标签1</div></van-col> -->
</
van-row
>
</
div
>
</div>
<div
class=
"divider"
></div>
...
...
@@ -129,44 +125,6 @@
<van-tab
:name=
"3"
title=
"活动动态"
></van-tab>
<van-tab
:name=
"4"
title=
"待办动态"
></van-tab>
</van-tabs>
<!--
<van-row
gutter=
"8"
class=
"labelstyle"
>
<van-col
span=
"6"
>
<div
class=
"label1"
@
click=
"changeInfo('information')"
:style=
"styleActive1"
>
信息动态
</div></van-col
>
<van-col
span=
"6"
>
<div
class=
"label1"
@
click=
"changeInfo('socialContact')"
:style=
"styleActive2"
>
社交动态
</div></van-col
>
<van-col
span=
"6"
>
<div
class=
"label1"
@
click=
"changeInfo('activity')"
:style=
"styleActive3"
>
活动动态
</div></van-col
>
<van-col
span=
"6"
>
<div
class=
"label1"
@
click=
"changeInfo('dealtWith')"
:style=
"styleActive4"
>
待办动态
</div></van-col
>
</van-row>
-->
<!-- 步骤条 -->
...
...
@@ -275,7 +233,7 @@
/>
</van-action-sheet>
<!-- 保存 -->
<div
style=
"margin: 30px
;
"
>
<div
style=
"margin: 30px"
>
<van-button
round
block
...
...
@@ -442,7 +400,7 @@ export default {
},
init
()
{
let
_this
=
this
wx
.
invoke
(
'getContext'
,
{},
function
(
res
)
{
wx
.
invoke
(
'getContext'
,
{},
function
(
res
)
{
if
(
res
.
err_msg
==
'getContext:ok'
)
{
let
entry
=
res
.
entry
//返回进入H5页面的入口类型,目前有normal、contact_profile、single_chat_tools、group_chat_tools
if
(
...
...
@@ -549,8 +507,9 @@ export default {
},
// 待办日期
formatDate
(
dateagency
)
{
return
`
${
dateagency
.
getFullYear
()}
-
${
dateagency
.
getMonth
()
+
1
}
-
${
dateagency
.
getDate
()}
`
return
`
${
dateagency
.
getFullYear
()}
-
${
dateagency
.
getMonth
()
+
1
}
-
${
dateagency
.
getDate
()}
`
},
onConfirm
(
dateagency
)
{
this
.
dateshow
=
false
...
...
@@ -765,8 +724,7 @@ export default {
display
:
flex
;
flex-wrap
:
wrap
;
align-items
:
center
;
.label,
.label1
{
.label
{
display
:
inline-block
;
min-width
:
45px
;
font-size
:
12px
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment