|
@@ -38,7 +38,19 @@
|
|
<input v-model="personalForm.idCard" type="text" placeholder="请填写18位身份证号">
|
|
<input v-model="personalForm.idCard" type="text" placeholder="请填写18位身份证号">
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="viewradio">
|
|
|
|
+ <u-radio-group v-model="valueradio">
|
|
|
|
+ <u-radio name="1">阅读并同意</u-radio>
|
|
|
|
+ </u-radio-group>
|
|
|
|
+
|
|
|
|
+ <span v-for="(item,i) in newsList" :key="i">
|
|
|
|
+ {{i==0?'':','}}<span @click="gotoUrl('pages/packages/news/articleDetail?id='+item.id)" class="spanradio" ><{{item.title}}></span>
|
|
|
|
+ </span>
|
|
|
|
+
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
|
|
+
|
|
<button class="save" @click="personalAut" v-if="!perinReview">保存</button>
|
|
<button class="save" @click="personalAut" v-if="!perinReview">保存</button>
|
|
<button class="save" style="background-color: #777777;" v-else>审核中</button>
|
|
<button class="save" style="background-color: #777777;" v-else>审核中</button>
|
|
</view>
|
|
</view>
|
|
@@ -75,6 +87,7 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
<!-- 提示 -->
|
|
<!-- 提示 -->
|
|
<view class="tips" v-if="!authentication">
|
|
<view class="tips" v-if="!authentication">
|
|
@@ -94,6 +107,14 @@
|
|
每个账号只能进行一次实名认证,认证成功不支持修改
|
|
每个账号只能进行一次实名认证,认证成功不支持修改
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="viewradio2">
|
|
|
|
+
|
|
|
|
+ 阅读
|
|
|
|
+ <span v-for="(item,i) in newsList" :key="i">
|
|
|
|
+ {{i==0?'':','}}<span @click="gotoUrl('pages/packages/news/articleDetail?id='+item.id)" class="spanradio" ><{{item.title}}></span>
|
|
|
|
+ </span>
|
|
|
|
+
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -148,6 +169,17 @@
|
|
:form-data="formData" :header="header" width="686" max-count="1" @on-success="onSuccess">
|
|
:form-data="formData" :header="header" width="686" max-count="1" @on-success="onSuccess">
|
|
</u-upload>
|
|
</u-upload>
|
|
</view>
|
|
</view>
|
|
|
|
+
|
|
|
|
+ </view>
|
|
|
|
+ <view class="viewradio">
|
|
|
|
+ <u-radio-group v-model="valueradio">
|
|
|
|
+ <u-radio name="1">阅读并同意</u-radio>
|
|
|
|
+ </u-radio-group>
|
|
|
|
+
|
|
|
|
+ <span v-for="(item,i) in newsList" :key="i">
|
|
|
|
+ {{i==0?'':','}}<span @click="gotoUrl('pages/packages/news/articleDetail?id='+item.id)" class="spanradio" ><{{item.title}}></span>
|
|
|
|
+ </span>
|
|
|
|
+
|
|
</view>
|
|
</view>
|
|
<button class="save" @click="enterpriseCer" v-if="!entinReview">保存</button>
|
|
<button class="save" @click="enterpriseCer" v-if="!entinReview">保存</button>
|
|
<button class="save" style="background-color: #777777;" v-else>审核中</button>
|
|
<button class="save" style="background-color: #777777;" v-else>审核中</button>
|
|
@@ -213,6 +245,14 @@
|
|
每个账号只能进行一次实名认证,认证成功不支持修改
|
|
每个账号只能进行一次实名认证,认证成功不支持修改
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="viewradio2">
|
|
|
|
+
|
|
|
|
+ 阅读
|
|
|
|
+ <span v-for="(item,i) in newsList" :key="i">
|
|
|
|
+ {{i==0?'':','}}<span @click="gotoUrl('pages/packages/news/articleDetail?id='+item.id)" class="spanradio" ><{{item.title}}></span>
|
|
|
|
+ </span>
|
|
|
|
+
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
@@ -257,7 +297,9 @@
|
|
listPic: [],
|
|
listPic: [],
|
|
action: '',
|
|
action: '',
|
|
header: '',
|
|
header: '',
|
|
- formData: {}
|
|
|
|
|
|
+ formData: {},
|
|
|
|
+ newsList:[],
|
|
|
|
+ valueradio:'',
|
|
}
|
|
}
|
|
},
|
|
},
|
|
onLoad() {
|
|
onLoad() {
|
|
@@ -273,8 +315,30 @@
|
|
},
|
|
},
|
|
onReady() {
|
|
onReady() {
|
|
this.getFindByOpenId();
|
|
this.getFindByOpenId();
|
|
|
|
+ this.getNewsInfo()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ gotoInfo(item){
|
|
|
|
+
|
|
|
|
+ },
|
|
|
|
+ getNewsInfo(){
|
|
|
|
+
|
|
|
|
+ API_main.newsList({
|
|
|
|
+ category:9,
|
|
|
|
+
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ uni.hideLoading();
|
|
|
|
+
|
|
|
|
+ this.newsList = res.data.data;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ }).catch(error => {
|
|
|
|
+ uni.showToast({icon: 'none',
|
|
|
|
+ title: error,
|
|
|
|
+ icon: "none"
|
|
|
|
+ })
|
|
|
|
+ })
|
|
|
|
+ },
|
|
onSuccess(data, index, lists, name) {
|
|
onSuccess(data, index, lists, name) {
|
|
//.log(data)
|
|
//.log(data)
|
|
if(data.result) {
|
|
if(data.result) {
|
|
@@ -297,6 +361,15 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
personalAut() {
|
|
personalAut() {
|
|
|
|
+
|
|
|
|
+ if(!this.valueradio) {
|
|
|
|
+ uni.showToast({icon: 'none',
|
|
|
|
+ title: "请勾选`阅读并同意`相关协议",
|
|
|
|
+ icon: "none"
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+
|
|
if(!this.personalForm.realName) {
|
|
if(!this.personalForm.realName) {
|
|
uni.showToast({icon: 'none',
|
|
uni.showToast({icon: 'none',
|
|
title: "请填写真实姓名",
|
|
title: "请填写真实姓名",
|
|
@@ -357,6 +430,13 @@
|
|
})
|
|
})
|
|
},
|
|
},
|
|
enterpriseCer() {
|
|
enterpriseCer() {
|
|
|
|
+ if(!this.valueradio) {
|
|
|
|
+ uni.showToast({icon: 'none',
|
|
|
|
+ title: "请勾选`阅读并同意`相关协议",
|
|
|
|
+ icon: "none"
|
|
|
|
+ })
|
|
|
|
+ return
|
|
|
|
+ }
|
|
if(!this.enterpriseForm.name) {
|
|
if(!this.enterpriseForm.name) {
|
|
uni.showToast({icon: 'none',
|
|
uni.showToast({icon: 'none',
|
|
title: "请填写企业全称",
|
|
title: "请填写企业全称",
|
|
@@ -451,6 +531,23 @@
|
|
</style>
|
|
</style>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
+ .viewradio{
|
|
|
|
+ background-color: #fff;
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
+ align-items: center;
|
|
|
|
+ .spanradio{
|
|
|
|
+ color:#4496f8
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ .viewradio2{
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-wrap: wrap;
|
|
|
|
+ align-items: center;
|
|
|
|
+ .spanradio{
|
|
|
|
+ color:#4496f8
|
|
|
|
+ }
|
|
|
|
+ }
|
|
.headline {
|
|
.headline {
|
|
color: rgba(51, 51, 51, 1);
|
|
color: rgba(51, 51, 51, 1);
|
|
padding-left: 32rpx;
|
|
padding-left: 32rpx;
|