Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_wx_miniprogram
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_wx_miniprogram
Commits
ca373411
Commit
ca373411
authored
Mar 14, 2023
by
xiaoyao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remame project
parent
9ace81f2
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
27 additions
and
25 deletions
+27
-25
app.json
app.json
+3
-3
config/api.js
config/api.js
+2
-2
custom-tab-bar/index.js
custom-tab-bar/index.js
+2
-2
pages/about/about.js
pages/about/about.js
+1
-1
pages/auth/login/login.wxml
pages/auth/login/login.wxml
+1
-1
pages/auth/login/login.wxss
pages/auth/login/login.wxss
+9
-7
pages/book/list/list.js
pages/book/list/list.js
+1
-1
pages/book/list/list.wxml
pages/book/list/list.wxml
+4
-4
pages/index/index.js
pages/index/index.js
+1
-1
pages/index/index.json
pages/index/index.json
+1
-1
project.config.json
project.config.json
+1
-1
project.private.config.json
project.private.config.json
+1
-1
No files found.
app.json
View file @
ca373411
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
],
],
"window"
:
{
"window"
:
{
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTitleText"
:
"
藏家图录
"
,
"navigationBarTitleText"
:
"
须弥泉典
"
,
"enablePullDownRefresh"
:
true
,
"enablePullDownRefresh"
:
true
,
"navigationBarTextStyle"
:
"black"
,
"navigationBarTextStyle"
:
"black"
,
"backgroundColor"
:
"#FFFFFF"
,
"backgroundColor"
:
"#FFFFFF"
,
...
@@ -48,11 +48,11 @@
...
@@ -48,11 +48,11 @@
},
},
{
{
"pagePath"
:
"pages/book/list/list"
,
"pagePath"
:
"pages/book/list/list"
,
"text"
:
"
图录
"
"text"
:
"
泉典
"
},
},
{
{
"pagePath"
:
"pages/wiki/wiki"
,
"pagePath"
:
"pages/wiki/wiki"
,
"text"
:
"
百科
"
"text"
:
"
查价
"
},
},
{
{
"pagePath"
:
"pages/ucenter/index/index"
,
"pagePath"
:
"pages/ucenter/index/index"
,
...
...
config/api.js
View file @
ca373411
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
// 本机开发API地址
// 本机开发API地址
// var WxApiRoot = 'http://localhost:8383/demo/wx/';
// var WxApiRoot = 'http://localhost:8383/demo/wx/';
// 测试环境部署api地址
// 测试环境部署api地址
// var WxApiRoot = 'http://192.168.0.101:8070
/demo/wx/';
var
WxApiRoot
=
'
http://127.0.0.1:8383
/demo/wx/
'
;
// 线上云平台api地址
// 线上云平台api地址
var
WxApiRoot
=
'
https://quanku.wanwudezhi.com/demo/wx/
'
;
//
var WxApiRoot = 'https://quanku.wanwudezhi.com/demo/wx/';
module
.
exports
=
{
module
.
exports
=
{
IndexUrl
:
WxApiRoot
+
'
home/index
'
,
//首页数据接口
IndexUrl
:
WxApiRoot
+
'
home/index
'
,
//首页数据接口
...
...
custom-tab-bar/index.js
View file @
ca373411
...
@@ -15,7 +15,7 @@ Component({
...
@@ -15,7 +15,7 @@ Component({
pagePath
:
"
/pages/book/list/list
"
,
pagePath
:
"
/pages/book/list/list
"
,
iconPath
:
"
../static/images/book.png
"
,
iconPath
:
"
../static/images/book.png
"
,
selectedIconPath
:
"
../static/images/book@selected.png
"
,
selectedIconPath
:
"
../static/images/book@selected.png
"
,
text
:
"
图录
"
text
:
"
泉典
"
},
},
{
{
pagePath
:
"
/pages/index/index
"
,
pagePath
:
"
/pages/index/index
"
,
...
@@ -28,7 +28,7 @@ Component({
...
@@ -28,7 +28,7 @@ Component({
pagePath
:
"
/pages/wiki/wiki
"
,
pagePath
:
"
/pages/wiki/wiki
"
,
iconPath
:
"
../static/images/wiki.png
"
,
iconPath
:
"
../static/images/wiki.png
"
,
selectedIconPath
:
"
../static/images/wiki@selected.png
"
,
selectedIconPath
:
"
../static/images/wiki@selected.png
"
,
text
:
"
百科
"
text
:
"
查价
"
},
},
{
{
pagePath
:
"
/pages/ucenter/index/index
"
,
pagePath
:
"
/pages/ucenter/index/index
"
,
...
...
pages/about/about.js
View file @
ca373411
...
@@ -12,7 +12,7 @@ Page({
...
@@ -12,7 +12,7 @@ Page({
data
:
{
data
:
{
load_statue
:
true
,
load_statue
:
true
,
shopInfo
:
{
shopInfo
:
{
name
:
'
藏家图录
'
,
name
:
'
须弥泉典
'
,
address
:
''
,
address
:
''
,
latitude
:
27.4871724214
,
latitude
:
27.4871724214
,
longitude
:
110.8950504844
,
longitude
:
110.8950504844
,
...
...
pages/auth/login/login.wxml
View file @
ca373411
...
@@ -2,6 +2,6 @@
...
@@ -2,6 +2,6 @@
<view class="login-box">
<view class="login-box">
<button wx:if="{{canIUseGetUserProfile}}" type="primary" class="wx-login-btn" bindtap="getUserProfile">微信直接登录</button>
<button wx:if="{{canIUseGetUserProfile}}" type="primary" class="wx-login-btn" bindtap="getUserProfile">微信直接登录</button>
<button wx:else open-type="getUserInfo" type="primary" class="wx-login-btn" bindgetuserinfo="wxLogin">微信直接登录</button>
<button wx:else open-type="getUserInfo" type="primary" class="wx-login-btn" bindgetuserinfo="wxLogin">微信直接登录</button>
<button type="primary" class="account-login-btn" bindtap="accountLogin">
账号
登录</button>
<button type="primary" class="account-login-btn" bindtap="accountLogin">
手机号码
登录</button>
</view>
</view>
</view>
</view>
\ No newline at end of file
pages/auth/login/login.wxss
View file @
ca373411
...
@@ -8,13 +8,14 @@
...
@@ -8,13 +8,14 @@
}
}
.wx-login-btn {
.wx-login-btn {
margin:
60rpx 0 4
0rpx 0;
margin:
20rpx 0 2
0rpx 0;
height: 96rpx;
height: 96rpx;
line-height: 96rpx;
line-height: 96rpx;
font-size: 30rpx;
font-size: 30rpx;
border-radius: 6rpx;
border-radius: 6rpx;
width: 90%;
width: 90%;
color: #fff;
color: #fff;
background-color: #000;
right: 0;
right: 0;
display: flex;
display: flex;
justify-content: center;
justify-content: center;
...
@@ -36,7 +37,8 @@
...
@@ -36,7 +37,8 @@
.account-login-btn {
.account-login-btn {
width: 90%;
width: 90%;
margin: 0 auto;
margin: 0 auto;
color: #fff;
color: #000;
background-color: white;
font-size: 30rpx;
font-size: 30rpx;
height: 96rpx;
height: 96rpx;
line-height: 96rpx;
line-height: 96rpx;
...
@@ -52,10 +54,10 @@
...
@@ -52,10 +54,10 @@
margin-left: 5%;
margin-left: 5%;
text-align: center;
text-align: center;
/* padding-left: -5rpx; */
/* padding-left: -5rpx; */
border-top-left-radius:
50
rpx;
border-top-left-radius:
6
rpx;
border-bottom-left-radius:
50
rpx;
border-bottom-left-radius:
6
rpx;
border-top-right-radius:
50
rpx;
border-top-right-radius:
6
rpx;
border-bottom-right-radius:
50
rpx;
border-bottom-right-radius:
6
rpx;
letter-spacing:
3
rpx;
letter-spacing:
6
rpx;
background-image: linear-gradient(to right, #9a9ba1 0%, #9a9ba1 100%);
background-image: linear-gradient(to right, #9a9ba1 0%, #9a9ba1 100%);
}
}
pages/book/list/list.js
View file @
ca373411
// pages/book/list/list.js
// pages/book/list/list.js
app
=
getApp
();
const
app
=
getApp
();
Page
({
Page
({
/**
/**
...
...
pages/book/list/list.wxml
View file @
ca373411
<!--pages/book/list/list.wxml-->
<!--pages/book/list/list.wxml-->
<view class="swiper-tab">
<view class="swiper-tab">
<view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" data-current="0" bindtap="swichNav">
哈哈
</view>
<view class="swiper-tab-list {{currentTab==0 ? 'on' : ''}}" data-current="0" bindtap="swichNav">
我发布的
</view>
<view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">
呵呵
</view>
<view class="swiper-tab-list {{currentTab==1 ? 'on' : ''}}" data-current="1" bindtap="swichNav">
我买的
</view>
<view class="swiper-tab-list {{currentTab==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">
嘿嘿
</view>
<view class="swiper-tab-list {{currentTab==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">
平台推荐
</view>
</view>
</view>
<swiper current="{{currentTab}}" class="swiper-box" duration="300" bindchange="bindChange">
<swiper current="{{currentTab}}" class="swiper-box" duration="300" bindchange="bindChange">
<swiper-item>
<swiper-item>
...
...
pages/index/index.js
View file @
ca373411
...
@@ -26,7 +26,7 @@ Page({
...
@@ -26,7 +26,7 @@ Page({
}
}
console
.
log
(
'
/pages/index/index?shareUserId=
'
+
shareUserId
);
console
.
log
(
'
/pages/index/index?shareUserId=
'
+
shareUserId
);
return
{
return
{
title
:
'
藏家图录
'
,
title
:
'
须弥泉典
'
,
desc
:
'
览真藏品,学文玩真知识
'
,
desc
:
'
览真藏品,学文玩真知识
'
,
path
:
'
/pages/index/index?shareUserId=
'
+
shareUserId
path
:
'
/pages/index/index?shareUserId=
'
+
shareUserId
}
}
...
...
pages/index/index.json
View file @
ca373411
{
{
"navigationBarTitleText"
:
"
藏家图录
"
,
"navigationBarTitleText"
:
"
须弥泉典
"
,
"usingComponents"
:
{
"usingComponents"
:
{
"zan-capsule"
:
"../../lib/zanui-weapp/capsule/index"
,
"zan-capsule"
:
"../../lib/zanui-weapp/capsule/index"
,
"coupon-window"
:
"../../lib/coupon-window/index"
,
"coupon-window"
:
"../../lib/coupon-window/index"
,
...
...
project.config.json
View file @
ca373411
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
},
},
"compileType"
:
"miniprogram"
,
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.16.0"
,
"libVersion"
:
"2.16.0"
,
"appid"
:
"wx
903e60269094b603
"
,
"appid"
:
"wx
3618eab6c8b144af
"
,
"projectname"
:
"dts-shop"
,
"projectname"
:
"dts-shop"
,
"simulatorType"
:
"wechat"
,
"simulatorType"
:
"wechat"
,
"simulatorPluginLibVersion"
:
{},
"simulatorPluginLibVersion"
:
{},
...
...
project.private.config.json
View file @
ca373411
{
{
"description"
:
"项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
,
"description"
:
"项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html"
,
"projectname"
:
"
wx-mini-
program"
,
"projectname"
:
"
qk_wx_mini
program"
,
"setting"
:
{
"setting"
:
{
"compileHotReLoad"
:
true
,
"compileHotReLoad"
:
true
,
"urlCheck"
:
false
"urlCheck"
:
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment