Commit ca373411 authored by xiaoyao's avatar xiaoyao

remame project

parent 9ace81f2
...@@ -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",
......
...@@ -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', //首页数据接口
......
...@@ -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",
......
...@@ -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,
......
...@@ -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
...@@ -8,13 +8,14 @@ ...@@ -8,13 +8,14 @@
} }
.wx-login-btn { .wx-login-btn {
margin: 60rpx 0 40rpx 0; margin: 20rpx 0 20rpx 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: 50rpx; border-top-left-radius: 6rpx;
border-bottom-left-radius: 50rpx; border-bottom-left-radius: 6rpx;
border-top-right-radius: 50rpx; border-top-right-radius: 6rpx;
border-bottom-right-radius: 50rpx; border-bottom-right-radius: 6rpx;
letter-spacing: 3rpx; letter-spacing: 6rpx;
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 // pages/book/list/list.js
app = getApp(); const app = getApp();
Page({ Page({
/** /**
......
<!--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>
......
...@@ -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
} }
......
{ {
"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",
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"libVersion": "2.16.0", "libVersion": "2.16.0",
"appid": "wx903e60269094b603", "appid": "wx3618eab6c8b144af",
"projectname": "dts-shop", "projectname": "dts-shop",
"simulatorType": "wechat", "simulatorType": "wechat",
"simulatorPluginLibVersion": {}, "simulatorPluginLibVersion": {},
......
{ {
"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_miniprogram",
"setting": { "setting": {
"compileHotReLoad": true, "compileHotReLoad": true,
"urlCheck": false "urlCheck": false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment