视频
This commit is contained in:
144
pages/mine/aboutUs/agreement.vue
Normal file
144
pages/mine/aboutUs/agreement.vue
Normal file
@@ -0,0 +1,144 @@
|
||||
<template>
|
||||
<view >
|
||||
<z-nav-bar :title="yszcText.title" bgColor="#fff" fontColor="#333"></z-nav-bar>
|
||||
|
||||
<view class="tanchu">
|
||||
|
||||
<!-- <view class="dp_title" v-html="yszcText.title"></view> -->
|
||||
<view class="dp_content" v-html="yszcText.content"></view>
|
||||
<!-- <yhxyPage></yhxyPage> -->
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
|
||||
export default {
|
||||
|
||||
data() {
|
||||
return {
|
||||
options:{},
|
||||
yszcText: {
|
||||
title: "",
|
||||
content: "",
|
||||
},
|
||||
};
|
||||
},
|
||||
|
||||
|
||||
//第一次加载
|
||||
onLoad(options) {
|
||||
this.options=options;
|
||||
this.getSettlement(105);
|
||||
|
||||
},
|
||||
|
||||
onReady() {},
|
||||
//方法
|
||||
methods: {
|
||||
async getSettlement(id, type) {
|
||||
console.log('id at line 57:', id)
|
||||
//隐私策略
|
||||
var data = await this.$commonJS.getAgreement(id);
|
||||
if (data.content) {
|
||||
data.content = data.content.replace(
|
||||
/<h5>/g,
|
||||
'<view style="font-weight: bold;font-size: 32rpx;margin-top: 20rpx;margin-bottom: 20rpx;">'
|
||||
);
|
||||
data.content = data.content.replace(/<\/h5>/g, "</view>");
|
||||
}
|
||||
this.yszcText=data
|
||||
|
||||
|
||||
},
|
||||
},
|
||||
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
.tanchu {
|
||||
padding: 40rpx 30rpx 40rpx 30rpx;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.popup_box {
|
||||
width: 600upx;
|
||||
border-radius: 10rpx;
|
||||
|
||||
.popup_title {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
height: 88upx;
|
||||
line-height: 88upx;
|
||||
|
||||
view {
|
||||
align-items: center;
|
||||
font-size: 30upx;
|
||||
display: flex;
|
||||
|
||||
image {
|
||||
width: 50upx;
|
||||
height: 50upx;
|
||||
margin: 0 20rpx 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.popup_content {
|
||||
padding: 30rpx 40rpx;
|
||||
}
|
||||
|
||||
.popup_footer {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
view {
|
||||
width: 45%;
|
||||
flex-shrink: 0;
|
||||
text-align: center;
|
||||
font-size: 28upx;
|
||||
color: #999;
|
||||
line-height: 70upx;
|
||||
margin: 0 0 30rpx 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.dp_title {
|
||||
font-size: 36rpx;
|
||||
margin-bottom: 10rpx;
|
||||
color: #555;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.dp_content {
|
||||
max-height: 98%;
|
||||
overflow-y: scroll;
|
||||
font-size: 28rpx;
|
||||
color: #555;
|
||||
line-height: 45rpx;
|
||||
|
||||
.dp_con1 {
|
||||
font-weight: bold;
|
||||
font-size: 32rpx;
|
||||
margin-top: 20rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
|
||||
// .dp_con2 {
|
||||
// font-size: 30rpx;
|
||||
// margin-top: 10rpx;
|
||||
// margin-bottom: 10rpx;
|
||||
// }
|
||||
}
|
||||
</style>
|
||||
@@ -31,12 +31,7 @@
|
||||
<template slot="rightSlot" slot-scope="slotProps">
|
||||
<view class="right_content">
|
||||
<view v-if="slotProps.row.type == 'sex'">
|
||||
<text
|
||||
v-if="
|
||||
userData[slotProps.row.indexValue]
|
||||
|
||||
"
|
||||
>
|
||||
<text v-if="userData[slotProps.row.indexValue]">
|
||||
{{
|
||||
userData[slotProps.row.indexValue] == 2 ? "女" : "男"
|
||||
}}</text
|
||||
@@ -67,7 +62,10 @@
|
||||
>点击绑定</view
|
||||
>
|
||||
</view>
|
||||
<view v-if="slotProps.row.type == 'password'" @click="handleClickRightContent(slotProps.row, 'bind')">
|
||||
<view
|
||||
v-if="slotProps.row.type == 'password'"
|
||||
@click="handleClickRightContent(slotProps.row, 'bind')"
|
||||
>
|
||||
{{
|
||||
userData[slotProps.row.indexValue] ? "更改密码" : "设置密码"
|
||||
}}
|
||||
@@ -92,21 +90,18 @@
|
||||
>未设置</view
|
||||
>
|
||||
</view>
|
||||
|
||||
|
||||
<u-icon
|
||||
v-if="
|
||||
userData[slotProps.row.indexValue]&&userData[slotProps.row.indexValue]!=''
|
||||
|
||||
"
|
||||
class="editIcon"
|
||||
name="edit-pen-fill"
|
||||
color="#3ab3ae"
|
||||
size="22"
|
||||
@click.native.stop="handleClickRightContent(slotProps.row)"
|
||||
></u-icon>
|
||||
|
||||
|
||||
|
||||
<u-icon
|
||||
v-if="
|
||||
userData[slotProps.row.indexValue] &&
|
||||
userData[slotProps.row.indexValue] != ''
|
||||
"
|
||||
class="editIcon"
|
||||
name="edit-pen-fill"
|
||||
color="#3ab3ae"
|
||||
size="22"
|
||||
@click.native.stop="handleClickRightContent(slotProps.row)"
|
||||
></u-icon>
|
||||
</view>
|
||||
<text class="fdButtonBox aui-text-success">{{
|
||||
slotProps.row.content
|
||||
@@ -356,35 +351,32 @@
|
||||
<template v-if="currentEditType == 'sex'">
|
||||
<u-radio-group v-model="editForm.sex">
|
||||
<view style="width: 100%">
|
||||
<view
|
||||
v-for="(item, index) in sexList"
|
||||
|
||||
class="dp_sex"
|
||||
>
|
||||
<view v-for="(item, index) in sexList" class="dp_sex">
|
||||
{{ item.title }}
|
||||
<u-radio
|
||||
:key="index"
|
||||
activeColor="#3AB3AE"
|
||||
:name="item.id"
|
||||
style="float: right; margin-top: 5rpx"
|
||||
|
||||
></u-radio>
|
||||
</view>
|
||||
</view>
|
||||
</u-radio-group>
|
||||
</template>
|
||||
<template v-if="currentEditType == 'avatar'">
|
||||
<u-upload
|
||||
:fileList="fileAvatar"
|
||||
@afterRead="afterRead"
|
||||
@delete="deletePic"
|
||||
multiple
|
||||
:maxCount="1"
|
||||
width="150"
|
||||
height="150"
|
||||
:previewFullImage="true"
|
||||
>
|
||||
</u-upload>
|
||||
<view class="" @click="checkPermision">
|
||||
<u-upload
|
||||
:fileList="fileAvatar"
|
||||
@afterRead="afterRead"
|
||||
@delete="deletePic"
|
||||
multiple
|
||||
:maxCount="1"
|
||||
width="150"
|
||||
height="150"
|
||||
:previewFullImage="true"
|
||||
>
|
||||
</u-upload
|
||||
></view>
|
||||
</template>
|
||||
|
||||
<u-button
|
||||
@@ -396,13 +388,17 @@
|
||||
<view @click="closeModal()" class="dp_canBtn"> 取消</view>
|
||||
</view>
|
||||
</u-popup>
|
||||
<!-- <addCerInfo v-if="showSubmitInfoBlank" :submitInfo="submitInfo" @close="closeManager()" ></addCerInfo> -->
|
||||
|
||||
<music-play :playData="playData"></music-play>
|
||||
<!-- <music-play :playData="playData"></music-play> -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import musicPlay from "@/components/music.vue";
|
||||
|
||||
import permission from "@/js_sdk/wa-permission/permission.js"
|
||||
|
||||
// import musicPlay from "@/components/music.vue";
|
||||
import $http from "@/config/requestConfig.js";
|
||||
var clear;
|
||||
import { mapState } from "vuex";
|
||||
@@ -421,6 +417,8 @@ var enoughRegex = new RegExp("(?=.{8,}).*", "g");
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
showCropper: false, submitInfo: {},
|
||||
showSubmitInfoBlank:false,
|
||||
playData: {},
|
||||
userData: {},
|
||||
isPassWordPhone: true,
|
||||
@@ -548,10 +546,18 @@ export default {
|
||||
this.getCountyCode();
|
||||
},
|
||||
components: {
|
||||
musicPlay,
|
||||
// addCerInfo
|
||||
|
||||
},
|
||||
//方法
|
||||
methods: {
|
||||
|
||||
async checkPermision(){
|
||||
var result = await permission.premissionCheck("CAMERA_EXTERNAL_STORAGE")
|
||||
if (result != 1) {
|
||||
return false
|
||||
}
|
||||
},
|
||||
handleChangeIsPassWordPhone() {
|
||||
this.editForm = {};
|
||||
this.isPassWordPhone = !this.isPassWordPhone;
|
||||
@@ -707,8 +713,8 @@ export default {
|
||||
that.userData.sex=2
|
||||
}
|
||||
console.log('that.userData at line 698:', that.userData)
|
||||
|
||||
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
@@ -170,7 +170,21 @@
|
||||
> -->
|
||||
</view>
|
||||
</template>
|
||||
<template slot="bottomSlot" slot-scope="slotProps"> </template>
|
||||
</common-goods-nav>
|
||||
<view class="agree_wo" style="width: 100%; text-align: right">
|
||||
<!-- <radio-group class="agree">
|
||||
<view v-for="(item, index) in argee" :key="index">
|
||||
<radio class="agreeRadio" :value="item.id" :checked="item.id == radioValue" color="#3AB3AE" size="12px"
|
||||
@click="radioCheck(index)"></radio>
|
||||
</view>
|
||||
</radio-group> -->
|
||||
<view
|
||||
>支付即同意众妙之门<span class="highlight" @click="showXieyi"
|
||||
>《会员服务协议》</span
|
||||
></view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- @close="closeOrderModalShow" -->
|
||||
@@ -215,6 +229,14 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
radioValue: "",
|
||||
argee: [
|
||||
{
|
||||
value: false,
|
||||
id: "1",
|
||||
},
|
||||
], // 同意权限
|
||||
xyText: "",
|
||||
isDefaultCurrency: false,
|
||||
isShowAddress: false,
|
||||
jfNumber: 0,
|
||||
@@ -320,7 +342,7 @@ export default {
|
||||
},
|
||||
customButton: [
|
||||
{
|
||||
width: "160rpx",
|
||||
width: "400rpx",
|
||||
text: "立即支付",
|
||||
backgroundColor: "linear-gradient(90deg, #3AB3AE 0%, #117e4c 100%)",
|
||||
color: "#fff",
|
||||
@@ -396,6 +418,15 @@ export default {
|
||||
...mapState(["userInfo"]),
|
||||
},
|
||||
methods: {
|
||||
showXieyi() {
|
||||
|
||||
|
||||
|
||||
uni.navigateTo({
|
||||
url: "/pages/mine/aboutUs/agreement?id=105",
|
||||
});
|
||||
},
|
||||
|
||||
onHandleClickBuy() {
|
||||
this.orderModalShow = false;
|
||||
this.remark = this.content;
|
||||
@@ -531,34 +562,21 @@ export default {
|
||||
},
|
||||
async goBuyJie() {
|
||||
debounce(async () => {
|
||||
// if (this.radioValue != 1) {
|
||||
// uni.showToast({
|
||||
// title: "请勾选 已阅读会员服务协议",
|
||||
// icon: "none",
|
||||
// });
|
||||
// return false;
|
||||
// }
|
||||
var that = this;
|
||||
// if (this.addressList.length == 0) {
|
||||
// this.dizhiShow = true // 如果没有地址信息
|
||||
// }
|
||||
// if (!this.nowClick) {
|
||||
// return
|
||||
// }
|
||||
|
||||
this.nowClick = false;
|
||||
setTimeout(() => {
|
||||
this.nowClick = true;
|
||||
}, 5000);
|
||||
// let youPre = {
|
||||
// id: "",
|
||||
// coupons: {
|
||||
// amount: 0,
|
||||
// name: "",
|
||||
// },
|
||||
// };
|
||||
// if (this.youhuiContent.id != undefined) {
|
||||
// youPre = this.youhuiContent;
|
||||
// }
|
||||
|
||||
let xiaBiao = [];
|
||||
// for (let i = 0; i < this.cartList.length; i++) {
|
||||
// xiaBiao.push({
|
||||
// productId: this.cartList[i].productId,
|
||||
// quantity: this.cartList[i].productAmount,
|
||||
// });
|
||||
// }
|
||||
|
||||
let data = {
|
||||
paymentMethod: this.payType, //1微信2支付宝3苹果支付4虚拟币
|
||||
@@ -568,12 +586,9 @@ export default {
|
||||
jfDeduction: 0, //积分抵扣
|
||||
vipBuyConfigId: this.dataInfo.id,
|
||||
come: 1, //订单来源,0疯子读书1国学众妙之门2医学吴门医述
|
||||
|
||||
// appName: "zmzm",
|
||||
};
|
||||
|
||||
console.log("data at line 477:", data);
|
||||
|
||||
await $http
|
||||
.request({
|
||||
// url: "book/buyOrder/buySave",
|
||||
@@ -639,13 +654,6 @@ export default {
|
||||
image: "../../../static/icon/ic_close.png",
|
||||
});
|
||||
}, 0);
|
||||
|
||||
// setTimeout(() => {
|
||||
|
||||
// uni.navigateTo({
|
||||
// url: './orderList'
|
||||
// });
|
||||
// }, 1000)
|
||||
}
|
||||
}
|
||||
);
|
||||
@@ -900,69 +908,9 @@ export default {
|
||||
// socket.init();
|
||||
});
|
||||
|
||||
// this.$nextTick(() => {
|
||||
// switch (item.type) {
|
||||
// case 1:
|
||||
// // allDataList
|
||||
// this.dataList = that.allDataList.result1Lst
|
||||
// break;
|
||||
// case 2:
|
||||
// this.dataList = that.allDataList.result2Lst
|
||||
// break;
|
||||
// case 3:
|
||||
// this.dataList = that.allDataList.result3Lst
|
||||
// break;
|
||||
// case 4:
|
||||
// this.dataList = that.allDataList.result4Lst.filter(e =>
|
||||
// e.oid != '5fcf991c027b11e7ae62008cfae40c18' && e.oid != 'b3d8a938b8e147bc877613bb712a9cb3' && e.oid != '4d4730163135420ea962bfac4805e026' && e.oid != '49fb76ca3d6b43718d78c6aa9a3003c2' && e.oid != 'c7b047ed9246469b9ae2b1013fc3df9c'
|
||||
|
||||
// )
|
||||
|
||||
// console.log(this.dataList.length, 6666666)
|
||||
// break;
|
||||
|
||||
// }
|
||||
|
||||
// this.currentCateIndex = item.index
|
||||
// })
|
||||
console.log(this.allDataList, this.dataList, "1688");
|
||||
// if(this.userMes.tgdzPower == 0){
|
||||
// let that = this
|
||||
// uni.showModal({
|
||||
// content: "购买 针灸六经法要上册和下册 后方可使用此功能",
|
||||
// confirmText: '好的',
|
||||
// showCancel: false,
|
||||
// success: function(res) {
|
||||
// if (res.confirm) {
|
||||
// // console.log('用户点击确定');
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
// if(item.title == "时辰取穴"){
|
||||
// uni.navigateTo({
|
||||
// url: "../timeAcupoint/timeAcupoint"
|
||||
// })
|
||||
// return
|
||||
// }
|
||||
|
||||
// this.currentStatusIndex = index
|
||||
|
||||
this.searchValue = "";
|
||||
this.searchList = [];
|
||||
this.showSearchList = false;
|
||||
// if (index != 2) {
|
||||
|
||||
// uni.createSelectorQuery().select('.statusList').boundingClientRect(function (rect) {
|
||||
// var height = rect.height
|
||||
// console.log('元素高度:',);
|
||||
|
||||
// }).exec();
|
||||
|
||||
// } else {
|
||||
// this.getJFList(dictType)
|
||||
// }
|
||||
|
||||
return data;
|
||||
},
|
||||
@@ -1831,4 +1779,21 @@ export default {
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.agree_wo {
|
||||
float: right;
|
||||
width: 100%;
|
||||
color: #aaa;
|
||||
font-size: 22rpx;
|
||||
margin-top: -10rpx;
|
||||
margin-bottom: 20rpx;
|
||||
padding: 0 20rpx;
|
||||
// margin: 40rpx 50rpx 0 50rpx;
|
||||
// padding-bottom: 40rpx;
|
||||
}
|
||||
.agree {
|
||||
width: auto !important;
|
||||
}
|
||||
.highlight {
|
||||
color: $uni-color-primary;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -639,7 +639,7 @@
|
||||
});
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: "请勾选 已阅读会员服务协议",
|
||||
title: "请勾选 已阅读增值服务协议",
|
||||
icon: "none",
|
||||
});
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user