Commit ca373411 authored by xiaoyao's avatar xiaoyao

remame project

parent 9ace81f2
......@@ -24,7 +24,7 @@
],
"window": {
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "藏家图录",
"navigationBarTitleText": "须弥泉典",
"enablePullDownRefresh": true,
"navigationBarTextStyle": "black",
"backgroundColor": "#FFFFFF",
......@@ -48,11 +48,11 @@
},
{
"pagePath": "pages/book/list/list",
"text": "图录"
"text": "泉典"
},
{
"pagePath": "pages/wiki/wiki",
"text": "百科"
"text": "查价"
},
{
"pagePath": "pages/ucenter/index/index",
......
......@@ -2,9 +2,9 @@
// 本机开发API地址
// var WxApiRoot = 'http://localhost:8383/demo/wx/';
// 测试环境部署api地址
// var WxApiRoot = 'http://192.168.0.101:8070/demo/wx/';
var WxApiRoot = 'http://127.0.0.1:8383/demo/wx/';
// 线上云平台api地址
var WxApiRoot = 'https://quanku.wanwudezhi.com/demo/wx/';
// var WxApiRoot = 'https://quanku.wanwudezhi.com/demo/wx/';
module.exports = {
IndexUrl: WxApiRoot + 'home/index', //首页数据接口
......
......@@ -15,7 +15,7 @@ Component({
pagePath: "/pages/book/list/list",
iconPath: "../static/images/book.png",
selectedIconPath: "../static/images/book@selected.png",
text: "图录"
text: "泉典"
},
{
pagePath: "/pages/index/index",
......@@ -28,7 +28,7 @@ Component({
pagePath: "/pages/wiki/wiki",
iconPath: "../static/images/wiki.png",
selectedIconPath: "../static/images/wiki@selected.png",
text: "百科"
text: "查价"
},
{
pagePath: "/pages/ucenter/index/index",
......
......@@ -12,7 +12,7 @@ Page({
data: {
load_statue: true,
shopInfo: {
name: '藏家图录',
name: '须弥泉典',
address: '',
latitude: 27.4871724214,
longitude: 110.8950504844,
......
......@@ -2,6 +2,6 @@
<view class="login-box">
<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 type="primary" class="account-login-btn" bindtap="accountLogin">账号登录</button>
<button type="primary" class="account-login-btn" bindtap="accountLogin">手机号码登录</button>
</view>
</view>
\ No newline at end of file
......@@ -8,13 +8,14 @@
}
.wx-login-btn {
margin: 60rpx 0 40rpx 0;
margin: 20rpx 0 20rpx 0;
height: 96rpx;
line-height: 96rpx;
font-size: 30rpx;
border-radius: 6rpx;
width: 90%;
color: #fff;
background-color: #000;
right: 0;
display: flex;
justify-content: center;
......@@ -36,7 +37,8 @@
.account-login-btn {
width: 90%;
margin: 0 auto;
color: #fff;
color: #000;
background-color: white;
font-size: 30rpx;
height: 96rpx;
line-height: 96rpx;
......@@ -52,10 +54,10 @@
margin-left: 5%;
text-align: center;
/* padding-left: -5rpx; */
border-top-left-radius: 50rpx;
border-bottom-left-radius: 50rpx;
border-top-right-radius: 50rpx;
border-bottom-right-radius: 50rpx;
letter-spacing: 3rpx;
border-top-left-radius: 6rpx;
border-bottom-left-radius: 6rpx;
border-top-right-radius: 6rpx;
border-bottom-right-radius: 6rpx;
letter-spacing: 6rpx;
background-image: linear-gradient(to right, #9a9ba1 0%, #9a9ba1 100%);
}
// pages/book/list/list.js
app = getApp();
const app = getApp();
Page({
/**
......
<!--pages/book/list/list.wxml-->
<view class="swiper-tab">
<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==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">嘿嘿</view>
<view class="swiper-tab">
<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==2 ? 'on' : ''}}" data-current="2" bindtap="swichNav">平台推荐</view>
</view>
<swiper current="{{currentTab}}" class="swiper-box" duration="300" bindchange="bindChange">
<swiper-item>
......
......@@ -26,7 +26,7 @@ Page({
}
console.log('/pages/index/index?shareUserId=' + shareUserId);
return {
title: '藏家图录',
title: '须弥泉典',
desc: '览真藏品,学文玩真知识',
path: '/pages/index/index?shareUserId=' + shareUserId
}
......
{
"navigationBarTitleText": "藏家图录",
"navigationBarTitleText": "须弥泉典",
"usingComponents": {
"zan-capsule": "../../lib/zanui-weapp/capsule/index",
"coupon-window": "../../lib/coupon-window/index",
......
......@@ -20,7 +20,7 @@
},
"compileType": "miniprogram",
"libVersion": "2.16.0",
"appid": "wx903e60269094b603",
"appid": "wx3618eab6c8b144af",
"projectname": "dts-shop",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
......
{
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
"projectname": "wx-mini-program",
"projectname": "qk_wx_miniprogram",
"setting": {
"compileHotReLoad": true,
"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