diff --git a/components/guide-pages/guide-pages.vue b/components/guide-pages/guide-pages.vue index 0a06c28..d7ac27c 100644 --- a/components/guide-pages/guide-pages.vue +++ b/components/guide-pages/guide-pages.vue @@ -45,6 +45,8 @@ let systemInfo = uni.getSystemInfoSync(); this.screenHeight = systemInfo.screenHeight; this.show = true; + }else{ + } }, methods: { diff --git a/config/baseUrl.js b/config/baseUrl.js index 3355af6..c261b81 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -5,8 +5,8 @@ if (process.env.NODE_ENV === 'development') { // baseUrl = "http://localhost:7001/"; // socketUrl = "ws://localhost:6001/"; // baseUrl = "https://twin-ui.com/demo/"; - // baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境 - baseUrl = "https://api.nuttyreading.com/"; // 线上正式 + baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境 + // baseUrl = "https://api.nuttyreading.com/"; // 线上正式 // baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑 // baseUrl = "http://59.110.212.44:9200/pb/"; // baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑 diff --git a/config/requestConfig.js b/config/requestConfig.js index 5d19a7d..57862e2 100644 --- a/config/requestConfig.js +++ b/config/requestConfig.js @@ -293,9 +293,10 @@ $http.dataFactory = async function(res) { errMsg: "【request】" + (httpData.info || httpData.msg), data: res.data }); - } else { //其他错误提示 + } else { //其他错误提示 + console.log(httpData, '其他') console.log(httpData.info || httpData.msg) - if (res.isPrompt && res.data.loadAnimate != 'none') { + if (res.isPrompt && res.data.loadAnimate != 'none') { uni.showToast({ title: httpData.info || httpData.msg, icon: "none", @@ -334,4 +335,4 @@ $http.requestError = function(e) { // }); } } -export default $http; +export default $http; \ No newline at end of file diff --git a/manifest.json b/manifest.json index fd52163..74e1565 100644 --- a/manifest.json +++ b/manifest.json @@ -1,256 +1,254 @@ { - "name" : "疯子读书", - "appid" : "__UNI__9788EB5", - "description" : "疯子读书", - "networkTimeout" : { - "request" : 3000 - }, - "transformPx" : false, - "icons" : [ - { - "sizes" : "分辨率,192x192", - "src" : "图片路径" - } - ], - "versionName" : "1.2.43", - "versionCode" : 1243, - "app-plus" : { - "compatible" : { - "ignoreVersion" : true - }, - "privacy" : { - "prompt" : "template", - "template" : { - "title" : "用户协议和隐私政策", - "message" : "请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《用户协议》《隐私协议》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", - "buttonAccept" : "同意", - "buttonRefuse" : "暂不同意" - } - }, - "modules" : { - "Payment" : {}, - "OAuth" : {}, - "Share" : {}, - "Camera" : {}, - "VideoPlayer" : {} - }, - "distribute" : { - "apple" : { - "devices" : "universal" - }, - // "UIBackgroundModes" : [ "audio" ] - "android" : { - "permissionPhoneState" : { - "request" : "none", - "prompt" : "为保证您正常、安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。" - }, - "permissionExternalStorage" : { - "request" : "none", - "prompt" : "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。" - }, - "permissions" : [ - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "", - "" - ], - "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ], - "minSdkVersion" : 21, - "targetSdkVersion" : 30, - "schemes" : "nuttyreading" - }, - "sdkConfigs" : { - "ad" : {}, - "maps" : {}, - "share" : { - "weixin" : { - "appid" : "wx47134a8f15083734", - "UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__9788EB5/" - } - }, - "payment" : { - "alipay" : { - "__platform__" : [ "ios", "android" ] - }, - "appleiap" : {}, - "weixin" : { - "__platform__" : [ "ios", "android" ], - "appid" : "wx47134a8f15083734", - "UniversalLinks" : "https://verification.nuttyreading.com/uni-universallinks/__UNI__9788EB5/" - } - } - }, - "splashscreen" : { - "iosStyle" : "common", - "androidStyle" : "default", - "useOriginalMsgbox" : true - }, - "ios" : { - "dSYMs" : false, - // "UIBackgroundModes" : [ "audio" ], // 背景播放音乐 - "capabilities" : { - "entitlements" : { - "com.apple.developer.associated-domains" : [ "applinks:verification.nuttyreading.com" ] - } - }, - "idfa" : false, - "urltypes" : "nuttyreading", - "urlschemewhitelist" : "everhealth", - "privacyDescription" : { - "NSPhotoLibraryUsageDescription" : "为了给您提供修改头像的功能", - "NSCameraUsageDescription" : "为了给您提供修改头像的功能" - } - }, - "icons" : { - "android" : { - "hdpi" : "unpackage/res/icons/72x72.png", - "xhdpi" : "unpackage/res/icons/96x96.png", - "xxhdpi" : "unpackage/res/icons/144x144.png", - "xxxhdpi" : "unpackage/res/icons/192x192.png" - }, - "ios" : { - "appstore" : "unpackage/res/icons/1024x1024.png", - "ipad" : { - "app" : "unpackage/res/icons/76x76.png", - "app@2x" : "unpackage/res/icons/152x152.png", - "notification" : "unpackage/res/icons/20x20.png", - "notification@2x" : "unpackage/res/icons/40x40.png", - "proapp@2x" : "unpackage/res/icons/167x167.png", - "settings" : "unpackage/res/icons/29x29.png", - "settings@2x" : "unpackage/res/icons/58x58.png", - "spotlight" : "unpackage/res/icons/40x40.png", - "spotlight@2x" : "unpackage/res/icons/80x80.png" - }, - "iphone" : { - "app@2x" : "unpackage/res/icons/120x120.png", - "app@3x" : "unpackage/res/icons/180x180.png", - "notification@2x" : "unpackage/res/icons/40x40.png", - "notification@3x" : "unpackage/res/icons/60x60.png", - "settings@2x" : "unpackage/res/icons/58x58.png", - "settings@3x" : "unpackage/res/icons/87x87.png", - "spotlight@2x" : "unpackage/res/icons/80x80.png", - "spotlight@3x" : "unpackage/res/icons/120x120.png" - } - } - } - }, - "compilerVersion" : 3, - "nvueLaunchMode" : "fast", - "splashscreen" : { - "alwaysShowBeforeRender" : false - }, - "nativePlugins" : {}, - "uniStatistics" : { - "enable" : true - } - }, - // 5+App特有相关 - "quickapp" : {}, - // 快应用特有相关 - "mp-weixin" : { - "setting" : { - "urlCheck" : false, - "es6" : true, - "postcss" : true, - "minified" : true - }, - "usingComponents" : true, - "appid" : "wxd3ba52b7661b36be", - "permission" : { - "scope.userLocation" : { - "desc" : "你的位置信息将用于小程序位置接口的效果展示" - } - }, - "uniStatistics" : { - "enable" : true - } - }, - "h5" : { - "template" : "template.h5.html", - "router" : { - "mode" : "hash", - "base" : "/uniappDemo/" - }, - "optimization" : { - "treeShaking" : { - "enable" : true - } - }, - "uniStatistics" : { - "enable" : true - } - }, - "_spaceID" : "mp-3614b80b-2d75-4462-a481-4998f8187274", - "uniStatistics" : { - "version" : "2", - "enable" : true - }, - "mp-alipay" : { - "uniStatistics" : { - "enable" : true - } - }, - "mp-baidu" : { - "uniStatistics" : { - "enable" : true - } - }, - "mp-jd" : { - "uniStatistics" : { - "enable" : true - } - }, - "mp-kuaishou" : { - "uniStatistics" : { - "enable" : true - } - }, - "mp-lark" : { - "uniStatistics" : { - "enable" : true - } - }, - "mp-qq" : { - "uniStatistics" : { - "enable" : true - } - }, - "mp-toutiao" : { - "uniStatistics" : { - "enable" : true - } - }, - "quickapp-webview-huawei" : { - "uniStatistics" : { - "enable" : true - } - }, - "quickapp-webview-union" : { - "uniStatistics" : { - "enable" : true - } - } + "name": "疯子读书", + "appid": "__UNI__9788EB5", + "description": "疯子读书", + "networkTimeout": { + "request": 3000 + }, + "transformPx": false, + "icons": [{ + "sizes": "分辨率,192x192", + "src": "图片路径" + }], + "versionName": "1.2.43", + "versionCode": 1243, + "app-plus": { + "compatible": { + "ignoreVersion": true + }, + "privacy": { + "prompt": "template", + "template": { + "title": "用户协议和隐私政策", + "message": "请你务必审慎阅读、充分理解“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。
  你可阅读《用户协议》《隐私协议》了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。", + "buttonAccept": "同意", + "buttonRefuse": "暂不同意" + } + }, + "modules": { + "Payment": {}, + "Share": {}, + "Camera": {}, + "VideoPlayer": {}, + "OAuth": {} + }, + "distribute": { + "apple": { + "devices": "universal" + }, + // "UIBackgroundModes" : [ "audio" ] + "android": { + "permissionPhoneState": { + "request": "none", + "prompt": "为保证您正常、安全地使用,需要获取设备识别码(部分手机提示为获取手机号码)使用权限,请允许。" + }, + "permissionExternalStorage": { + "request": "none", + "prompt": "应用保存运行状态等信息,需要获取读写手机存储(系统提示为访问设备上的照片、媒体内容和文件)权限,请允许。" + }, + "permissions": [ + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "" + ], + "abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"], + "minSdkVersion": 21, + "targetSdkVersion": 30, + "schemes": "nuttyreading" + }, + "sdkConfigs": { + "ad": {}, + "maps": {}, + "share": { + "weixin": { + "appid": "wx47134a8f15083734", + "UniversalLinks": "https://verification.nuttyreading.com/uni-universallinks/__UNI__9788EB5/" + } + }, + "payment": { + "alipay": { + "__platform__": ["ios", "android"] + }, + "appleiap": {}, + "weixin": { + "__platform__": ["ios", "android"], + "appid": "wx47134a8f15083734", + "UniversalLinks": "https://verification.nuttyreading.com/uni-universallinks/__UNI__9788EB5/" + } + }, + "oauth": {} + }, + "splashscreen": { + "iosStyle": "common", + "androidStyle": "default", + "useOriginalMsgbox": true + }, + "ios": { + "dSYMs": false, + // "UIBackgroundModes" : [ "audio" ], // 背景播放音乐 + "capabilities": { + "entitlements": { + "com.apple.developer.associated-domains": ["applinks:verification.nuttyreading.com"] + } + }, + "idfa": false, + "urltypes": "nuttyreading", + "urlschemewhitelist": "everhealth", + "privacyDescription": { + "NSPhotoLibraryUsageDescription": "为了给您提供修改头像的功能", + "NSCameraUsageDescription": "为了给您提供修改头像的功能" + } + }, + "icons": { + "android": { + "hdpi": "unpackage/res/icons/72x72.png", + "xhdpi": "unpackage/res/icons/96x96.png", + "xxhdpi": "unpackage/res/icons/144x144.png", + "xxxhdpi": "unpackage/res/icons/192x192.png" + }, + "ios": { + "appstore": "unpackage/res/icons/1024x1024.png", + "ipad": { + "app": "unpackage/res/icons/76x76.png", + "app@2x": "unpackage/res/icons/152x152.png", + "notification": "unpackage/res/icons/20x20.png", + "notification@2x": "unpackage/res/icons/40x40.png", + "proapp@2x": "unpackage/res/icons/167x167.png", + "settings": "unpackage/res/icons/29x29.png", + "settings@2x": "unpackage/res/icons/58x58.png", + "spotlight": "unpackage/res/icons/40x40.png", + "spotlight@2x": "unpackage/res/icons/80x80.png" + }, + "iphone": { + "app@2x": "unpackage/res/icons/120x120.png", + "app@3x": "unpackage/res/icons/180x180.png", + "notification@2x": "unpackage/res/icons/40x40.png", + "notification@3x": "unpackage/res/icons/60x60.png", + "settings@2x": "unpackage/res/icons/58x58.png", + "settings@3x": "unpackage/res/icons/87x87.png", + "spotlight@2x": "unpackage/res/icons/80x80.png", + "spotlight@3x": "unpackage/res/icons/120x120.png" + } + } + } + }, + "compilerVersion": 3, + "nvueLaunchMode": "fast", + "splashscreen": { + "alwaysShowBeforeRender": false + }, + "nativePlugins": {}, + "uniStatistics": { + "enable": true + } + }, + // 5+App特有相关 + "quickapp": {}, + // 快应用特有相关 + "mp-weixin": { + "setting": { + "urlCheck": false, + "es6": true, + "postcss": true, + "minified": true + }, + "usingComponents": true, + "appid": "wxd3ba52b7661b36be", + "permission": { + "scope.userLocation": { + "desc": "你的位置信息将用于小程序位置接口的效果展示" + } + }, + "uniStatistics": { + "enable": true + } + }, + "h5": { + "template": "template.h5.html", + "router": { + "mode": "hash", + "base": "/uniappDemo/" + }, + "optimization": { + "treeShaking": { + "enable": true + } + }, + "uniStatistics": { + "enable": true + } + }, + "_spaceID": "mp-3614b80b-2d75-4462-a481-4998f8187274", + "uniStatistics": { + "version": "2", + "enable": true + }, + "mp-alipay": { + "uniStatistics": { + "enable": true + } + }, + "mp-baidu": { + "uniStatistics": { + "enable": true + } + }, + "mp-jd": { + "uniStatistics": { + "enable": true + } + }, + "mp-kuaishou": { + "uniStatistics": { + "enable": true + } + }, + "mp-lark": { + "uniStatistics": { + "enable": true + } + }, + "mp-qq": { + "uniStatistics": { + "enable": true + } + }, + "mp-toutiao": { + "uniStatistics": { + "enable": true + } + }, + "quickapp-webview-huawei": { + "uniStatistics": { + "enable": true + } + }, + "quickapp-webview-union": { + "uniStatistics": { + "enable": true + } + } } -// 小程序特有相关 - +// 小程序特有相关 \ No newline at end of file diff --git a/pages/acupoint/acupoint.vue b/pages/acupoint/acupoint.vue index fb7de70..54e46cf 100644 --- a/pages/acupoint/acupoint.vue +++ b/pages/acupoint/acupoint.vue @@ -37,6 +37,8 @@ + + {{item.title}} @@ -110,20 +112,20 @@ }, // 穴位详情 gotoDetail(item) { - // if (this.curOneCateIndex == 0 && this.userMes.pointPower== 0) { - // let that = this - // uni.showModal({ - // content: '购买 手模 或 脚模 后方可使用此功能', - // confirmText: '好的', - // showCancel: false, - // success: function(res) { - // if (res.confirm) { - // // console.log('用户点击确定'); - // } - // } - // }) - // return - // } + if (this.curOneCateIndex == 0 && this.userMes.pointPower== 0) { + let that = this + uni.showModal({ + content: '购买 手模 或 脚模 后方可使用此功能', + confirmText: '好的', + showCancel: false, + success: function(res) { + if (res.confirm) { + // console.log('用户点击确定'); + } + } + }) + return + } uni.navigateTo({ url: "./acupointDetail?id=" + item.id }) diff --git a/pages/bookShop/commodityDetail.vue b/pages/bookShop/commodityDetail.vue index 6c93415..dd47699 100644 --- a/pages/bookShop/commodityDetail.vue +++ b/pages/bookShop/commodityDetail.vue @@ -7,7 +7,7 @@ - + @@ -15,18 +15,18 @@ - {{productInfo.activityPrice}} - 原价{{productInfo.price}} + {{ productInfo.activityPrice }} + 原价{{ + productInfo.price }} - {{productInfo.price}} + {{ productInfo.price }} - {{productInfo.productName}} - (无货) - 已售{{productInfo.sumSales}} + {{ productInfo.productName }} + (无货) + 已售{{ productInfo.sumSales + }} @@ -36,14 +36,14 @@ - + - {{item.productName}} - ¥{{item.activityPrice}} - ¥{{item.price}} + {{ item.productName }} + ¥{{ + item.activityPrice }} + ¥{{ item.price }} @@ -54,66 +54,133 @@ + color: '#303133', + fontWeight: 'bold', + fontSize: '28rpx' + }" :inactiveStyle="{ + color: '#606266', + fontSize: '28rpx' + }"> - - - - - 赠送听书权益 - - + + + 赠送权益 + + + + - {{item.name}} - - + + + {{ + item.name }} + + + + + + + + + + + + + {{ v.name }} + + + + + + + + + + + + + + + + + + + + + + 商品详情 - 书名:{{productInfo.productName}} + 书名:{{ productInfo.productName }} - 作者:{{productInfo.author}} + 作者:{{ productInfo.author }} - 出版社:{{productInfo.publisher}} + 出版社:{{ productInfo.publisher + }} - 出版时间:{{ productInfo.pubDate | formatDate }} + 出版时间:{{ productInfo.pubDate | formatDate + }} - 开本:{{productInfo.format}} - 页数:{{productInfo.pageNum}} + 开本:{{ productInfo.format }} + 页数:{{ productInfo.pageNum }} - 内文用纸材质:{{productInfo.quality}} + 内文用纸材质:{{ productInfo.quality + }} + :nodes="productInfo.productDetails | formatRichText"> @@ -123,7 +190,8 @@ - 评价({{commentsList?commentsList.length:0}}) + 评价({{ commentsList ? commentsList.length : 0 + }}) @@ -133,25 +201,25 @@ - {{item.name}} + {{ item.name }} - - - - - + + + + +
- +
- {{item.createdate}} + {{ item.createdate }}
@@ -159,7 +227,7 @@ - {{item.followUpdate}} + {{ item.followUpdate }} @@ -185,16 +253,16 @@ 查看详情
- - + - {{item.productName}} - ¥{{item.activityPrice}} - ¥{{item.price}} + {{ item.productName }} + ¥{{ + item.activityPrice }} + ¥{{ item.price }} @@ -209,480 +277,300 @@
\ No newline at end of file diff --git a/static/font/PangMenZhengDaoBiaoTiTiMianFeiBan.ttf b/static/font/PangMenZhengDaoBiaoTiTiMianFeiBan.ttf new file mode 100644 index 0000000..cd65b62 Binary files /dev/null and b/static/font/PangMenZhengDaoBiaoTiTiMianFeiBan.ttf differ diff --git a/static/font/msyh.ttc b/static/font/msyh.ttc new file mode 100644 index 0000000..37c28de Binary files /dev/null and b/static/font/msyh.ttc differ diff --git a/static/font/msyh.ttf b/static/font/msyh.ttf new file mode 100644 index 0000000..980ec43 Binary files /dev/null and b/static/font/msyh.ttf differ diff --git a/static/font/msyhbd.ttf b/static/font/msyhbd.ttf new file mode 100644 index 0000000..7949a5f Binary files /dev/null and b/static/font/msyhbd.ttf differ diff --git a/static/font/msyhl.ttf b/static/font/msyhl.ttf new file mode 100644 index 0000000..448e2ed Binary files /dev/null and b/static/font/msyhl.ttf differ diff --git a/style/common.scss b/style/common.scss index ede3474..aa35ce1 100644 --- a/style/common.scss +++ b/style/common.scss @@ -1,4 +1,12 @@ @import '@/style/mixin.scss'; + +@font-face { + font-family: 'PangMenZhengDaobiaoTiTiMianFeiBan'; + src: url('@/static/font/PangMenZhengDaoBiaoTiTiMianFeiBan.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} + view, page, text,