parent
b9642a387c
commit
0db9d34d22
@ -1,66 +1,37 @@
|
|||||||
// shuji/shuji.js
|
/*onLoad: function () {
|
||||||
Page({
|
wx.request({
|
||||||
|
url: 'https://zhenxiang.xuanjis.com', //服务器地址
|
||||||
/**
|
data: {
|
||||||
* 页面的初始数据
|
name: 'book_id'//请求参数
|
||||||
*/
|
},
|
||||||
data: {
|
header: {
|
||||||
|
'content-type': 'application/json'
|
||||||
},
|
},
|
||||||
|
success: function (res) {
|
||||||
/**
|
console.log(res.data)
|
||||||
* 生命周期函数--监听页面加载
|
}
|
||||||
*/
|
})
|
||||||
onLoad: function (options) {
|
}
|
||||||
|
*/
|
||||||
},
|
Component({
|
||||||
|
|
||||||
/**
|
|
||||||
* 生命周期函数--监听页面初次渲染完成
|
|
||||||
*/
|
|
||||||
onReady: function () {
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 生命周期函数--监听页面显示
|
* 组件的属性列表
|
||||||
*/
|
*/
|
||||||
onShow: function () {
|
properties: {
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 生命周期函数--监听页面隐藏
|
* 组件的初始数据
|
||||||
*/
|
*/
|
||||||
onHide: function () {
|
data: {
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 生命周期函数--监听页面卸载
|
|
||||||
*/
|
|
||||||
onUnload: function () {
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 页面相关事件处理函数--监听用户下拉动作
|
|
||||||
*/
|
|
||||||
onPullDownRefresh: function () {
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 页面上拉触底事件的处理函数
|
|
||||||
*/
|
|
||||||
onReachBottom: function () {
|
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 用户点击右上角分享
|
* 组件的方法列表
|
||||||
*/
|
*/
|
||||||
onShareAppMessage: function () {
|
methods: {
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
@ -1,2 +1,4 @@
|
|||||||
<!--shuji/shuji.wxml-->
|
<view class="c-minheight wx-view_3ZhLNq" />
|
||||||
<text>shuji/shuji.wxml</text>
|
<text class="c-block wx-text_efNLZY" >书名:</text>
|
||||||
|
<text class="c-block wx-text_07leZC" >书号:</text>
|
||||||
|
<text class="c-block wx-text_MWTyqb" >作者</text>
|
@ -1 +1,69 @@
|
|||||||
/* shuji/shuji.wxss */
|
/* 基础样式 */
|
||||||
|
view,scroll-view,swiper,swiper-item,icon,text,progress,button,checkbox-group,checkbox,form,input,label,picker,radio-group,radio,slider,switch,action-sheet,action-sheet-item,action-sheet-cancel,modal,toast,loading,navigator,audio,image,video,map,canvas {
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
page {
|
||||||
|
height: 100%;
|
||||||
|
font-family: -apple-system-font,Helvetica Neue,Helvetica,sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
checkbox-group,
|
||||||
|
radio-group{
|
||||||
|
display:block;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
:before,
|
||||||
|
:after ,
|
||||||
|
::before,
|
||||||
|
::after{
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
-moz-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.c-minheight {
|
||||||
|
min-height: 80px;
|
||||||
|
}
|
||||||
|
.c-full {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.c-block {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
.c-autosize {
|
||||||
|
width: auto;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
.c-fullwidth {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.c-fullheight {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
.c-initHide{
|
||||||
|
opacity:0 !important;
|
||||||
|
}
|
||||||
|
.c-ellipse{
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
overflow:hidden;
|
||||||
|
}
|
||||||
|
/* 自定义样式 */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.wx-view_3ZhLNq{transition: All 0s ease; margin-right: 150px; margin-left: 150px; transform: rotate(0deg) scale(1.6) translate(0%,43%); -ms-transform: rotate(0deg) scale(1.6) translate(0%,43%); -o-transform: rotate(0deg) scale(1.6) translate(0%,43%); -moz-transform: rotate(0deg) scale(1.6) translate(0%,43%); -webkit-transform: rotate(0deg) scale(1.6) translate(0%,43%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
||||||
|
.wx-text_efNLZY{transition: All 0s ease; margin-right: 80px; margin-left: 80px; transform: rotate(0deg) scale(1.2) translate(0%,434%); -ms-transform: rotate(0deg) scale(1.2) translate(0%,434%); -o-transform: rotate(0deg) scale(1.2) translate(0%,434%); -moz-transform: rotate(0deg) scale(1.2) translate(0%,434%); -webkit-transform: rotate(0deg) scale(1.2) translate(0%,434%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
||||||
|
.wx-text_07leZC{transition: All 0s ease; margin-right: 80px; margin-left: 80px; transform: rotate(0deg) scale(1.2) translate(0%,543%); -ms-transform: rotate(0deg) scale(1.2) translate(0%,543%); -o-transform: rotate(0deg) scale(1.2) translate(0%,543%); -moz-transform: rotate(0deg) scale(1.2) translate(0%,543%); -webkit-transform: rotate(0deg) scale(1.2) translate(0%,543%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
||||||
|
.wx-text_MWTyqb{transition: All 0s ease; margin-right: 80px; margin-left: 80px; transform: rotate(0deg) scale(1.2) translate(0%,652%); -ms-transform: rotate(0deg) scale(1.2) translate(0%,652%); -o-transform: rotate(0deg) scale(1.2) translate(0%,652%); -moz-transform: rotate(0deg) scale(1.2) translate(0%,652%); -webkit-transform: rotate(0deg) scale(1.2) translate(0%,652%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
@ -1,3 +0,0 @@
|
|||||||
App({
|
|
||||||
|
|
||||||
})
|
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"debug": true,
|
|
||||||
"window": {
|
|
||||||
"navigationBarTextStyle": "white",
|
|
||||||
"navigationBarBackgroundColor": "#000000",
|
|
||||||
"navigationBarTitleText": "",
|
|
||||||
"backgroundColor": "#ffffff",
|
|
||||||
"enablePullDownRefresh": false,
|
|
||||||
"backgroundTextStyle": "dark"
|
|
||||||
},
|
|
||||||
"pages": [
|
|
||||||
"page/index/index"
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,73 +0,0 @@
|
|||||||
/* 基础样式 */
|
|
||||||
view,scroll-view,swiper,swiper-item,icon,text,progress,button,checkbox-group,checkbox,form,input,label,picker,radio-group,radio,slider,switch,action-sheet,action-sheet-item,action-sheet-cancel,modal,toast,loading,navigator,audio,image,video,map,canvas {
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
page {
|
|
||||||
height: 100%;
|
|
||||||
font-family: -apple-system-font,Helvetica Neue,Helvetica,sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
checkbox-group,
|
|
||||||
radio-group{
|
|
||||||
display:block;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
:before,
|
|
||||||
:after ,
|
|
||||||
::before,
|
|
||||||
::after{
|
|
||||||
-webkit-box-sizing: border-box;
|
|
||||||
-moz-box-sizing: border-box;
|
|
||||||
box-sizing: border-box;
|
|
||||||
}
|
|
||||||
.c-minheight {
|
|
||||||
min-height: 80px;
|
|
||||||
}
|
|
||||||
.c-full {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.c-block {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
.c-autosize {
|
|
||||||
width: auto;
|
|
||||||
height: auto;
|
|
||||||
}
|
|
||||||
.c-fullwidth {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
.c-fullheight {
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
.c-initHide{
|
|
||||||
opacity:0 !important;
|
|
||||||
}
|
|
||||||
.c-ellipse{
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
-webkit-line-clamp: 2;
|
|
||||||
overflow:hidden;
|
|
||||||
}
|
|
||||||
/* 自定义样式 */
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.wx-view_3ZhLNq{transition: All 0s ease; margin-right: 150px; margin-left: 150px; transform: rotate(0deg) scale(1.6) translate(0%,43%); -ms-transform: rotate(0deg) scale(1.6) translate(0%,43%); -o-transform: rotate(0deg) scale(1.6) translate(0%,43%); -moz-transform: rotate(0deg) scale(1.6) translate(0%,43%); -webkit-transform: rotate(0deg) scale(1.6) translate(0%,43%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
|
||||||
.wx-text_efNLZY{transition: All 0s ease; margin-right: 80px; margin-left: 80px; transform: rotate(0deg) scale(1.2) translate(0%,434%); -ms-transform: rotate(0deg) scale(1.2) translate(0%,434%); -o-transform: rotate(0deg) scale(1.2) translate(0%,434%); -moz-transform: rotate(0deg) scale(1.2) translate(0%,434%); -webkit-transform: rotate(0deg) scale(1.2) translate(0%,434%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
|
||||||
.wx-text_07leZC{transition: All 0s ease; margin-right: 80px; margin-left: 80px; transform: rotate(0deg) scale(1.2) translate(0%,543%); -ms-transform: rotate(0deg) scale(1.2) translate(0%,543%); -o-transform: rotate(0deg) scale(1.2) translate(0%,543%); -moz-transform: rotate(0deg) scale(1.2) translate(0%,543%); -webkit-transform: rotate(0deg) scale(1.2) translate(0%,543%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
|
||||||
.wx-text_MWTyqb{transition: All 0s ease; margin-right: 80px; margin-left: 80px; transform: rotate(0deg) scale(1.2) translate(0%,652%); -ms-transform: rotate(0deg) scale(1.2) translate(0%,652%); -o-transform: rotate(0deg) scale(1.2) translate(0%,652%); -moz-transform: rotate(0deg) scale(1.2) translate(0%,652%); -webkit-transform: rotate(0deg) scale(1.2) translate(0%,652%); -ms-transition: All 0s ease; -o-transition: All 0s ease; -moz-transition: All 0s ease; -webkit-transition: All 0s ease; }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
@ -1,14 +0,0 @@
|
|||||||
onLoad: function () {
|
|
||||||
wx.request({
|
|
||||||
url: 'https://zhenxiang.xuanjis.com', //服务器地址
|
|
||||||
data: {
|
|
||||||
name: 'book_id'//请求参数
|
|
||||||
},
|
|
||||||
header: {
|
|
||||||
'content-type': 'application/json'
|
|
||||||
},
|
|
||||||
success: function (res) {
|
|
||||||
console.log(res.data)
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
@ -1,67 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
// 获取全局应用程序实例对象
|
|
||||||
const app = getApp();
|
|
||||||
|
|
||||||
// 创建页面实例对象
|
|
||||||
Page({
|
|
||||||
/**
|
|
||||||
* 页面名称
|
|
||||||
*/
|
|
||||||
name: "index",
|
|
||||||
/**
|
|
||||||
* 页面的初始数据
|
|
||||||
*/
|
|
||||||
|
|
||||||
data: {
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 生命周期函数--监听页面加载
|
|
||||||
*/
|
|
||||||
onLoad () {
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 生命周期函数--监听页面初次渲染完成
|
|
||||||
*/
|
|
||||||
onReady () {
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 生命周期函数--监听页面显示
|
|
||||||
*/
|
|
||||||
onShow () {
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 生命周期函数--监听页面隐藏
|
|
||||||
*/
|
|
||||||
onHide () {
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 生命周期函数--监听页面卸载
|
|
||||||
*/
|
|
||||||
onUnload () {
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 页面相关事件处理函数--监听用户下拉动作
|
|
||||||
*/
|
|
||||||
onPullDownRefresh () {
|
|
||||||
|
|
||||||
},
|
|
||||||
|
|
||||||
|
|
||||||
//以下为自定义点击事件
|
|
||||||
|
|
||||||
})
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"usingComponents": {}
|
|
||||||
}
|
|
@ -1,4 +0,0 @@
|
|||||||
<view class="c-minheight wx-view_3ZhLNq" />
|
|
||||||
<text class="c-block wx-text_efNLZY" >书名:</text>
|
|
||||||
<text class="c-block wx-text_07leZC" >书号:</text>
|
|
||||||
<text class="c-block wx-text_MWTyqb" >作者</text>
|
|
@ -1 +0,0 @@
|
|||||||
/* page/index/index.wxss */
|
|
@ -1,40 +0,0 @@
|
|||||||
{
|
|
||||||
"description": "项目配置文件",
|
|
||||||
"packOptions": {
|
|
||||||
"ignore": []
|
|
||||||
},
|
|
||||||
"setting": {
|
|
||||||
"urlCheck": true,
|
|
||||||
"es6": true,
|
|
||||||
"postcss": true,
|
|
||||||
"minified": true,
|
|
||||||
"newFeature": true,
|
|
||||||
"autoAudits": false
|
|
||||||
},
|
|
||||||
"compileType": "miniprogram",
|
|
||||||
"libVersion": "2.5.0",
|
|
||||||
"appid": "wxb280d1925541c356",
|
|
||||||
"projectname": "7",
|
|
||||||
"debugOptions": {
|
|
||||||
"hidedInDevtools": []
|
|
||||||
},
|
|
||||||
"isGameTourist": false,
|
|
||||||
"condition": {
|
|
||||||
"search": {
|
|
||||||
"current": -1,
|
|
||||||
"list": []
|
|
||||||
},
|
|
||||||
"conversation": {
|
|
||||||
"current": -1,
|
|
||||||
"list": []
|
|
||||||
},
|
|
||||||
"game": {
|
|
||||||
"currentL": -1,
|
|
||||||
"list": []
|
|
||||||
},
|
|
||||||
"miniprogram": {
|
|
||||||
"current": -1,
|
|
||||||
"list": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in new issue