feat(custom):
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-23 18:12:19 +08:00
parent e796bdbc8a
commit f67dc80a49
7 changed files with 54 additions and 37 deletions

View File

@@ -106,16 +106,19 @@ const tabChange = (index: number) => {
};
const openPay = async (item: OrderList) => {
isShowPay.value = true;
const user_info = Taro.getStorageSync('userInfo');
const data = await getUserPoint({
phone: user_info.data.phone,
bid: item.Store.bid,
// isShowPay.value = true;
// const user_info = Taro.getStorageSync('userInfo');
// const data = await getUserPoint({
// phone: user_info.data.phone,
// bid: item.Store.bid,
// });
// jfInfo.value = {
// jh_info: data.data,
// oid: item.oid,
// };
Taro.navigateTo({
url: `/pages/goods/pay/index?oid=${item.joint_oid}&bid=${item.bid}`,
});
jfInfo.value = {
jh_info: data.data,
oid: item.oid,
};
};
const errPay = () => {

View File

@@ -294,17 +294,21 @@ const toAdder = () => {
};
const openPay = async () => {
isShowPay.value = true;
const mer_info = Taro.getStorageSync('mer_info');
const user_info = Taro.getStorageSync('userInfo');
const data = await getUserPoint({
phone: user_info.data.phone,
bid: mer_info.bid,
// isShowPay.value = true;
// const mer_info = Taro.getStorageSync('mer_info');
// const user_info = Taro.getStorageSync('userInfo');
// const data = await getUserPoint({
// phone: user_info.data.phone,
// bid: mer_info.bid,
// });
// jfInfo.value = {
// jh_info: data.data,
// oid: Taro.getStorageSync('item').oid,
// };
// console.log(goodInfo.value.bid, goodInfo.value.joint_oid);
Taro.navigateTo({
url: `/pages/goods/pay/index?oid=${goodInfo.value.joint_oid}&bid=${goodInfo.value.bid}`,
});
jfInfo.value = {
jh_info: data.data,
oid: Taro.getStorageSync('item').oid,
};
};
const successPay = (val: boolean) => {

View File

@@ -21,6 +21,11 @@
display: flex;
justify-content: space-between;
align-items: center;
.input-placeholder {
font-size: 28px;
color: rgba(176, 176, 176, 1);
}
}
}
}

View File

@@ -11,7 +11,7 @@
maxLength="6"
placeholder="请输入6位数交易密码"
v-model="formVal.password"
placeholder-style="color:rgba(176, 176, 176, 1);font-size: 20px;" />
placeholderClass="input-placeholder" />
</view>
</view>
<view class="form-item">
@@ -24,7 +24,7 @@
maxLength="6"
v-model="formVal.confirmPassword"
placeholder="请再次输入6位数密码"
placeholder-style="color:rgba(176, 176, 176, 1);font-size: 20px;" />
placeholderClass="input-placeholder" />
</view>
</view>
<view class="form-item">
@@ -37,7 +37,7 @@
placeholder="请输入手机号码"
:disabled="true"
:value="userinfo.data?.phone"
placeholder-style="color:rgba(176, 176, 176, 1);font-size: 20px;" />
placeholderClass="input-placeholder" />
</view>
</view>
<view class="form-item">
@@ -50,7 +50,7 @@
placeholder="请输入验证码"
maxLength="6"
v-model="formVal.code"
placeholder-style="color:rgba(176, 176, 176, 1);font-size: 20px;" />
placeholderClass="input-placeholder" />
<text
:style="{
color: !isT ? '#F83D3D' : 'rgba(176, 176, 176, 1)',