kola-web 1 month ago
parent
commit
fdce821e91
  1. 148
      project.config.json
  2. 16
      src/app.ts
  3. 2
      src/components/popup/index.wxml
  4. 6
      src/pages/login/index.scss
  5. 1
      src/pages/login/index.wxml

148
project.config.json

@ -1,73 +1,75 @@ @@ -1,73 +1,75 @@
{
"description": "项目配置文件",
"miniprogramRoot": "src/",
"compileType": "miniprogram",
"setting": {
"useCompilerPlugins": ["typescript", "sass"],
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"coverView": false,
"postcss": false,
"minified": false,
"enhance": true,
"showShadowRootInWxmlPanel": false,
"packNpmManually": true,
"packNpmRelationList": [
{
"packageJsonPath": "package.json",
"miniprogramNpmDistDir": "./src"
}
],
"ignoreUploadUnusedFiles": true,
"compileHotReLoad": false,
"skylineRenderEnable": true,
"es6": true,
"compileWorklet": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"minifyWXSS": true,
"minifyWXML": true,
"localPlugins": false,
"disableUseStrict": false,
"condition": false,
"swc": false,
"disableSWC": true
},
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {},
"srcMiniprogramRoot": "src/",
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"libVersion": "3.7.7",
"ignore": [],
"packOptions": {
"ignore": [
{
"value": "/images/*.*",
"type": "glob"
},
{
"value": "/images/**/*.*",
"type": "glob"
},
{
"value": "/images/**/**/*.*",
"type": "glob"
}
],
"include": [
{
"value": "/images/tabbar/*.*",
"type": "glob"
}
]
},
"appid": "wxf9ce8010f1ad24aa"
}
{
"description": "项目配置文件",
"miniprogramRoot": "src/",
"compileType": "miniprogram",
"setting": {
"useCompilerPlugins": [
"typescript",
"sass"
],
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"coverView": false,
"postcss": false,
"minified": false,
"enhance": true,
"showShadowRootInWxmlPanel": false,
"packNpmManually": true,
"packNpmRelationList": [
{
"packageJsonPath": "package.json",
"miniprogramNpmDistDir": "./src"
}
],
"ignoreUploadUnusedFiles": true,
"compileHotReLoad": false,
"skylineRenderEnable": true,
"es6": true,
"compileWorklet": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"minifyWXSS": true,
"minifyWXML": true,
"localPlugins": false,
"disableUseStrict": false,
"condition": false,
"swc": false,
"disableSWC": true
},
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {},
"srcMiniprogramRoot": "src/",
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 2
},
"libVersion": "3.7.7",
"ignore": [],
"packOptions": {
"ignore": [
{
"value": "/images/*.*",
"type": "glob"
},
{
"value": "/images/**/*.*",
"type": "glob"
},
{
"value": "/images/**/**/*.*",
"type": "glob"
}
],
"include": [
{
"value": "/images/tabbar/*.*",
"type": "glob"
}
]
},
"appid": "wx71ac9c27c3c3e3f4"
}

16
src/app.ts

@ -16,15 +16,15 @@ App<IAppOption>({ @@ -16,15 +16,15 @@ App<IAppOption>({
// 测试号 wx2b0bb13edf717c1d
// dev
// appid:wxf9ce8010f1ad24aa
url: 'https://m.xd.hbraas.com',
upFileUrl: 'https://m.xd.hbraas.com/',
imageUrl: 'https://m.xd.hbraas.com/xd/',
// url: 'https://m.xd.hbraas.com',
// upFileUrl: 'https://m.xd.hbraas.com/',
// imageUrl: 'https://m.xd.hbraas.com/xd/',
// pro
// appid:wxa4a28b299df7d921
// url: 'https://m.xd.hbsaas.com',
// upFileUrl: 'https://m.xd.hbsaas.com/',
// imageUrl: 'https://m.xd.hbsaas.com/api/shizhong/',
// appid:wx71ac9c27c3c3e3f4
url: 'https://m.xd.hbsaas.com',
upFileUrl: 'https://m.xd.hbsaas.com/',
imageUrl: 'https://m.xd.hbsaas.com/api/xd/',
loginState: '',
isLogin: 0,
@ -103,7 +103,7 @@ App<IAppOption>({ @@ -103,7 +103,7 @@ App<IAppOption>({
wx.reLaunch({
url: '/pages/login/index',
});
return false
return false;
}
return true;

2
src/components/popup/index.wxml

@ -23,7 +23,7 @@ @@ -23,7 +23,7 @@
<view class="nickname">{{params.Name}}医生</view>
<view class="hostipal">
{{params.HospitalName}}
<view class="tag">{{params.HospitalClassificationName}}{{params.HospitalLevel}}</view>
<view class="tag" wx:if="{{params.HospitalClassificationName || params.HospitalLevel}}">{{params.HospitalClassificationName}}{{params.HospitalLevel}}</view>
</view>
</view>
</view>

6
src/pages/login/index.scss

@ -129,4 +129,10 @@ page { @@ -129,4 +129,10 @@ page {
color: rgba(140, 117, 208, 1);
}
}
.tip {
margin-top: 60rpx;
font-size: 28rpx;
text-align: center;
color: rgba(173, 172, 178, 1);
}
}

1
src/pages/login/index.wxml

@ -65,6 +65,7 @@ @@ -65,6 +65,7 @@
</view>
</view>
</view>
<view class="tip">*仅限特定人群登录并进行登录账号鉴权</view>
</view>
<popup

Loading…
Cancel
Save