Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
E
etaoshop-dz
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张志伟
etaoshop-dz
提交
9c673c2f
提交
9c673c2f
编写于
5月 08, 2024
作者:
zhangzhiwei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
.
上级
553289ef
变更
3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
48 行增加
和
34 行删除
+48
-34
workspace.xml
.idea/workspace.xml
+45
-31
app.js
app.js
+1
-1
index.js
pages/index.js
+2
-2
未找到文件。
.idea/workspace.xml
浏览文件 @
9c673c2f
...
...
@@ -3,7 +3,7 @@
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"8836328f-bafb-4666-8053-185078535f28"
name=
"Default"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/a
sstes/img/ETaoLogo.png"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/asstes/img/ETaoLogo.png
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/a
pp.js"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/app.js
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/pages/index.js"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/pages/index.js"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/.tmp/"
/>
...
...
@@ -54,8 +54,8 @@
<file
leaf-file-name=
"index.js"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/pages/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
528
"
>
<caret
line=
"
106"
column=
"5"
lean-forward=
"true"
selection-start-line=
"106"
selection-start-column=
"5"
selection-end-line=
"106"
selection-end-column=
"5
"
/>
<state
relative-caret-position=
"
490
"
>
<caret
line=
"
30"
column=
"36"
lean-forward=
"true"
selection-start-line=
"30"
selection-start-column=
"36"
selection-end-line=
"30"
selection-end-column=
"36
"
/>
<folding>
<element
signature=
"n#!!doc"
expanded=
"true"
/>
</folding>
...
...
@@ -63,23 +63,31 @@
</provider>
</entry>
</file>
<file
leaf-file-name=
"phoneIcon.png"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/asstes/img/phoneIcon.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
<file
leaf-file-name=
"app.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/app.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"594"
>
<caret
line=
"39"
column=
"43"
selection-start-line=
"39"
selection-start-column=
"43"
selection-end-line=
"39"
selection-end-column=
"43"
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"phoneLogin.png"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/asstes/img/phoneLogin.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
<file
leaf-file-name=
"login.js"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/pages/login/login.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"510"
>
<caret
line=
"50"
column=
"40"
lean-forward=
"true"
selection-start-line=
"50"
selection-start-column=
"40"
selection-end-line=
"50"
selection-end-column=
"57"
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
wxLogi
n.png"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/asstes/img/
wxLogi
n.png"
>
<file
leaf-file-name=
"
phoneIco
n.png"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/asstes/img/
phoneIco
n.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
</entry>
</file>
<file
leaf-file-name=
"
wxLogo
.png"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/asstes/img/
wxLogo
.png"
>
<file
leaf-file-name=
"
phoneLogin
.png"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/asstes/img/
phoneLogin
.png"
>
<provider
selected=
"true"
editor-type-id=
"images"
/>
</entry>
</file>
...
...
@@ -114,7 +122,7 @@
<component
name=
"NodePackageJsonFileManager"
>
<packageJsonPaths
/>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"
7
"
>
<component
name=
"ProjectFrameBounds"
extendedState=
"
6
"
>
<option
name=
"x"
value=
"1912"
/>
<option
name=
"y"
value=
"-8"
/>
<option
name=
"width"
value=
"1936"
/>
...
...
@@ -142,6 +150,12 @@
<item
name=
"etaoshop-dz"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"pages"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"etaoshop-dz"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"etaoshop-dz"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"pages"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"login"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</expand>
<select
/>
</subPane>
...
...
@@ -189,7 +203,7 @@
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"1
0976
000"
/>
<option
name=
"totallyTimeSpent"
value=
"1
4761
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"1912"
y=
"-8"
width=
"1936"
height=
"1056"
extended-state=
"6"
/>
...
...
@@ -320,20 +334,6 @@
<entry
file=
"file://$PROJECT_DIR$/pages/login/login.json"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/pages/login/login.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"81"
>
<caret
line=
"37"
column=
"18"
selection-start-line=
"37"
selection-start-column=
"9"
selection-end-line=
"37"
selection-end-column=
"18"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/app.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"541"
>
<caret
line=
"39"
column=
"46"
lean-forward=
"true"
selection-start-line=
"39"
selection-start-column=
"46"
selection-end-line=
"39"
selection-end-column=
"46"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/pages/logs/logs.wxss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
...
...
@@ -393,10 +393,24 @@
<entry
file=
"file://$PROJECT_DIR$/pages/login/login.wxml"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
/>
</entry>
<entry
file=
"file://$PROJECT_DIR$/pages/login/login.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"510"
>
<caret
line=
"50"
column=
"40"
lean-forward=
"true"
selection-start-line=
"50"
selection-start-column=
"40"
selection-end-line=
"50"
selection-end-column=
"57"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/app.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"594"
>
<caret
line=
"39"
column=
"43"
selection-start-line=
"39"
selection-start-column=
"43"
selection-end-line=
"39"
selection-end-column=
"43"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/pages/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
528
"
>
<caret
line=
"
106"
column=
"5"
lean-forward=
"true"
selection-start-line=
"106"
selection-start-column=
"5"
selection-end-line=
"106"
selection-end-column=
"5
"
/>
<state
relative-caret-position=
"
490
"
>
<caret
line=
"
30"
column=
"36"
lean-forward=
"true"
selection-start-line=
"30"
selection-start-column=
"36"
selection-end-line=
"30"
selection-end-column=
"36
"
/>
<folding>
<element
signature=
"n#!!doc"
expanded=
"true"
/>
</folding>
...
...
app.js
浏览文件 @
9c673c2f
...
...
@@ -37,7 +37,7 @@ App({
//正式:https://wxapplets.edstao.com
globalData
:
{
userInfo
:
null
,
defurl
:
'https://
wxapplets-jyx
.edstao.com'
,
defurl
:
'https://
etaoh5dz-pre
.edstao.com'
,
userInfo
:
''
}
})
\ No newline at end of file
pages/index.js
浏览文件 @
9c673c2f
...
...
@@ -27,8 +27,8 @@ Page({
userInfo
=
name
;
this
.
setData
({
url
:
this
.
data
.
defurl
+
'/weixin/QRCode?t='
+
new
Date
().
getTime
()
+
'&name='
+
name
+
'&code='
+
code
,
userInfo
:
name
});
if
(
!
name
)
{
//
this.setData({url:"https://etaoh5dz-pre.edstao.com"})
this
.
getwxsession
()
this
.
setData
({
url
:
"https://etaoh5dz-pre.edstao.com"
})
//
this.getwxsession()
}
if
(
options
.
brandid
){
let
newUrl
=
'/brand/shop'
;
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录