作者 梁鹏山

同步

<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/chemai2.iml" filepath="$PROJECT_DIR$/.idea/chemai2.iml" />
</modules>
</component>
</project>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="MessDetectorOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCSFixerOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PHPCodeSnifferOptionsConfiguration">
<option name="highlightLevel" value="WARNING" />
<option name="transferred" value="true" />
</component>
<component name="PhpStanOptionsConfiguration">
<option name="transferred" value="true" />
</component>
<component name="PsalmOptionsConfiguration">
<option name="transferred" value="true" />
</component>
</project>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>
\ No newline at end of file
... ...
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="AutoImportSettings">
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="2d3a3fc4-85bb-406e-8d25-d72c4c5e830f" name="更改" comment="">
<change beforePath="$PROJECT_DIR$/app.js" beforeDir="false" afterPath="$PROJECT_DIR$/app.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pages/account/account.wxml" beforeDir="false" afterPath="$PROJECT_DIR$/pages/account/account.wxml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pages/accountcashout/accountcashout.js" beforeDir="false" afterPath="$PROJECT_DIR$/pages/accountcashout/accountcashout.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/pages/accountcashout/accountcashout.wxml" beforeDir="false" afterPath="$PROJECT_DIR$/pages/accountcashout/accountcashout.wxml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/request/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/request/index.js" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
<option name="LAST_RESOLUTION" value="IGNORE" />
</component>
<component name="ComposerSettings">
<execution />
</component>
<component name="Git.Settings">
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
</component>
<component name="MarkdownSettingsMigration">
<option name="stateVersion" value="1" />
</component>
<component name="PhpWorkspaceProjectConfiguration" interpreter_name="D:\phpstudy_pro\Extensions\php\php7.3.4nts\php.exe" />
<component name="ProjectId" id="2fnWfxMEHTTPjI4t5ggQLv7bGC3" />
<component name="ProjectViewState">
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"WebServerToolWindowFactoryState": "false",
"last_opened_file_path": "D:/phpstudy_pro/WWW/lps/code/chemai",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
"node.js.selected.package.eslint": "(autodetect)",
"node.js.selected.package.tslint": "(autodetect)",
"vue.rearranger.settings.migration": "true"
}
}]]></component>
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="应用程序级" UseSingleDictionary="true" transferred="true" />
<component name="TaskManager">
<task active="true" id="Default" summary="默认任务">
<changelist id="2d3a3fc4-85bb-406e-8d25-d72c4c5e830f" name="更改" comment="" />
<created>1714437431533</created>
<option name="number" value="Default" />
<option name="presentableId" value="Default" />
<updated>1714437431533</updated>
<workItem from="1714437452414" duration="969000" />
</task>
<servers />
</component>
<component name="TypeScriptGeneratedFilesManager">
<option name="version" value="3" />
</component>
</project>
\ No newline at end of file
... ...
... ... @@ -230,8 +230,8 @@ App({
globalData: {
userInfo: null,
baseUrl: 'http://chemai.shs.broing.cn/',
// baseUrl: 'https://xiaoxiangauto.com/',
// baseUrl: 'http://chemai.shs.broing.cn/',
baseUrl: 'https://xiaoxiangauto.com/',
// baseUrl: 'http://chemai.t.brotop.cn/',
// imagesUrl: 'https://xiaoxiangauto.com/',
statusHeight: 0,
... ...
... ... @@ -6,7 +6,7 @@
{{info.userinfo.nickname}}
</view>
<view class="cc">
南通同汽车
南通同汽车
</view>
</view>
<view class="price">
... ... @@ -28,10 +28,10 @@
<view class="item" wx:for="{{info.money_log}}" wx:key="index" wx:for-index="index" wx:for-item="item">
<view class="left">
<view class="title">
{{item.active_name}}
{{item.active_name ? item.active_name : ''}}
</view>
<view class="time">
{{item.createtime}}
{{item.createtime ? item.createtime : ''}}
</view>
</view>
<view class="right">
... ...
... ... @@ -20,15 +20,19 @@ Page({
let that = this
try {
const {
data: {
data
}
} = await request({
url: 'api/newadd/tixian',
data: {
money: that.data.money
}
})
if(data.code == 1){
wx.showToast({
title: data.msg,
icon: 'none'
})
}
console.log(data, "tixian");
} catch (err) {
wx.showToast({
... ... @@ -36,7 +40,6 @@ Page({
icon: 'none'
})
console.log(err);
}
},
async TixianLog() {
... ... @@ -77,6 +80,11 @@ Page({
this.tixian()
},
withdall() {
this.setData({
money: this.data.info.money
})
},
onLoad(options) {
this.TixianLog()
... ...
... ... @@ -20,8 +20,9 @@
</view>
<input class="inp" type="number" value="{{money}}" name="input" bindinput="input" />
</view>
<view class="all">
<view class="all" bind:tap="withdall">
全部提现
</view>
</view>
... ...
... ... @@ -2,8 +2,8 @@
export const request = (params) => {
wx.showNavigationBarLoading()
// const baseUrl = "http://chemai.t.brotop.cn/"
// const baseUrl = "https://xiaoxiangauto.com/"
const baseUrl = "http://chemai.shs.broing.cn/"
const baseUrl = "https://xiaoxiangauto.com/"
// const baseUrl = "http://chemai.shs.broing.cn/"
return new Promise((resolve, reject) => {
let header = {
... ...